Greetings! Please for give any misuse of technical terms.
I am using a class system. Once the server side character creation is finished, the character is transported to an isolated area of the map and the initial class gump is sent after a character enters the world for the first time (from CharacterCreation.cs). The gump is not moveable and neither is the character. I am using a variable (?) and enum in PlayerMobile to determine a character's class. Once the process is finished, the variable is set and (last thing) the character is transported to the mainland.
The problem I am facing is if there is a crash, or if the player deliberately shuts down the server before the process finishes, they will be left without their Class being set. I need to resend the class gump upon a character logging in if its Class equals Class.None. I know how to script it (I think), but am uncertain in which file I should do so.
Thanks in advance for any help.
I am using a class system. Once the server side character creation is finished, the character is transported to an isolated area of the map and the initial class gump is sent after a character enters the world for the first time (from CharacterCreation.cs). The gump is not moveable and neither is the character. I am using a variable (?) and enum in PlayerMobile to determine a character's class. Once the process is finished, the variable is set and (last thing) the character is transported to the mainland.
The problem I am facing is if there is a crash, or if the player deliberately shuts down the server before the process finishes, they will be left without their Class being set. I need to resend the class gump upon a character logging in if its Class equals Class.None. I know how to script it (I think), but am uncertain in which file I should do so.
Thanks in advance for any help.