09:02 <+bridge> [ddnet] does anyone know how the bug where someone falls directly into 2 ppl hammerflying and skips into the middle of them works? 09:25 <+bridge> [ddnet] Logically, probably similar to skipping through doors with speed. 09:25 <+bridge> [ddnet] tick-based 09:26 <+bridge> [ddnet] Never done it before / seen it happen though, I think 09:28 <+bridge> [ddnet] It would just require far more speed, since the tee's hitbox is far less forgiving. 09:32 <+bridge> [ddnet] Sounds unrealistic to do without some form of gaining speed, grenade, reverse speedfl, or something of the sort 09:32 <+bridge> [ddnet] Sounds unrealistic to do without some form of gaining speed, grenade, reverse speedfly, or something of the sort 09:34 <+bridge> [ddnet] Sounds unrealistic to do without some form of gaining speed. Grenade, reverse speedfly, or something of the sort 12:30 <+ChillerDragon> Skeith be like 12:30 <+ChillerDragon> https://zillyhuhn.com/cs/.1642332597.png 12:31 <+bridge> [ddnet] ya 12:34 <+bridge> [ddnet] I have a habit of typing things that are hard to read, then I feel obligated to correct myself. :justatest: 12:36 <+bridge> [ddnet] I have a habit of typing things that are hard to read, then I feel obligated to correct myself. :justatest: :troll: 12:36 <+bridge> [ddnet] I have a habit of typing things that are hard to read, then I feel obligated to correct myself. :justatest: :troll::kek: 13:41 <+bridge> [ddnet] @murpi you guys just need a entity design for the live freeze? 13:43 <+bridge> [ddnet] probably, not sure if deen already received any submissions 15:36 <+bridge> [ddnet] If i have two clients open and download the same map at the same time how is it made sure there are no conflicts? Is the tmp download file containing some pid or something? I think iv seen such code but can not find it anymore 15:37 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/c5d8e0069be41cba641246540f9b1569cf8856f9/src/engine/shared/storage.cpp#L601 15:37 <+bridge> [ddnet] nvm got it 17:25 <+breton> would anybody be so kind and ban blockers from ddnet-rus - novice, the one on port 8301? 17:34 <+bridge> [ddnet] ok 17:35 <+breton> yykkle too please 17:36 <+breton> thank you 17:52 <+bridge> [ddnet] a\: buse 18:14 <+bridge> [ddnet] I need a new terminal emulator because the author of urxvt is racist against gentoo users 18:21 <+breton> if anybody from moderators is still kind enough, could you please stop the name changing spam on the same server? A player changes a nick every 5 seconds, and even muting them does not prevent a message about it 18:22 <+breton> the whole chat looks like this: *** 'D1mple' changed name to 'elpm1D'; *** 'elpm1D' changed name to 'D1mple' 18:26 <+bridge> [ddnet] <ѕα∂ℓσνє🖤> hi is it legal have a ddnet with 3 dumies? 18:42 <+bridge> [ddnet] alacritty 18:42 <+bridge> [ddnet] made in rust 18:42 <+bridge> [ddnet] ive been using it for long now 18:42 <+bridge> [ddnet] no problems 18:42 <+bridge> [ddnet] it also has a vim like mode itself 18:42 <+bridge> [ddnet] tho i never used it 18:44 <+bridge> [ddnet] Is alacritty the terminal that is gpu accelerated? 18:44 <+bridge> [ddnet] ye 18:44 <+bridge> [ddnet] well it uses opengl 18:44 <+bridge> [ddnet] https://github.com/alacritty/alacritty 18:54 <+bridge> [ddnet] can u show the drama 18:54 <+bridge> [ddnet] I used kitty on macOS for a while, I wonder how it is 18:54 <+bridge> [ddnet] i need my weekend dose of it 18:54 <+bridge> [ddnet] i used kitty before 18:54 <+bridge> [ddnet] but i think alacritty is faster 18:54 <+bridge> [ddnet] and its rusty so 18:55 <+bridge> [ddnet] It's not really drama per se. I'm just jilted enough by the way he typed that to look for a new terminal emulator 18:55 <+bridge> [ddnet] http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#I_use_Gentoo_and_I_have_a_problem 18:56 <+bridge> [ddnet] @Learath2 i have drama for u, the multimc author uses open source licenses but doesnt like other ppl using the software as they like 18:56 <+bridge> [ddnet] https://www.reddit.com/r/linux_gaming/comments/riitbs/multimc_is_dropping_all_support_for_aur_packages/ 18:56 <+bridge> [ddnet] xd 18:56 <+bridge> [ddnet] multimc is a minecraft launcher to handle mods 18:56 <+bridge> [ddnet] These people are all like very stupid... 18:56 <+bridge> [ddnet] https://github.com/PolyMC/PolyMC/wiki/FAQ 18:56 <+bridge> [ddnet] Did you not read the license before you put it on your code? 18:56 <+bridge> [ddnet] so this fork was made 18:57 <+bridge> [ddnet] > The maintainer of MultiMC has been hostile to other people packaging it, and has taken an anti-user approach removing features from the software to make it harder to package for a system install. Therefore, this project was made to allow anyone to distribute this as they please, without needless obstructions that the MultiMC maintainer seems to deem necessary. Additionally, this allows for full-system installs, building from source (and y 18:57 <+bridge> [ddnet] There is a huge similar drama I just remembered, the sshfs drama 18:58 <+bridge> [ddnet] the reason he chose this is cuz he wanted other ppl to provide patches, but alwayus under his control 18:58 <+bridge> [ddnet] xddd 18:58 <+bridge> [ddnet] clueless 18:59 <+bridge> [ddnet] Ah it was osxFUSE 18:59 <+bridge> [ddnet] He made the thing closed source and he only provides binary releases now 18:59 <+bridge> [ddnet] xD 19:00 <+bridge> [ddnet] Someone can't even take over because apple won't give out kernel extension signing certificates anymore 19:00 <+bridge> [ddnet] literally holding us all hostage using power vested in him by apple 19:00 <+bridge> [ddnet] https://github.com/osxfuse/osxfuse/issues/616 19:20 <+bridge> [ddnet] Oh i was wondering when you started that PolyMC that it sounded so similar to MultiMC. Yea the aur package always seemed outdated maybe it’s time to switch. But isn’t PolyMC then lacking the main maintainer? 19:31 <+bridge> [ddnet] <ѕα∂ℓσνє🖤> pls 19:33 <+bridge> [ddnet] Hey, I need some help. I am trying to delete an element from a vector and I am doing it the same way I have always done it. 19:33 <+bridge> [ddnet] I get a vector erase iterato out of range somehow. how is that possible? 19:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/932341805775732806/unknown.png 19:33 <+bridge> [ddnet] [2022-01-16 19:29:09][hi]: returned: 0 19:33 <+bridge> [ddnet] [2022-01-16 19:29:09][hi]: removing: 0/1 19:34 <+bridge> [ddnet] returned and got is the same, just that returned is in the function where it returns i 19:36 <+bridge> [ddnet] i have a question, when im holding keys and press the text button those keys keep being held rightg 19:36 <+bridge> [ddnet] i have a question, when im holding keys and press the text button those keys keep being held right 20:05 <+bridge> [ddnet] I can not call erase(begin()) either. what kind of witchcraft is this 20:06 <+bridge> [ddnet] no matter if cleared before, or adding size checks... Its wicked 20:09 <+bridge> [ddnet] yes 20:17 <+bridge> [ddnet] deen i need you 20:17 <+bridge> [ddnet] :( 20:17 <+bridge> [ddnet] ye you can use 3 dummies 20:21 <+bridge> [ddnet] Very funny: I can output values from the vector element DoorNumber even. Also, it works as it should, just this erasing does not work. Weird af 20:39 <+bridge> [ddnet] try ASAN, maybe some memory is corrupted? 21:00 <+bridge> [ddnet] make a small example? 21:01 <+bridge> [ddnet] Is this related? 21:01 <+bridge> [ddnet] 21:01 <+bridge> [ddnet] https://stackoverflow.com/questions/32293516/increment-begin-of-a-list-in-c-stl-doesnt-work 21:20 <+bridge> [ddnet] i've added a vector to CDoorTile so that multiple doors can be on one spot. right now the size of each tile is either 0 or 1, depending on whether there is a door or not on that tile 21:20 <+bridge> [ddnet] i push them back, and iterate over them to find the index, then i use the index which i can also access and get values from, and then when i try to erase the index when i remove a door, this error occurs 21:36 <+bridge> [ddnet] It doesnt seem like 21:46 <+bridge> [ddnet] when i hover over m_pDoor 21:46 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/932375281208033290/unknown.png 21:46 <+bridge> [ddnet] when i hover over m_vTiles 21:46 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/932375343749275678/unknown.png 21:46 <+bridge> [ddnet] why is the size different? 23:14 <+bridge> [ddnet] @fokkonaut you shouldn't erase from a vector while iterating over it, that won't work in c++ 23:16 <+bridge> [ddnet] 1. why? 23:16 <+bridge> [ddnet] 2. i dont even do :D i iterate over it once to know the index, which i then can remove (one at a time) 23:16 <+bridge> [ddnet] funny thing is, I couldnt even get erase(begin()) to work, it just says iterator outside range 23:16 <+bridge> [ddnet] do you erase from the same vector that you used begin on? 23:17 <+bridge> [ddnet] yes 23:17 <+bridge> [ddnet] erasing with index should work as long as you don't use the iterators afterwards 23:17 <+bridge> [ddnet] as I said, make a small example in a single cpp file, then others can check 23:17 <+bridge> [ddnet] I can, sure, but I dont get it at all you know, because I do this behaviour more than 2 or 3 times in my code 23:17 <+bridge> [ddnet] And it works, just in this case noz 23:17 <+bridge> [ddnet] not* 23:19 <+bridge> [ddnet] I even tried to delete it instantly after pushed back, it didnt work :D 23:20 <+bridge> [ddnet] hard to debug without seeing all the code 23:21 <+bridge> [ddnet] i can invite u if you'd like. I doubt a small code example would help because it would probably not happen :D 23:21 <+bridge> [ddnet] anyways, about what you said; I see the complications about iterating and removing, but how would it be done then if needed? (unrelated rn) 23:31 <+bridge> [ddnet] I think you are for-looping over the vector. 23:31 <+bridge> [ddnet] If you remove an element from a vector, you are changing also the size of the vector. 23:31 <+bridge> [ddnet] Index is now pointing to next (if exist). 23:31 <+bridge> [ddnet] For loop will increase index in any case and loop will skip one element each time one element is erased. 23:31 <+bridge> [ddnet] We are supposing some code that we cannot see 😅 23:44 <+bridge> [ddnet] You can't loop with iterators and delete, it's just not possible in C++ 23:45 <+bridge> [ddnet] You can iterate with indexes and delete if you are careful, just need to update the end index of the loop when you delete 23:46 <+bridge> [ddnet] will doing it while reverse iterating work? 23:46 <+bridge> [ddnet] Or you can do it the C++17 way, `std::algorithm::remove_if` 23:47 <+bridge> [ddnet] As far as I'm aware, the standard says all iterators are invalid after a `std::vector::erase` 23:49 <+bridge> [ddnet] Oh actually just checked it and it says it only invalidates iterators at and after the one you delete 23:51 <+bridge> [ddnet] oh, ok. it has worked the times I've tried it, but wasn't sure if it was always guaranteed to work 23:53 <+bridge> [ddnet] I just took a look at the standard and it seems you can erase going forwards but you need to be careful how you do it, you can't just do a range based for loop 23:55 <+bridge> [ddnet] `for(auto it = v.begin(); it != v.end();) { it = condition(*it) ? vec.erase(it) : it + 1; }` should work(tm)\ 23:56 <+bridge> [ddnet] Notice you can't cache the end iterator, nor can you just it++ after every iteration