ID:142786
 
Code:
    if("Load")
switch(alert("Choose Save Slot","Load","Slot 1","Slot 2","Slot 3"))

if("Slot 1")
if(fexists("Player Saves/[src.client.ckey]/Save File 1.sav"))
usr.save_file_1 = 1
usr.client.Load_1()
else
alert("No Saved File Found!")
sleep(5)
goto Start
return


Problem description:
Even if it finds the save,it loads the character and still goes back to Start, am I missing something?
Your location isn't saved by the default Write() procedure. Just override Read() and Write() like Garthor has in [link].
In response to YMIHere
That's not the problem, let me try to explain this a bit better.

The character loads in the location, but when its done, it restarts the ENTIRE login process, like, it should just go away, but it goes back to the main alert that has you choose New, load or delete.
In response to Maza
That would be due to the client/Load_1() (or whatever) proc. As you haven't shown us that, I can only guess as to what the problem is: you're misusing Login(), and should be moving everything in Login() to client/New() (with, of course, appropriate changes). Login() gets called whenever a client changes mobs, which can often happen in the case of loading. client/New() is called when somebody logs into your game, and that's it. It's much better to use client/New(), then, for things you want to happen when a player logs in.
In response to Garthor
I tried this and now the game just goes black on load up x.x;
In response to Maza
try deleting the
goto start