05:04 <+bridge> [ddnet] there's a horrible fucking bug ive gotten twice now where if you confirm a new map save with enter it just exits the game doesnt save 05:04 <+bridge> [ddnet] like type map name, enter, boom closes game 05:05 <+bridge> [ddnet] i think it's incorrectly setting the enter action to exit game 05:07 <+bridge> [ddnet] ok it definitely just crashes the game 05:07 <+bridge> [ddnet] it's not a clean exist 05:07 <+bridge> [ddnet] it's not a clean exit 05:08 <+bridge> [ddnet] do you use the new rc build? I can't reproduce it 05:11 <+bridge> [ddnet] this is regular steam release, i dont know if this is even version specific 05:14 <+bridge> [ddnet] and you're on linux? maybe it's OS specific 08:48 <+bridge> [ddnet] are you sure it's not just crashing? 08:50 <+bridge> [ddnet] . 08:50 <+bridge> [ddnet] windows 09:31 <+bridge> [ddnet] lol i only hread so far i guess 10:22 <+bridge> [ddnet] DDNet editor has so many crashes :( 10:22 <+bridge> [ddnet] Its not fun to map anymore without pressing ctrl s everytime you change something 10:37 <+bridge> [ddnet] @lynn do you know the exact steps? If you could make a video while reproducing that would help 10:38 <+bridge> [ddnet] it's pretty ez to describe 10:38 <+bridge> [ddnet] 1) open editor 10:38 <+bridge> [ddnet] 2) save 10:38 <+bridge> [ddnet] 3) enter any map name 10:38 <+bridge> [ddnet] 4) press enter 10:39 <+bridge> [ddnet] seems like it happens invariably though 10:39 <+bridge> [ddnet] so there's something im missing 10:43 <+bridge> [ddnet] Can't reproduce, but I found another bug at least šŸ˜„ 10:46 <+bridge> [ddnet] yay! 10:47 <+bridge> [ddnet] i think the map name i used was "lair" ??? 10:47 <+bridge> [ddnet] if it matters even 12:24 <+bridge> [ddnet] clang format be like\: 12:24 <+bridge> [ddnet] image.png 12:24 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/911577677603942400/image.png 12:24 <+bridge> [ddnet] well thats the best u can get it to look i guess 12:24 <+bridge> [ddnet] I've also been getting crashes when saving maps using save as, really frustrating as you actually lose the map 12:24 <+bridge> [ddnet] ur abusing short ifs 12:26 <+bridge> [ddnet] image.png 12:26 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/911578119960428594/image.png 12:26 <+bridge> [ddnet] id prefer this 12:26 <+bridge> [ddnet] a\: buse 12:30 <+bridge> [ddnet] try moving the ? to next line 12:30 <+bridge> [ddnet] lol now it single lined it \:D 12:31 <+bridge> [ddnet] clangformat go brrr 12:31 <+bridge> [ddnet] it even removed \\ i add to swallow line breaks \:D 12:32 <+bridge> [ddnet] well does not matter its just some debug in a ugly code base anyways just wanted to share clang fromat memes here 12:34 <+bridge> [ddnet] Can you send me the text? 12:34 <+bridge> [ddnet] there is also // clang-format off if you really mind 12:34 <+bridge> [ddnet] u curious? \:D 12:34 <+bridge> [ddnet] ```C 12:34 <+bridge> [ddnet] dbg_msg( 12:34 <+bridge> [ddnet] "drop", 12:34 <+bridge> [ddnet] "dropping weapon=%d (%s) dropped=%ld", 12:35 <+bridge> [ddnet] WeaponID, 12:35 <+bridge> [ddnet] WeaponID == WEAPON_GUN ? "gun" : 12:35 <+bridge> [ddnet] WeaponID == WEAPON_SHOTGUN ? "shotgun" : 12:35 <+bridge> [ddnet] WeaponID == WEAPON_GRENADE ? "grenade" : 12:35 <+bridge> [ddnet] WeaponID == WEAPON_LASER ? "laser" : 12:35 <+bridge> [ddnet] WeaponID == WEAPON_NINJA ? "ninja" : 12:35 <+bridge> [ddnet] WeaponID == WEAPON_HAMMER ? "hammer" : "unknown", 12:35 <+bridge> [ddnet] m_pPlayer->m_vWeaponLimit[WeaponID].size()); 12:35 <+bridge> [ddnet] ```i do not mind \:D 12:35 <+bridge> [ddnet] So far I was mostly able to make clang-format and devs happy 12:35 <+bridge> [ddnet] well tbh so far i like clang format 12:35 <+bridge> [ddnet] i found my self even skipping code indentation and just running fix\_style.py \:D 12:35 <+bridge> [ddnet] i would just make a function with a switch tbh 12:36 <+bridge> [ddnet] elvis operator is so pretty \\o/ 12:38 <+bridge> [ddnet] ur not even using it 12:39 <+bridge> [ddnet] ? 12:39 <+bridge> [ddnet] elvis operator 12:39 <+bridge> [ddnet] Yeah, at work I implemented something like this for automated enum pretty-printing: https://stackoverflow.com/questions/28828957/enum-to-string-in-modern-c11-c14-c17-and-future-c20 12:39 <+bridge> [ddnet] isnt elvis opertaor ? \: 12:39 <+bridge> [ddnet] it's ternary operator when u do ? cond1 : cond 2 12:39 <+bridge> [ddnet] it's ternary operator when u do ? cond1 : cond2 12:39 <+bridge> [ddnet] akak tenary 12:40 <+bridge> [ddnet] thozght its thesame 12:40 <+bridge> [ddnet] afaik when u do elvis there's nothing between ? and : 12:40 <+bridge> [ddnet] ah i see 12:40 <+bridge> [ddnet] oh wow 12:40 <+bridge> [ddnet] oke u right 12:40 <+bridge> [ddnet] wo thats cool 12:40 <+bridge> [ddnet] i should try to use that to flex 12:41 <+bridge> [ddnet] its like what the cool kids use \|\| in the high level langs right? 12:41 <+bridge> [ddnet] `var foo = ENV["foo"] : "foo";` 12:41 <+bridge> [ddnet] ye thats neat @deen when add to ddnet? 12:43 <+bridge> [ddnet] especially with those enums from the network py scripts its more than a ctrl+click in my setup to get their value -,- 12:43 <+bridge> [ddnet] not really worth it since we don't print them much 12:44 <+bridge> [ddnet] .-. 12:44 <+bridge> [ddnet] i print them all day during debug 17:18 <+bridge> [ddnet] robyt the windows fixer 17:24 <+bridge> [ddnet] the more you work with the WinAPI the more you hate it 17:25 <+bridge> [ddnet] somehow duplicating every function was the best design they could come up with so there is a A and W variant for everything 19:29 <+bridge> [ddnet] Iā€™m very close to saying fuck it to dracut and making my own initramfs. God forbid redhat makes any software that can work outside of the most cookie cutter situations 21:01 <+bridge> [ddnet] baguette 23:54 <+bridge> [ddnet] i hate clang format 23:54 <+bridge> [ddnet] its set a pretty terrible standard for readable code imo 23:58 <+bridge> [ddnet] elvis operator is a GCC extension, it is not in the C++ standard 23:58 <+bridge> [ddnet] but clang supports it too