ID:150891
 
In my current project I need to save some stuff, ie my custom classes Game & Room as well as the players.

In Game there is a reference to Room (in the form of a list of all the rooms), how do I save the stuff and how do I load it?


just ask if you need more info, I am willing to send the whole DM file if you need it.
On 7/10/01 9:26 am Kaidorin wrote:
In my current project I need to save some stuff, ie my custom classes Game & Room as well as the players.

In Game there is a reference to Room (in the form of a list of all the rooms), how do I save the stuff and how do I load it?


just ask if you need more info, I am willing to send the whole DM file if you need it.

Try reading the savefile tutorial, which explains how to save any object. It uses mobs as an example, but it works for any object.
In response to Deadron
Try reading the savefile tutorial, which explains how to save any object. It uses mobs as an example, but it works for any object.


I have tried it, I couldn't get it to work. Would you like to look at my code, and try to give me some guidance? plz ;)
In response to Kaidorin
On 7/10/01 11:00 am Kaidorin wrote:
Try reading the savefile tutorial, which explains how to save any object. It uses mobs as an example, but it works for any object.


I have tried it, I couldn't get it to work. Would you like to look at my code, and try to give me some guidance? plz ;)

If you zip it up and email it to [email protected], I will get to it when I can. Geo is in the queue first...