00:00 <+bridge> [ddnet] xD 00:18 <+bridge> [ddnet] Is release mode server on linux also faster than debug? 00:19 <+bridge> [ddnet] rls mode is always going to be slightly faster than dbg afaik, idk if its enough to be noticeable, and it doesnt matter which os 00:21 <+bridge> [ddnet] Well, it should be "way" faster. I remember when I played around with 256 tees in 0.6, in rls mode it was no problem, in debug tho it lagged very much xD 00:24 <+bridge> [ddnet] i think dbg mode turns off compiler optimization and rls mode turns it on 00:24 <+bridge> [ddnet] if that causes the code to become *way* faster then maybe it could be manually optimized a bit? 00:25 <+bridge> [ddnet] 256 players is a number where you should probably stop doing O(n^2) algorithms 00:26 <+bridge> [ddnet] @heinrich5991 :D i am using it on 128 right now 01:22 <+bridge> [ddnet] Hi, I can't open DDNet don't know why, can someone help me please? 01:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703747685085085836/Capture_du_2020-04-26_00-41-05.png 01:22 <+bridge> [ddnet] Hi, I can't open DDNet I don't know why, can someone help me please? 01:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703747685085085836/Capture_du_2020-04-26_00-41-05.png 01:38 <+bridge> [ddnet] @Pauline can you see if you find /usr/lib/libGLEW.so.1.xx in your system, where XX is some number? 01:41 <+bridge> [ddnet] wow uh what is it?@RafaelFF 01:42 <+bridge> [ddnet] i write `/usr/lib/libGLEW.so.1.xx` in terminale ? 01:45 <+bridge> [ddnet] or this? 01:45 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703753550198603876/Capture_du_2020-04-26_01-45-08.png 01:48 <+bridge> [ddnet] Try running `ls /usr/lib/libGLEW.so.1*` in the terminal 01:51 <+bridge> [ddnet] @Pauline 01:54 <+bridge> [ddnet] ls: unable to access '/usr/lib/libGLEW.so.1*': No such file or folder @RafaelFF 01:57 <+bridge> [ddnet] What distro are you using? 01:57 <+bridge> [ddnet] linux mint 19.03 02:04 <+bridge> [ddnet] `dpkg --list | grep libglew` 02:04 <+bridge> [ddnet] @Pauline what does the above command return? 02:04 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703758472738504734/Capture_du_2020-04-26_02-04-48.png 02:05 <+bridge> [ddnet] this 02:08 <+bridge> [ddnet] Your DDNet expects a libglew version older than what you have now. You should rebuild/reinstall DDNet 02:11 <+bridge> [ddnet] oh okay, i will try thank you ^^ 13:20 <+bridge> [ddnet] I get several reports for lag on my server, can it be the 128 player algorithm @Learath2 @heinrich5991? 13:22 <+bridge> [ddnet] how would we know, profile it and you'll know 13:26 <+bridge> [ddnet] We have pretty inefficient O(n^2) algorithms all over the code 13:27 <+bridge> [ddnet] as @Learath2 says, it's hard to say what exactly causes it 13:28 <+bridge> [ddnet] but the more players you add, the more problems will come from O(n^2) algorithms 13:29 <+bridge> [ddnet] for both the collision checks and the playermap you can take a look at AABBs or quadtrees or map chunking 13:29 <+bridge> [ddnet] AABB? 13:30 <+bridge> [ddnet] axis aligned bounding box 13:30 <+bridge> [ddnet] American Association of Blood Banks 13:30 <+bridge> [ddnet] definitely not that 😄 13:38 <+bridge> [ddnet] oh, spatial hashing is also interesting 13:39 <+bridge> [ddnet] (I think I would start with just chunking up the map) 13:59 <+bridge> [ddnet] I don't know spatial hashing except for soing something like h(p) = p.x+p.y 14:55 <+bridge> [ddnet] I'm trying to build again ddnet like @RafaelFF told me, but the command `cmake ..` and `make` doesn't work, someone else what to do please? 14:55 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703952491103911956/Capture_du_2020-04-26_14-54-30.png 15:18 <+bridge> [ddnet] @SHROD what distribution do you have? 15:19 <+bridge> [ddnet] @heinrich5991 Linux mint 19.03 15:19 <+bridge> [ddnet] type `sudo apt install build-essential` 15:21 <+bridge> [ddnet] it's done 15:21 <+bridge> [ddnet] then try `cmake ..` again 15:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/703959195921154098/Capture_du_2020-04-26_15-22-21.png 15:23 <+bridge> [ddnet] `sudo apt install libnotify-dev` 15:24 <+bridge> [ddnet] okay ty 15:24 <+bridge> [ddnet] it's done 15:24 <+bridge> [ddnet] then try `cmake ..` 🙂 15:24 <+bridge> [ddnet] yes its good 🙂 15:24 <+bridge> [ddnet] nice! 15:24 <+bridge> [ddnet] ohh thank you very much! 🙂 15:25 <+bridge> [ddnet] you're welcome. if you run into any more troubles, make sure to ask here ^^ 15:26 <+bridge> [ddnet] ok thank you very much ^^ I may have a problem but I will first check if it does with this version before telling you about it 🙂 15:27 <+bridge> [ddnet] ah yes i have 15:27 <+bridge> [ddnet] in fact I can't hammer and hook at the same time I don't know why, I can hammer and hook but if I do it at the same time it doesn't do either 15:29 <+bridge> [ddnet] you know what to do or not please? 15:30 <+bridge> [ddnet] it might be that pressing left and right mouse button at the same time emulates a middle mouse button click 15:30 <+bridge> [ddnet] can you select some text in the terminal and press both mouse buttons? 15:30 <+bridge> [ddnet] does the selected text get pasted then? 15:31 <+bridge> [ddnet] and we could settle that? 15:31 <+bridge> [ddnet] wait i test 15:31 <+bridge> [ddnet] yes 15:32 <+bridge> [ddnet] do you use a mouse pad or a mouse? 15:32 <+bridge> [ddnet] a mouse 15:37 <+bridge> [ddnet] and suddenly you know how to fix it or not please? :GWchadThink: 15:40 <+bridge> [ddnet] I'm trying to figure it out 15:42 <+bridge> [ddnet] okay thank you ^^ :GWbruhThonkNoHands: 15:45 <+bridge> [ddnet] can you go into the cinnamon settings, under mouse and disable "middle mouse button emulation"? 15:45 <+bridge> [ddnet] I will see 15:46 <+bridge> [ddnet] here I have disabled 15:46 <+bridge> [ddnet] it's good it's settled, thank you very much! 19:20 <+bridge> [ddnet] Hi, I want to save a date (for example 26th April 2020), and them compare it to another date (for example 20th May 2020). Is it possible in an easy way? Or do I have to write my own functions that care about things like 29th February etc. I want to have a check like `if (date2 >= date1 + x days)` 19:50 <+bridge> [ddnet] in C++ probably chrono, but i haven't used it 19:52 <+bridge> [ddnet] Whats that? 20:51 <+bridge> [ddnet] https://en.cppreference.com/w/cpp/chrono 21:18 <+bridge> [ddnet] why not just convert it to unix time