ID:264662
 
Fixed.
I think you're missing a part of your runtime error. Run it again, and make sure you're capturing all of the text.

Other than that, I can't see any reason for a runtime error in Load(). I can see some things that are wrong, or bad, but I don't see anything that's actually an error.

edit: figure I'll just point these out anyway.

            F["LastX"] << src.x 
F["LastY"] << src.y
F["LastZ"] << src.z
F["name"] <<src.name
Write(F)


For one, it's probably a good idea to save the savefiles by ckey rather than key. This is mostly preference, but spaces in file paths can be problematic on some platforms.

Write() is not necessary to "write" to the savefile. Write() is a datum function which writes all necessary members of said datum to the savefile. If that's not why you put Write() there, I apologize. But I see no reason why you would put Write() there after manually saving all of the data you appear to be reading in Load() (you aren't calling Read()).

                F["LastX"]>>src.x   
F["LastY"]>>src.y
F["LastZ"]>>src.z
F["name"]>>src.name
src<<"Game Loaded"
src.loc=locate(src.x,src.y,src.z)


Why? Assuming your manual assignment of the x/y/z values actually works, there is no reason at all to attempt to move them to where they already are. And if it didn't work, those values aren't going to be the values you want them to be anyway.

This would be closer to what you want:
                var/lx,ly,lz
F["LastX"]>>lx
F["LastY"]>>ly
F["LastZ"]>>lz
F["name"]>>src.name
src<<"Game Loaded"
src.loc=locate(lx,ly,lz)

That's the whole runtime error, it only happens when I click the Load() command.
In response to ZMD Productions
This has to do with how you're calling Load(). It's reaching the alert() line and the usr mob (default target of alert()) has no client.
In response to Garthor
Problem fixed, thank you both.