IRC logs of Freenode #BZFlag for Thursday, 2020-08-20

ZehraFor those who have used "BZAdmin" for logging, feedback is welcomed on "BZMinLogger".00:08
Zehra(Currently many of features are not implemented, as it is a WIP.)00:08
blast007needs a license00:09
ZehraCC000:14
Zehra(Since "public domain" is not considered one in many countries.) :)00:15
blast007thanks00:15
*** bboles <bboles!~quassel@2602:fe90:604:1b::52f2:f9b3> has quit IRC (Quit: No Ping reply in 180 seconds.)00:29
*** bboles <bboles!~quassel@2602:fe90:604:1b::52f2:f9b3> has joined #bzflag00:29
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)01:20
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag01:22
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 260 seconds)02:35
ZehraQuestion with regards to "bz_eRawChatMessageEvent", the "message" section of the event is listed as "The filtered final text of the message."....02:41
ZehraWhile the event specifies as being "called before any filtering is done.", which would lead to contradictory status.02:42
ZehraSo, it would either be "unfiltered" for "raw" or the "raw" status is misleading.02:42
BZNotifymaster @ bzflag.org: allejo pushed 1 commit (https://git.io/JJAMM):02:59
BZNotifymaster @ bzflag.org: allejo 86ed34: Correct bz_eRawChatMessageEvent::message doc (https://git.io/JJAMD)02:59
allejo)02:59
ZehraThanks allejo.03:00
allejo:)03:03
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has quit IRC (Quit: Quit)03:28
*** nitroxis <nitroxis!n@nxs.re> has quit IRC (Ping timeout: 244 seconds)07:24
*** nitroxis <nitroxis!n@nxs.re> has joined #bzflag07:28
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer)07:36
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag09:28
*** nitroxis <nitroxis!n@nxs.re> has quit IRC (Remote host closed the connection)09:56
*** nitroxis <nitroxis!n@nxs.re> has joined #bzflag09:57
*** Agatha <Agatha!180a9d90@c-24-10-157-144.hsd1.ut.comcast.net> has joined #bzflag14:40
AgathaQuestion: in the past, we could move—or effectively move—bullets in plugins. (See e.g. the snake shot plugin.) However this does not seem to be possible anymore. Correct?14:45
allejoit was never possible via the official API15:05
allejosnake shot bypassed the API and did managed to move shots by using bzfs functions directly, which isn't officially supported15:05
blast007I can't imagine that work well anyway15:22
blast007worked*15:22
AgathaThe version I'm looking at seems to have only included bzfsAPI.h. It looks like it keeps track of bullet ids and used bz_fireWorldWep to overwrite their parameters. AFAICT, anyway.15:24
blast007which version of BZFlag was that for?15:25
AgathaSeems to be from June 2012. https://forums.bzflag.org/viewtopic.php?f=78&t=18066&p=163101#p16315515:28
blast007I don't think you have control of the world weapon shot IDs anymore15:31
CaptainRoberts[mThe server can only change shots for everyone except the shooter. The most common method is to let the shooter shoot, send a raw endshot for that shot, don't send it to the other players then create a server shot where you want it and do your own manual score adjustments when it hits.15:32
CaptainRoberts[mit's a huge pain and doesn't work well15:32
Agathablast: that was my conclusion also. I tried to find it in the source, and it looks like various parameters relevant to that are explicitly ignored, so I don't think it's possible anymore.15:34
AgathaRoberts: as it happens, I am also interested in doing that too. I couldn't figure out how to remove shots, though. Can you elaborate on "send a raw endshot" please?15:35
CaptainRoberts[mThere were problems with the world shot IDs, and yes there were ignored. It wasn't fixed until a version that isn't released.15:36
AgathaOr better, I suppose, a reference I can study?15:36
CaptainRoberts[mYou have to bypass the API and send a raw network message. It's not officially supported and a huge hack. The API would have to be extended to do it right.15:37
blast007Agatha: what you're working on would best be done as a fork of the game with the flag implemented in the client, not as a hackish server-side plugin.15:37
CaptainRoberts[mBZFlag is not really designed to do that kind of server side manipulation, at least not with the release versions.15:38
CaptainRoberts[myeah, you are going to run into many walls in the 2.4.x codebase15:38
blast007this is really something that should have client-side logic15:38
CaptainRoberts[myes15:38
blast007same for the glider flag15:39
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has quit IRC (Read error: Connection reset by peer)15:39
CaptainRoberts[mYeah, there is no concept of per tank physical attributes in the current code. Only some things can be modified by handicap. Gravity is not one of those.15:39
CaptainRoberts[mreally bzdb should be replaced.15:40
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has joined #bzflag15:41
allejoyea, since 2.4.14, bzfs is the authority with IDs for server-side shots; https://github.com/BZFlag-Dev/bzflag/pull/9915:43
AgathaI *really* do not have the expertise to start messing with core bz code. I can barely even compile a plugin. And from a practical standpoint, I'd rather not insist people download some off-main version of the game, nor cause fragmentation of the community by actually succeeding at that. I can see why it might be better to make bz itself do these15:45
Agathathings, but I think a hacky plugin is a better (partial) solution unless (until?) the API is expanded.15:45
Agatha(I've given up on the glider flag for now, by the way. At the moment, I'm thinking about some kind of wacky weapons plugin. Snake shot would be a good example of the kind of thing I want to do, though I'm not remaking that one per se.)15:47
blast007can't do it either, though15:48
AgathaSo . . . what I'm getting here is something like, moving shots or terminating them prematurely in a plugin is possible, but tricky. You have to do manual network stuff in the plugin. And physics stuff like gravity is flat out impossible without modifying core bz code. ?16:09
CaptainRoberts[monly GM can be updated after it's fired16:14
CaptainRoberts[mbut it'll fight with the shooter's commands16:15
CaptainRoberts[mparts of the 2.6 API were more in line with what you are trying to do.16:17
AgathaNext question: is there a raycast thing? Basically, something that returns the first world position hit by a laser. This must exist in the core bz; how should I access it in a plugin?16:24
CaptainRoberts[mnot on the server16:24
CaptainRoberts[mthat code is in the "ShotStrat" section of the client16:25
CaptainRoberts[mthe only real collision detection the server can do is drop a tank into the world for a spawn.16:25
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag17:59
*** Agatha <Agatha!180a9d90@c-24-10-157-144.hsd1.ut.comcast.net> has quit IRC (Remote host closed the connection)18:23
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has joined #bzflag21:50
*** Flash <Flash!~flash@2601:280:c200:4e39:e97f:3ad4:61ff:975f> has quit IRC (Ping timeout: 244 seconds)22:02
*** Flash <Flash!~flash@2601:280:c200:4e39:8423:6d29:fef:6a81> has joined #bzflag22:06
*** ChanServ sets mode: +v Flash22:06
*** Flash <Flash!~flash@2601:280:c200:4e39:8423:6d29:fef:6a81> has quit IRC (Ping timeout: 240 seconds)22:20
*** Flash <Flash!~flash@2601:280:c200:4e39:8423:6d29:fef:6a81> has joined #bzflag22:23
*** ChanServ sets mode: +v Flash22:23
*** bboles <bboles!~quassel@2602:fe90:604:1b::52f2:f9b3> has quit IRC (Quit: No Ping reply in 180 seconds.)23:09
*** bboles <bboles!~quassel@2602:fe90:604:1b::52f2:f9b3> has joined #bzflag23:09

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