Commit Graph

218 Commits

Author SHA1 Message Date
Sascha L. Teichmann
7f69467f26 cmd/mtredisalize/leveldb.go 2024-01-06 16:12:19 +01:00
Sascha L. Teichmann
5442fab97d Fix issues found by staticcheck 2024-01-06 10:34:37 +01:00
Sascha L. Teichmann
65762936a4 fix error strings 2024-01-06 10:17:25 +01:00
Sascha L. Teichmann
ad40381859 Limit max zoom to 16. 2022-03-10 15:45:15 +01:00
Sascha L. Teichmann
ab5400881b Merged vue-client into master 2022-03-07 10:40:45 +01:00
Sascha L. Teichmann
449741db4c Send players to websocket on connect. 2022-03-03 22:57:02 +01:00
Sascha L. Teichmann
0968c5c07c Fixed websocket sending once again. 2022-03-03 22:30:06 +01:00
Sascha L. Teichmann
c87ce03dbe send empty players array if no player is online any more. 2022-03-03 20:22:37 +01:00
Raimund Renkert
d7a02ff78a Avoid not needed scrollbar. 2022-03-03 17:47:58 +01:00
Raimund Renkert
0e0ba11654 Fixed zindex of menü on small displays. 2022-03-03 17:21:57 +01:00
Raimund Renkert
69c738a694 Use app title as tab title. 2022-03-03 16:29:46 +01:00
Raimund Renkert
73e6a61d92 Use app title for map attibution. 2022-03-03 16:27:23 +01:00
Raimund Renkert
2a7b1a676e Changed web map client name. 2022-03-03 16:04:15 +01:00
Raimund Renkert
57d87e2f9f Added .env file for web map client. 2022-03-03 15:33:43 +01:00
Raimund Renkert
51a037cc28 Updated README and README of web map client. 2022-03-03 15:28:53 +01:00
Raimund Renkert
b832c30838 Introduced .env file for configuration. 2022-03-03 15:16:12 +01:00
Raimund Renkert
6339275b5b Switch player layer visibility on checkbox changed. 2022-03-02 16:30:56 +01:00
Raimund Renkert
634702f287 Fixed websocket disconnect. 2022-03-02 16:19:28 +01:00
Raimund Renkert
8a1cd2272e Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
Sascha L. Teichmann
f533ed71e7 Fixed mapping of color in configuration. 2022-03-02 00:15:30 +01:00
Sascha L. Teichmann
c17bca9c94 Deserialize duration from config toml 2022-03-01 23:45:25 +01:00
Sascha L. Teichmann
1155930bc9 Dont define c flag twice 2022-03-01 23:39:01 +01:00
Sascha L. Teichmann
e6ea8fe3d1 Support for configuration file in webmapper 2022-03-01 23:30:31 +01:00
Sascha L. Teichmann
25e62b3a8b Use more modern function channel approach in websocket forwarder. 2022-03-01 22:29:56 +01:00
Sascha L. Teichmann
da2b327985 Wait until all tiles are written out or are cancelled. 2022-03-01 21:02:08 +01:00
Sascha L. Teichmann
c507663826 Use a more general db client factory approach. 2022-03-01 14:47:14 +01:00
Sascha L. Teichmann
834c8a9bc6 Use database abstration in tilemapper, too. 2022-03-01 13:59:41 +01:00
Sascha L. Teichmann
68ce57aa75 Fixed command line parameter. 2022-03-01 13:50:18 +01:00
Sascha L. Teichmann
6fb338dbb8 Another try to fix not removing last player. 2022-02-28 21:26:04 +01:00
Sascha L. Teichmann
6ffa0e1001 Name players correctly. 2022-02-28 16:21:26 +01:00
Sascha L. Teichmann
db45013f4e Simplified player forwarding. Forward empty player list 2022-02-28 15:49:14 +01:00
Sascha L. Teichmann
1ec9d8916b select players position from database. 2022-02-28 13:37:00 +01:00
Sascha L. Teichmann
8c6ab34e6a Fetch player pos from postgres 2022-02-28 13:21:28 +01:00
Sascha L. Teichmann
d98df1c1cd WIP: add tile updating in in web mapper with pg listen/notify 2022-02-28 11:07:50 +01:00
Sascha L. Teichmann
ae230d5abf Use db abstraction in webmapper. 2022-02-27 21:31:55 +01:00
Sascha L. Teichmann
4f7fedf0b9 Use db client factory in seeder. 2022-02-27 21:17:43 +01:00
Sascha L. Teichmann
34d01762f0 Started with db abstraction in seeder. 2022-02-27 21:02:16 +01:00
Sascha L. Teichmann
e0040226c5 Fixed mtredisalize LevelDB backend which did not broadcast changes. 2017-05-14 18:35:45 +02:00
Sascha L. Teichmann
c067fc0618 Backed out changeset 2f388b07f19a (no measurable effect) 2017-04-15 13:17:31 +02:00
Sascha L. Teichmann
65119c1ee4 Priotize again. 2017-03-21 16:25:58 +01:00
Sascha L. Teichmann
54a4527fda Fixed problem raised from the removal of the doWrite closure. 2017-03-21 16:05:59 +01:00
Sascha L. Teichmann
e4ad3a84d8 Removed locking from LevelDB entirely.
It is not needed because LevelDB itself handles concurreny issues
and it causes a lot of contentions and massive lags.
2017-03-21 08:40:44 +01:00
Sascha L. Teichmann
aad612d097 Experimental increased priorities for typical mt-server ops. 2017-03-20 12:41:24 +01:00
Sascha L. Teichmann
6a1356f0eb When an tile is rendered the writing to disk can be done in background
concurrently to the rendering of the next tile.
2017-03-06 15:43:30 +01:00
Sascha L. Teichmann
e68e762322 Support unix domain sockets in redis clients, too. 2017-03-05 14:38:30 +01:00
Sascha L. Teichmann
ba2dd15280 Support unix domain sockets. 2017-03-05 14:03:02 +01:00
Sascha L. Teichmann
91959685f5 Re-worked memory management of blocks loaded from redis client to avoid
unnecessary copying them around.
2017-03-03 23:00:29 +01:00
Sascha L. Teichmann
3a9fd0ca1e Cosmetical: Replaced a map to bools by a map with struct{} values because its more a set. 2017-02-27 16:12:19 +01:00
Sascha L. Teichmann
540836b174 Made mttilemapper compile again. 2017-02-26 21:22:14 +01:00
Sascha L. Teichmann
fea2286237 Reverted accidentally committed profiling stuff. 2017-02-26 17:05:45 +01:00