How do I put more text in the 'You have been Booted" message.
I'm writing a CD-Key check, that checks the players login with the CD-Key stored in a database. I would like to at least let the person know why they were booted.
Cheers
BootPC, How do I?
Débuté par
Ansalon II Admin
, juil. 10 2013 11:25
#1
Posté 10 juillet 2013 - 11:25
#2
Posté 11 juillet 2013 - 01:58
Do you want to roll your own?
What you are talking about has been made already.
Otherwise, no I haven't looked into changing that text. I don't know what CC you must change to alter that text. I suspect it is not a text string you can change by script. Perhaps it is in the default TLK table.
What you are talking about has been made already.
Otherwise, no I haven't looked into changing that text. I don't know what CC you must change to alter that text. I suspect it is not a text string you can change by script. Perhaps it is in the default TLK table.
Modifié par henesua, 11 juillet 2013 - 02:01 .
#3
Posté 11 juillet 2013 - 02:19
If you are running a windows server, you'll need the nwnx_funcs plugin for NWNX2. It has a boot-PC-with-message script function.
This references the default dialog.tlk file, so your players will need a customized version of that file for it to function correctly. It won't read a custom .tlk file in the NWN/tlk folder.
I do this for my PW (for CD key checks, server resets, etc.). It works pretty slick, but players won't see the right message without that altered dialog.tlk.
This references the default dialog.tlk file, so your players will need a customized version of that file for it to function correctly. It won't read a custom .tlk file in the NWN/tlk folder.
I do this for my PW (for CD key checks, server resets, etc.). It works pretty slick, but players won't see the right message without that altered dialog.tlk.
#4
Posté 11 juillet 2013 - 02:28
Or you could do it without NWNX:
// Freeze the PC so he can't cause any mayhem, then boot him after 15 seconds. // The delay is so he can read any messages as to why he's being booted. SetCommandable(FALSE, oPC); SendMessageToPC(oPC, "You are being booted because reasons."); DelayCommand(15.0, BootPC(oPC));
#5
Posté 12 juillet 2013 - 12:39
Squatting Monk wrote...
Or you could do it without NWNX:// Freeze the PC so he can't cause any mayhem, then boot him after 15 seconds. // The delay is so he can read any messages as to why he's being booted. SetCommandable(FALSE, oPC); SendMessageToPC(oPC, "You are being booted because reasons."); DelayCommand(15.0, BootPC(oPC));
That worked..I tried ActionWait before and it didn't work, guess I just used wrong command.
Cheers.
#6
Posté 12 juillet 2013 - 02:07
hehe...I guess that would be the simpler way of accomplishing it.





Retour en haut







