00:00 <+bridge> [ddnet] CMake Error at CMakeLists.txt:513 (message): 00:00 <+bridge> [ddnet] You must install SDL2 to compile the DDNet client 00:00 <+bridge> [ddnet] i my bad 00:00 <+bridge> [ddnet] i forgot to add lib 00:00 <+bridge> [ddnet] i forgot to add libs 00:01 <+bridge> [ddnet] a my bad 00:09 <+bridge> [ddnet] nice that work 00:09 <+bridge> [ddnet] thx ❤️ 00:12 <+bridge> [ddnet] you're welcome 00:12 <+bridge> [ddnet] what are you doing? 🙂 00:14 <+bridge> [ddnet] try to make /wepaons command but i dont know where is the file for chat command 00:14 <+bridge> [ddnet] i think Con is for rcon command? 00:15 <+bridge> [ddnet] try to make /weapons command but i dont know where is the file for chat command 00:18 <+bridge> [ddnet] check other chat commands that you know 00:19 <+bridge> [ddnet] CHAT_COMMAND("weapons", "", CFGFLAG_CHAT | CFGFLAG_SERVER, ConWeapons, this, "u have weapons nooby") 00:19 <+bridge> [ddnet] i know how to add command but not how to configure it 00:21 <+bridge> [ddnet] if i want play with weapons i modify that 00:21 <+bridge> [ddnet] ```cpp 00:21 <+bridge> [ddnet] void IGameController::OnCharacterSpawn(class CCharacter *pChr) 00:21 <+bridge> [ddnet] { 00:21 <+bridge> [ddnet] // default health 00:21 <+bridge> [ddnet] pChr->IncreaseHealth(10); 00:21 <+bridge> [ddnet] 00:21 <+bridge> [ddnet] // give default weapons 00:21 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_HAMMER); 00:21 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_GUN); 00:22 <+bridge> [ddnet] } 00:22 <+bridge> [ddnet] ``` 00:22 <+bridge> [ddnet] to that 00:22 <+bridge> [ddnet] ```cpp 00:22 <+bridge> [ddnet] void IGameController::OnCharacterSpawn(class CCharacter *pChr) 00:22 <+bridge> [ddnet] { 00:22 <+bridge> [ddnet] // default health 00:22 <+bridge> [ddnet] pChr->IncreaseHealth(10); 00:22 <+bridge> [ddnet] 00:22 <+bridge> [ddnet] // give default weapons 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_HAMMER); 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_GUN); 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_SHOTGUN); 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_GRENADE); 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_LASER); 00:22 <+bridge> [ddnet] } 00:22 <+bridge> [ddnet] ``` 00:22 <+bridge> [ddnet] if i want play with weapons i must modify that in gamecontroller.cpp 00:22 <+bridge> [ddnet] ```cpp 00:22 <+bridge> [ddnet] void IGameController::OnCharacterSpawn(class CCharacter *pChr) 00:22 <+bridge> [ddnet] { 00:22 <+bridge> [ddnet] // default health 00:22 <+bridge> [ddnet] pChr->IncreaseHealth(10); 00:22 <+bridge> [ddnet] 00:22 <+bridge> [ddnet] // give default weapons 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_HAMMER); 00:22 <+bridge> [ddnet] pChr->GiveWeapon(WEAPON_GUN); 00:22 <+bridge> [ddnet] } 00:22 <+bridge> [ddnet] ``` 00:22 <+bridge> [ddnet] to that 00:23 <+bridge> [ddnet] ```cpp 00:24 <+bridge> [ddnet] what is e.g. 00:24 <+bridge> [ddnet] for example 00:24 <+bridge> [ddnet] a chat command? 00:24 <+bridge> [ddnet] https://edgarluque.com/blog/chat-command-ddracenetwork :monkalaugh: 00:25 <+bridge> [ddnet] oh nice 00:25 <+bridge> [ddnet] my fucking god 00:25 <+bridge> [ddnet] :monkaS: 00:26 <+bridge> [ddnet] If you want I will send you my history I searched that since on the teeworlds / ddnet forum for 1 week 00:26 <+bridge> [ddnet] https://wiki.ddnet.tw/wiki/Resources 00:27 <+bridge> [ddnet] who make this site? 00:27 <+bridge> [ddnet] me 00:28 <+bridge> [ddnet] nsfw emote is allowed? 00:28 <+bridge> [ddnet] no 00:28 <+bridge> [ddnet] not porn just fun emote 00:28 <+bridge> [ddnet] not p*rn just fun emote 00:28 <+bridge> [ddnet] censoring words is stupid 00:28 <+bridge> [ddnet] ye xd 00:28 <+bridge> [ddnet] 00:29 <+bridge> [ddnet] delete it? 00:32 <+bridge> [ddnet] i should continue my ddnet coding blog series 00:32 <+bridge> [ddnet] actually useful 00:33 <+bridge> [ddnet] ok so for make my /weapons command i can take that and past in ddracechat.cpp 00:33 <+bridge> [ddnet] ? 00:52 <+bridge> [ddnet] I DID IT MAN IM A BIG PROGRAMER 00:52 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/815008475053686864/SPOILER_unknown.png 00:53 <+bridge> [ddnet] @Ryozuki @heinrich5991 i kiss u 00:53 <+bridge> [ddnet] just copy and past xd 00:54 <+bridge> [ddnet] :KEKW: 01:00 <+bridge> [ddnet] nice 🙂 01:06 <+bridge> [ddnet] but i have little prob 01:07 <+bridge> [ddnet] I must be logged in as admin to use this command 01:21 <+bridge> [ddnet] then log as admin 01:21 <+bridge> [ddnet] ffs, I gotta start c++ soon 01:21 <+bridge> [ddnet] just gotta finish my android c# project 01:25 <+bridge> [ddnet] m 01:27 <+bridge> [ddnet] :PU_PeepoMad: 01:27 <+bridge> [ddnet] u want fight 01:27 <+bridge> [ddnet] :lol: 05:52 <+bridge> [ddnet] xd 11:04 <+bridge> [ddnet] i don't know if it is a bug or not but bg map (jungle) gets darker now 11:04 <+bridge> [ddnet] but i have 1:04 PM 11:05 <+bridge> [ddnet] when i have 10 PM bg is as bright as sun 12:45 <+bridge> [ddnet] is your computer time wrong @gerdoe ? 12:45 <+bridge> [ddnet] for me its not even spring time yet, it still shows winter map 😄 13:10 <+ChillerDragon> i use jungle all year 13:41 <+bridge> [freenode] timakro[m] when you're free, could you update your trashmap servers to the latest version? I've had a few requests regarding the newly added endless_hook command which was added with version 15.3 14:29 <+bridge> [freenode] murpi: Trashmap is on 15.3.2 now 14:36 <+bridge> [ddnet] no, it's synchronised with internet time 14:39 <+bridge> [ddnet] dunno, maybe it fails to retrive the time for some reason 14:39 <+bridge> [ddnet] or did u replace some themes 15:17 <+bridge> [freenode] timakro[m] ah, thank you :) 15:42 <+ChillerDragon> can we get that as a placeholder in ddnet for forks? https://github.com/AllTheHaxx/AllTheHaxx/pull/387/commits/aa06ef448f0ec1182f71e27f2807b9d28331fafe 15:42 <+ChillerDragon> so that once could annouce the custom client version and edit the code without conflicting with future ddnet changes 15:43 <+ChillerDragon> one* 15:45 <+bridge> [ddnet] guys, did anyone keep the all 0.5.2 server/client sources/executables? 15:45 <+bridge> [ddnet] im going trough forum, all links are outdated 15:46 <+bridge> [ddnet] didn't 16:41 <+bridge> [ddnet] well if u can debug, the file is menu_background.cpp 16:49 <+bridge> [ddnet] Well the vanilla client and server are on github 16:49 <+bridge> [ddnet] I dug quite a bit but I don't think the 0.5.2 ddrace source survived anywhere, I only managed to find the modern 0.5 ddrace server 16:53 <+bridge> [ddnet] what is "the 0.5.2 ddrace source"? 16:53 <+bridge> [ddnet] the one by 3da? 16:57 <+bridge> [ddnet] I honestly am not sure who made it but there was a "classic" ddrace with pause pausing you mid air and each tele in and tele out being a different entity 17:00 <+bridge> [ddnet] that was inheriteted from race, simply 17:00 <+bridge> [ddnet] [n]race maybe, even 😄 17:11 <+bridge> [ddnet] could someone look into this? 17:11 <+bridge> [ddnet] https://steamcommunity.com/app/412220/discussions/0/3115899349865511303/ 17:21 <+bridge> [ddnet] i was talking about mods, vanilla one is boring when you are alone 17:21 <+bridge> [ddnet] ye 20:06 <+bridge> [ddnet] https://github.com/AllTheHaxx/CDXX/commit/8941caf3a23a8fd1ea62bc0bbcc329a9597acd08 20:06 <+bridge> [ddnet] any hints on how do do this the "teeworlds-cmake-way"? pardon this mess, i really have no idea what i am doing. 20:15 <+bridge> [ddnet] https://github.com/AllTheHaxx/CDXX/blob/8941caf3a23a8fd1ea62bc0bbcc329a9597acd08/CMakeLists.txt#L1553 you can do it here 20:16 <+bridge> [ddnet] but you already kinda did? do you really need both ${V8_LIBRARIES} and PkgConfig::PC_V8? @GutZuFusss 20:24 <+bridge> [ddnet] probably not, thank you :heartw: 21:25 <+bridge> [ddnet] @heinrich5991 my client randomly freezes forever sometimes when i play 21:25 <+bridge> [ddnet] i compiled relwithdeb info with steam discord and dynamic discord 21:25 <+bridge> [ddnet] hope i can catch it with gdb 21:27 <+bridge> [ddnet] I don't know how to catch it 21:27 <+bridge> [ddnet] maybe it would show up in a profiler? 21:27 <+bridge> [ddnet] can you run a profiler and then press some button to only output the last five seconds of profiling data? 21:28 <+bridge> [ddnet] uh idk how to do that 21:33 <+bridge> [ddnet] me neither 21:41 <+bridge> [ddnet] @Ryozuki add -g to compile flags and attach gdb next time it hangs 21:43 <+bridge> [ddnet] @Ryozuki did you use other optimization flags btw? 21:43 <+bridge> [ddnet] it crashes with steam one and with arch aur one 21:43 <+bridge> [ddnet] arch aur uses march native and o3 21:43 <+bridge> [ddnet] idk how the oficial steam client is built 21:44 <+bridge> [ddnet] probs standard cmake flags 21:44 <+bridge> [ddnet] so O2 21:44 <+bridge> [ddnet] i think it might be something related to discord 21:44 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/815323559139475476/unknown.png 21:44 <+bridge> [ddnet] maybe cuz this 21:44 <+bridge> [ddnet] idk 21:45 <+bridge> [ddnet] i sent a friend a client with other optimizations and it crashed too, and i tried to reprod. from demo but no chance, but it probs had discord and steam off 23:38 <+bridge> [ddnet] I'll deploy the changes to ger2 again