Okay, the spawn area is crashing the server immediately on logon - I'm not sure what's up, and I have no idea how to replace just those chunks from a backup, so I'm reverting to the snapshot from six hours previously.
Sorry.
server rollback
Re: server rollback
*sigh*
I should learn the coordinate system, then I could copy in more surgically.
I should learn the coordinate system, then I could copy in more surgically.
Re: server rollback
It's kind of hard to understand but a rough estimate can be found Here. The problem is that each folder can contain up to 4 chunks, which have nothing to do with each other, because of the ambiguity of the system. I could go through with my program and find which chunk is at your specified location (it wouldn't be much of a rewrite).
"That line you read, of course is mine, however, read so badly, it sounds like yours" -- Roman Noble
Re: server rollback
A simple utility that takes a range of coordinates (easy to get) and outputs the chunk filenames would be perfect. Then I could just run it into a script. Consider something like:
Then, I could just do
Code: Select all
./getchunks -100,100 -200,200 world/
world/g/7/c.g.7.dat
world/g/8/c.g.8.dat
world/g/9/c.g.9.dat
world/g/a/c.g.a.dat
world/g/b/c.g.b.dat
world/g/c/c.g.c.dat
world/g/d/c.g.d.dat
world/g/e/c.g.e.dat
world/g/f/c.g.f.dat
world/g/g/c.g.g.dat
world/g/h/c.g.h.dat
Code: Select all
cd world-backup
./getchunks -100,100 -200,200 . | xargs -IASDF cp ASDF ~/world/ASDF
Re: server rollback
Another script that translates between coordinate areas would also be nice.
A routine that accepts a list of chunks from STDIN and moves them by an offset.
./getchunks -100,100 -200,200 world/ | ./movechunks 100,100 world-new
would move those chunks from one location on world/ to another location on world-new.
It would be nice for lifting chunks from one area to another, or from one map to another.
A routine that accepts a list of chunks from STDIN and moves them by an offset.
./getchunks -100,100 -200,200 world/ | ./movechunks 100,100 world-new
would move those chunks from one location on world/ to another location on world-new.
It would be nice for lifting chunks from one area to another, or from one map to another.
Re: server rollback
6 hours? Oh crap. So much for my hangar
After all is said and built, more is said than built.
Do not count your glass blocks before they are smelted.
Do not count your glass blocks before they are smelted.