IRC logs of Libera.Chat #BZFlag for Wednesday, 2023-10-11

*** FastLizard4 is back00:25
*** FastLizard4 is now away: AWAY from keyboard00:47
ZehraSomething readily usable for various custom game modes, would be: resetPlayerScores();00:52
ZehraAPI could use this and it requires no additional code to be added or written. (Except for making it available via the API.)00:53
ZehraresetTeamScores() would be also useful and provide much benefits for custom game modes.00:53
JuestZehra: aren't there plugins that reset the scoreboard?02:07
ZehraJuest: Yes, and they have been written by myself and others.02:08
Juestah i see02:08
Juestso this is about slipstreaming it into the game/api?02:09
Zehrayes02:09
Juestsounds doable, and there's some perks02:09
ZehraI'd like to avoid duplicating code/functionality, especially when the API can handle it too.02:09
Juestadmins can reset scores if they want via command02:09
Juestthat's fair enough02:09
Juestwe should look into the most common functionality that plugins use and integrate it into the game/api02:10
ZehraLike my scoreModerator plug-in... let's admins set/manage scores.02:10
Juestbut it takes work02:10
ZehraMuch of the code could be cleaned up a bit and reduced in size/scale.02:10
Juestwonder what is blast007 up to these days besides the asset-manager remake02:11
Juestwhy dont you start prototyping those integrations into the bzflag source and pr it afterwards?02:11
Zehrasame, but the asset-manager update will be a major improvement and we can see perhaps way more images02:11
Zehrawell, I have a few reasons, mainly my skill isn't up at a high enough level and PR's require approval and such02:12
Juestyou're more likely to get attention if you show code fruits by working on a pr :)02:13
Juesteven if its prototype02:13
Juestattention/inclination to implement02:14
ZehraCurrently I'm tidying up some notes/research I've stockpiled and releasing it all to the general public. ;)02:14
Zehrabut we can see how things go from there, there is a lot of people which can fit the roles better and I'm willing to share any research I have to make it happen02:16
ZehraEasy way to index all maps -> Updated version of mapatorium02:16
Zehra https://github.com/Zehra/bzw-SQF-TU-prototype <- initial theoretical work for mapping utility.02:18
ZehraBut should it be successful, we can see infinity map generation as a more viable option. :)02:19
Juestbut bzflag cant handle infinite maps02:19
Juestyou mean like procedural infinite map generation instead?02:20
ZehraInfinite maps are possible...(Actually some of my notes reference a hack for that.)02:22
ZehraBut procedural infinite map generation is what I'm looking for...02:22
Zehrahttps://forums.bzflag.org/viewtopic.php?t=17160 - Infinity Project (Map Collaboration )02:23
ZehraSame technique, but if you have a whole library of objects to use... even way more is possible.02:23
Juesti see02:24
blast007We must reach the far lands!02:47
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Ping timeout: 272 seconds)03:06
*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag03:07
Juestlol03:07
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 248 seconds)03:38
*** yuitimothy is now away: I've done some soul-searching and I still can't find it.04:02
*** yuitimothy is back04:02
*** FastLizard4 is back04:14
*** FastLizard4 is now away: IN-GAME - Starfield04:15
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Quit: Quit.)04:51
*** Cobra_Fast is now away: offline07:22
*** Cobra_Fast is back07:22
*** FastLizard4 is back08:34
*** FastLizard4 is now away: AWAY from keyboard08:38
*** FastLizard4 is back08:55
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)09:02
*** L4m3r <L4m3r!~L4m3r@user/L4m3r> has quit IRC (Read error: Connection reset by peer)09:02
*** L4m3r <L4m3r!~L4m3r@user/L4m3r> has joined #bzflag09:04
*** FastLizard4 is now away: AWAY from keyboard09:44
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)10:05
BZNotifymaster @ bzflag: blast007 pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/61d8207f8c5c...1457a094dd4e):10:22
BZNotifymaster @ bzflag: blast007 1457a0: Revert "stdout also on debug". We already have -echo and -echoAnsi which works for release and debug modes. (https://github.com/BZFlag-Dev/bzflag/commit/1457a094dd4e970e6b1fa1e4d7a053c80adf5fe7)10:22
*** I_Died_Once <I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag10:58
moriahLol!11:07
*** cods <cods!~fred@82-65-232-44.subs.proxad.net> has quit IRC (Ping timeout: 240 seconds)12:13
*** cods <cods!~fred@tuxee.net> has joined #bzflag12:20
moriahBlast007, referencing this: https://forums.bzflag.org/viewtopic.php?t=2069414:29
moriahA*A was designed by teppic (seems last seen 2020). Is he active anymore?14:29
moriahSomewhere? :)14:30
*** TimRiker <TimRiker!TimRiker@2607:fa18:9ffe::196> has joined #bzflag18:13
*** FastLizard4 is back19:14
*** FastLizard4 is now away: AWAY from keyboard19:37
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag22:10
AgathaI remember a "bridge" map. It had a short bridge section and was sortof S-shaped, with the middle part being the bridge, with a roof, and the ends of the S being bases. There was a small elevation difference to get to the bridge, and the whole map was close to the water, which surrounded the map. It was a CTF map. Ring any bells?22:24
SpringTankyeah, i think i remember that one.22:38
SpringTankhad fog and rain as well?22:38
Juestyeah, i know the one22:42
Juesti dont remember the name through :P22:43
SpringTankwas kinda a simi-wellknown mapper at the time?22:45
*** FastLizard4 is back22:48
blast007one time I had modified bzfs so instead of loading .bzw files it instead loaded the binary cache file directly, which allowed loading a cache file from the client cache22:49
moriahAgatha: https://www.bzflag.org/media/22:49
blast007then I was able to /saveworld from the client to get a .bzw file back out of it :)22:49
Juestoh neat!22:50
Juestthat's actually useful for salvaging maps22:50
blast007IIRC, someone had accidentally deleted or lost a map, so I was able to recover it from a cache in my client22:50
Juestbut wouldnt it be easier to have something that converts it directly instead of using bzfs and saving the world?22:50
blast007easier, no22:51
blast007better, yes22:51
Juestcan you make a script that uses bzfs to convert the client cache to bzw?22:51
Juestwell or modify bzfs to officially have such option that converts it and exits22:51
blast007the process involved both the game server and the game client22:51
Juestright22:51
blast007bzfs doesn't have a .bzw writer, only the client does22:51
Juestit could only involve the server if desired22:51
Juestoh interesting22:51
blast007and the client doesn't have a .bzw reader, only the server does22:51
Juestand bzadmin doesnt have it because its headless right?22:52
blast007and going from .bzw -> bzfs -> binary cache -> client -> /saveworld -> .bzw doesn't result in the original .bzw file22:52
Juestwhat are the differences?22:53
blast007yeah, bzadmin doesn't even request the world22:53
Juesta headless bzflag is bzadmin yeah?22:53
Juestjust checking22:53
blast007bzadmin is a separate client22:53
blast007the conversion to a binary representation is lossy, so things like comments I believe are gone, and probably the order of stuff isn't the same, and things that the client doesn't need to know about might also not get transmitted to the client22:54
blast007it's similar to if you were to minify some javascript, but not quite so extreme22:55
Juestah that explains a lot22:55
Juestso bzadmin is the headless client?22:55
Juestheadless option of using bzflag22:56
blast007bzadmin is a text-only client just joins as observer and can chat22:56
blast007it doesn't spawn a tank, if that's what you mean22:56
Juestokay does bzflag support headless use for bots?22:56
blast007no22:56
Juestwill it ever?22:56
blast007I mean, people have probably done it22:57
blast007but it's not part of our official project22:57
Juesti see, not an official goal22:57
blast007we have rather loose goals for the most part :)22:58
Juestspeaking of official things, thoughts on implementing the reset score functionality officially because its a common thing to implement in plugins?22:58
blast007https://web.archive.org/web/20070125222858/http://bzrc.cs.byu.edu/22:58
blast007is that function just a shortcut for something that can already be done with the existing API functions?22:58
Juesthmmm22:59
Juestdont know22:59
blast007I was thinking we already have functions for setting scores22:59
Juestright22:59
blast007https://www.bzflag.org/documentation/developer/bzfs_api/functions/bz_resetplayerscore/22:59
Juestoh its in the api...23:00
Juestthere it goes23:00
blast007https://www.bzflag.org/documentation/developer/bzfs_api/functions/bz_resetteamscores/23:00
blast007https://www.bzflag.org/documentation/developer/bzfs_api/functions/bz_getplayerindexlist/  <-- for getting a list of player IDs that can be looped through to call bz_resetPlayerScore()23:01
blast007so.. it's 4 lines of code when you include the bz_deleteIntList()23:02
blast007or maybe 523:02
Juestthanks23:04
Juestwhat have you been up to other than the asset-manager?23:04
blast007TimRiker: and am I still thinking about the IPv6 support.  I've been working my way towards being able to move everything to a newer server with PHP 8.2 as well.  The old submitimages code for the image hosting was *reallly* old stuff that was from the PHP 5 era, and it was never even finished from an admin perspective.  And it uses our weblogin, so it was a good one to work on anyways, so I ...23:05
blast007... can test if weblogin is going to work with v6.23:05
blast007The new server would just be standalone instead of having two load balancers in front of it and a mesh VPN in between.23:06
blast007Juest: that might answer your question as well23:11
Agathamoriah: not any of those (and SpringTank, no, I think it was sunny).23:12
AgathaThere was another one, sci-fi themed on a flat brown plane. Had a bunch of junk on it. Looking for that one, too.23:13
blast007was it an old 1.7 map?  I have some of those here that I archived from some map site that I think used to be on the old bzflag stats site server: https://static.bzexcess.com/downloads/bzWorlds/23:15
Juestcool!23:16
Juestwhat does my.bzflag.org run on?23:17
*** FastLizard4 is now away: AWAY from keyboard23:17
blast007do you mean what infrastructure, or what software?23:19

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