View previous topic :: View next topic |
Author |
Message |
Nul_Char
Joined: 11 Jan 2005 Posts: 4
|
Posted: Wed Jan 12, 2005 8:22 Post subject: Player Tracking system. |
|
|
I'm sure this has already been created so I'd thought I would ask. I'm looking for a system that would track players information such as:
Spells, HP, location, race, and soforth. So that it that information can be re applied when player login. I have seached on the vault but havnt come across anything that saves all the above information.
Thanks! |
|
Back to top |
|
|
Jantima
Joined: 11 Feb 2005 Posts: 6 Location: Italy
|
Posted: Fri Feb 11, 2005 7:15 Post subject: |
|
|
I apologize if this is not related to NWNX.
I've noticed something similar into the PW Helper features [PW Helper v1.8] Which is a system that work with NESS spawn system.
It actually list as features: anti-cheat code for login/logout cheat (save & restore Hps, spells, & feats)
I guess this sytem save and load the informations by PrintString() on the log file. _________________ Antiworld Arena |
|
Back to top |
|
|
Remy
Joined: 20 Jan 2005 Posts: 6
|
Posted: Fri Feb 11, 2005 9:12 Post subject: |
|
|
in regards to spells, it seems like restoring spell uses upon login exactly to the number of remaining spell uses prior to logout isn't possible because of some issues with the DecrementRemainingSpellUses function.
http://nwn.bioware.com/forums/viewtopic.html?topic=411607&forum=47
if there are ways around this function's limitations, i'd love to here them... |
|
Back to top |
|
|
chunkymonky
Joined: 20 Feb 2005 Posts: 31
|
Posted: Sun Feb 20, 2005 16:19 Post subject: |
|
|
Would oncliententer scripts and onclientleave scripts be useful for these ends?
Seems automatically writing to the DB any pertinent info about the players as they come and go would be the thing to do. |
|
Back to top |
|
|
Parsec
Joined: 06 Jan 2005 Posts: 7
|
Posted: Thu Feb 24, 2005 1:19 Post subject: |
|
|
Try using Satchmo's system and adapt it to store to your database tables rather then the Bioware one.
http://nwvault.ign.com/Files/scripts/data/1071676333666.shtml
Combine this with setting a marker within a table for player death using the mod ondeath event and you have a reasonable system.
Note: Flag the player dead in the Ondeath event script then remove that flag within any ressurrection or raise dead spell scripts. Have OnClient Enter check the table for the flag and if exists, kill the bastard.
Then to add further insult keep a track of the number of deaths a player has suffered (using Ondeath again). Thus any who exit and return trying to beat the system get credited with double score on their death record. Then employ a system whereby once a character achives so many deaths, some sort of penalty is handed out or task they must complete is given.
Good fun really |
|
Back to top |
|
|
|