00:32 < bridge> [ddnet] @Learath2 if you want self-referential structs, you can try https://docs.rs/rental/0.5.6/rental/ 00:32 < bridge> [ddnet] it works if it's behind a pointer (e.g. vec, string) 01:31 < bridge> [ddnet] Somewhy when i do GameClient()->SendKill(-1) 01:31 < bridge> [ddnet] (Client side) it kills me with 5-10 seconds delay 01:32 < bridge> [ddnet] I even placed console print in that place 01:32 < bridge> [ddnet] Right before kill 01:32 < bridge> [ddnet] And it prints immediately 03:29 < bridge> [ddnet] i might have a clue know why SDL2 was buggy with the dont minimize flag @Learath2 with the windows taskbar not showing up 03:29 < bridge> [ddnet] with SDL 2.0.16 if i just compile it with default cmake flags and use it in our client it also happens there even in wine 03:29 < bridge> [ddnet] 03:29 < bridge> [ddnet] ``` 03:29 < bridge> [ddnet] 0110:fixme:imm:ImeSetCompositionString PROBLEM: This only sets the wine level string 03:29 < bridge> [ddnet] 0110:fixme:imm:ImeSetCompositionString Reading string unimplemented 03:29 < bridge> [ddnet] 0110:fixme:imm:NotifyIME NI_CLOSECANDIDATE 03:29 < bridge> [ddnet] ``` 03:29 < bridge> [ddnet] @TsFreddie do you think thats possible? 03:30 < bridge> [ddnet] (the current sdl dev version has the flag default on) 04:15 < bridge> [ddnet] ok maybe its still just timing related bcs of the mouseabsolute call, maybe i should just open an issue on sdl and ask them why this behavior is so weird xd 04:49 < bridge> [ddnet] Need some networking help again, I got my new Ethernet cables which connects my router with 2 other PCs. These two PCs have a Realtek PCIE GbE family controller network adapter, and both only reach about 47-52 mbps. I tried the same cables with another laptop and am receiving the full 150 mbps, weird enough: The router interface shows that both pcs are connected as 1 Gbitps, same as both Computers, they report to use 1.0 Gbit/s, so I dont 04:51 < bridge> [ddnet] The laptop test shows its not the cable or any general setup, and I already checked whether its any green ethernet or power saving mode in my network adapter, but that doesnt seem to affect it. 05:39 < bridge> [ddnet] nvm that actually, i think that this just proves that its an SDL thing, else it would behave differently with mingw^^ 05:39 < bridge> [ddnet] nvm that actually, i think that this just proves that its an SDL thing, else it would behave differently with wine^^ 09:58 < bridge> [ddnet] image.png 09:58 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853181370960314378/image.png 09:58 < bridge> [ddnet] aaaaa howto memory management? \:/ 10:02 < bridge> [ddnet] ok nevermind i found solution without memory management \:D but still i wonder whats wrong about my malloc \:c 10:34 < bridge> [ddnet] bot 11:07 < bridge> [ddnet] Don't use realtek network cards 11:13 < bridge> [ddnet] how do you test network speed? if you use some web speed test, it's possible that those PCs are not powerful enough to allow the JS garbage to reach the full speed of your internet connection 11:14 < bridge> [ddnet] @Comrade iperf3 11:15 < bridge> [ddnet] For example this one up to 10 Gbit/s: http://speed.myloc.de/ 11:22 < bridge> [ddnet] or you can run iperf3 server on one PC to test LAN only 11:22 < bridge> [ddnet] DDNet 15.5 🥳 11:22 < bridge> [ddnet] prepare for "where did the ping go?" support questions 11:22 < bridge> [ddnet] 😄 11:23 < bridge> [ddnet] server list refresh is much faster now at least 😄 11:33 < bridge> [ddnet] I test via speedtest provided by google, directly on google.com, thats the best one 11:33 < bridge> [ddnet] Both are high end gaming pcs from about 3-4 years ago 11:33 < bridge> [ddnet] So they are powerful enough 11:33 < bridge> [ddnet] interesting 11:35 < bridge> [ddnet] Why? Funny enough: If I connect my phone via USB-C and start a USB tetherig, then it also gets capped at 50 mbit/s, but USB ports directly go to the main board. My phone has a much highe connection than 50, depends on where i am in the house 11:36 < bridge> [ddnet] So my guess would be the mainboard, maybe 11:36 < bridge> [ddnet] Its software is from 2016, latest version is from 2018 11:37 < bridge> [ddnet] But even USB 2.0 should easily reach faster speeds than 50 mbit/s 11:37 < bridge> [ddnet] it's not hardware issue probably 11:37 < bridge> [ddnet] Yea 11:37 < bridge> [ddnet] Correct 11:37 < bridge> [ddnet] can you try iperf3 on loopback? 😄 11:37 < bridge> [ddnet] Whats that? 11:37 < bridge> [ddnet] `iperf3 -s` and `iperf3 -c localhost` 11:38 < bridge> [ddnet] sure, let me just stand up and turn on my pc :D 11:38 < bridge> [ddnet] Just woke up 11:38 < bridge> [ddnet] ah good morning then 😄 11:38 < bridge> [ddnet] good morning :) 11:39 < bridge> [ddnet] meanwhile it's nearly 3am here lol 11:40 < bridge> [ddnet] good night for you 🙂 11:40 < bridge> [ddnet] lol im listening to music ignoring the fact i inevitably will have to slee 11:40 < bridge> [ddnet] lol im listening to music ignoring the fact i inevitably will have to sleep 11:41 < bridge> [ddnet] Do it with almost 4 threads so as to see the real maximum speed 11:41 < bridge> [ddnet] 11:41 < bridge> [ddnet] iperf3 -c 127.0.0.1 -P 4 11:42 < bridge> [ddnet] okay 11:42 < bridge> [ddnet] @Davide whats wrong with realtek adapters? :D 11:42 < bridge> [ddnet] They are not the "top" of reliability 11:43 < bridge> [ddnet] Let's say they are actually the worst network chips on the market 😂 11:43 < bridge> [ddnet] Go with Intel if you need stability 11:43 < bridge> [ddnet] at least Intel Management Engine can't use Realtek NIC 😄 11:47 < bridge> [ddnet] in cmd? 11:47 < bridge> [ddnet] yes 11:47 < bridge> [ddnet] couldnt find command iperf3 11:47 < bridge> [ddnet] https://iperf.fr/iperf-download.php 11:48 < bridge> [ddnet] How do I use it? 11:49 < bridge> [ddnet] extract it somewhere 11:49 < bridge> [ddnet] then 11:49 < bridge> [ddnet] open cmd in that folder 11:49 < bridge> [ddnet] aj 11:49 < bridge> [ddnet] ah 11:49 < bridge> [ddnet] `Server listening on 5201` 11:49 < bridge> [ddnet] yes 11:50 < bridge> [ddnet] now open another cmd and run the second command 11:50 < bridge> [ddnet] whats happening now? 11:50 < bridge> [ddnet] nothing 11:50 < bridge> [ddnet] oh, okay 11:50 < bridge> [ddnet] `iperf3 -c 127.0.0.1 -P 4` this one, right? 11:50 < bridge> [ddnet] yes 11:51 < bridge> [ddnet] done 11:51 < bridge> [ddnet] how much Gbps? 11:51 < bridge> [ddnet] which value is the one you need? 11:51 < bridge> [ddnet] sum 11:51 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853209986486632478/unknown.png 11:52 < bridge> [ddnet] looks good, so loopback is fine 11:52 < bridge> [ddnet] what did this do now? 11:52 < bridge> [ddnet] now run `iperf3 -s` on another PC and connect to it 11:52 < bridge> [ddnet] give me a second 11:53 < bridge> [ddnet] :monkaS: 11:53 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853210317432291348/unknown.png 11:53 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853210503522025522/unknown.png 11:54 < bridge> [ddnet] this is from the first window, btw 11:54 < bridge> [ddnet] yes, it's the same 11:54 < bridge> [ddnet] okay 11:55 < bridge> [ddnet] i have a "Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)" :monkaS: 11:55 < bridge> [ddnet] Realtek stuff is very common and works just fine usually 11:56 < bridge> [ddnet] ye i never seen another brand tbh 11:58 < bridge> [ddnet] @Comrade can i connect to the pc where it also gets capped? 11:59 < bridge> [ddnet] or do i need one that has the full speed? 11:59 < bridge> [ddnet] it should reach ~950 Mbps everywhere 11:59 < bridge> [ddnet] on gigabit ethernet 12:01 < bridge> [ddnet] you can also try to run the iperf3 client with `-R` parameter to check download speed instead of upload 12:02 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853212640155664404/unknown.png 12:02 < bridge> [ddnet] download 12:02 < bridge> [ddnet] but on the same pc 12:02 < bridge> [ddnet] both server and client on the same pc? 12:03 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853212780290506812/unknown.png 12:03 < bridge> [ddnet] this is the first window 12:03 < bridge> [ddnet] test it between 2 PCs 12:04 < bridge> [ddnet] about to 12:05 < bridge> [ddnet] So what do I run where? 12:06 < bridge> [ddnet] it doesn't matter 12:06 < bridge> [ddnet] PC1: `iperf3 -s` 12:07 < bridge> [ddnet] PC2: `iperf3 -c 192.168.1.???` 12:07 < bridge> [ddnet] you will need IP of PC running the server 12:07 < bridge> [ddnet] sure 12:08 < bridge> [ddnet] For home usage, it's fine, yes 12:08 < bridge> [ddnet] -R? 12:08 < bridge> [ddnet] -R 4? 12:08 < bridge> [ddnet] at the end? 12:08 < bridge> [ddnet] -P* 12:09 < bridge> [ddnet] server is singlethreaded anyway, so `-P` is not really needed 12:09 < bridge> [ddnet] try both with and without `-R` to test both directions 12:09 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853214453244231710/unknown.png 12:09 < bridge> [ddnet] receiver pc 12:09 < bridge> [ddnet] i think 12:09 < bridge> [ddnet] its the pc where it was listening 12:10 < bridge> [ddnet] it shows the same numbers on both sides always 12:10 < bridge> [ddnet] hmmm 663 Mbps 12:10 < bridge> [ddnet] it should be higher on gigabit ethernet 12:10 < bridge> [ddnet] but at least it's higher than 50 Mbps 😄 12:10 < bridge> [ddnet] :D 12:12 < bridge> [ddnet] and now? xd 12:12 < bridge> [ddnet] i suspect your home router 12:13 < bridge> [ddnet] its a Fritzbox 12:13 < bridge> [ddnet] maybe someone added that 50 Mbps limit there? 😄 12:13 < bridge> [ddnet] nop, there is no limit 12:13 < bridge> [ddnet] btw, what did your tests say now? 12:14 < bridge> [ddnet] Does it mean its not the network adapter? 12:14 < bridge> [ddnet] yes 12:14 < bridge> [ddnet] weid 12:14 < bridge> [ddnet] then its probably the bios 12:14 < bridge> [ddnet] weird 12:14 < bridge> [ddnet] or whatever 12:14 < bridge> [ddnet] in the release version of ddnet 15. i have orange chn and green asi 12:16 < bridge> [ddnet] nvm. i have set my proxy wrong. it is being applied to ddnet 😅 12:20 < bridge> [ddnet] @Comrade any other ideas? 12:23 < bridge> [ddnet] should i maybe update bios? 12:25 < bridge> [ddnet] @fokkonaut no 12:25 < bridge> [ddnet] just test everything first 12:26 < bridge> [ddnet] i tested about everything already :D 12:26 < bridge> [ddnet] but sure, if you have ideas i will test tem 12:26 < bridge> [ddnet] them 12:26 < bridge> [ddnet] did you try iperf3 against the internet server that deen posted? 12:26 < bridge> [ddnet] which one? 12:26 < bridge> [ddnet] http://speed.myloc.de/ 12:27 < bridge> [ddnet] which one do i take? 12:27 < bridge> [ddnet] `iperf3 -c speedtest.myloc.de -p 5200` and `iperf3 -c speedtest.myloc.de -p 5200 -R` 13:23 < ***> Buffer Playback... 13:23 < bridge> [13:05:07] [ddnet] <1ms, sorry< 13:23 < bridge> [13:05:09] [ddnet] <1ms, sorry 13:23 < bridge> [13:06:39] [ddnet] it must be some speed limit then 13:23 < bridge> [13:07:05] [ddnet] and if you have the same problem with USB tethering, it's not your home router's fault 13:23 < bridge> [13:07:17] [ddnet] by the way, did you test it with mobile data? 13:23 < bridge> [13:07:21] [ddnet] or WiFi only? 13:23 < bridge> [13:07:35] [ddnet] wifi only, but my mobile data is like 20mbit/s only 13:23 < bridge> [13:07:41] [ddnet] so not worth a test, i think 13:23 < bridge> [13:07:47] [ddnet] yes 13:23 < bridge> [13:08:07] [ddnet] yeah, 22mbps 13:23 < bridge> [13:08:39] [ddnet] tethering is NATed so your home router should have no idea that it's the PC doing the test 13:23 < bridge> [13:08:55] [ddnet] or wait 13:23 < bridge> [13:09:07] [ddnet] which IP your PC gets with USB tethering? 13:23 < bridge> [13:09:25] [ddnet] let me see 13:23 < bridge> [13:09:59] [ddnet] tethering is NATed so your home router should't know that it's the PC doing the test 13:23 < bridge> [13:10:11] [ddnet] tethering is NATed so your home router shouldn't know that it's the PC doing the test 13:23 < bridge> [13:10:39] [ddnet] getting a very weird one 13:23 < bridge> [13:11:05] [ddnet] usually, our range starts somewhere at 192.168.178.20 13:23 < bridge> [13:11:09] [ddnet] router is the .1 13:23 < bridge> [13:11:25] [ddnet] now i get 192.168.42 13:23 < bridge> [13:11:35] [ddnet] that's good 13:23 < bridge> [13:11:55] [ddnet] funny tho, my phone is still at 192.168.178.xx 13:23 < bridge> [13:12:03] [ddnet] why is the pc getting such a weird range tho? 13:23 < bridge> [13:12:07] [ddnet] xD 13:23 < bridge> [13:12:17] [ddnet] not .178, but .42 13:23 < bridge> [13:12:29] [ddnet] because your phone translates it to hide the PC behind it 13:23 < bridge> [13:12:35] [ddnet] can you test USB tethering on the laptop? 13:23 < bridge> [13:12:39] [ddnet] sure 13:23 < bridge> [13:12:53] [ddnet] just went out of battery 13:23 < bridge> [13:12:57] [ddnet] i hate old laptops 13:23 < bridge> [13:12:59] [ddnet] 😄 13:23 < bridge> [13:14:21] [ddnet] 150 mbit/s with usb tethering on my laptop 13:23 < bridge> [13:14:55] [ddnet] good, so the problem is definitely at the PC 13:23 < bridge> [13:14:59] [ddnet] seems to be higher than my phone xD 13:23 < bridge> [13:15:07] [ddnet] phone speedtest shows about 130 right now 13:23 < bridge> [13:15:21] [ddnet] ah no 13:23 < bridge> [13:15:23] [ddnet] web speed tests can be pretty heavy 13:23 < bridge> [13:15:27] [ddnet] yea 13:23 < bridge> [13:15:31] [ddnet] okay so its the pc 13:23 < bridge> [13:16:19] [ddnet] if you ask some Windows experts, then will tell you to reinstall Windows, but there should be some other way for sure 13:23 < bridge> [13:16:31] [ddnet] i hope so 13:23 < bridge> [13:18:06] [ddnet] you can try this: 13:23 < bridge> [13:18:09] [ddnet] - go to Device Manager (`devmgmt.msc`) 13:23 < bridge> [13:18:10] [ddnet] - find your network card and uninstall it 13:23 < bridge> [13:18:15] [ddnet] - click on that "Search for new devices" button 13:23 < bridge> [13:18:17] [ddnet] - do speed test again 13:23 < bridge> [13:18:51] [ddnet] i already uninstalled my network adapter yesterday, restarted pc searched for new hardware (it found the adapter on restart by itself already), didnt change anything 13:23 < bridge> [13:20:59] [ddnet] https://www.makeuseof.com/tag/tools-limit-bandwidth/ 13:23 < bridge> [13:21:11] [ddnet] did you make sure all these things are disabled? 13:23 < bridge> [13:22:57] [ddnet] if you ask some Windows experts, they will tell you to reinstall Windows, but there should be some other way for sure 13:23 < ***> Playback Complete. 13:25 < bridge> [ddnet] should be 13:25 < bridge> [ddnet] yes 13:26 < bridge> [ddnet] https://superuser.com/questions/1330112/windows-10-internet-speed-capped-at-half-the-original-speed-on-new-pc 13:28 < bridge> [ddnet] just tried disabling QoS Packet Scheduler 13:28 < bridge> [ddnet] also didnt work 13:30 < bridge> [ddnet] HAH 13:30 < bridge> [ddnet] `netsh int tcp set global autotuninglevel=normal` did the trick 13:30 < bridge> [ddnet] ah nice 13:30 < bridge> [ddnet] thanks :) 13:33 < bridge> [ddnet] we should've tried googling first 😄 13:34 < bridge> [ddnet] 2 hours of useless debugging 13:34 < bridge> [ddnet] but it was fun 😄 13:38 < bridge> [ddnet] xD 13:38 < bridge> [ddnet] true 14:16 < bridge> [ddnet] @Ryozuki could you please get the release into the AUR when you have some time? 14:17 < bridge> [ddnet] @heinrich5991 what does the Leak IP button do? 14:29 < bridge> [ddnet] sure i forgot 14:32 < bridge> [ddnet] @Patiga done 14:32 < bridge> [ddnet] @Ryozuki awesome, thanks 15:47 < bridge> [ddnet] @fokkonaut it pings the server directly if you are in the favorites view and the server does not appear in the masterserver list 16:09 < bridge> [ddnet] was the favorites behavior changed 16:09 < bridge> [ddnet] oh 16:09 < bridge> [ddnet] read that wrong 16:10 < bridge> [ddnet] nvm 16:53 < bridge> [ddnet] someone can tell me why with wsl i cant compile my server but with windows command prompt that work 16:53 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853285944052678716/unknown.png 16:54 < bridge> [ddnet] that dont give the "error" 16:54 < bridge> [ddnet] just stop compiling 16:54 < bridge> [ddnet] the error must be further up 16:54 < bridge> [ddnet] no 16:54 < bridge> [ddnet] no one error 16:54 < bridge> [ddnet] can you copy paste the whole log somewhere? 16:54 < bridge> [ddnet] just some warming 16:54 < bridge> [ddnet] hmm yes 16:55 < bridge> [ddnet] ho shit im wrong sorry but that work with wind cmd so.. 16:55 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853286494462541865/unknown.png 16:56 < bridge> [ddnet] that weird 16:56 < bridge> [ddnet] maybe i need to install something 16:56 < bridge> [ddnet] it seems you need to install python in wsl 16:57 < bridge> [ddnet] he is not installed by default? 16:57 < bridge> [ddnet] well, try executing `python3 --version` 16:57 < bridge> [ddnet] ye i tryed and he is not installed 16:57 < bridge> [ddnet] ye i treed and he is not installed 16:57 < bridge> [ddnet] ye i tried and he is not installed 16:58 < bridge> [ddnet] ho shit 16:59 < bridge> [ddnet] now i have +1000 errors 16:59 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853287270810910740/unknown.png 17:00 < bridge> [ddnet] try bam -c all 17:01 < bridge> [ddnet] ye that work thx 17:01 < bridge> [ddnet] ❤️ 17:01 < bridge> [ddnet] that for u 17:21 < bridge> [ddnet] @Jupstar ✪ are you here? 17:29 < bridge> [ddnet] yes 17:33 < bridge> [ddnet] ok wait 17:33 < bridge> [ddnet] im uploading a video 17:34 < bridge> [ddnet] do you remember of my clan bug? 17:34 < bridge> [ddnet] do i even know about it? 17:34 < bridge> [ddnet] ye i think you already helped me about changing char to another thing 17:35 < bridge> [ddnet] ah 17:35 < bridge> [ddnet] yeah 17:35 < bridge> [ddnet] https://youtu.be/ztPhxgAHGEM 17:35 < bridge> [ddnet] check that, the first window with vscode is with linux terminal and the second with window 17:35 < bridge> [ddnet] and the clan dont do the same thing 17:35 < bridge> [ddnet] any idea? 17:35 < bridge> [ddnet] to fix that? 17:36 < bridge> [ddnet] isnt that the same bug again? 17:36 < bridge> [ddnet] yes but u found the cause 17:36 < bridge> [ddnet] this is a terminal bug 17:36 < bridge> [ddnet] the value change when im moving or when i go to a specific tile 17:38 < bridge> [ddnet] what is the correct name of the clan 17:38 < bridge> [ddnet] 0xo? 17:38 < bridge> [ddnet] or do you mean the hex numbers? 17:38 < bridge> [ddnet] i'd say its the same bug 17:39 < bridge> [ddnet] just bcs its different client side doesn't mean its different bug 17:39 < bridge> [ddnet] the server sends random stuff and the client does the same 17:40 < bridge> [ddnet] Oxo is just the account name we dont care of that 17:40 < bridge> [ddnet] yeah u probs mean the hex stuff 17:41 < bridge> [ddnet] yes from the game 17:41 < bridge> [ddnet] i'd say the server decodes the client message wrong, then sends the wrong name to the client and since its UB it acts weird 17:41 < bridge> [ddnet] in the src i write do not set a clan to the user like that : 17:41 < bridge> [ddnet] str_format(aLevel, 16, " ", m_pPlayer->m_Level.m_Clan); 17:42 < bridge> [ddnet] in the src i write do not set a clan to the user like that : 17:42 < bridge> [ddnet] str_format(aLevel, 16, "`here`", m_pPlayer->m_Level.m_Clan); 17:42 < bridge> [ddnet] in the src i write do not set a clan to the user like that : 17:42 < bridge> [ddnet] str_format(aLevel, 16, "` `", m_pPlayer->m_Level.m_Clan); 17:42 < bridge> [ddnet] but maybe it also breaks when building the packets 17:42 < bridge> [ddnet] 17:42 < bridge> [ddnet] why not just use -fsigned-char 17:42 < bridge> [ddnet] doesnt that fix all issues 17:43 < bridge> [ddnet] there just is a difference if you do 17:43 < bridge> [ddnet] 1000 - 128 17:43 < bridge> [ddnet] or 17:43 < bridge> [ddnet] 1000 + 255 17:43 < bridge> [ddnet] or -1 17:43 < bridge> [ddnet] then they'd be same memory 17:43 < bridge> [ddnet] hmm ye 17:44 < bridge> [ddnet] i just fixed it by deleting random lines 17:44 < bridge> [ddnet] 🙂 17:44 < bridge> [ddnet] ah so it was just a patch from yourself? XD 17:44 < bridge> [ddnet] thought u talking about just using a different mod or smth 17:44 < bridge> [ddnet] and have the same bug again 17:45 < bridge> [ddnet] yeah im using a old mod for remake it 17:45 < bridge> [ddnet] yeah just always add funsigned-char 17:45 < bridge> [ddnet] signed* 18:02 < bridge> [ddnet] @heinrich5991 was this statement still true? i can't find any reference of "serverlist_urls.cfg" in code. 18:02 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853303233094877215/unknown.png 18:16 < bridge> [ddnet] ddnet-serverlist-urls.cfg 18:16 < bridge> [ddnet] just renamed ^^ 18:16 < bridge> [ddnet] cool 18:17 < bridge> [ddnet] @TsFreddie u on windows rn? 18:17 < bridge> [ddnet] I'm in the shower rn 18:17 < bridge> [ddnet] WTF XD 18:17 < bridge> [ddnet] What do you need 18:17 < bridge> [ddnet] just want to know if screenshot still works 18:18 < bridge> [ddnet] e.g. if its a common thing on windows 18:18 < bridge> [ddnet] I guess ask someone else. I don't really want to turn my PC back on for a screenshot😅 18:18 < bridge> [ddnet] yeah np ^^ 18:19 < bridge> [ddnet] Should've asked like two minutes ago 18:19 < bridge> [ddnet] yeah nvm, maybe smone will read this ^^ 18:36 < bridge> [ddnet] ignoring the screenshot bug, is ping supposed be half numbers and half EUR? 18:36 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853311775959941140/screenshot_2021-06-12_18-33-58.png 18:36 < bridge> [ddnet] its per ip address 18:37 < bridge> [ddnet] so if its a different bug, yes 18:37 < bridge> [ddnet] different ip* xd 18:37 < bridge> [ddnet] earlier today I saw only EUR 18:37 < bridge> [ddnet] once u connect it saves the ping 18:38 < bridge> [ddnet] so I guess it's intended 18:38 < bridge> [ddnet] ugly tho 18:38 < bridge> [ddnet] its a trade 18:38 < bridge> [ddnet] for not leaking the ip to ddossers 18:39 < bridge> [ddnet] it looks fine when it's all EUR 18:39 < bridge> [ddnet] possibly yes 18:39 < bridge> [ddnet] something about the width difference looks bad to me 18:39 < bridge> [ddnet] yeah 18:40 < bridge> [ddnet] you not unwrong ^^ 18:40 < bridge> [ddnet] so I'm wrong? 18:40 < bridge> [ddnet] you not wrong ^^ 18:40 < bridge> [ddnet] 😛 18:40 < bridge> [ddnet] nvm 18:40 < bridge> [ddnet] hard language 18:46 < bridge> [ddnet] Poor ravie 19:13 < bridge> [ddnet] @Jupstar ✪ do you happen to know if the body shade of the skin is also affected by a costum color? 19:14 < bridge> [ddnet] sadly yes 19:14 < bridge> [ddnet] ok not sadly 19:14 < bridge> [ddnet] but sadly for the greyscaling it isnt 19:14 < bridge> [ddnet] so alpha shadows look wrong xD 19:14 < bridge> [ddnet] ah 19:15 < bridge> [ddnet] was curious because otherwise you could maybe do some trickery with skins and parts of them that shouldnt be colored ^^ 19:15 < bridge> [ddnet] but I guess that wouldn't have been good :D 19:16 < bridge> [ddnet] yes, but i still think we should completly break vanilla 0.6 comp and fix the greyscale issue 19:16 < bridge> [ddnet] e.g. glow skins suffer from this 19:16 < bridge> [ddnet] ah :/ 19:17 < bridge> [ddnet] do 0.7 skins have this problem? 19:17 < bridge> [ddnet] they dont allow coloring it iirc 19:17 < bridge> [ddnet] not? 19:17 < bridge> [ddnet] you could fake it with the body marking 19:18 < bridge> [ddnet] i think thats how i fixed it for my 0.6 to 0.7 tool 19:18 < bridge> [ddnet] hm, there is coloring 19:18 < bridge> [ddnet] yeah but shadows are ignored arent they 19:18 < bridge> [ddnet] maybe it changed 19:18 < bridge> [ddnet] let me test 19:18 < bridge> [ddnet] ah idk 19:22 < bridge> [ddnet] yeah color isnt changeable for the shadow 19:22 < bridge> [ddnet] i like the 0.6 behavior more, but as said it also has its "bugs" 19:49 < bridge> [ddnet] @heinrich5991 looks like we are fetching info2.ddnet.tw first before master when user pressed refresh right? 19:50 < bridge> [ddnet] not in parallel? 19:51 < bridge> [ddnet] I'm not sure. Maybe the master is still super slow for some people 19:55 < bridge> [ddnet] Ye they seems to be parallel. 19:57 < bridge> [ddnet] Maybe the large amount of requests to the hong kong server is being picked up by the great firewall as a threat and throttled them somehow. 19:58 < bridge> [ddnet] I thought a cn company owned hk server would have some privilege of being stable. 20:08 < bridge> [ddnet] I'm a bit tired from people constantly asking about the new client and troubleshooting their dns problem. I turned off my notifications just now so I can get some rest 😅 20:10 < bridge> [ddnet] poor tsfreddie :/ 20:18 < bridge> [ddnet] @TsFreddie hm, so it's really slow? Should we run a server in mainland China directly then? 20:18 < bridge> [ddnet] maybe 20:18 < bridge> [ddnet] It is mostly ok for me. I'll do a poll tomorrow 20:20 < bridge> [ddnet] I wish we can hook up our cdn directly. But we can't make it use ddnet.tw because cn cdns require cn company owned domain's with icp lisences. 20:21 < bridge> [ddnet] Although I just tried to make it 302 to a cn cdn and ddnet client seems to accept it just fine. Maybe a small mainland server dedicated for serving 302 redirects would work? 20:23 < bridge> [ddnet] Since the master is getting hit with > 5M bandwidth constantly and we only have 5M on most of the mainland servers. 20:28 < bridge> [ddnet] :Pepe_laugh: 20:28 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853339887742353428/Screenshot_24.png 20:28 < bridge> [ddnet] Right todo 20:29 < bridge> [ddnet] There are so many todos in the code I have to use // MYTODO: in my mods to identify which are mine. 😇 20:29 < bridge> [ddnet] xd 20:30 < bridge> [ddnet] TODO_FIX_BEFORE_MERGE 20:30 < bridge> [ddnet] 20:30 < bridge> [ddnet] 20:30 < bridge> [ddnet] not fixed until today xd 20:58 < bridge> [ddnet] Bruh. I really don't know why so many people can't see the server list in china. 20:58 < bridge> [ddnet] how did they connect to ddnet server list before xD 20:58 < bridge> [ddnet] Some can access ddnet.tw with a browser. But not the masters ones 20:58 < bridge> [ddnet] it mean that was / is also a json isnt it 20:59 < bridge> [ddnet] Some can open the masters url in browser but still sees 0/0 20:59 < bridge> [ddnet] so its not a problem with the update? 20:59 < bridge> [ddnet] Ue 20:59 < bridge> [ddnet] Ye 20:59 < bridge> [ddnet] It is weird 21:00 < bridge> [ddnet] Maybe some people just don't know ddnet tab supposed to have stuff in it. 21:00 < bridge> [ddnet] Most screenshot I received are showing internet selected 21:00 < bridge> [ddnet] 😅 21:01 < bridge> [ddnet] And now i just tell everyone asked to use teeworlds.cn/browser 21:01 < bridge> [ddnet] Can't be bothered troubleshooting rn 21:02 < bridge> [ddnet] ah ok, but interesting that tw master servers are not blocked 21:02 < bridge> [ddnet] master2 shouldn't be blocked too 21:03 < bridge> [ddnet] Master2 is literally a tencent server 21:05 < bridge> [ddnet] One theory I have is some places like netcafe or schools just block tw domain because Taiwan? But that sounds a bit ridiculous to me. And some do have access to ddnet.tw homepage just fine. 21:12 < bridge> [ddnet] maybe we should just cache the current list? 21:12 < bridge> [ddnet] in worst case its outdated 21:12 < bridge> [ddnet] but not not shown at all 21:12 < bridge> [ddnet] Like in client? 21:12 < bridge> [ddnet] si 21:12 < bridge> [ddnet] Oof, I'm not sure about that 21:13 < bridge> [ddnet] it could be grey if its outdated 21:13 < bridge> [ddnet] but also when refreshing e.g. 21:13 < bridge> [ddnet] it would silently refresh it 21:13 < bridge> [ddnet] instead of not showing it 21:14 < bridge> [ddnet] @Ravie will know if showing a greyed out old list is appropriate for the human eye or if its more confusing xd 21:19 < bridge> [ddnet] 😅 well it might make more sense for the old list. The new one would just dim all servers and lit all of them back up probably. (If you click refresh) 21:19 < bridge> [ddnet] I should stop saying well and I guess 21:20 < bridge> [ddnet] well, I should stop saying well and I guess I guess. :kek: 21:20 < bridge> [ddnet] well, i guess you should, yes 21:24 < bridge> [ddnet] Have you ever been so worked up during the day that you feel like sleeping at all even though you are tired af? 21:26 < bridge> [ddnet] i've had the opposite 21:26 < bridge> [ddnet] like a burnout 21:26 < bridge> [ddnet] doesnt matter what i tocuh i feel tired xd 21:26 < bridge> [ddnet] I think I'm having both of them at the same time 21:26 < bridge> [ddnet] so you are hyped for smth, but also burned out? xd 21:27 < bridge> [ddnet] Probably. was burned out before ddnet15 dropped 21:28 < bridge> [ddnet] Then ddnet updated and my qq dm exploded. 21:28 < bridge> [ddnet] yeah coding creates burnouts really fast. 21:28 < bridge> [ddnet] you go full tryhard for few weeks 21:28 < bridge> [ddnet] and then u completly fucked xd 21:28 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853355208448409610/Screenshot_20210613-032609.jpg 21:29 < bridge> [ddnet] Behold Chinese "emojis" 21:29 < bridge> [ddnet] Or memes? I don't think they are memes, but they do look like them 21:30 < bridge> [ddnet] kinda of a mix 21:30 < bridge> [ddnet] ryozuki's pepe emoji collection can answer this question xd 21:30 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853355693402095626/6c092f1cb8f2b2b.gif 21:32 < bridge> [ddnet] Ye was wondering why we have pepes as server emojis 21:34 < bridge> [ddnet] :poggers: not complaining tho. Just didn't think the admins would made the call to add pepes. 21:34 < bridge> [ddnet] Expect for jao maybe 21:37 < bridge> [ddnet] :greenthing: 21:38 < bridge> [ddnet] everyone uses pepes here 21:38 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853357651542409216/unknown.png 21:38 < bridge> [ddnet] Dota2 21:39 < bridge> [ddnet] :monkalaugh: 21:39 < bridge> [ddnet] I have almost 1000 hours in dota2 but I played like 4 games total 21:39 < bridge> [ddnet] wut 21:39 < bridge> [ddnet] afk in menu andy 21:40 < bridge> [ddnet] :monkaS: i dont play at all 21:40 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853357990610731028/unknown.png 21:40 < bridge> [ddnet] Spend most of my time in custom game sdk 21:40 < bridge> [ddnet] autochess? 21:40 < bridge> [ddnet] No 21:40 < bridge> [ddnet] dota is pretty famous over there right? 21:40 < bridge> [ddnet] I made Tetris in dota2 21:40 < bridge> [ddnet] Didn't finish and release it in the end 21:41 < bridge> [ddnet] Probably. I wouldn't know lol 21:41 < bridge> [ddnet] they have a pro scene, since they nearly won The International 2019 21:41 < bridge> [ddnet] The International is like the grand doto tournament featuring a 40.000.000€ prize pool 21:41 < bridge> [ddnet] i guess thats a lot of chinese coins 21:41 < bridge> [ddnet] :monkalaugh: 21:42 < bridge> [ddnet] Autochess might be pretty popular since most mobile game provider has a variant of it 21:42 < bridge> [ddnet] May I know why you guys ordered the servers in regions? 21:43 < bridge> [ddnet] the ping changed to region cuz we cant know ping accurately without leaking ips to bad actors 21:43 < bridge> [ddnet] the leaked ip is then used as spoofed ips for ddos 21:43 < bridge> [ddnet] iirc 21:43 < bridge> [ddnet] I see 21:44 < bridge> [ddnet] Wait so that's how that worked 21:44 < bridge> [ddnet] I mean, it's a little bit bugged, because for me, servers in SA, appear as good ping, but its clearly not a good ping xd 21:44 < bridge> [ddnet] And NA appear as bad, when it's good 21:44 < bridge> [ddnet] yeah i think that has to be fixed with some matrix stuff 21:44 < bridge> [ddnet] Indeed 21:45 < bridge> [ddnet] And it's taking a lot more to load up all servers when you open the game, why is that? 21:47 < bridge> [ddnet] Finding the best serverlist server takes a bit of time. 21:49 < bridge> [ddnet] The 4 list servers seems to be randomly chosen then pinged individually. And the best one was cached too, so it should be a bit faster on the second launch. 21:50 < bridge> [ddnet] I see 21:50 < bridge> [ddnet] Thx! 22:01 < bridge> [ddnet] @Ryozuki I have 2 questions, can you do a small code review for me and have you ever worked with `tokio-rs/tracing`? 22:02 < bridge> [ddnet] I guess the same goes for @heinrich5991, but I think you already said you haven't worked with async in rust 22:03 < bridge> [ddnet] https://github.com/Learath2/discordbot I'm looking to replace part of the bot with this so I can actually debug both sides 22:04 < bridge> [ddnet] I should learn rust 22:06 < bridge> [ddnet] go sleep xD 22:07 < bridge> [ddnet] @TsFreddie I'm in a bit of a love/hate relationship with it, it's limitations are rather annoying and it's libraries are nowhere as mature as they make themselves out to be, but it really does error handling the way I would in my imaginary language 22:07 < bridge> [ddnet] @Learath2 did u know TEXT actually is more space efficient than varchar 22:07 < bridge> [ddnet] atleast on sqlite and psql 22:07 < bridge> [ddnet] Depends on the db engine, but yes I did 🙂 22:07 < bridge> [ddnet] :justatest: 22:08 < bridge> [ddnet] nice to know u prefer rustls over openssl 22:08 < bridge> [ddnet] :poggers: 22:09 < bridge> [ddnet] it may not have a long history like openssl, but they take it serious, here is an audit https://github.com/ctz/rustls/blob/main/audit/TLS-01-report.pdf 22:09 < bridge> [ddnet] I would use openssl but I didn't feel like the linking issues that could come with it 22:10 < bridge> [ddnet] and besides it's not really exposed to the outside so rustls should be fine 22:11 < bridge> [ddnet] @Learath2 can u run "cargo fmt" and push 22:11 < bridge> [ddnet] it would help me xd 22:12 < bridge> [ddnet] I still use ts/js as my go-to language for everything. But I finally run into problems like having to many node apps running in a server that the 1gb memory is running dry. 22:12 < bridge> [ddnet] 😅 22:12 < bridge> [ddnet] See this type of stuff is very meh for me, I prefer to format my code myself :/ 22:12 < bridge> [ddnet] I'll run the cargo fmt, sure 22:13 < bridge> [ddnet] oh, I can't rn, am on windows 22:13 < bridge> [ddnet] my personal web under rust uses 35mb 22:13 < bridge> [ddnet] why u wouldnt be able on windows 22:14 < bridge> [ddnet] I don't have any developmentstuff on windows, it's strictly for games that refuse to run under linux 22:14 < bridge> [ddnet] well its not like u formatted it at all 22:14 < bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/853366639478833202/unknown.png 22:14 < bridge> [ddnet] cargo fmt is rly good imho 22:14 < bridge> [ddnet] and everyone uses it 22:14 < bridge> [ddnet] you can configure it too btw 22:14 < bridge> [ddnet] rustfmt.toml iirc 22:15 < bridge> [ddnet] Yeah, I'll take a look at it 22:16 < bridge> [ddnet] My node apps are mostly in the 40mb to 60mb range. But they are really simple. I don't know why I made them separate node apps tho. I have 5 of these running rn. 22:16 < bridge> [ddnet] i also had my phase of node apps 22:16 < bridge> [ddnet] xd 22:16 < bridge> [ddnet] Also I need 600mb for my telegram bot. Which might be the main problem than node apps tho. 22:16 < bridge> [ddnet] node is really wasteful, rust is actually the best backend for web I've seen yet 22:16 < bridge> [ddnet] actix works really well 22:17 < bridge> [ddnet] yeah 22:17 < bridge> [ddnet] @Learath2 a competitor is appearing soon again 22:17 < bridge> [ddnet] https://rocket.rs/ 22:17 < bridge> [ddnet] they just need to release it 22:17 < bridge> [ddnet] I'd imagine anything native would be more efficient than node 22:17 < bridge> [ddnet] I found a feature rust needs immediately. Specializations for generics 22:18 < bridge> [ddnet] I guess it already has it but need it to be stabilized rn 22:18 < bridge> [ddnet] this https://github.com/rust-lang/rust/issues/31844 ? 22:19 < bridge> [ddnet] :justatest: I don't even know why I love typescript so much 22:19 < bridge> [ddnet] i think u can try it on nightly with #![feature(specialization)] 22:19 < bridge> [ddnet] because javascript is so ugly that typescript looks beautiful at its side 22:20 < bridge> [ddnet] Ever time I need something in other languages I try to find a typescript transpiler first lol 22:21 < bridge> [ddnet] Typescript2Lua is pretty cute. Got me through the Dota2 custom game API shithole. 22:22 < bridge> [ddnet] It's like an addiction 22:30 < bridge> [ddnet] @Learath2 i think ur missing an .await in https://github.com/Learath2/discordbot/blob/master/src/main.rs#L106 on handle_message 22:30 < bridge> [ddnet] hm 22:30 < bridge> [ddnet] nvm 22:33 < bridge> [ddnet] @Learath2 r u sure this works as intended? https://github.com/Learath2/discordbot/blob/master/src/main.rs#L106 22:33 < bridge> [ddnet] isnt it like this? 22:33 < bridge> [ddnet] ```rust 22:33 < bridge> [ddnet] tokio::spawn(async move { 22:33 < bridge> [ddnet] handle_message( msg.0, config.clone(), discord_http.clone(), http_client.clone(), pool.clone()); 22:33 < bridge> [ddnet] }); 22:33 < bridge> [ddnet] ``` 22:33 < bridge> [ddnet] @Learath2 r u sure this works as intended? https://github.com/Learath2/discordbot/blob/master/src/main.rs#L106 22:33 < bridge> [ddnet] isnt it like this? 22:33 < bridge> [ddnet] ```rust 22:33 < bridge> [ddnet] tokio::spawn(async move { 22:33 < bridge> [ddnet] handle_message( msg.0, config.clone(), discord_http.clone(), http_client.clone(), pool.clone()).await; 22:33 < bridge> [ddnet] }); 22:33 < bridge> [ddnet] ``` 22:33 < bridge> [ddnet] @Learath2 r u sure this works as intended? https://github.com/Learath2/discordbot/blob/master/src/main.rs#L106 22:33 < bridge> [ddnet] isnt it like this? 22:33 < bridge> [ddnet] ```rust 22:33 < bridge> [ddnet] tokio::spawn(async move { 22:33 < bridge> [ddnet] handle_message( msg.0, config.clone(), discord_http.clone(), http_client.clone(), pool.clone()).await; 22:33 < bridge> [ddnet] }); 22:33 < bridge> [ddnet] ``` 22:36 < bridge> [ddnet] sqlx also probs has a feature chrono that will do the datetime stuff for u 22:36 < bridge> [ddnet] + thiserror 23:00 < bridge> [ddnet] the stable version doesn't have datetime for sqlite yet 23:01 < bridge> [ddnet] sqlx = { version = "0.5", features = [ "sqlite", "runtime-actix-rustls", "macros", "migrate", "chrono", "uuid" ] } 23:01 < bridge> [ddnet] it does 23:01 < bridge> [ddnet] @Learath2 use NaiveDateTime instead 23:01 < bridge> [ddnet] they must have added it a second ago because I just checked it 😛 23:01 < bridge> [ddnet] It doesn't have datetime at all for sqlite, they just added it 13 days ago on master 23:01 < bridge> [ddnet] NaiveDateTime 23:02 < bridge> [ddnet] DateTime is used for timestamps with timezone 23:02 < bridge> [ddnet] but sqlite doesnt support timezones iirc 23:02 < bridge> [ddnet] I'm sure I tried that too, but I'll give it another try when I boot back into linux 23:03 < bridge> [ddnet] sqlite doesn't support DATETIME at all, they don't even do column types 23:03 < bridge> [ddnet] they have datetime functions of their own which you use to fill a column 23:04 < bridge> [ddnet] add chrono to sqlx features 23:05 < bridge> [ddnet] it will parse it correctly 23:05 < bridge> [ddnet] DATETIME in sqlite is an alias to numeric 23:05 < bridge> [ddnet] All column types in sqlite is the same internal type, you can put a string inside an integer if you want 23:06 < bridge> [ddnet] s\/is/are/ 23:06 < bridge> [ddnet] well i dont care about that 23:06 < bridge> [ddnet] im just telling u u can use naivedatetime on rust side 23:09 < bridge> [ddnet] No need to wrap it in another closure, the only requirements for T is that it's `Future + Send + 'static` and it's output is `Send + 'static` 23:22 < bridge> [ddnet] thanks for approving promt translation into russian.txt 👍