IRC logs of Freenode #BZFlag for Monday, 2020-08-24

*** short_circuit <short_circuit!~spldart@bzflag/contributor/spldart> has quit IRC (Quit: Leaving)03:05
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag03:09
*** ChanServ sets mode: +v spldart03:09
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has quit IRC (Quit: Quit)03:28
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 244 seconds)03:40
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag04:13
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)07:32
*** disco- <disco-!~disco@unaffiliated/disco-> has quit IRC (Read error: Connection reset by peer)11:21
*** disco- <disco-!~disco@unaffiliated/disco-> has joined #bzflag11:24
*** Agatha <Agatha!180a9d90@c-24-10-157-144.hsd1.ut.comcast.net> has joined #bzflag11:53
AgathaQuick question; sorry IDK what I'm doing! Looking at https://github.com/BZFlag-Dev/bzflag/blob/2.4/src/bzfs/bzfsAPI.cxx#L932 it seems to set the player's last update time to the last time the player sent a message? Is that on purpose? Where can I get the time that goes with lastKnownState instead?12:00
blast007that's probably not exposed to the API13:12
blast007what are you wanting to use it for?13:12
blast007you could track that yourself by using the bz_ePlayerUpdateEvent event13:14
BZNotifymaster @ bzflag: atupone pushed 1 commit (https://git.io/JUfp6):13:54
BZNotifymaster @ bzflag: atupone f67916: Removing dithering from localization files (https://git.io/JUfpi)13:54
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag14:57
*** bboles_ <bboles_!~quassel@2602:fe90:604:1b::52f2:f9b3> has joined #bzflag15:01
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 240 seconds)15:03
*** bboles <bboles!~quassel@2602:fe90:604:1b::52f2:f9b3> has quit IRC (Ping timeout: 240 seconds)15:03
*** nitroxis <nitroxis!n@nxs.re> has quit IRC (Read error: Connection reset by peer)15:03
*** nitroxis <nitroxis!n@nxs.re> has joined #bzflag15:08
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (*.net *.split)15:22
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has quit IRC (Read error: Connection reset by peer)15:24
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has joined #bzflag15:26
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has joined #bzflag15:34
*** egan.freenode.net sets mode: +v DTRemenak15:34
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag16:20
Agathablast007, I'm trying to use it to extrapolate the player's state to the current time. For example19:48
Agathaplayer->lastKnownState.rotation+(now-player->lastUpdateTime)*player->lastKnownState.angVel;19:48
AgathaThe trouble is that player->lastUpdateTime seems to have nothing to do with the last update time, but instead the last *message* time.19:49
CaptainRoberts[mwithout modifications to the API, you'd need to save the timestamp during the bz_ePlayerUpdateEvent  in a map based on the player ID19:49
CaptainRoberts[mthen use that saved value as the starting time for your interpolation19:49
CaptainRoberts[mbzfs has the number you need, it is just not exposed in the API19:50
AgathaOkeeeey tracking it myself seems to work20:08
Agathathanks20:08
*** Okina <Okina!~Keiki_Han@unaffiliated/zehra> has joined #bzflag23:53

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