04:33 < bridge> <_gwendal> #0 :owo: 04:33 < bridge> <_gwendal> https://cdn.discordapp.com/attachments/293493549758939136/1155331112327987250/Discord_OGF6x9Riro.png 09:10 < bridge> fixed in 17.3? it is impossible to control the character when this window pops up 09:10 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155400808737804298/bandicam_2023-09-24_11-09-04-931.mp4 09:11 < bridge> that never was a bug in the client.. 09:11 < bridge> 09:11 < bridge> if ppl still get this, i can only imagine it's cloudflare's fault 09:13 < bridge> sure, but why this skin not removed? 09:14 < bridge> it was fixed months ago actually 09:14 < bridge> where ever u live.. it apparently is still cached wrongly 09:14 < bridge> some CDN's cached it? Russia 09:14 < bridge> at least that is what i assume 09:14 < bridge> i can't imagine another reason 09:16 < bridge> not a client bug, but you can't play when the window is displayed) I think it should not be displayed during the game. 09:16 < bridge> @murpi can u like, tell cloudflare to clear the caches or smth 09:54 < bridge> I can't belive it was this easy to fix the entire time, I assumed this was a technical limitation and never checked 09:54 < bridge> I can't believe it was this easy to fix the entire time, I assumed this was a technical limitation and never checked 10:23 < bridge> The whole point of this popup is to be annoyingly shown during the game, else the players would not know why some textures in maps and skins are missing 10:32 < bridge> As a player it's not my problem that I get a cached version of the skin in the wrong format, why should I for example fail a map I've been playing for a long time because of this bug? 10:35 < bridge> The popup wasn't really designed to be shown in the middle of gameplay I guess. It being show for skins from the database is a bug (because the skins should all be compatible) and this popup is likely the only way we would have caught it. 10:35 < bridge> Maybe it could be shown only when you open the menu 10:36 < bridge> check skins before inserting them into the database?) 10:36 < bridge> it sucks 10:36 < bridge> Yes, the skin in the database is and has always been correct though 10:36 < bridge> but question is wtf is happening here anyway 10:36 < bridge> As far as we understand it, either the webserver or some cache changes the image in transit 10:38 < bridge> So the original skin in the database is in the correct format? 10:38 < bridge> i mean skin first version 10:39 < bridge> Yeah, but when the client downloads it, it sometimes ends up in a different format 10:40 < bridge> i think murpi already confirmed the original upload was wrong 10:40 < bridge> back then we uploaded the skins manually 10:40 < bridge> now the download bot converts them 10:40 < bridge> that's why i assume it must be some cloudflare cache 10:41 < bridge> the upload bot* 10:41 < bridge> @SkinDB my fellow 10:44 < bridge> also let's face it. we shouldnt ever have added that libpng doesn't load these skins. pnglite simply failed (it didnt crash the client) 10:44 < bridge> 10:44 < bridge> so this still would have been kinda backward compatible in a sense that it doesnt break old clients 10:44 < bridge> then we could use any format we want 10:45 < bridge> this whole backward compability argument is just flawed 10:45 < bridge> Do we have statistics how many players are still using versions before we added libpng (anything older than 16.3)? 10:45 < bridge> @jupeyy_keks Can you clear the metadata from the skins before uploading them? 10:45 < bridge> deen can generate it 10:45 < bridge> i really doubt they are saved at all 10:45 < bridge> AFAIK that solved the issue ssen in the screenshot 10:45 < bridge> i convert it to RGBA pixels first 10:45 < bridge> AFAIK that solved the issue seen in the screenshot 10:46 < bridge> it doesnt remember anything from the original image 10:46 < bridge> So the meta data was also because it was an old skin that was uploaded manually? 10:46 < bridge> yes i assume so 10:47 < bridge> I removed the metadata and uploaded it via @SkinDB 10:47 < bridge> yes, it is 100% fixed 10:47 < bridge> that's why i can only still imagine cloudflare caches 10:47 < bridge> (back then) 10:48 < bridge> No, the current one still has all the metadata from the original 10:48 < bridge> I think 10:48 < bridge> Let me check 10:48 < bridge> u can ping deen, he ignores me lately 😂 10:49 < bridge> I'll ask 10:49 < bridge> Ah hm, the skin is noninterlaced properly 12:32 < bridge> What kind of agressive caching is this even? Hasn't it been like weeks since we removed the interlaced one? 12:32 < bridge> yes xd 12:36 < bridge> Q: What exactly happens if an old client tries to load an interlaced skin? 12:37 < bridge> before libpng: it fails to load 12:37 < bridge> after libpng: it fails to load and shows an error 12:37 < bridge> before libpng: it fails to load 12:37 < bridge> after libpng: it fails to load because of our check and shows an error 12:38 < bridge> What happens when pnglite fails? Fallback to default? 12:39 < bridge> it's simply as if the skin does not exist 12:41 < bridge> So default tee 12:41 < bridge> If that's the case then it might be a good idea to remove the warning now 12:43 < bridge> it was a good idea before libpng was merged 12:44 < bridge> but some ppl whos name is not to be named went full ego xd 12:50 < bridge> :justatest: 13:14 < bridge> It's controlled by a feature-flag in https://info.ddnet.org/info so we could easily disable the warning also for old clients 13:16 < bridge> Yeah, it was meant to always be removed 14:28 < bridge> <_gwendal> I don’t think so, I have this error every time I open my client but I can use with the skin / see other ppl using it 14:28 < bridge> <_gwendal> I don’t think so, I have this error every time I open my client but I can use the skin / see other ppl using it 14:28 < bridge> what client version do you use? 14:30 < bridge> <_gwendal> the last stable one I think, I tell you in a minute 14:30 < bridge> it's ok 14:30 < bridge> i didnt mean you(your client) then anyway 14:31 < bridge> <_gwendal> https://cdn.discordapp.com/attachments/293493549758939136/1155481727234490398/DDNet_sHSnKJ7P5V.png 14:36 < bridge> <_gwendal> oh mb, you guys want to remove warning for versions olders than 16.3 ? 14:36 < bridge> we talked about what happens to old clients 14:37 < bridge> <_gwendal> yy 14:38 < bridge> <_gwendal> btw this is the error in F1 if needed : ```2023-09-24 14:34:23 I png: warning for file "skins/Pom Pom.png": Interlace handling should be turned on when using png_read_image``` 14:38 < bridge> yeah 14:47 < bridge> https://factorio.com/blog/post/fff-377 14:47 < bridge> massive 14:50 < bridge> According to very rough statistics, the number of active players using client versions older than 17.x seems to be smaller than 5%. 14:51 < bridge> drop(other); 14:55 < bridge> ^ still waiting, would also be interesting to know 14:55 < bridge> @robyt3 do u have steam access xd 14:56 < bridge> no 14:57 < bridge> sad 15:25 < bridge> @davide55 ger10 never seems to auto verify anymore, can we get that fixed again? 15:28 < bridge> I'll look into it 16:41 < bridge> i turned on hibernation for my pc a few days ago because it solved the issue of the computer randomly waking up from sleep in the middle of the night 16:41 < bridge> but maybe i shouldn't have done that 16:41 < bridge> writing then reading up to 64GB from the disk evey day for pretty much no reason doesn't seem like an awesome idea 17:05 < bridge> most annoying change award goes to the new team color sorting 17:07 < bridge> breaks like 3 or 4 things at once in my mod 17:07 < bridge> or makes it worse 17:23 < bridge> We're there any changes regarding `Cl_ChangeInfo`? It should only get sent when things in the menu update or using f1 commands. It appears to get sent as soon as I press a` or `d` for walking. 17:23 < bridge> We're there any changes regarding `Cl_ChangeInfo`? It should only get sent when things in the menu update or using f1 commands. It appears to get sent as soon as I press `a` or `d` for walking. 17:24 < bridge> It was not like that before. When I change the skin from the serverside the client would not want to send Cl_ChangeInfo because that hasnt been triggered until you change ur skin options or smth. 17:25 < bridge> It's fine for a hdd but you get shit wake up times, for an ssd an awful idea indeed 18:04 < ChillerDragon> @fokkonaut whats your a and d bind? Is it only walking or do you also set something like a skin? 18:04 < bridge> walking 18:05 < ChillerDragon> hm 18:05 < ChillerDragon> thats weird 18:05 < bridge> I found a cool new vscode feature 18:05 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155535433439133746/vcode.webm 18:05 < bridge> It can keep a per cursor paste buffer 18:05 < ChillerDragon> u forgot a s in vcode 18:05 < ChillerDragon> lerato dislexic fuk 18:06 < bridge> also the framerate of this video is actual shit wtf 18:06 < ChillerDragon> i dont get the feature 18:07 < ChillerDragon> you mean copy paste a word in multiple lines 18:07 < ChillerDragon> thats in vscode since i remember 18:07 < bridge> each line has its own copy and paste buffer, so when you paste you get a different thing in each line 18:07 < ChillerDragon> or do i not get the video 18:07 < ChillerDragon> yea no front but isnt that the most basic vscode edit there is? 18:08 < ChillerDragon> i think even sublime had that right? 18:08 < bridge> sorry, I guess I was just not as cool as you 18:08 < ChillerDragon> yea but no you are right 18:08 < ChillerDragon> its very cool 18:08 < ChillerDragon> and i use it all the time since im just a copy paste engineer anyways 18:09 < bridge> i use regex, bcs im cool 18:10 < bridge> anyway, for some reason predicted and current disagree on the hook, that's what I'm poking around in 18:10 < ChillerDragon> those kind of things are the reason while i often have to switch from vim to vscode to get something done fast 18:10 < ChillerDragon> s/while/why/ 18:11 < bridge> I bet vim has this too, it's probably just behind 5 keypresses 18:11 < ChillerDragon> for sure 18:11 < ChillerDragon> but i cant figure out how 18:11 < ChillerDragon> i have some scuffed vim extension that does parts of it 18:13 < ChillerDragon> oh lerato 18:13 < ChillerDragon> u know what makes me really nervouse 18:14 < ChillerDragon> you using vscode darkmode but your top menu bar is white .-. 18:14 < ChillerDragon> https://zillyhuhn.com/cs/.1695572062.png 18:14 < ChillerDragon> this gives me the chills 18:16 < bridge> it's a weird linux issue that I really cba to figure out :/ 18:16 < ChillerDragon> buy gnome pro 18:16 < ChillerDragon> it comes with dark mode 18:17 < bridge> There is a rather big issue with dead reckoning, we do lots of things to `m_Core` without reflecting it to `m_ReckoningCore`, do you think these are worth fixing? 18:17 < ChillerDragon> dont fix that before your vscode colors are fixed 18:17 < ChillerDragon> obv 18:20 < bridge> mh, we really should have never added stuff to inside the `CCharacterCore` 18:21 < ChillerDragon> https://tube.zillyhuhn.com/videos/users/chiller/vimpro.mp4 18:21 < bridge> i'd probably use regex to replace everything 18:22 < ChillerDragon> dude took me way to long 18:22 < ChillerDragon> and felt super wonkey 18:22 < ChillerDragon> vim is nice and all but i probably will not stop booting up electron for smooth multi cursoring 18:27 < bridge> @nuborn is there anyway we can delay `Evolve` until `CNetObj_DDNetCharacter` is read? 18:33 < bridge> yes, I think one could just loop through all the characters afterwards 18:34 < bridge> Or maybe reuse the previous extended data before `Evolve` happens 18:36 < bridge> Currently if you set `cl_predict 0` and jump in start of the tutorial map you'll get a weird jolt 18:36 < bridge> it seems to be because we forget the value of m_Jumps 18:43 < bridge> agree 18:44 < bridge> this was originally in notepad++ 18:45 < bridge> i also enjoy this feature 18:59 < ChillerDragon> the thing fokko discovered might be some UB i can only reproduce it in debug mode i guess that should not be the case 19:23 < bridge> I could take a look later maybe, unless you found the solution already 19:25 < bridge> How does it update ddnet.exe? 19:25 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155555735569186827/image.png 19:26 < bridge> Nowhere is this file listed 19:28 < bridge> it's so essential that it is hardcoded 19:29 < bridge> I want it to download updates from my site, how do I update ddnet.exe if I want to? 19:29 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155556731091431536/image.png 19:30 < bridge> `"client": true` probably means the client will update the client executable 19:30 < bridge> `"server": true` the same 19:32 < bridge> So where does it get ddnet.exe from? 19:34 < bridge> It seems to be hard-coded in `src/engine/client/updater.cpp` line 35 19:34 < bridge> ```cpp 19:34 < bridge> static const char *GetUpdaterUrl(char *pBuf, int BufSize, const char *pFile) 19:34 < bridge> { 19:34 < bridge> str_format(pBuf, BufSize, "https://update.ddnet.org/%s", pFile); 19:34 < bridge> return pBuf; 19:34 < bridge> } 19:34 < bridge> ``` 19:34 < bridge> str_format(pBuf, BufSize, "https://update.ddnet.org/%s", pFile); 19:34 < bridge> Replace this with your own server URL 19:34 < bridge> https://update.ddnet.org/ddnet.exe ? 19:35 < bridge> Yes, it downloads that file 19:35 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155558185780908042/image.png 19:35 < bridge> Or https://update.ddnet.org/data/countryflags/ES-CT.png for example 19:36 < bridge> It only downloads regular files, but not ddnet.exe 19:37 < bridge> The name also contains the platform 19:37 < bridge> For binaries 19:37 < bridge> Look in `updater.h` 19:38 < bridge> aaaaaaa 19:38 < bridge> Or just add `dbg_msg` and run it 19:38 < bridge> To see the actual URL that is downloaded 19:39 < bridge> thxxxx 19:42 < bridge> win 19:42 < bridge> I got it 19:48 < bridge> I fed the prev snap extended data into evolve and that kinda fixes it but it's technically wrong 19:56 < bridge> what's happening here and what exactly fixes it? 23:08 < bridge> friend opened my client 23:08 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155611645079457793/image.png 23:08 < bridge> eng vers 23:08 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155611730626478201/image.translated.jpg 23:20 < bridge> Should be fixed, if you still have issues, please send me a traffic capture (pcap) while you try to connect to the server 23:23 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155615463179550791/image.png 23:47 < bridge> @robyt3 :owo: 23:53 < bridge> Do the files in `update` exist? 23:54 < bridge> only folders 23:54 < bridge> and update.json 23:56 < bridge> All folders are empty 23:56 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155623777233801296/image.png 23:56 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1155623777481269278/image.png