It works, but there is an error if I try to delete the character.
This is the relevent part of the script used to create the new character:
Code: Select all
program create_character(acctname)
var acct := findaccount(acctname);
var slot := acct.AddCharacter(0);
var newchar;
if ( slot )
newchar := acct.getcharacter(slot);
SetName(newchar, acct.name);
endif
endprogramI tried deleting it from the client login and also using acct.deletecharacter(charnum)
No dice.
Could this possibly be an 097 core bug or am I doing something wrong?