IRC logs of Libera.Chat #BZFlag for Tuesday, 2022-03-15

OkinaMataraOne interesting note...01:17
OkinaMataraIn MsgEnter --> id, type, team, name, motto01:18
OkinaMataraExcept we have: sendEnter(PlayerType, TeamColor, const char* name, const char* motto, const char* token);01:18
OkinaMataraI might be overlooking the obvious.01:19
OkinaMataraserverLink->sendEnter(TankPlayer, myTank->getTeam(),myTank->getCallSign(),myTank->getMotto(), startupInfo.token);01:21
OkinaMataraIn "playing.cxx".01:21
OkinaMataraJust to make sure, "TankPlayer", "PlayerType" and "id" are the same?01:28
blast007if you're talking about the comments in include/Protocol.h, those are likely outdated/wrong01:29
blast007those might be based on t he 1.7 protocol01:29
blast007the*01:29
OkinaMataraAh, okay. (I'll read more on the code.)01:32
OkinaMataraHave the Msg codes been changed by any chance? (updates/additions are fine, Msg having a different meaning would be a change.)01:33
blast007since 1.7?  definitely01:33
blast0071.7 didn't have authentication tokens and also tended to pass around player IDs unnecessarily01:34
OkinaMataraWell, a bit more towards the recent side, a.k.a. uint16_t WorldCodeHeader = 0x6865; and related perhaps having different meanings?01:36
blast007different than what?01:37
blast007looks like most of those aren't even used anywhere01:38
OkinaMataraIDK, I was considering the possibility that the Msg codes may have been "recycled" and perhaps refer to something different.01:38
OkinaMatarasome of the*01:39
blast007the constants in there aren't all message IDs01:39
blast007it looks like those were probably intended to be some constants to identify the various world object types in the binary world data, but I can't find a reference to their use beyond WorldCodeHeader01:40
blast007(Referring to the WorldCode* stuff)01:41
blast007looks like WorldCodeEnd is used as well01:42
blast007there's some Msg* constants that aren't used as well, such as the three MsgPortal consts01:43
*** TD-Linux <TD-Linux!~Thomas@user/td-linux> has quit IRC (Ping timeout: 245 seconds)01:44
*** TD-Linux <TD-Linux!~Thomas@user/td-linux> has joined #bzflag01:46
OkinaMataraI'll see if I can run a few tests and figure some more out about it.01:46
OkinaMataraThe possibility of having the protocol documented does interest me, but I also figure some neat info might be found from it too.01:48
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Quit: Quit.)03:44
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has quit IRC (Ping timeout: 256 seconds)05:06
*** Agatha <Agatha!~agatha@user/agatha> has quit IRC (Read error: Connection reset by peer)05:39
*** Agatha <Agatha!~agatha@50.38.40.200> has joined #bzflag05:41
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:11
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag13:51
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag23:07

Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!