[QUESTION] How To Add [GM]/[PM] On Name?

05/06/2010 13:28 hellrazer23#1
Hi Guys

Can You Teach Me On How To Add [GM] And [PM] On Name?
Example: [GM]Hellrazer23[PM]

It Works On Version 5165 Server?
Please Teach Me! Thanks In Advanced
05/07/2010 02:06 bboy143#2
if u have changename command try...

/changename then ur name added with gm..

for ex. /changename Test[GM]

or do it in console..

type /accounts...

then change the status of ur char to GM...
05/07/2010 04:34 ExSAMUEL#3
if its a glitch use your space bar to get to the limit of text allowed the type[GM]BlahBlah do not backspace just type
05/07/2010 05:30 bboy143#4
nope its not bug

just try it..

if u cant log in then u done something wrong
05/07/2010 08:56 Arcо#5
I'm not 100% sure this will work cause I have not tested it yet, but in World.cs you will find
Code:
        public static Character CharacterFromName(string Name)
        {
            foreach (Character C in H_Chars.Values)
                if ((C.Name + C.MyClient.AuthInfo.Status) == Name)
                    return C;
            return null;
        }
Try changing that to
Code:
        public static Character CharacterFromName(string Name)
        {
            foreach (Character C in H_Chars.Values)
                if ((C.MyClient.AuthInfo.Status + C.Name + C.MyClient.AuthInfo.Status) == Name)
                    return C;
            return null;
        }
That should add the status to the beginning of the name as well.