ShaDoOoW wrote...
A new character will always have 0xp, check for 0xp in OnEnter, Set 1 XP and then do things for new player.
I do this already.
if(GetXP(oPC) == 0 )//new
{
//do stuff
i think is this line of code...but i reapeat i'm not a scripter,are just an old player who is very familiar with the bug of this game, that would not be exploitable.
ShaDoOoW wrote...
Whether or not is his name unique can be found via saving the names of all characters into database. Well depends what exact problem you are dealing with there are plenty of options. So describe the issue a bit detailed and so I can suggest something.
For my experience like a player is a big problem instead.
If someone create a char whit same name,body,voice,portraits ecc ecc at the next login
can apply 2 times the bonus of subrace. And that is my problem.
Anyway...let me repeat my request,just to make sure that I explained well (i'm not english speaker man)
I would like to have an on enter script that checks for same-named characters in the server vault or database (I use mysql,and I have absolutely no understanding of database scripting) and if it finds one, set char like not valid.
ot
p.s
ahh ShadoOow,forgot to make you my congratulations for the work that you are released on the vault in recent years.
Using already many of your fixes in my module (exploit of throwing weapon for example) and are very useful. thx.
Modifié par Cursed Eclipse, 14 décembre 2011 - 07:27 .