IRC logs of Libera.Chat #BZFlag for Tuesday, 2024-12-10

*** Optic_Delusion <Optic_Delusion!~Optic_Del@pool-96-235-40-180.pitbpa.fios.verizon.net> has joined #bzflag00:41
*** Optic_Delusion_ <Optic_Delusion_!~Optic_Del@96.235.40.180> has quit IRC (Ping timeout: 252 seconds)00:43
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has joined #bzflag02:32
OkinaMataraThis may be a stupid point. What may be a future outlook for plug-ins, as distribution of them on non-*nix platforms becomes less easy.02:34
OkinaMataraIn short: macOS and Windows plug-ins aren't as easy to provide. (Assuming most of the player base uses Windows & macOS)02:35
blast007actually, Windows is the easiest one to provide them for02:41
blast007You don't even need the full BZFlag source code if you wanted to build a plugin from source.  We ship the API headers and the library, so you can compile directly against those.02:42
blast007long term though, a script language is probably the way to go02:43
OkinaMatarasounds good, it answers all of my questions.02:44
blast007tupone has been working on Python support, though I'm not sure if I'd consider that the best option.  It might be interesting to have something that we could put inside of a BZW file, and python's whitespace requirements are a bit annoying.02:46
OkinaMatara^Related to this on a tangent, I've been looking to "optimize" plug-in writing. I came to around 3 observations from this.02:49
OkinaMatara1. On event stuff is easy. 2. It's tricky managing state. 3. The API could reduce a lot of "tedious" code.02:50
OkinaMataraIn theory, you can have `OnCap, give [flagcode], send [msg], givepoints 5` by events alone, it's just passing around values or modifying states where the real "complexity" arises.02:53
OkinaMataraThe point: Stuff like flag handling, game state...etc are difficult, since a lot of state needs to be managed, compare to the API handling it.02:55
OkinaMataraProbably one of the best examples: https://github.com/Zehra/Radar/blob/main/Radar.cpp02:57
OkinaMataraDie, Dropped, Transferred, Captured events "trigger" status change, and they're being tracked.02:59
OkinaMataraBut on second thought, depending on how fully featured it would be, a scriptable/bzw plug-in language probably could replace "most" plug-ins to some extent. (If not all.)03:00
OkinaMataraIMO, I'd find Python very "interesting", but if a smaller/more efficient language is used with a good API, I'd say it's probably better.03:04
AgathaLua is traditional for game plugins and mods, but from what I've seen it sucks, especially in comparison to Python.04:02
OkinaMataraIIRC, Scope and the "off by one", and the lack of "good" handling from data, are some of the annoyances.04:05
OkinaMataraof* instead of from*04:06
Agatha"from" is not incorrect, though if we're nitpicking my idle comments for some reason, I could have used slightly better commas.04:09
OkinaMatarait was in reference to my own. "the lack of 'good' handling from data", when instead "of" would have been a better choice.04:13
*** OkinaMatara <OkinaMatara!~Yukari@user/yukari> has quit IRC (Quit: Leaving)04:31
*** I_Died_Once <I_Died_Once!~I_Died_On@c-98-219-34-189.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 244 seconds)04:34
Agathalaaa I read your message 10 times and I didn't see it somehow04:58
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)08:09
*** FastLizard4 is back09:51
*** FastLizard4 is now away: AWAY from keyboard10:12
blast007http://www.squirrel-lang.org/   http://chaiscript.com/   https://www.angelcode.com/angelscript/   (and many others listed here https://github.com/dbohdan/embedded-scripting-languages )10:47
*** FastLizard4 is back11:18
*** FastLizard4 is now away: AWAY from keyboard11:38
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)12:03
blast007Juest: here's a signed and notarized build that should work on 10.13 or newer.  Would you want to test that?  https://static.bzexcess.com/downloads/BZFlag-2.4.27.20241210-macOS-universal.zip12:25
*** Cobra_Fast is now away: offline12:31
*** I_Died_Once <I_Died_Once!~I_Died_On@c-98-219-34-189.hsd1.ga.comcast.net> has joined #bzflag12:31
*** Cobra_Fast is back12:35
*** Cobra_Fast is now away: offline14:37
*** Cobra_Fast is back14:37
*** Cobra_Fast is now away: offline15:14
*** Cobra_Fast is back15:14
*** Juest0 <Juest0!juest@user/Juest> has joined #bzflag16:37
Juest0hi, what did i miss? i should get on my znc but im currently booted to another os16:38
blast007I had a link to a macOS test build.  Do you want that again?16:40
*** SpringTank is now away: No clients connected to this core right now.17:09
*** SpringTank is back17:10
Juest0i got it on discord thanks17:30
blast007k17:40
*** Cobra_Fast is now away: offline17:49
*** Cobra_Fast is back17:49
Juest0anything else?18:03
Juest0i can see later when i get on znc but for now....18:03
tuponeblast007: do you want a fix for high altitude? I have an idea on how to fix without protocol change, but I will take a week or more18:05
*** TimRiker <TimRiker!TimRiker@2607:fa18:9ffe::196> has joined #bzflag18:16
blast007I'm assuming that fix would change how clients behave?18:42
tuponeonly for high frame rate client18:52
tuponewould not change dead reckon18:52
blast007I probably won't hold up the 2.4.28 release for it, but I'd be happy to help try out the change.  We could always turn around and push a 2.4.30 quick if it's something we want to include there.19:00
Juest0hmm interesti19:00
Juest0oh hey TimRiker :D19:00
Juest0i feel the ipv6 work kinda died down for the time being19:00
blast007TimRiker: and if you're curious about what we're talking about: "< tupone> blast007: do you want a fix for high altitude? I have an idea on how to fix without protocol change, but I will take a week or more"19:01
blast007Juest0: it's something we'll work on again, but since it has to be in 2.5 it's taken the back seat for a while.  The bzfls3 web code will be able to handle IPv6 with the REST API, which will need to be fleshed out more.19:02
Juest0understood19:05
Juest0priority is getting a 2.4 release currently, yes?19:06
blast0072.4.28, bzfls3, new server for the web services (Debian 11 -> 12, no weird load balancer setup)19:23
blast007I have an updated replacement for the texture hosting site too that I need to finish up19:23
blast007I'll want to have us go through changes that are already in 2.5 and see if there's any we want to rip out so that we don't end up in another 2.99 situation19:25
Juest0tank skins are feature creep maybe?19:32
Juest0hmmmm19:33
Juest0i do wonder, are there any 2.5 things that can be implemented in 2.4 easily or it has to wait?19:33
blast007no, those are something that are easy to implement and finish19:33
blast007things I'm wondering about are larger things, like how we split out flag effects from flag types19:33
Juest0oh that19:33
Juest0i see19:34
blast007I don't recall how "done" that is19:34
Juest0got a checklist?19:34
blast007[ ] Make checklist19:35
Juest0lol oop19:35
blast007:)19:36
Juest0wait what happened with the bzflag org?19:36
Juest0its empty19:36
blast007BZFlag-Dev is the org19:37
Juest0there's a bzflag org 19:37
blast007someone else had already created the bzflag org before us and had paid private repos on it19:37
Juest0oh, but it says bzflag information on the description19:37
blast007yeah, but it's not ours19:38
Juest0#79 seems easily doable?19:38
Juest0hmmm, there are better options for dns than c-ares indeed19:39
blast007yeah, that one is mostly done and is already functionaly, just a bit noisy in the logs19:39
Juest0unrealircd uses something different19:39
blast007c-ares is probably fine to keep now19:39
blast007here was a list of 2.5 changes: https://docs.google.com/document/d/e/2PACX-1vTyJ9QlufMACveMmH3cyKr8zERuma1h_gsJkrLV6--y2FrMJVPH5d-z8w9dBo5nkTSQGMMp2pwqrwij/pub19:40
Juest0has it been considered using lua or squirrel?19:51
Juest0for scripting19:52
blast007lua I don't like19:59
tuponepython is a well known language :)20:01
allejomanaging Python runtimes are a pain, no?20:04
tuponeI don't seem. I have ported some plugin20:05
allejowould BZFlag come bundled with a python runtime? or would BZFlag be reliant on the system installation?20:06
Juestgreat question20:06
tuponeIn my tree bzfs link python library. 20:07
Jueststatically?20:07
tuponesystem library20:07
blast007Windows doesn't have a system library20:07
blast007system installation*20:08
Juestpython can be installed "system-wide" on windows20:08
Juesthexchat calls python from PATH as you'd expect20:08
blast007yeah, but then are we doing that, or requiring that the use does it?  or would we just have to bundle it into our install directory?20:08
blast007user*20:08
Juesthexchat handles lua and perl out of the box in windows20:09
Juestwell, it seems so20:09
Juestbut python plugin failed to load because it seems like python is not installed20:09
Juestlua is built-in20:09
Juestperl and python require system installation20:10
Juestlua doesn't necessarily require it20:10
Juestor at least it seems the case with software20:10
Juestznc also wants system installation for perl and python modules20:10
* Juest shrugs20:11
Juestjust some examples :)20:12
Juestblast007: any words about the person who already got the bzflag org? interests in giving it?20:15
BZNotify2.4 @ bzflag: atupone pushed 1 commit (https://github.com/BZFlag-Dev/bzflag/compare/6089084130c2...c71893fb592e):20:17
BZNotify2.4 @ bzflag: atupone c71893: WorldInfo: addWall is no more a method (https://github.com/BZFlag-Dev/bzflag/commit/c71893fb592e013b9bc29253e76a57831ba6711c)20:17
BZNotifybzflag: atupone synchronized pull request #334 "Use glm" (https://github.com/BZFlag-Dev/bzflag/pull/334)20:18
Juestwould be great to fix that spam connect crash20:19
tuponeJuest: are you able to reproduce ?20:19
Juesttupone: https://github.com/BZFlag-Dev/bzflag/issues/12820:20
tuponeit is still happening with 2.4 head ?20:21
Juestgreat question20:21
Juestlet me try20:21
Juesthuh seems its fixed \o/20:30
tuponeI saw the stack trace in the comment and I guessed it is20:31
Juestfun20:32
Juestgood to know20:33
Juestfeel free to close it then :)20:35
AgathaSidenote: the main consideration for plugins in my book would be hotswap debugging. Dream would be a single hotkey that reloads all plugins (and rejoins you as necessary, it shouldn't be for many plugins), without having to recompile and reboot bz or run shell commands.20:36
Juesthope you thought on the security of that20:40
blast007tupone: whoops, thanks, forgot to remove that from the .h20:47
Juesthmmmmmm20:47
tuponeyw20:48
Juestah i remember the 2.6 changes doc, what is outdated and what is still valid?20:48
*** FastLizard4 is back20:59
blast007Juest: that doc should still be pretty accurate21:04
Juestirix is long dead, right?21:05
blast007yep21:05
Juesthow about haiku or os/2?21:05
blast007haiku might work, but I don't know if anyone tests it21:05
tuponeblast007: My idea was to fix the bumping at high altitude, but does not fix the movement when far from center. Now I only imagine to go double, but that change protocol. So no way for now 21:07
Juestim taking my time to upgrade my software on this windows 10 installation, while i defrag my other disk21:07
Juestcant really test debug bzf because of ucrtd missing21:08
blast007tupone: the network protocol could remain using 32-bit floats even if the local simulation calcuations use 64-bit floats21:15
tuponeall solution to have a good physic in a game is to have fixed timeslot for all players21:15
blast007but... might still be better to wait for a proto break21:15
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag21:16
blast007yeah, I believe 2.99 had some work towards that goal.  I can't recall if that only split up the simulation steps in low FPS situations or if it also held off on simulation updates until dt grew large enough.21:16
tuponeall players should compute physics using the same time interval21:17
blast007that might be *less* important if the server was authoritative and the client would update it's own state based on what the server told it21:18
tuponeor we could compute physic only when enough time passed21:19
tuponethis last I can think more on it21:21
blast007a hacky fix for 2.4 would just be to limit the max FPS to about 180 :)21:22
tuponeand also need to limit how far you can go 21:23
blast007I noticed physics issues starting at around 200 FPS, specifically where your tank seems to bounce off buildings when you jump at them21:24
blast007the high altitude one started around 500, IIRC, at least at the altitude I was testing21:25
blast007https://www.gafferongames.com/post/fix_your_timestep/21:29
Juestlol i triggered a c++ EH exception by reproducing the issue, tupone :)21:32
Juestits the bug21:32
tuponedo you have a core ?21:33
Juestno, im live on windbg21:33
Juestunless you are familiar with the commands there21:33
Juestto dump it21:33
Juestits windows21:33
tuponegoing to sleep. But if you have a stack trace, add to the issue I can see it tomorrow21:34
tupone2.4 head ?21:34
Juestits the same as it was discussed on irc back then21:34
blast007Juest: try the 'k' command21:34
JuestAlmost tip of the head but yes it is HEAD as of 8 december 202421:35
Juestblast007: i already did KP on raiseexception21:35
Juesthttps://hastebin.skyra.pw/raw/olareqotas21:35
tuponeI saved that stack trace locally. I will check asap21:38
BZNotifybzflag: Juesto commented on issue #128 "Client crash when hitting Connect multiple times" (https://github.com/BZFlag-Dev/bzflag/issues/128#issuecomment-2532948811): reproduced on HEAD as of dec 8 2024, i think it's still very incons...21:40
Juestgood night tupone 21:43
*** FastLizard4 is now away: AWAY from keyboard22:00
BZNotifybzflag: ODelusion commented on issue #128 "Client crash when hitting Connect multiple times" by Juesto (https://github.com/BZFlag-Dev/bzflag/issues/128#issuecomment-2533125284): ...22:50
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag23:04
*** Tobbi <Tobbi!~Tobbi@SuperTux/Tobbi> has quit IRC (Ping timeout: 248 seconds)23:14

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