OkinaMatara | One interesting note... | 01:17 |
---|---|---|
OkinaMatara | In MsgEnter --> id, type, team, name, motto | 01:18 |
OkinaMatara | Except we have: sendEnter(PlayerType, TeamColor, const char* name, const char* motto, const char* token); | 01:18 |
OkinaMatara | I might be overlooking the obvious. | 01:19 |
OkinaMatara | serverLink->sendEnter(TankPlayer, myTank->getTeam(),myTank->getCallSign(),myTank->getMotto(), startupInfo.token); | 01:21 |
OkinaMatara | In "playing.cxx". | 01:21 |
OkinaMatara | Just to make sure, "TankPlayer", "PlayerType" and "id" are the same? | 01:28 |
blast007 | if you're talking about the comments in include/Protocol.h, those are likely outdated/wrong | 01:29 |
blast007 | those might be based on t he 1.7 protocol | 01:29 |
blast007 | the* | 01:29 |
OkinaMatara | Ah, okay. (I'll read more on the code.) | 01:32 |
OkinaMatara | Have the Msg codes been changed by any chance? (updates/additions are fine, Msg having a different meaning would be a change.) | 01:33 |
blast007 | since 1.7? definitely | 01:33 |
blast007 | 1.7 didn't have authentication tokens and also tended to pass around player IDs unnecessarily | 01:34 |
OkinaMatara | Well, a bit more towards the recent side, a.k.a. uint16_t WorldCodeHeader = 0x6865; and related perhaps having different meanings? | 01:36 |
blast007 | different than what? | 01:37 |
blast007 | looks like most of those aren't even used anywhere | 01:38 |
OkinaMatara | IDK, I was considering the possibility that the Msg codes may have been "recycled" and perhaps refer to something different. | 01:38 |
OkinaMatara | some of the* | 01:39 |
blast007 | the constants in there aren't all message IDs | 01:39 |
blast007 | it 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 WorldCodeHeader | 01:40 |
blast007 | (Referring to the WorldCode* stuff) | 01:41 |
blast007 | looks like WorldCodeEnd is used as well | 01:42 |
blast007 | there's some Msg* constants that aren't used as well, such as the three MsgPortal consts | 01: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 #bzflag | 01:46 | |
OkinaMatara | I'll see if I can run a few tests and figure some more out about it. | 01:46 |
OkinaMatara | The 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 #bzflag | 05:41 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer) | 08:11 | |
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag | 13:51 | |
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag | 23:07 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!