*** 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 #bzflag | 02:19 | |
*** FastLizard4 is back | 04:35 | |
*** FastLizard4 is now away: AWAY from keyboard | 04:44 | |
*** Cobra_Fast is now away: offline | 06:46 | |
*** Cobra_Fast is back | 06:46 | |
*** FastLizard4 is back | 07:45 | |
*** FastLizard4 is now away: IN-GAME - Minecraft | 07: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 #bzflag | 10:44 | |
*** FastLizard4 is back | 13:35 | |
*** FastLizard4 is now away: AWAY from keyboard | 13:55 | |
Juest | sup blast007 ? | 13:57 |
---|---|---|
blast007 | getting a build going on my Win7 system to debug | 15:55 |
blast007 | but I'll be driving in to work in a bit, so I won't probably figure out why it's happening yet | 15:55 |
*** FastLizard4 is back | 16:03 | |
*** FastLizard4 is now away: AWAY from keyboard | 16: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 #bzflag | 18:16 | |
blast007 | so 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 #bzflag | 19:30 | |
blast007 | "DNS server returned general failure" is what ares_strerror returns when I pass it the return code | 19:35 |
blast007 | ARES_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 |
blast007 | I'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 | |
Juest | its c-ares or curl? | 21:06 |
Juest | but it happens with IPs too | 21:07 |
blast007 | c-ares | 21:20 |
Juest | hmm okay | 21:37 |
Juest | so that handles all networking? | 21:37 |
blast007 | no, DNS resolution | 21:41 |
blast007 | we probably either pass everything through it, or we just check the ares status and bail if it's in the failed state | 21:42 |
Juest | interesting | 21:44 |
Juest | even for IPs? | 21:45 |
blast007 | yeah | 21:45 |
Juest | maybe we should only depend on ares for dns explicitly...? | 21:50 |
Juest | what's our network system? curl? sdl? | 21:51 |
Juest | has enet been looked into? | 21:51 |
Juest | well maybe its after all the end of windows 7? | 21:51 |
blast007 | isn't enet a full network library? | 21:53 |
blast007 | we don't use a network library other than the socket layers that the OS provides | 21:54 |
blast007 | c-ares is for DNS resolution (forward and reverse), curl is for HTTP requests, SDL is for windowing, events, input | 21:55 |
blast007 | oh, and audio I think? | 21:56 |
Juest | i see | 21:57 |
Juest | yeah we could replace curl and c-ares with enet :D | 21:57 |
Juest | and finally have p2p | 21:57 |
Juest | and upnp | 21:57 |
blast007 | those do different things | 21:57 |
Juest | hmmm fair | 21:57 |
blast007 | enet would replace the client-to-server communication | 21:58 |
blast007 | why would you want P2P? | 21:58 |
Juest | well why we dont use the OS for dns resolution too? | 21:58 |
Juest | enet is used in rvgl (re-volt with foss deps) and there's a option of p2p and client-server | 21:59 |
blast007 | I don't think the OS level stuff is asynchronous | 21:59 |
blast007 | P2P means you expose the player IPs | 21:59 |
Juest | is the comm secure? | 21:59 |
blast007 | wut | 22:00 |
Juest | as in, game net comms | 22:00 |
blast007 | why would that matter? | 22:00 |
Juest | curious | 22:00 |
blast007 | currently? or in P2P? | 22:00 |
Juest | currently | 22:00 |
blast007 | no | 22:00 |
Juest | Okay, it might be a good idea to secure that some day | 22:01 |
Juest | especially if going p2p | 22:01 |
blast007 | we wouldn't go P2P | 22:01 |
Juest | if ever* | 22:01 |
Juest | right sorry | 22:01 |
blast007 | again, that would expose player IPs | 22:01 |
blast007 | BZFlag used to be a weird mix of client-server and peer-to-peer | 22:02 |
Juest | arent the player ips exposed already in the server anyways? | 22:02 |
blast007 | yeah, but not EVERY SINGLE player can see EVERY OTHER player's IP | 22:02 |
Juest | Ah i see | 22:02 |
blast007 | the server knows, but each player doesn't | 22:02 |
blast007 | 1.7 had that issue where it send every player's IP | 22:03 |
blast007 | think it was a holdover from when previous versions did have client-to-client communication | 22:03 |
Juest | (taking this opportunity with c-ares giving issues to maybe rethink the network system again) | 22:03 |
Juest | but seems it probably spirals into scope creep easily :( | 22:03 |
blast007 | disabling the threading option makes it just get stuck at "Trying..." instead of getting "Server not found" | 22:04 |
Juest | my current os performance is hurt by paging so much that any network action freezes the game | 22:05 |
Juest | fragmented hdd | 22:05 |
blast007 | I set up a Windows 7 VM on my laptop, so I don't have to mess with my actual Win7 too much | 22:06 |
Juest | nice, works well? | 22:06 |
blast007 | probably faster, at least excluding GPU performance :) | 22:06 |
Juest | so we cant really get rid of c-ares because os isnt async? | 22:08 |
Juest | especially on linux | 22:08 |
blast007 | we can, of course, replace it | 22:11 |
blast007 | but let's not just to solutions before we know more | 22:12 |
blast007 | curl itself can use c-ares or it's own async lookup using threads | 22:12 |
blast007 | the 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 likely | 22:16 |
Juest | hmm i see | 22:55 |
Juest | yeah i understand, lets not quickly bail | 22:55 |
Juest | but why win7 specifically breaks? | 23:05 |
Juest | not sure about trying on win10 | 23:05 |
blast007 | I only usually try on 10 and 11 | 23:05 |
Juest | right | 23:05 |
blast007 | might fail on 8 too for all I know | 23:06 |
blast007 | and maybe Vista, which I think we *technically* might still run on | 23:06 |
blast007 | I 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 |
blast007 | I do still have a Windows 8 system, in the form of a pocket sized mini PC | 23:08 |
blast007 | one of these: https://www.zotac.com/download/mediadrivers/mb/man/pb253.pdf | 23:09 |
Juest | awesome | 23:14 |
Juest | if 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 #bzflag | 23:19 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!