henesua wrote...
Meaglyn, I have some other systems that are data intensive with long strings and lots of delimiters. When I inject the ID of a PC or NPC into it I want to ensure that I won't mess up my parsing of those long strings.
I'll check out x3_inc_string and see if I can do some of my string manipulation more efficiently. Thanks.
Sorry for taking so long in getting back to this. ..
Since the function is not an internal one I would not worry to much about looking at the X3 version of it.
....
The only thing in your script that raises a flag for me is line 22:
sPCID = GetName(oPC)+"¤"+
GetPCPlayerName(oPC);
The GetPCPlayerName function returns the name in the case that the player used to LogIn with. For exsample if I had an account Name of lightfoot8 I could use any case to log in with: Lightfoot8, LightFoot8, LIGHTfoot8, lightFOOT8; would all be valid way to log into the same account with the MS being down. If you need to even worry about this here is dependent on how you have handled the same problem in your custom security. If you have not handled it in your custom security. you may want to look
here for a possiable way to handle it.
EDIT: Read down a few posts in the link to the get the full picture.
Modifié par Lightfoot8, 04 novembre 2012 - 06:27 .