help deleting character from 5165?

03/08/2012 06:15 joshuamns#16
ok i got that working. it deletes the Character file. however the account file is still connected to it(a character thats no longer there)
03/08/2012 07:08 Spirited#17
Quote:
Originally Posted by joshuamns View Post
ok i got that working. it deletes the Character file. however the account file is still connected to it(a character thats no longer there)
Yah. You should change that.
Load the account data --> change it --> save it.
The account data might already be on the client in the game state. I can't remember.
03/22/2012 17:19 joshuamns#18
is there any way to add it so it deletes the character, and deletes it from the account so it doesnt try to connect to a char thats no longer there? besides going in and manually deleting it every time?
03/22/2012 17:49 ×Holo#19
I suggest you stop working on 5165 specially if it's LOTF, full of BS.

go for P4N's source [Only registered and activated users can see links. Click Here To Register...]
03/22/2012 19:19 Spirited#20
Quote:
Originally Posted by joshuamns View Post
is there any way to add it so it deletes the character, and deletes it from the account so it doesnt try to connect to a char thats no longer there? besides going in and manually deleting it every time?
Yah. Look at the void in your source that loads account data. Use that to load the account data and then make a new void to save it without the entity id.