14:37 <+bridge> [ddnet] how does cmake work \:c 14:38 <+bridge> [ddnet] does order matter when i want to link a lib? 14:38 <+bridge> [ddnet] cant feed md5 as dependency to the auth manager \:c 14:38 <+bridge> [ddnet] Ofc the order matters when linking 14:38 <+bridge> [ddnet] Sometimes :D 14:39 <+bridge> [ddnet] \:D 14:41 <+bridge> [ddnet] image.png 14:41 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/899638214816583741/image.png 14:41 <+bridge> [ddnet] i mean all md5 occurences looksi fine 14:41 <+bridge> [ddnet] so it has to be the order 14:41 <+bridge> [ddnet] I mean we already link it properly in ddnet, maybe just check that? 14:42 <+bridge> [ddnet] right is ddnet 14:42 <+bridge> [ddnet] i just cant find the diff to my crappy forks cmakelist 14:42 <+bridge> [ddnet] what to look at 14:42 <+bridge> [ddnet] everything i look at is the same 14:42 <+bridge> [ddnet] except the position in the file 14:43 <+bridge> [ddnet] I dont exactly remember where we build authmanager, maybe ENGINE_SERVER 14:43 <+bridge> [ddnet] yes 14:43 <+bridge> [ddnet] So did you add md5 as a dep to engine server target? 14:43 <+bridge> [ddnet] how 14:43 <+bridge> [ddnet] Yeah idk, I'm on phone 14:44 <+bridge> [ddnet] set(DEPS ${DEP\_SQLITE3} ${DEP\_JSON} ${DEP\_MD5} ${ZLIB\_DEP}) 14:44 <+bridge> [ddnet] 14:44 <+bridge> [ddnet] 14:44 <+bridge> [ddnet] add\_executable(${TARGET\_SERVER} 14:44 <+bridge> [ddnet] ${DEPS} 14:44 <+bridge> [ddnet] ${SERVER\_SRC} 14:44 <+bridge> [ddnet] ${SERVER\_ICON} 14:44 <+bridge> [ddnet] $\ 14:45 <+bridge> [ddnet] $\ 14:45 <+bridge> [ddnet] ) 14:45 <+bridge> [ddnet] i did that 14:45 <+bridge> [ddnet] Hm, show error maybe? 14:46 <+bridge> [ddnet] ``` 14:46 <+bridge> [ddnet] /usr/bin/ld: authmanager.cpp:(.text+0x552): undefined reference to `md5_append' 14:46 <+bridge> [ddnet] 14:46 <+bridge> [ddnet] 14:46 <+bridge> [ddnet] ``` 14:47 <+bridge> [ddnet] Mh 14:47 <+bridge> [ddnet] I added md5 years ago already and got it working in hash\_bundled.c 14:47 <+bridge> [ddnet] it works there but not in the new authmanager 14:47 <+bridge> [ddnet] cmake is so unclear to me 14:49 <+bridge> [ddnet] Yeah the only one who understands cmake is heinrich :D 14:49 <+bridge> [ddnet] time to bruteforce then 14:56 <+bridge> [ddnet] i'd start with message(FATAL\_ERROR "Test ${DEPDS}") 14:56 <+bridge> [ddnet] then you know what the content of DEPS is 14:57 <+bridge> [ddnet] [Edit](https://discord.com/channels/252358080522747904/293493549758939136/899642172591194142): i'd start with message(FATAL\_ERROR "Test ${DEPS}") 14:57 <+bridge> [ddnet] smort 14:57 <+bridge> [ddnet] i like log driven debugging \:D 14:58 <+bridge> [ddnet] Test $\;$\ 14:58 <+bridge> [ddnet] hue 14:58 <+bridge> [ddnet] where did md5 go 14:58 <+bridge> [ddnet] rip 14:59 <+bridge> [ddnet] set(DEP\_SQLITE3 $\) 14:59 <+bridge> [ddnet] set(DEP\_JSON $\) 14:59 <+bridge> [ddnet] set(DEP\_MD5) 14:59 <+bridge> [ddnet] i guess it makes sense 14:59 <+bridge> [ddnet] its set to nothing 15:00 <+bridge> [ddnet] weird that it worked for the files in base/ tho 15:01 <+bridge> [ddnet] if i add 15:01 <+bridge> [ddnet] 15:01 <+bridge> [ddnet] set(DEP\_MD5 $\) 15:01 <+bridge> [ddnet] 15:01 <+bridge> [ddnet] it breaks because then i get it defined twice for the base stuff omawgd 15:01 <+bridge> [ddnet] can this be a c vs c++ thing? 15:03 <+bridge> [ddnet] ```cmake 15:03 <+bridge> [ddnet] if(NOT CRYPTO_FOUND) 15:03 <+bridge> [ddnet] set(DEP_MD5 $) 15:03 <+bridge> [ddnet] endif() 15:03 <+bridge> [ddnet] ``` 15:03 <+bridge> [ddnet] yee saw tha 15:03 <+bridge> [ddnet] i guess if you have crypto you shouldnt also define MD5 15:04 <+bridge> [ddnet] have you tried to delete CMakeCache, solves all problems xd 15:04 <+bridge> [ddnet] yas 15:08 <+bridge> [ddnet] find\_package(Crypto) 15:08 <+bridge> [ddnet] did you remove it? 15:08 <+bridge> [ddnet] more like never added it xd 15:08 <+bridge> [ddnet] nah but i got it 15:11 <+bridge> [ddnet] do you meantion authmanager.cpp somewhere? 15:11 <+bridge> [ddnet] ? 15:11 <+bridge> [ddnet] what do you even compile, ddnet or own project? 15:12 <+bridge> [ddnet] ddnet++ 15:12 <+bridge> [ddnet] own 15:12 <+bridge> [ddnet] is authmanager in the server source? 15:12 <+bridge> [ddnet] yes 15:13 <+bridge> [ddnet] mhh, maybe you somehow changed the order of libs somewhere? 15:13 <+bridge> [ddnet] normally you append the libs you need for each cpp object after you mention it 15:14 <+bridge> [ddnet] is your repo up to date? 15:14 <+bridge> [ddnet] haha 15:14 <+bridge> [ddnet] i mean can i compile it 15:14 <+bridge> [ddnet] and have the same error xD 15:14 <+bridge> [ddnet] ? 15:15 <+bridge> [ddnet] oh u mean pushed to git? 15:15 <+bridge> [ddnet] oh u mean pushed to github? 15:15 <+bridge> [ddnet] yes 15:15 <+bridge> [ddnet] nah 15:15 <+bridge> [ddnet] its easier than guessing xd 15:15 <+bridge> [ddnet] its in no pushable state \:D 15:15 <+bridge> [ddnet] i currently try to crack in latest cmakelists from ddnet master 15:15 <+bridge> [ddnet] push it into your chillerdragon github 15:16 <+bridge> [ddnet] i can clone it from there 15:16 <+bridge> [ddnet] im in the middle of merge conflict \:D 15:16 <+bridge> [ddnet] gimme sec finish this try 15:23 <+bridge> [ddnet] i slowly feel like its a src not a cmake issue 15:27 <+bridge> [ddnet] [Jupstar ✪](https://matrix.to/#/@jupeyy:matrix.org)\: pushed to master https://github.com/DDNetPP/DDNetPP🤭 15:31 <+bridge> [ddnet] how did you even get to the linking step xD 15:31 <+bridge> [ddnet] ah right 15:31 <+bridge> [ddnet] first u gotta run "bam" 15:31 <+bridge> [ddnet] then cmake 15:31 <+bridge> [ddnet] \:D 15:31 <+bridge> [ddnet] bam5? 15:32 <+bridge> [ddnet] yes 15:32 <+bridge> [ddnet] or 4 15:32 <+bridge> [ddnet] both should work 15:32 <+bridge> [ddnet] biggest troll 15:32 <+bridge> [ddnet] ikr 15:45 <+bridge> [ddnet] tbh i think its broken in ddnet repo too 15:45 <+bridge> [ddnet] ddnet just doesnt use md5\_append 15:46 <+bridge> [ddnet] yea i think so too 15:46 <+bridge> [ddnet] im currently trying to crack in latest crypto code into old ddnet 15:46 <+bridge> [ddnet] i guess you are supposed to use md5\_update 15:47 <+bridge> [ddnet] ```c 15:47 <+bridge> [ddnet] // Hash the password and the salt 15:47 <+bridge> [ddnet] MD5_CTX Md5; 15:47 <+bridge> [ddnet] md5_init(&Md5); 15:47 <+bridge> [ddnet] md5_update(&Md5, (unsigned char *)pPassword, str_length(pPassword)); 15:47 <+bridge> [ddnet] md5_update(&Md5, aSalt, SALT_BYTES); 15:47 <+bridge> [ddnet] return md5_finish(&Md5); 15:47 <+bridge> [ddnet] ```example ddnet code 15:47 <+bridge> [ddnet] so not broken, just missused 15:48 <+bridge> [ddnet] image.png 15:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/899655302595637278/image.png 15:49 <+bridge> [ddnet] ich bin ein junger gott 15:49 <+bridge> [ddnet] thanks a lot [Jupstar ✪](https://matrix.to/#/@jupeyy:matrix.org) \:) 15:50 <+bridge> [ddnet] wtf it doesnt even segfault nor does it break rcon 15:50 <+bridge> [ddnet] not bad 15:50 <+bridge> [ddnet] it mixes bam and cmake and works 15:50 <+bridge> [ddnet] thats more impressive 15:50 <+bridge> [ddnet] haha yea \:D 15:50 <+bridge> [ddnet] but i guess just for the generated sources? \:D 15:51 <+bridge> [ddnet] yes 15:51 <+bridge> [ddnet] but now since i have new cmake 15:51 <+bridge> [ddnet] i might not need bam anymore 15:51 <+bridge> [ddnet] lets see 15:51 <+bridge> [ddnet] yup i just casually droped bam dependency 16:12 <+bridge> [ddnet] @murpi\: still get an occasional weapon switch when switching dummy any idea? 16:20 <+bridge> [ddnet] Nope :/ 16:21 <+bridge> [ddnet] u dont have it? 16:21 <+bridge> [ddnet] No, I don't 16:21 <+bridge> [ddnet] unfair 18:00 <+bridge> [ddnet] Does anyone else have issues with alt-tabbing with console open on nightly makes the cursor invisible? 18:17 <+bridge> [ddnet] no cuz i alt tabbing doesnt exist in my linux 18:17 <+bridge> [ddnet] 🥱 18:18 <+bridge> [ddnet] no cuz alt tabbing doesnt exist in my linux 18:21 <+bridge> [ddnet] f1 console? 18:21 <+bridge> [ddnet] (@murpi) 18:21 <+bridge> [ddnet] yes 18:22 <+bridge> [ddnet] can't reproduce, but I had this like a couple of times today 18:24 <+bridge> [ddnet] are you on fullsreen or borderless or desktop fullscreen? 18:25 <+bridge> [ddnet] fullscreen 18:25 <+bridge> [ddnet] lol for me under windows it crashes when i join a server 18:26 <+bridge> [ddnet] I think I know what it is 18:26 <+bridge> [ddnet] copy pasting breaks the game 18:26 <+bridge> [ddnet] (ctrl+v) 18:28 <+bridge> [ddnet] past in console? 18:28 <+bridge> [ddnet] paste\* 18:29 <+bridge> [ddnet] yes 18:31 <+bridge> [ddnet] ok thats not it 18:31 <+bridge> [ddnet] it's something else 18:35 <+bridge> [ddnet] Jupstar: are you on windows right now? 18:37 <+bridge> [ddnet] Start game > join any server > tab out > tab in > open console > tab out > tab in > cursor gone 18:38 <+bridge> [ddnet] (f1 console) 18:41 <+bridge> [ddnet] ok thx 18:41 <+bridge> [ddnet] (@murpi) 19:03 <+bridge> [ddnet] oh yeah shit xd 19:32 <+bridge> [ddnet] @deen\: hey, a bit trouble for you, but can you rebuild all SDL shared libs with the forced push SDL pryou can also ignore the 2nd pr(the one with wayland over x11) since we dont use it yet anyway 19:49 <+bridge> [ddnet] burh notch on laptop is so dumb 19:50 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/899716003385196564/IMG_20211019_014423_833.jpg 19:50 <+bridge> [ddnet] who asked for this 19:52 <+bridge> [ddnet] since it was released, apple fans asked for it 20:00 <+bridge> [ddnet] i actually wanted a new apple sillicon macbook tho 20:00 <+bridge> [ddnet] 🙃 this is so hard to look at. 20:08 <+bridge> [ddnet] omfg i can't get over how ugly it is 20:09 <+bridge> [ddnet] imagine it hiding timer in tw 20:09 <+bridge> [ddnet] omfg youre right 21:25 <+bridge> [ddnet] lol I thought that laptop with a notch was edited before I looked it up xd