Commit graph

12 commits

Author SHA1 Message Date
Joscha
aca387cf05 Save chunks in db
One of the changes introduced for this is that multiple chunks and
diffs are now represented by dicts, not lists.
2017-04-16 17:02:32 +00:00
Joscha
9e5b5f874a Start work on server-side saving worlds
This commit includes a a few more changes because I'm too lazy to
clean them up:
 - fix chunk modification times
 - improve command line arguments
 - load multiple chunks at once
2017-04-16 13:52:39 +00:00
Joscha
4822cab0fc Update chunk logic
Correctly store time of last modification
Use "load" to get a chunk (or load/create one if it isn't loaded)
2017-04-15 11:59:58 +00:00
Joscha
d68d32ff2f Rename "changes" to "diffs" in most places 2017-04-14 11:09:50 +00:00
Joscha
3cb21c02bc Reverse illegitimate changes on server 2017-04-14 09:41:02 +00:00
Joscha
4d81dea41c Add command line parameter support to server 2017-04-14 08:33:11 +00:00
Joscha
7bec555e3b Clean up server code 2017-04-14 08:22:01 +00:00
Joscha
841adfa28f Log connects and disconnects with a little box drawing art 2017-04-14 07:32:51 +00:00
Joscha
04f0b8d9d7 Fix server-side disconnect bug 2017-04-13 21:04:09 +00:00
Joscha
320dd16889 Add server
This is a first try at connecting multiple clients using a server.
The commit includes a lot of debugging messages.
I will hopefully clean up the server and some of the client code.
2017-04-13 18:10:37 +00:00
Joscha
f5166319e1 Move ChunkDB to dbchunkpool.py 2017-04-04 20:24:27 +00:00
Joscha
59c3f6e34e Plan out project structure 2017-04-04 20:20:48 +00:00