IRC logs of Libera.Chat #BZFlag for Sunday, 2025-04-06

*** the_map <the_map!~the_map@user/the-map/x-5158391> has quit IRC (Ping timeout: 248 seconds)02:17
*** the_map <the_map!~the_map@user/the-map/x-5158391> has joined #bzflag02:19
*** FastLizard4 is back04:35
*** FastLizard4 is now away: AWAY from keyboard04:44
*** Cobra_Fast is now away: offline06:46
*** Cobra_Fast is back06:46
*** FastLizard4 is back07:45
*** FastLizard4 is now away: IN-GAME - Minecraft07:50
*** I_Died_Once <I_Died_Once!~I_Died_On@c-98-219-34-189.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 248 seconds)07:52
*** I_Died_Once <I_Died_Once!~I_Died_On@c-98-219-34-189.hsd1.ga.comcast.net> has joined #bzflag10:44
*** FastLizard4 is back13:35
*** FastLizard4 is now away: AWAY from keyboard13:55
Juestsup blast007 ?13:57
blast007getting a build going on my Win7 system to debug15:55
blast007but I'll be driving in to work in a bit, so I won't probably figure out why it's happening yet15:55
*** FastLizard4 is back16:03
*** FastLizard4 is now away: AWAY from keyboard16:40
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)17:49
*** Lantizia <Lantizia!~Lantizia@user/lantizia> has joined #bzflag18:16
blast007so curl_init_options is not returning ARES_SUCCESS on my Windows 7 system.19:26
*** twbd <twbd!~willem@235.99-128-109.adsl-dyn.isp.belgacom.be> has joined #bzflag19:30
blast007"DNS server returned general failure" is what ares_strerror returns when I pass it the return code19:35
blast007ARES_ESERVFAIL is the return status.  Under the ARES_OPT_EVENT_THREAD part of the documentation: "Returns ARES_ENOTIMP if this option is passed but not available, and ARES_ESERVFAIL if there is a critical failure during initialization of the event thread. "19:38
blast007I'll see if I can figure out why that happens, or at least what version of c-ares that started.19:45
*** twbd <twbd!~willem@235.99-128-109.adsl-dyn.isp.belgacom.be> has quit IRC (Quit: Leaving)20:43
Juestits c-ares or curl?21:06
Juestbut it happens with IPs too21:07
blast007c-ares21:20
Juesthmm okay21:37
Juestso that handles all networking?21:37
blast007no, DNS resolution21:41
blast007we probably either pass everything through it, or we just check the ares status and bail if it's in the failed state21:42
Juestinteresting21:44
Juesteven for IPs?21:45
blast007yeah21:45
Juestmaybe we should only depend on ares for dns explicitly...?21:50
Juestwhat's our network system? curl? sdl?21:51
Juesthas enet been looked into?21:51
Juestwell maybe its after all the end of windows 7?21:51
blast007isn't enet a full network library?21:53
blast007we don't use a network library other than the socket layers that the OS provides21:54
blast007c-ares is for DNS resolution (forward and reverse), curl is for HTTP requests, SDL is for windowing, events, input21:55
blast007oh, and audio I think?21:56
Juesti see21:57
Juestyeah we could replace curl and c-ares with enet :D21:57
Juestand finally have p2p21:57
Juestand upnp21:57
blast007those do different things21:57
Juesthmmm fair21:57
blast007enet would replace the client-to-server communication21:58
blast007why would you want P2P?21:58
Juestwell why we dont use the OS for dns resolution too?21:58
Juestenet is used in rvgl (re-volt with foss deps) and there's a option of p2p and client-server21:59
blast007I don't think the OS level stuff is asynchronous21:59
blast007P2P means you expose the player IPs21:59
Juestis the comm secure?21:59
blast007wut22:00
Juestas in, game net comms22:00
blast007why would that matter?22:00
Juestcurious22:00
blast007currently?  or in P2P?22:00
Juestcurrently22:00
blast007no22:00
JuestOkay, it might be a good idea to secure that some day22:01
Juestespecially if going p2p22:01
blast007we wouldn't go P2P22:01
Juestif ever*22:01
Juestright sorry22:01
blast007again, that would expose player IPs22:01
blast007BZFlag used to be a weird mix of client-server and peer-to-peer22:02
Juestarent the player ips exposed already in the server anyways?22:02
blast007yeah, but not EVERY SINGLE player can see EVERY OTHER player's IP22:02
JuestAh i see22:02
blast007the server knows, but each player doesn't22:02
blast0071.7 had that issue where it send every player's IP22:03
blast007think it was a holdover from when previous versions did have client-to-client communication22:03
Juest(taking this opportunity with c-ares giving issues to maybe rethink the network system again)22:03
Juestbut seems it probably spirals into scope creep easily :(22:03
blast007disabling the threading option makes it just get stuck at "Trying..." instead of getting "Server not found"22:04
Juestmy current os performance is hurt by paging so much that any network action freezes the game22:05
Juestfragmented hdd22:05
blast007I set up a Windows 7 VM on my laptop, so I don't have to mess with my actual Win7 too much22:06
Juestnice, works well?22:06
blast007probably faster, at least excluding GPU performance :)22:06
Juestso we cant really get rid of c-ares because os isnt async?22:08
Juestespecially on linux22:08
blast007we can, of course, replace it22:11
blast007but let's not just to solutions before we know more22:12
blast007curl itself can use c-ares or it's own async lookup using threads22:12
blast007the included 'ahost' c-ares tool works successfuly to resolve a host, as does curl (which we build with c-ares support), so it's something we're doing wrong in AresHandler more than likely22:16
Juesthmm i see22:55
Juestyeah i understand, lets not quickly bail22:55
Juestbut why win7 specifically breaks?23:05
Juestnot sure about trying on win1023:05
blast007I only usually try on 10 and 1123:05
Juestright23:05
blast007might fail on 8 too for all I know23:06
blast007and maybe Vista, which I think we *technically* might still run on23:06
blast007I only have one Vista machine that's an old "gaming" laptop that overheated all the time.  :P  I forget if I misplaced the SATA mounting brackets for that laptop.23:08
blast007I do still have a Windows 8 system, in the form of a pocket sized mini PC23:08
blast007one of these: https://www.zotac.com/download/mediadrivers/mb/man/pb253.pdf23:09
Juestawesome23:14
Juestif it doesn't work, can you try extended kernel?23:16
*** disco <disco!~disco@81.187.95.100> has quit IRC (Remote host closed the connection)23:17
*** disco <disco!~disco@81.187.95.100> has joined #bzflag23:19

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