Hey,
That happens if you use the -i and -t 3 command line options while running the server twice. Let me explain a bit:
- -i: initialize a basic world.
- -n specifies the number of pre-generated players (you can leave this out if you want to use the character generator)
- -t specifies how big of a terrain you want 2 = 2x2, 4 = 4x4, etc. Each terrain chunk is about 100 meters iirc.
- -C specifies how many of the white cubes to create
The fact that you got that error is probably a bug since it should never try to reuse object ids, but the reason you got it was because it was trying to initialize a second basic world.
The other key point is that game state is constantly saved. Even if you ctrl+c or unplug your computer or whatnot while the server is running, you should have a fairly up to date world next time you start it up. It saves object positions every 15 seconds I believe so that's the most it'll be out of date. To start the server again without initializing a new world, you can just use:
- Code: Select all
twistd -n mv3d
In theory, you should be able to do that now and it'll work. If not, try deleting the store directory again and then running the server with the -i flags.
Also, check out the
MV3D Server Commandline ReferenceHope that helps!
Mike