Skip to content

Saving stuff in PW

Hello, I'm messing around the toolset and testing stuff to create a PW server with some friends.
My question is: how do you save game state in a PW?
I mean, if I force the server to save from the server GUI, I always have to load the saved module. This implies that once the game server is started with my PW module, I cannot modify it anymore with the toolset without resetting all the other stuff.

Just to be clear, that's what I'm doing:

1. create a module "test mod";
2. launch the server loading "test mod";
3. a player enters the server and plays around;
4. I force save from the server GUI and shut it down;
5. now I want to update the "test mod", adding some areas or more monsters;
6. from the server GUI I can load the previous save or the updated "test mod";
7a. if I load the saved one, it doesn't show the new content;
7b. if I load the updated "test mod", it shows the new content, but it starts as a new game, resetting everything else (eg: player position).

Am I missing something? Thank you.

Comments

  • Sylvus_MoonbowSylvus_Moonbow Member Posts: 1,085
    No that is h ow it works without any scripts to save the information of the character's location while in-game. That has to be saved somehow so when they enter the world after a restart the script checks their last saved location and jumps them there.
Sign In or Register to comment.