02:31 <+bridge> [ddnet] I dunno whats happening, can someone help? 09:25 <+bridge> [ddnet] hehe updated aur 13:11 <+bridge> [ddnet] @ChillerDragon you react with sad smiley because you want this feature not to be spreaded? Well, I made it and I think I can do what I want with it, also this gives the game a new mechanic, which can be used in maps, for example for race maps or some other puzzle maps maybe 13:13 <+bridge> [ddnet] Im not sure if it fits ddnet 13:13 <+bridge> [ddnet] Just imagine the amount of new possibilities 13:14 <+bridge> [ddnet] yes i do 13:14 <+bridge> [ddnet] and i see fun and so on 13:14 <+bridge> [ddnet] but much more work for map testers 13:14 <+bridge> [ddnet] and more annoying vasten100 maps 13:14 <+bridge> [ddnet] I am personally not a fan of puzzle maps i like it raw 13:14 <+bridge> [ddnet] It is off by default, and I think it is not too much more testing work, because the mapper itself should handle most of the stuff already 13:15 <+bridge> [ddnet] well 13:16 <+bridge> [ddnet] I am against every new feature ddnet has 13:16 <+bridge> [ddnet] It can also be enabled in big team 0 maps, or in faily maps. Maybe there is a noob who took the weapon, and only him and a pro are left, but the pro doesnt have a weapon, so they can swap, without saving just for the weapon 13:16 <+bridge> [ddnet] yes sure 13:16 <+bridge> [ddnet] that is awesome 13:17 <+bridge> [ddnet] and also gameplay should not be based on chat commands 13:18 <+bridge> [ddnet] it should be bindable in settings for nobos 13:19 <+bridge> [ddnet] I wanted to add that just today 13:19 <+bridge> [ddnet] Like showothers 13:22 <+bridge> [ddnet] Ya thought so. Just wanted to make sure you don’t bring the trash parts of our mods to ddnet (like everything being Chat command based) 13:26 <+bridge> [ddnet] I wanted to make it with F4 first but thought like nah, not everyone will like it. Then I thought about a client command, which is sent to the server, but for that we can also just use binds. 14:36 <+bridge> [ddnet] Hey, I need some help. In my pull request, the server crashes when it gets shutdowned, using the shutdown command in rcon. It fails here: `delete pKernel;`, engine/server/server.cpp#L3050, any idea why? 15:06 <@deen> which PR? 15:10 <@deen> double delete or wrong delete order? 15:37 <+bridge> [ddnet] The one for droppable weapons 15:37 <+bridge> [ddnet] I have no idea whats happening 17:28 <+bridge> [ddnet] Have you tried gdb? 17:55 <+bridge> [ddnet] I am not on linux, and my VS doesnt show me the list of last called functions... 17:58 <+bridge> [ddnet] u have a vps tho :p @fokkonaut 17:58 <+bridge> [ddnet] sudo apt install gdb 17:59 <+bridge> [ddnet] gdb --args ./DDNet-Server "shutdown" 17:59 <+bridge> [ddnet] gdb> run 17:59 <+bridge> [ddnet] gdb> bt 18:18 <+bridge> [ddnet] ```(gdb) bt 18:18 <+bridge> [ddnet] #0 0x0000000000000000 in ?? () 18:18 <+bridge> [ddnet] #1 0x000055555557f04d in main ()``` 18:18 <+bridge> [ddnet] nice bt 18:21 <+bridge> [ddnet] not using mingw on windows tze tze 18:27 <+bridge> [ddnet] I do 18:27 <+bridge> [ddnet] I mean, I have it 18:27 <+bridge> [ddnet] But I cannot gdb 18:28 <+bridge> [ddnet] * on ddnet 18:30 <+bridge> [ddnet] u need to compile in debug mode 18:32 <+bridge> [ddnet] `not in executable format: File format not recognized` 18:32 <+bridge> [ddnet] because vs i think 18:32 <+bridge> [ddnet] no 18:32 <+bridge> [ddnet] gdb works 18:32 <+bridge> [ddnet] not for me 18:33 <+bridge> [ddnet] ur doing something wrong 18:34 <+bridge> [ddnet] idk 18:34 <+bridge> [ddnet] why doesnt it work? 18:34 <+bridge> [ddnet] for ddnetpp it does 18:34 <+bridge> [ddnet] figure it out urself 18:34 <+bridge> [ddnet] thans 18:36 <+bridge> [ddnet] Uf 18:36 <+bridge> [ddnet] Ryo be nice 18:39 <+bridge> [ddnet] compile with gcc? 18:40 <+bridge> [ddnet] How? 18:40 <+bridge> [ddnet] are you compiling with vs? 18:40 <+bridge> [ddnet] yes 18:41 <+bridge> [ddnet] select mingw in cmake lol 18:41 <+bridge> [ddnet] well 18:41 <+bridge> [ddnet] how 18:41 <+bridge> [ddnet] download src, open gmake gui and when you hit configure it should ask for it 18:42 <+bridge> [ddnet] What is gmake gui? 18:42 <+bridge> [ddnet] download src, open cmake gui and when you hit configure it should ask for it 18:42 <+bridge> [ddnet] typo sry 18:43 <+bridge> [ddnet] So, I open cmake gui 18:43 <+bridge> [ddnet] And then I select my repo 18:43 <+bridge> [ddnet] did you never use cmake? 18:43 <+bridge> [ddnet] Only using VS, or on my VPS 18:43 <+bridge> [ddnet] But never the gui 18:43 <+bridge> [ddnet] it literally guides you what to do 18:43 <+bridge> [ddnet] Not really 18:44 <+bridge> [ddnet] where the src code is (dir with cmakelist in it) 18:44 <+bridge> [ddnet] So, I click on MinGW makefiles? 18:44 <+bridge> [ddnet] and then you make a subfolder and call it release right under 18:44 <+bridge> [ddnet] zes 18:44 <+bridge> [ddnet] yes 18:44 <+bridge> [ddnet] after configuring is done u hit generate and head over to the release dir 18:45 <+bridge> [ddnet] and then u do mingw32-make -j (number of cores) 18:45 <+bridge> [ddnet] okay 18:45 <+bridge> [ddnet] No targets specified and no makefile found. 18:45 <+bridge> [ddnet] did you generate and are you in the release dir 18:46 <+bridge> [ddnet] not your src dir 18:46 <+bridge> [ddnet] you mean the build dir? 18:46 <+bridge> [ddnet] yes 18:46 <+bridge> [ddnet] yea, i am 18:46 <+bridge> [ddnet] did you generate in cmake 18:46 <+bridge> [ddnet] yes 18:46 <+bridge> [ddnet] now 18:46 <+bridge> [ddnet] Wait 18:47 <+bridge> [ddnet] it throws 10000 warnings 18:47 <+bridge> [ddnet] one second 18:48 <+bridge> [ddnet] let it do it's thing 18:49 <+bridge> [ddnet] Yea, its done, i started with gdb 18:49 <+bridge> [ddnet] `(gdb) bt 18:49 <+bridge> [ddnet] #0 0x00568e0f in main ()` 18:49 <+bridge> [ddnet] still 18:50 <+bridge> [ddnet] this doesnt help me :( 18:50 <+bridge> [ddnet] idk then 18:50 <+bridge> [ddnet] Why does it crash on shutdown?! 18:50 <+bridge> [ddnet] @Learath2 I need you 18:51 <+bridge> [ddnet] Im very much on vacation 18:51 <+bridge> [ddnet] I think you need to configure DEBUG as CMAKE_BUILD_TYPE 18:51 <+bridge> [ddnet] in cmake gui 18:52 <+bridge> [ddnet] and now generate again? 18:52 <+bridge> [ddnet] yee 18:54 <+bridge> [ddnet] ```Program received signal SIGSEGV, Segmentation fault. 18:54 <+bridge> [ddnet] 0x0040d592 in main (argc=1, argv=0x16915d8) at D:\!TeeworldsCoding\git\ddnet\src\engine\server\server.cpp:3050 18:54 <+bridge> [ddnet] 3050 delete pKernel;``` 18:54 <+bridge> [ddnet] yea, tells me what I know already 18:55 <+bridge> [ddnet] atleast it works now 18:55 <+bridge> [ddnet] coding in windows :poggers: 18:56 <+bridge> [ddnet] @Ryozuki could you maybe debug this, please? 18:56 <+bridge> [ddnet] if you switch permanently to linux and embrace true freedom yes 18:56 <+bridge> [ddnet] lol 18:56 <+bridge> [ddnet] :D 18:56 <+bridge> [ddnet] he already found the bug 18:56 <+bridge> [ddnet] the output most likely wont be any diffrent 18:56 <+bridge> [ddnet] its that ur using windows 18:56 <+bridge> [ddnet] xd 18:57 <+bridge> [ddnet] @onby quit please mac user 18:57 <+bridge> [ddnet] u 18:57 <+bridge> [ddnet] @fokkonaut idk what ur working on anyway 18:57 <+bridge> [ddnet] look at my pull request, it fails 18:57 <+bridge> [ddnet] i spend 40 mins like a retard trying to fix a bug but its shit 18:57 <+bridge> [ddnet] I dont know why :/ 18:58 <+bridge> [ddnet] when u do /pause and /spec server puts u in team spec, or thats what i think it does rn, but with the explayer flags for pause and spec it may not be needed but older version may need it which is why i will go play dota 2 rn 18:58 <+bridge> [ddnet] xd 18:59 <+bridge> [ddnet] oh yeah that thing 18:59 <+bridge> [ddnet] @FallenKN can you debug my thing? 18:59 <+bridge> [ddnet] why do you think my bt will be any diffrent than yours? 19:00 <+bridge> [ddnet] Its not about the bt, I just cant explain myself why this happens. Maybe you get something by looking at my code 19:03 <+bridge> [ddnet] I mean you added over 500 lines of code 19:05 <+bridge> [ddnet] But it is not much, only because its a new entity 19:07 <+bridge> [ddnet] wdym 500 lines are not much ._. 19:07 <+bridge> [ddnet] xD 19:08 <+bridge> [ddnet] well does it even compile without the new entity? 19:08 <+bridge> [ddnet] it does compile, also with it 19:08 <+bridge> [ddnet] but it crashes if you type shutdown 19:08 <+bridge> [ddnet] oh yeah forgot 19:09 <+bridge> [ddnet] does it crash without new entity xD 19:09 <+bridge> [ddnet] i think yes 19:09 <+bridge> [ddnet] i think no* 19:09 <+bridge> [ddnet] well then you know where to look for 19:10 <+bridge> [ddnet] inside of my code ofc 19:10 <+bridge> [ddnet] but, I dont know what could cause it 19:10 <+bridge> [ddnet] Because on my server it doesnt break 19:10 <+bridge> [ddnet] on your server> 19:10 <+bridge> [ddnet] on your server? 19:13 <+bridge> [ddnet] okay, great 19:13 <+bridge> [ddnet] its not my entity 19:13 <+bridge> [ddnet] i completely removed it from my project and tried again 19:17 <+bridge> [ddnet] WHAT 19:17 <+bridge> [ddnet] xd 19:17 <+bridge> [ddnet] Does it crash without? 19:19 <+bridge> [ddnet] No, I know what causes it, but not why xD 19:19 <+bridge> [ddnet] its so stupid 19:19 <+bridge> [ddnet] Wat 19:19 <+bridge> [ddnet] compile with -fsanitize=address flag 19:20 <+bridge> [ddnet] Seems like I have fixed it 19:20 <+bridge> [ddnet] Ye i was about to suggest that 19:20 <+bridge> [ddnet] Valgrind and ASan are very nice tools 19:20 <+bridge> [ddnet] yeahh valgrind is nice 19:22 <+bridge> [ddnet] @Learath2 I really dont know what went wrong, maybe because the function was called `ConDropWeapons`, which is almost like `ConDropWeapon`, which is used inside of ddracechat? 19:22 <+bridge> [ddnet] I have no idea, but this should have fixed it now 19:22 <+bridge> [ddnet] For me it didnt crash now 19:23 <+bridge> [ddnet] the naming shouldnt cause anything to crash but it might cause u to be confused and write things that crash 19:24 <+bridge> [ddnet] UNDEFINED BEHAVIOUR 19:24 <+bridge> [ddnet] Well, without my function with almost the same name in server.cpp, it didnt crash 19:24 <+bridge> [ddnet] So i renamed it, to be more specific (which is even a better name, lol, more fitting) and now it works 19:24 <+bridge> [ddnet] I really would like to know what on earth happens there xD 19:25 <+bridge> [ddnet] use one of the two tools suggested above because it sounds like memory corruption or something like this and the fact that renaming "fixes" it might be coincidence 19:25 <+bridge> [ddnet] Yeah thats ub 19:25 <+bridge> [ddnet] Definitely not the proper fix 19:26 <+bridge> [ddnet] okay wait, what?! it still didnt work for the checks 19:27 <+bridge> [ddnet] but at least CircleCI did it now, wonder whats the issue for Travis 19:27 <+bridge> [ddnet] u should check it for memory corruption before making pr 19:28 <+bridge> [ddnet] How does that work 19:28 <+bridge> [ddnet] @fokkonaut are you on linux or mac? 19:28 <+bridge> [ddnet] WINE 19:29 <+bridge> [ddnet] Windows has no tools for this 19:29 <+bridge> [ddnet] Only garbage like dr memory 19:29 <+bridge> [ddnet] Maybe mingw implements the address sanitizer aswell 19:30 <+bridge> [ddnet] Try -fsanitize=address while compiling 19:31 <+bridge> [ddnet] How to apply it 19:31 <+bridge> [ddnet] Hmm you need to add it in cmake 19:31 <+bridge> [ddnet] Maybe searcb on github for my commit on Address Sanitizer 19:32 <+bridge> [ddnet] I think I accidentally commited it once 19:32 <+bridge> [ddnet] And another thing: Entities have tthe Reset function, but what if I want to give it a paramter? Do I have to remove the virtual then, or create a new function for it? 19:33 <+bridge> [ddnet] You cant implement a virtual with the wrong params iirc 19:34 <+bridge> [ddnet] But I'm not much of a c++ person 19:34 <+bridge> [ddnet] okay, but if i remove the virtual, and just make it a normal void, do i still have to implement a virtual void Reset? or doesnt it matter? 19:37 <+bridge> [ddnet] ``` 19:37 <+bridge> [ddnet] virtual void Reset() { Reset(true, false); }; 19:37 <+bridge> [ddnet] void Reset(bool EreaseWeapon, bool Picked);``` 19:37 <+bridge> [ddnet] Would this be the correct way? 20:03 <+bridge> [ddnet] you can create one witn parameters but it won't be called by the virtual one, so yo ushould make sure there is a reset function without params also 20:03 <+bridge> [ddnet] you can create one with parameters but it won't be called by the virtual one, so yo ushould make sure there is a reset function without params also 20:03 <+bridge> [ddnet] you can create one with parameters but it won't be called by the virtual one, so you should make sure there is a reset function without params also 20:04 <+bridge> [ddnet] which will then call the one with params? 20:06 <+bridge> [ddnet] ``` 20:06 <+bridge> [ddnet] virtual void Reset() { Reset(true, false); }; 20:06 <+bridge> [ddnet] void Reset(bool Erease, bool Picked); 20:06 <+bridge> [ddnet] ``` 20:07 <+bridge> [ddnet] would this work? 20:08 <+bridge> [ddnet] @Kaisi 20:13 <+bridge> [ddnet] yea, i Guess it would 20:13 <+bridge> [ddnet] yea, I guess it would 20:14 <+bridge> [ddnet] erease? did you mean erase? 20:14 <+bridge> [ddnet] yes xd 20:15 <+bridge> [ddnet] dann schreibs richtig 😛 20:15 <+bridge> [ddnet] @Learath2 I found out, the crash is undefined behaivor, because I registered a command inside of server.cpp, which has the CFGFLAG_GAME applied. 20:57 <+bridge> [ddnet] lol did u know twitch chat is irc? lol 20:58 <+bridge> [ddnet] nope, did not 20:58 <+bridge> [ddnet] funny huh? 21:35 <+bridge> [ddnet] @deen i found a weird bug, when u press d it spams d it doesnt hold it 21:35 <+bridge> [ddnet] might be a sdl bug? 21:35 <+bridge> [ddnet] actually 21:35 <+bridge> [ddnet] with any bind that i hold 21:35 <+bridge> [ddnet] it spams it 21:35 <+bridge> [ddnet] like show chat 21:36 <+bridge> [ddnet] it shows and disappears super fast 21:36 <+bridge> [ddnet] when i hold it 21:37 <+bridge> [ddnet] 12.5 on wn10 doesnt for me 21:37 <+bridge> [ddnet] try 12.6.1 21:38 <+bridge> [ddnet] also wors 21:38 <+bridge> [ddnet] i tried holding down show chat and the chat didnt start to flicker. 21:39 <+bridge> [ddnet] @ChillerDragon try pressing d in a plane zone do u slow down? 21:39 <+bridge> [ddnet] d or a 21:39 <+bridge> [ddnet] on 12.6.1 21:39 <+bridge> [ddnet] idc about 12.5 21:39 <+bridge> [ddnet] oh that sounds like a crucial bug 21:39 <+bridge> [ddnet] ye its very werid xd 21:39 <+bridge> [ddnet] i saw him testing it on my server 21:39 <+bridge> [ddnet] but cant repporduce with latest official release on win10 21:40 <+bridge> [ddnet] ok it might be a thing of my setup 21:40 <+bridge> [ddnet] idk how 21:40 <+bridge> [ddnet] i tried in 0.7 and it happens too 21:40 <+bridge> [ddnet] xd 21:40 <+bridge> [ddnet] ill reboot 21:40 <+bridge> [ddnet] dafuq 21:40 <+bridge> [ddnet] nobody reported such thing for 0.7 yet 21:41 <+bridge> [ddnet] still happens 21:42 <+bridge> [ddnet] idk why it happens 21:42 <+bridge> [ddnet] xd 21:42 <+bridge> [ddnet] Oh @onby so you saw it but u couldnt reproduce? 21:42 <+bridge> [ddnet] ya wait 21:42 <+bridge> [ddnet] just linux things 21:42 <+bridge> [ddnet] xxxD 21:44 <+bridge> [ddnet] ok i tried on factorio 21:44 <+bridge> [ddnet] 21:44 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/606935270230720544/tf.mp4 21:44 <+bridge> [ddnet] eh 21:44 <+bridge> [ddnet] my char stops and alks 21:44 <+bridge> [ddnet] when i try to have two clients open and also screenrecord it gives only 10fps 21:44 <+bridge> [ddnet] maybe my keyboard is starting to get broken 21:44 <+bridge> [ddnet] but i dont know 21:44 <+bridge> [ddnet] fck this 21:44 <+bridge> [ddnet] so it doesnt show the spamming of the keypress very well 21:44 <+bridge> [ddnet] but when he moves slowly 21:44 <+bridge> [ddnet] Is any one up to sing ? 21:44 <+bridge> [ddnet] hes very quickly pressing and unpressing the direction 21:45 <+bridge> [ddnet] wait factorio also uses sdl 21:45 <+bridge> [ddnet] i need a non sdl game 21:45 <+bridge> [ddnet] xd 21:45 <+bridge> [ddnet] i tested current master on debian10 also worked fine 21:45 <+bridge> [ddnet] il ltry terraria 21:45 <+bridge> [ddnet] since also vanilla breaks i blame u xd 21:46 <+bridge> [ddnet] minecraft best xd 21:46 <+bridge> [ddnet] damn 21:46 <+bridge> [ddnet] something is wrong with my keyboard i guess 21:46 <+bridge> [ddnet] time to buy another 21:46 <+bridge> [ddnet] xd 21:46 <+bridge> [ddnet] i think i had this for 4-5 years 21:46 <+bridge> [ddnet] rip 21:47 <+bridge> [ddnet] oh u can try deactivating key repeate in a text editor 21:47 <+bridge> [ddnet] and then hold down a key and see if it gets inserted multiple times 21:49 <+bridge> [ddnet] are mechanical keyboards worth? 21:49 <+bridge> [ddnet] uhm my laptop has one i like the sound xd 21:49 <+bridge> [ddnet] but idk for me they are not worth it as far as i can tell 21:49 <+bridge> [ddnet] but im nobo gamewr and typer so prollly not worth a lot what i think 21:51 <+bridge> [ddnet] @Ryozuki they arebest 21:51 <+bridge> [ddnet] @Ryozuki they are best 21:51 <+bridge> [ddnet] logitech g910 is insand 21:51 <+bridge> [ddnet] logitech g910 is insane 21:51 <+bridge> [ddnet] 150€ 21:51 <+bridge> [ddnet] hmm 21:51 <+bridge> [ddnet] to much 21:51 <+bridge> [ddnet] for 5 yrs of typing 21:51 <+bridge> [ddnet] mine costs 50€ 21:51 <+bridge> [ddnet] u dont even pay ur os xd 21:51 <+bridge> [ddnet] xd 21:52 <+bridge> [ddnet] urs is buggo 21:52 <+bridge> [ddnet] later ill dualboot into windowsto make sure its keyboard xd 21:53 <+bridge> [ddnet] ill have to enter the evil disk in my pc 21:53 <+bridge> [ddnet] i have linux on a 500gb nvme sdd and windows on a old 1tb hdd 21:53 <+bridge> [ddnet] i never boot windows tho xd 21:54 <+bridge> [ddnet] well luckily its not a serious problem 21:54 <+bridge> [ddnet] xd 21:55 <+bridge> [ddnet] @Ryozuki i have g910 21:55 <+bridge> [ddnet] hmm 21:55 <+bridge> [ddnet] can u even pay tw with it? xd 21:55 <+bridge> [ddnet] can u even hook? 21:55 <+bridge> [ddnet] bro 21:55 <+bridge> [ddnet] hook is with mouse 21:55 <+bridge> [ddnet] yes, i hook with keyboard 21:55 <+bridge> [ddnet] use ur brain xd 21:55 <+bridge> [ddnet] lol u hook with mouse? 21:55 <+bridge> [ddnet] ???? 21:55 <+bridge> [ddnet] right click 21:55 <+bridge> [ddnet] SPACEBAR 21:55 <+bridge> [ddnet] spacebar is jump 21:56 <+bridge> [ddnet] no up arrow is jump 21:56 <+bridge> [ddnet] lol no 21:56 <+bridge> [ddnet] @ChillerDragon u put to much pressure 1 hand 21:56 <+bridge> [ddnet] u have to hook and hammer and aim with one 21:56 <+bridge> [ddnet] and move with other 21:56 <+bridge> [ddnet] yes i do 21:56 <+bridge> [ddnet] so ur trolling me 21:57 <+bridge> [ddnet] myb :troll: 21:57 <+bridge> [ddnet] so ur mouse hold is not buggo? 21:57 <+bridge> [ddnet] but even walking. Can u even hammerrun? 21:57 <+bridge> [ddnet] do a drag part xd 21:57 <+bridge> [ddnet] smh the first thing u thought was to blame my anticheat 21:57 <+bridge> [ddnet] lmao 21:58 <+bridge> [ddnet] would think the same tbh xd 21:58 <+bridge> [ddnet] ofc 21:58 <+bridge> [ddnet] chiller thats understandable for u 21:58 <+bridge> [ddnet] lol 21:58 <+bridge> [ddnet] i still think its onbgys antibot who injected a rat in ryos hardware 21:58 <+bridge> [ddnet] /w ChillerDragon dont tell him 21:58 <+bridge> [ddnet] /c sorri 21:58 <+bridge> [ddnet] nt 21:58 <+bridge> [ddnet] im not using windows 22:06 <+bridge> [ddnet] @Ryozuki if you use Arch, they upgraded to SDL 2.0.10 recently 22:07 <+bridge> [ddnet] yes but i tried terraria and it also happens, it doesnt use sdl i think 22:11 <+bridge> [ddnet] using wayland? 22:11 <+bridge> [ddnet] no 22:12 <+bridge> [ddnet] on x 22:12 <+bridge> [ddnet] i3wm 22:13 <+bridge> [ddnet] pressing d on my terminal (st) looks smooth 22:13 <+bridge> [ddnet] i think 22:13 <+bridge> [ddnet] xD 22:14 <+bridge> [ddnet] try xev