saving

06/05/2010 19:18 .Summer#1
When im changing the status of a player ex. normal to PM.
Then they only got it untill they logoff.
But how can I save it?
I tried alot things now, anyone got a clue for it?
I tried put save in Character save etc.
But didnt work.
Is for Tanels source.
06/05/2010 19:32 .Summer#2
#update

this is the control in the command im using to change:
Code:
                                if (Cmd[1] == "[VIP]" && C.Name == Cmd[2])
                                {
                                    C.MyClient.AuthInfo.Status = "[VIP]";
                                }
                                if (Cmd[1] == "[V]" && C.Name == Cmd[2])
                                {
                                    C.MyClient.AuthInfo.Status = "[V]";
                                }
                                if (Cmd[1] == "[MOD]" && C.Name == Cmd[2])
                                {
                                    C.MyClient.AuthInfo.Status = "[MOD]";
                                }
                                if (Cmd[1] == "[GM]" && C.Name == Cmd[2])
                                {
                                    C.MyClient.AuthInfo.Status = "[GM]";
                                }
                                if (Cmd[1] == "[PM]" && C.Name == Cmd[2])
                                {
                                    C.MyClient.AuthInfo.Status = "[PM]";
                                }
06/05/2010 20:49 dragon89928#3
the player has to be logged off. then go to /accounts and change it there.
06/05/2010 21:02 .Summer#4
but on a normal account, how can I change it there? Cuz I tried just put in the status, but didnt read it.
06/05/2010 21:06 ~Master#5
It's working fine with me although i've to relog the normal account to get the PM status .
When you /exit~/restart the server everything get stored even the changed status.
06/05/2010 21:08 .Summer#6
I will try again.
Where u want me to put [PM]?
LOL.
Quote:
fucks2ѫ ꐐ
] d
B KK KK @B @B •# •# •# •# ! •# " •# # •# $ •# 0 Ÿ)̍ 0 Œ%Œ 0
and is this right for the account:
Quote:
1234 [VIP]Bidrag
06/05/2010 21:20 ~Master#7
Once you open NewestCOServer , type /accounts .
06/05/2010 21:21 Arcо#8
Quote:
Originally Posted by .Summer View Post
I will try again.
Where u want me to put [PM]?
LOL.


and is this right for the account:
If you had common sense you'd know its encoded in binary.
06/05/2010 21:46 .Summer#9
I know is binary thats why i tried save it source way in first case but didnt work, then i asked and peoples said i should add in the database, but didnt work either.
so now i ask, how can i then save the new status?

#edit
nevermind.
I fixed it.
06/05/2010 21:47 Arcо#10
/accounts
Someone already said...
06/05/2010 21:48 .Summer#11
nevermind.
Ive fixed it.