Commit Graph

12 Commits

Author SHA1 Message Date
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
25e62b3a8b Use more modern function channel approach in websocket forwarder. 2022-03-01 22:29:56 +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
da2a6a82d4 Simplified tiles update processing and forwarding. 2016-05-08 22:30:00 +02: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
c918b538db Broadcast player posistion to websocket clients this could be high traffic. 2015-03-09 15:37:57 +01:00
Sascha L. Teichmann
7249a60043 Use "ignore incoming messages" code from the gorilla websocket documentation. 2015-03-03 01:33:12 +01:00
Sascha L. Teichmann
f943919ee6 Implemented the sending of the base tile changes to the connected websocket clients. 2015-03-03 01:13:37 +01:00
Sascha L. Teichmann
83cf9dbaad Added command line flags for websocket support. Added dummy websocket controller. 2015-03-02 14:16:36 +01:00