Hi I'm currently about to create a character menu but I don't know how I can make it so that if you join your first time you have to select a job and at each over join you have to play the job which you played at last
Use sql or file to save user's job/character/etc and then check when he joins the server if it has any data about him: yes - set his job to saved one, no - open the character creation menu.
Change the client so that the character menu only opens after a certain net message ("OpenCharacterMenu", perhaps) is received, if it's not already like this.
On the server, code a small system to save the player's job choice (MySQL, SQLite, or text files). When they connect, check to see if they have any saved job, and if they do then skip the net message and just set their job. If not, send the net message for them to choose. Once they choose, save their preference.
I recommend using SQL or an external db
Sorry, you need to Log In to post a reply to this thread.