05:59.53 | *** join/#bzflag infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net) |
05:59.53 | *** topic/#bzflag is BZFlag Support and Development || Latest version: 2.4.18 || https://www.bzflag.org || https://www.bzflag.org/help/ || https://www.openhub.net/p/bzflag || https://logs.bzexcess.com/freenode/%23bzflag/ || New shiny website! https://forums.bzflag.org/viewtopic.php?f=8&t=20201 |
05:59.53 | *** mode/#bzflag [+v infobot] by ChanServ |
07:51.09 | *** join/#bzflag DTRemenak (~DTRemenak@2605:e000:141f:c002:adfe:8c02:6257:3cad) |
07:51.09 | *** join/#bzflag DTRemenak (~DTRemenak@about/essy/CrazyCoder/DTRemenak) |
07:51.09 | *** mode/#bzflag [+v DTRemenak] by ChanServ |
08:46.18 | *** join/#bzflag _I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
10:29.59 | *** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
17:41.06 | *** join/#bzflag cods (~fred@unaffiliated/cods) |
20:08.48 | *** join/#bzflag _I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
20:25.16 | *** join/#bzflag MarderIII (~MarderIII@enneman.demon.nl) |
20:56.38 | *** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
21:52.33 | *** join/#bzflag Delusional (~Delusiona@unaffiliated/delusional) |
23:07.18 | *** join/#bzflag Zehra (~Zehra@unaffiliated/zehra) |
23:21.32 | *** join/#bzflag _I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
23:23.27 | The_Noah | bzfquery connects, sends query game and query players messages, gets the data, and disconnects. Is it possible to modify this where it says connected and gets normal messages but without showing up as a player? |
23:23.43 | The_Noah | stays connected* |
23:27.15 | blast007 | I think bzfs forcefully disconnections clients that don't do a full join after a certain number of seconds |
23:27.22 | blast007 | disconnects* |
23:29.33 | The_Noah | Okay. |
23:31.20 | blast007 | also, the bzfquery does temporarily use up one of the 200 connections that are allowed to a game server |
23:31.40 | blast007 | at least I think we still do that in 2.4 (and possibly 2.5) |
23:32.00 | The_Noah | I've been looking through the code some and it does seem to use a connection. |
23:32.46 | blast007 | what's your idea for having the other info? having more real-time updates about players joining/leaving and score changes? |
23:33.01 | blast007 | what's your idea for for having the connection stay up, I mean. |
23:36.22 | The_Noah | yeah |
23:36.54 | blast007 | and you'd be wanting that for all servers and not just ones you have some control over? |
23:37.14 | The_Noah | All that don't say they don't want me doing it. |
23:38.42 | blast007 | there's been some work off and on with push stats, previously as a plugin, where instead of having scripts query a game server, the game server instead pushes the player list and scores to a server when things change |
23:38.59 | blast007 | now I don't see that being ready for 2.4, but *maybe* 2.6 |
23:39.42 | blast007 | we could, for instance, have all servers push that kind of info to an official BZFlag web service. and then have an API on that central stats repository that other websites can read from. |
23:40.29 | blast007 | is that something you'd have interest in helping with? |
23:40.57 | The_Noah | Yes... but they I would kinda be making 2 versions of BZList. |
23:41.48 | blast007 | not quite. It'd be replacing the query script part of your site with one that queries an API instead of the game servers. |
23:42.10 | The_Noah | Then it gets rid of the "real-time" part. Unless I made a ton of queries to the API. |
23:42.40 | blast007 | wouldn't have to be a REST API. |
23:43.03 | blast007 | could be some kind of streaming protocol |
23:43.52 | The_Noah | Webhooks maybe? Though not sure if that would work will with a lot of data quickly. |
23:44.06 | blast007 | or websocket |
23:44.51 | The_Noah | Oh yeah :p |
23:45.03 | The_Noah | I already use websockets, and started implementing a plugin using websockets. |
23:49.48 | blast007 | I've never used websockets myself, though I had played around a bit with something like it yeaaars ago. I can't recall what that was called... think it had a gorilla or a monkey as the mascot character.. can't find it now |
23:49.53 | The_Noah | If you want to have a look, here it is. https://github.com/bzlist/bzlist-bzfs-plugin/blob/master/BZList.cpp (ignore the poorly written code :) |
23:51.35 | *** join/#bzflag I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |
23:57.22 | *** join/#bzflag _I_Died_Once (~I_Died_On@unaffiliated/idiedonce/x-1828535) |