SphereServer BugTracker - SphereServer
View Issue Details
0002313SphereServerexecutable - windows buildpublic21-04-14 07:3522-04-14 09:43
Coruja 
XuN 
normalminoralways
resolvedfixed 
 
16-06-2013, 0.56b Prerelease 
Automated (specify build number)
None
None
0002313: f_onchar_delete not called on char delete
I dont know if this is really a bug, but f_onchar_delete is called only when a client manually delete the char using the button 'delete char' on client login screen.
If the char got deleted in any other way (account delete, remove 1 on char, etc), f_onchar_delete wont be called

If f_onchar_delete is intended to behave like this, it would be great call it when the char got removed in any other way
No tags attached.
Issue History
21-04-14 07:35CorujaNew Issue
21-04-14 15:53FeehNote Added: 0002068
22-04-14 09:43XuNNote Added: 0002073
22-04-14 09:43XuNStatusnew => resolved
22-04-14 09:43XuNFixed in Version => 16-06-2013, 0.56b Prerelease
22-04-14 09:43XuNResolutionopen => fixed
22-04-14 09:43XuNAssigned To => XuN

Notes
(0002068)
Feeh   
21-04-14 15:53   
// The f_onchar_delete function is called before client is deletes a character.

This let me think it is intended to call only when the player delete the character.
You do have the @Destroy for characters/items; having the server calling the f_onchar_delete would be redundant
(0002073)
XuN   
22-04-14 09:43   
Sphere already use @Destroy when removing characters, this function is only used when the player is self-removing its character from the Char Selection Menu. I'll update it's description.