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 |
|
Sascha L. Teichmann
|
6fb338dbb8
|
Another try to fix not removing last player.
|
2022-02-28 21:26:04 +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
|
8817094001
|
Added missing copyright headers and updated dates on others.
|
2015-07-26 16:33:29 +02:00 |
|
Sascha L. Teichmann
|
65caefaf85
|
Fixed track_players mod.
|
2015-03-10 12:57:00 +01:00 |
|
Sascha L. Teichmann
|
524fe451b1
|
Fixes small errors in handling players detection in mtwebmapper.
|
2015-03-10 12:49:10 +01:00 |
|
Sascha L. Teichmann
|
d242fb5cf1
|
Fixed stupid logic mistake.
|
2015-03-10 12:17:28 +01:00 |
|
Sascha L. Teichmann
|
09e24cda65
|
Optimize the case that nothing has changes concerning the players. This should not lead to broadcasting of notifications.
|
2015-03-10 12:08:14 +01:00 |
|
Raimund Renkert
|
9523353167
|
Swapped X/Y coordinates for player.
|
2015-03-09 17:50:58 +01:00 |
|
Sascha L. Teichmann
|
28fc4d0734
|
Dont lock the player list all the time when serving the GeoJSON over /players.
|
2015-03-09 16:05:54 +01:00 |
|
Sascha L. Teichmann
|
c918b538db
|
Broadcast player posistion to websocket clients this could be high traffic.
|
2015-03-09 15:37:57 +01:00 |
|
Raimund Renkert
|
99d4f700be
|
Surround player name attribute with double quotes.
|
2015-03-09 15:01:47 +01:00 |
|
Sascha L. Teichmann
|
3f5bf6c240
|
Start with empty player list.
|
2015-03-09 14:32:14 +01:00 |
|
Sascha L. Teichmann
|
5d7b910a4d
|
Read players from fifo.
|
2015-03-09 14:31:20 +01:00 |
|
Sascha L. Teichmann
|
ff08f2af94
|
Serve GeoJSON encoded players via /players.
|
2015-03-09 14:08:52 +01:00 |
|
Sascha L. Teichmann
|
cbfb594c83
|
Added JSON marshaller for players.
|
2015-03-09 14:01:30 +01:00 |
|
Sascha L. Teichmann
|
da51389935
|
Wire websocket forwarder with players updater.
|
2015-03-09 13:16:31 +01:00 |
|
Sascha L. Teichmann
|
ece8924355
|
Add stub for players controller.
|
2015-03-09 13:09:13 +01:00 |
|