View previous topic :: View next topic |
Author |
Message |
sandronejm
Joined: 02 Jan 2014 Posts: 15
|
Posted: Wed Jul 23, 2014 7:10 Post subject: NWNX Special Event - OnClientEnter |
|
|
Hello everybody,
I use nwnx since sometime and I would like to know if it is possible to create an event that happens before the module OnClientEnter event - when the player enters the character selection.
We would like to do some checks when the user enters the character selection. Is it bad that we can only do this after he logs in with the character (oncliententer).
Would anyone could build this scheme or has this knowledge about? |
|
Back to top |
|
|
sandronejm
Joined: 02 Jan 2014 Posts: 15
|
Posted: Sat Jul 26, 2014 0:07 Post subject: |
|
|
Is possible to compare sPassword from the player input with some other value? we could use this to improve the login system. (isn't necessary at all because we can do the check using other artifices) |
|
Back to top |
|
|
danny500
Joined: 25 Sep 2014 Posts: 1
|
Posted: Thu Sep 25, 2014 12:23 Post subject: |
|
|
nice topic raised. it will create awareness ! _________________ We offer best quality vce crack download test papers and Curry College materials. |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Fri Sep 26, 2014 15:38 Post subject: Re: NWNX Special Event - OnClientEnter |
|
|
sandronejm wrote: | Hello everybody,
I use nwnx since sometime and I would like to know if it is possible to create an event that happens before the module OnClientEnter event - when the player enters the character selection.
We would like to do some checks when the user enters the character selection. Is it bad that we can only do this after he logs in with the character (oncliententer).
Would anyone could build this scheme or has this knowledge about? |
Zebranksy made a hook that can manipulate the characters online display the character login screen - so in theory its hooked already.
So yes- you can create the event to fire on the character select screen enter.
There is also Terra's ValidateCharacter hook - which fires when the player clicks OK to join the game/module, but before they materialize.
It is used for validating the level of the player vs the level of the level restrictions in the game.
If you can find nwnx_cool or nwnx_kewl (whichever you want)
They should have the validatecharacter event.
You probably wont be able to get any ability scores or skills though - as the PC character hasnt been materialized yet. |
|
Back to top |
|
|
Terra_777
Joined: 27 Jun 2008 Posts: 216 Location: Sweden
|
Posted: Fri Sep 26, 2014 17:35 Post subject: |
|
|
That validate character hook potentially crashes the server when people enter and then presses cancel. I think. _________________ I dun have any signature, I'm happy anyway. |
|
Back to top |
|
|
|