IRC logs of Freenode #BZFlag for Thursday, 2019-03-21

*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has joined #bzflag00:17
ZehraIn the 'flag transferred' event, we are able to control what occurs, however there is one minor factor and that is other plug-ins using it to modify the event.00:24
ZehraIs there an easy way to know the 'final' state of the transfer event?00:27
allejounlikely00:30
blast007doesn't appear to be a notification event about the final outcome00:40
blast007perhaps loading that plugin last would allow it to observe the final state00:41
blast007or, you could share information between multiple plugins00:41
blast007there's the various 'clip' functions for inter-plugin communication00:42
allejomodification events should really have a finalized state00:42
blast007yeah, if we were doing the API over again, we'd have one event for modifying, and one for notifying00:42
blast007we have that for some stuff, but it's not consistent00:43
allejoyea00:44
allejopossibly a weight/priority value for Register()?00:44
blast007That still requires that plugins coordinate, essentially.00:47
allejoyea00:48
allejowhat exactly are you doing or concerned about, zehra?00:48
blast007a plugin author might also think that their plugin is more important and just put a big number, so then someone else has to use a *bigger* number for *their* plugin, and so on00:48
blast007pretty soon, we'd be over 900000:48
allejohehe00:49
Zehraallejo: Mostly flag tracking within the plug-in, drop and grab are easy, thief throws in a possible wildcard...00:50
ZehraI can easily keep tracks of the flags perfectly, but the implementations would unfortunately not be efficient.00:52
ZehraOr as I should say, less efficient than it could be.00:52
allejowhy are you tracking flags?00:53
blast007allejo: because the advertises demand data!00:53
ZehraXD00:53
blast007advertisers*  bleh, ruined the joke00:53
allejolol00:53
ZehraPoint manipulation is being done based on the flags...00:55
blast007you could kinda fake it though, I think.  Wouldn't be *100%* accurate, but close enough for a silly tank game.  the flag grab and drop events both have the flagID, so you could see if the player with thief ends up with the same flagID as the one who was shot with thief, with the addition of a flag type check (since the transfer event doesn't have the flagID) or a flag lookup at transfer time.00:55
blast007(and a time check, perhaps basing it on the time it takes for a flag to drop down after being dropped or spawning in)00:56
blast007or, if it's a server you run, just add a notification event :)00:57
Zehrablast007: Thanks for the suggestion, the code will be both simple and efficient now. :)00:59
allejoare the drop and grab events called on transfer?01:00
blast007allejo: no idea!01:00
ZehraThe thief event would be.... since the thief drops... will have to check for that...01:00
blast007so, yeah.. that'd need some testing01:00
ZehraOops. Not thief event, drop event, when the thief flag drops on steal. :facepalm:01:01
allejoI see a zapFlag() call when a steal is canceled but i don't see it in the continue steal. is it triggered in your testing, zehra?01:05
blast007zapFlag would be taking the thief away?01:07
allejoohhh yea that's probably what's going on01:08
ZehraI haven't checked for that, nor completely written the plug-in yet and the thief event has not been added to the plug-in yet.01:09
blast007might want to start with the thief issue since that affects the feasibility of the plugin01:12
ZehraWill be checking into it closely. Hopefully I'll be able to solve the potential bugs on my end.01:16
*** Delusional <Delusional!~Delusiona@unaffiliated/delusional> has quit IRC (Quit: Delusional)02:30
*** Delusional <Delusional!~Delusiona@unaffiliated/delusional> has joined #bzflag02:35
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo pushed 1 commit (https://git.io/fjf6Z):02:44
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo 9729e4: Split up Admin related slash commands to collection (https://git.io/fjf6n)02:44
*** Zehra <Zehra!~Zehra@unaffiliated/zehra> has quit IRC (Quit: Signing off for now. (Leave me a memo if needed.))03:03
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo pushed 4 commits (https://git.io/fjf67):04:07
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo 7d4a88: Split up Server Owner related slash commands (https://git.io/fjf65)04:07
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo 688554: Change FrontMatter 'title' to 'command' for /cmds (https://git.io/fjf6d)04:07
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo 920edb: Add PageViews to display slash commands (https://git.io/fjf6F)04:07
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo a646a2: Update URLs in docs landing page (https://git.io/fjf6b)04:07
allejoheeeeeeeee. i like how our search index is built off all our collections, so any new collection will be auto-included in our search index04:14
allejolike I just made that slash command collection and it's in the search index without me doing anything04:15
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Quit: ChatZilla 0.9.93 [SeaMonkey 2.53/20180924130006])05:26
*** DTRemenak <DTRemenak!~DTRemenak@2605:e000:141f:c002:3d1a:9fe6:ef88:9e58> has joined #bzflag05:26
*** DTRemenak <DTRemenak!~DTRemenak@2605:e000:141f:c002:3d1a:9fe6:ef88:9e58> has quit IRC (Changing host)05:26
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has joined #bzflag05:26
*** ChanServ sets mode: +v DTRemenak05:26
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo pushed 1 commit (https://git.io/fjfih):06:30
BZNotifyfeature/redesign/slash_commands @ bzflag.org: allejo 8423bd: Don't let content in sidebar layout overflow parent (https://git.io/fjfij)06:30
BZNotifybzflag.org: allejo self-assigned pull request #24 "Move slash commands into own collection" (https://git.io/fjfPt)06:37
BZNotifybzflag.org: allejo labeled pull request #24 as enhancement 06:37
BZNotifybzflag.org: allejo labeled pull request #24 as documentation 06:37
BZNotifybzflag.org: allejo review_requested pull request #24 06:37
BZNotifybzflag.org: allejo review_requested pull request #24 06:37
BZNotifybzflag.org: allejo labeled pull request #24 "Move slash commands into own collection" as needs review (https://git.io/fjfPt)06:38
*** disco- <disco-!~disco@unaffiliated/disco-> has quit IRC (Ping timeout: 272 seconds)11:25
*** disco- <disco-!~disco@unaffiliated/disco-> has joined #bzflag12:21
*** WarPig <WarPig!~WarPig@bzflag/player/WarPig> has quit IRC (Ping timeout: 245 seconds)16:38
BZNotifybzflag: atupone synchronized pull request #148 "Use of Vertex Buffer Objects instead of Client Arrays" (https://git.io/vhCKr)21:12
BZNotifybzflag.org: tainn1 synchronized pull request #23 "Analysis of tiny flag" (https://git.io/fjfRi)23:40
BZNotifybzflag.org: tainn1 commented on pull request #23 "Analysis of tiny flag" (https://git.io/fjfxo): Agreed with all and patch pushed; thanks for the feedback, @allejo!23:41

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