View previous topic :: View next topic |
Author |
Message |
xorbaxian
Joined: 18 Dec 2007 Posts: 45
|
Posted: Wed Jan 06, 2010 2:30 Post subject: |
|
|
thanks much for the great work! i'm putting it through its paces now. |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Wed Jan 06, 2010 12:48 Post subject: Hmmm |
|
|
Zebranky wrote: | Ah, you just need to be sure you call DeleteLocalString() on the NWNX!FUNCTIONS!WHATEVER var after using the result. If you don't, when the player logs out, the server accesses that var again, triggers NWNX, and because the PC doesn't fully exist anymore... bad things happen. |
Hi Zeb,
This error above - does this 'just' exist for the GetSoundSet or do we need to do these steps for all methods contained within this plugin?
I've been going through the dialog.tlk file, and have found some good things that I could replace my boot message with.
"The Dark River will take you!!" - (or something to that effect) 86044
If I understand correctly, the BootPCWithMsg method, should be able to display this on the players screen after a boot? |
|
Back to top |
|
|
Paul R
Joined: 17 Apr 2009 Posts: 42
|
Posted: Wed Jan 06, 2010 18:30 Post subject: Re: Hmmm |
|
|
Baaleos wrote: | I've been going through the dialog.tlk file, and have found some good things that I could replace my boot message with.
"The Dark River will take you!!" - (or something to that effect) 86044
If I understand correctly, the BootPCWithMsg method, should be able to display this on the players screen after a boot? |
It will show up if they connected through the Game Room and not just via a +connect command-line option (like the server has gone down message you get).
I use 3550 which is "Goodbye and good luck" |
|
Back to top |
|
|
Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Wed Jan 06, 2010 19:19 Post subject: I was interested |
|
|
I just developed an ANTI_HACK system for my server, so I was actually looking for some sort of negative message to send to people who are attempting to hack their abiltiy scores.
At the minute, its just a plain old BootPC done on the player, and then it moves their character file to the hacked character vault for review.
I just thought it would be funny if there was some sort of dialog option which kicked them off, and let them know its was due to their hacking attempts.
I think there are some like
"Your character has illegal spells" or
"Character was not accepted" |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Wed Jan 06, 2010 23:26 Post subject: Re: Hmmm |
|
|
Baaleos wrote: | This error above - does this 'just' exist for the GetSoundSet or do we need to do these steps for all methods contained within this plugin? |
It definitely happens for GETPCPORT as well. I haven't tested the other methods, but it's good practice to delete them anyway, as it avoids leaving unneeded variables lying around. _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Thu Jan 07, 2010 23:45 Post subject: Re: I was interested |
|
|
Baaleos wrote: | I just developed an ANTI_HACK system for my server, so I was actually looking for some sort of negative message to send to people who are attempting to hack their abiltiy scores.
At the minute, its just a plain old BootPC done on the player, and then it moves their character file to the hacked character vault for review.
I just thought it would be funny if there was some sort of dialog option which kicked them off, and let them know its was due to their hacking attempts.
I think there are some like
"Your character has illegal spells" or
"Character was not accepted" |
One of acaos' plugins - I forget which, but I assume funcs - gives the BootPCWithMessage function, allowing you to send any message in the tlk.
Funky |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Fri Jan 08, 2010 1:43 Post subject: |
|
|
This function has been copied to NWNX Funcs from NWNX Functions, so it exists in both. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
|