00:05 <+bridge> [ddnet] If u know c u can use it in c++ code 13:26 <+bridge> [ddnet] hello developers, who can say me how use cmake in console (cmd)? 13:26 <+bridge> [ddnet] @Dev 13:27 <+bridge> [ddnet] With MSVC or MinGW? 13:28 <+bridge> [ddnet] MinGW 13:28 <+bridge> [ddnet] How did you get mingw? with msys2? 13:29 <+bridge> [ddnet] idk i was donwload ddnet source xD and i need compile .exe but idk how xD i was all time use bam but i see here is news 13:29 <+bridge> [ddnet] idk i was download ddnet source xD and i need compile .exe but idk how xD i was all time use bam but i see here is news 13:30 <+bridge> [ddnet] So you don't even have mingw yet 13:30 <+bridge> [ddnet] so what i have ? 13:30 <+bridge> [ddnet] How am I supposed to know it's not my computer 😄 13:30 <+bridge> [ddnet] xd 13:30 <+bridge> [ddnet] so can u say how compile ddnet.exe ? 13:30 <+bridge> [ddnet] Maybe you were using MSVC with bam? 13:31 <+bridge> [ddnet] huh sec 13:31 <+bridge> [ddnet] The easiest way would be to follow heinrich's tutorial on the forum, it uses visual studio and it's dead simple 13:32 <+bridge> [ddnet] can u send links pls 13:33 <+bridge> [ddnet] https://forum.ddnet.tw/viewtopic.php?t=5765 13:37 <+bridge> [ddnet] In console it depends on your compiler, with msys2 you want to make sure you get the mingw version of cmake, with the original msys it all just works, with msvs you can generate a visual studio project with `-G "Visual Studio `, or an nmake file with `-G "NMake Makefiles"`. 13:38 <+bridge> [ddnet] A cmake build looks like `mkdir build` `cd build` `cmake -G "Whatever Generator you choose" ..` `cmake --build` 13:40 <+bridge> [ddnet] ```C:\Users\patry\Desktop\~Wszystko~\1. Teeworlds-Mod\10. DDnet-Master``` xd 13:40 <+bridge> [ddnet] wa 13:40 <+bridge> [ddnet] aw 13:40 <+bridge> [ddnet] ```'cmake' is not recognized as an internal or external command, 13:40 <+bridge> [ddnet] operable program or batch file.``` 13:40 <+bridge> [ddnet] do you even have cmake? 13:40 <+bridge> [ddnet] https://prnt.sc/sx63l3 13:41 <+bridge> [ddnet] that's our cmake folder, containing our cmake scripts 13:41 <+bridge> [ddnet] not cmake itself 13:41 <+bridge> [ddnet] yes is ddnet cmake 13:42 <+bridge> [ddnet] https://cmake.org/download/ 13:43 <+bridge> [ddnet] i need download it 13:43 <+bridge> [ddnet] ? 13:43 <+bridge> [ddnet] Yes, get the latest release 3.17 I think 13:56 <+bridge> [ddnet] @Learath2 yes and what now 13:57 <+bridge> [ddnet] https://prnt.sc/sx6gg5 13:58 <+bridge> [ddnet] Why did you download the source of cmake?? 13:58 <+bridge> [ddnet] There is an installer right there 13:58 <+bridge> [ddnet] https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-win64-x64.msi 13:59 <+bridge> [ddnet] Huh 13:59 <+bridge> [ddnet] > Yes, get the latest release 3.17 I think 13:59 <+bridge> [ddnet] @Learath2 13:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/720245765334761492/Screenshot_2020-06-10_at_14.59.19.png 13:59 <+bridge> [ddnet] Yes. I dowload that 14:00 <+bridge> [ddnet] this https://prnt.sc/sx6itt 14:00 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/720246114980200528/Screenshot_2020-06-10_at_15.00.45.png 14:01 <+bridge> [ddnet] owo 14:01 <+bridge> [ddnet] You want ^^ 14:01 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/720246184823750726/Screenshot_2020-06-10_at_15.01.00.png 14:01 <+bridge> [ddnet] ahhh xD 14:04 <+bridge> [ddnet] @Learath2 https://prnt.sc/sx6lzu 14:06 <+bridge> [ddnet] 2nd option 14:06 <+bridge> [ddnet] kk 14:19 <+bridge> [ddnet] @Learath2 is possible change cmake to baam? 14:20 <+bridge> [ddnet] no 14:21 <+bridge> [ddnet] huh 14:21 <+bridge> [ddnet] what now if i download this 14:21 <+bridge> [ddnet] I still don't know what compiler you are using 14:24 <+bridge> [ddnet] besides, why are you compiling this from scratch anyway? 14:28 <+bridge> [ddnet] gtg, have things to do, figure out what compiler you have, use cmake gui to generate the correct format and hit build 14:30 <+bridge> [ddnet] @jao does synchronized work differently since the warmup timer change? 14:35 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> https://cdn.discordapp.com/attachments/293493549758939136/720254792391458856/unknown.png 14:35 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> what can i do so i can enter on my server 14:37 <+bridge> [ddnet] run ddnet client and check lan tab 14:37 <+bridge> [ddnet] or just enter localhost as the ip and connect 14:52 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> i get an error 14:52 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> at final 15:02 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> [2020-06-10 15:52:25][filescore]: opening 'records/Kobra 4_record.dtb' for reading failed 15:02 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> this is the error i get 15:13 <+bridge> [ddnet] this is just relevant for ranks 15:14 <+bridge> [ddnet] have you checked the LAN tab? 15:24 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> da 15:24 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> yes 15:32 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> what do i need to do? 15:33 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> what do i need to do now? 15:33 <+bridge> [ddnet] try connecting to "localhost" 15:33 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> wdym? to write at search localhost? 15:33 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> im new at starting a server and these thing 15:34 <+bridge> [ddnet] into the "Host address" field 15:34 <+bridge> [ddnet] and then press enter 15:35 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> is only saying connecting to localhost 15:46 <+bridge> [ddnet] have you changed the `sv_port`? 15:46 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> ummm 15:46 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> where i can change it 15:46 <+bridge> [ddnet] if not, that's good 15:47 <+bridge> [ddnet] so you have the black window with the server open but still can't connect to `localhost` in ddnet? 15:47 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> https://cdn.discordapp.com/attachments/293493549758939136/720272983113072650/unknown.png 15:47 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> all the things i see 15:52 <+bridge> [ddnet] and while this black window is still open, can you connect to localhost? 15:53 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> wdym? to write localhost in the ip box 15:53 <+bridge> [ddnet] yes 15:53 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> nope 15:54 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> i cant connect 15:54 <+bridge> [ddnet] but still keep the server window open? 15:54 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> yes 15:56 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> wait...... ur the owner of ddnet? 16:07 <+bridge> [ddnet] no 16:07 <+bridge> [ddnet] I don't understand what happens 16:07 <+bridge> [ddnet] is that a remote terminal? 16:28 <+corneum> @deen would you give fixing the bullet tunes another try? i found another thing that makes it impossible to map with 17:12 <+bridge> [ddnet] @Learath2 it changed yes 17:18 <@deen> corneum: nope :/ 17:18 <+corneum> bruh 17:20 <+corneum> how about only that other thing i found? it crashes the server so you dont have to fiddle with physics or anything 17:30 <+corneum> and what does the tune "laser_damage" do in ddrace? 18:12 <+bridge> [ddnet] @Pipou I guess the change is expected then 18:13 <+bridge> [ddnet] https://github.com/Learath2/ddnet/tree/dd_pr_07 18:13 <+bridge> [ddnet] This turned out ugly beyond my dreams, but it's sorta working 18:16 <+bridge> [ddnet] <𝕀𝕠𝕟𝕦𝕥> @heinrich5991 nvm @GoJE GrEEN ! helped me 18:17 <+bridge> [ddnet] whats it 18:17 <+bridge> [ddnet] That branch? A bridge server like the one @timakro and @fokkonaut are running 18:17 <+bridge> [ddnet] it needs a lot more work to finish up but I'm all out of work 18:22 <+bridge> [ddnet] is it better than fokos? 18:22 <+bridge> [ddnet] There are 3 things remaining, whispers, map conversion to 0.7 and the ugliest of them all support for the new serverinfo 18:22 <+bridge> [ddnet] @jao eeeeeeh, very debatable, I don't use any magic constants atleast, the entire 0.7 protocol is there for you to use 18:26 <+bridge> [ddnet] More likely to get feedback on a PR 😛 18:26 <+bridge> [ddnet] I'll go have a drink, it's been a very long day messing around with this cross protocol thing 19:00 <+bridge> [ddnet] looks good @Learath2 19:02 <+bridge> [ddnet] Really cool work @Learath2. Easiest way to test would be to just run a few servers with it and see how it works 19:02 <+bridge> [ddnet] about the map conversion, maybe we just use my 0.7 map conversion executable and store both? 19:03 <+bridge> [ddnet] We should ask @qshar how he did it 19:03 <+bridge> [ddnet] that just leaves the serverinfo remaining critical before testing this 19:03 <+bridge> [ddnet] but that's not very trivial as the 0.7 serverinfo is already broken 😄 19:04 <+bridge> [ddnet] (can't fit 64 people in it) 19:05 <+bridge> [ddnet] oh, didn't know they also have something like that 19:07 <+bridge> [ddnet] @deen If you see any way to do `void *CGameContext::PreProcessMsg(int *MsgID, CUnpacker *pUnpacker, int ClientID)` in a cleaner way lmk, I feel it's very meh and this is like my 10th attempt at handling this 19:08 <+bridge> [ddnet] @Learath2 what map conversion do we need 19:10 <+bridge> [ddnet] honestly, I have absolutely no idea, but I know both qshar and timakro are converting their maps 19:10 <+bridge> [ddnet] It seems like it works even without a conversion for me but @deen would probably know a difference between the formats given he wrote the converter 19:10 <+bridge> [ddnet] https://github.com/unique-clan/unique-race 19:11 <+bridge> [ddnet] you could also use the skin converter 19:11 <+bridge> [ddnet] i think its p nice 19:12 <+bridge> [ddnet] I already got the skin converter 19:12 <+bridge> [ddnet] works pretty well actually 😄 19:13 <+bridge> [ddnet] isnt deens map converter just embedding all tilesets 19:13 <+bridge> [ddnet] I tried to turn that array into an unordered_map and it was so ugly I did a `git reset --hard HEAD` went to sleep and started again today 19:13 <+bridge> [ddnet] @jao ah I think that's it, the tilesets 19:14 <+bridge> [ddnet] 0.7 clients don't have any of our tilesets and I bet they have updated versions of the old ones so we'd need to embed for them 19:14 <+bridge> [ddnet] optimally we shouldnt embed 0.7 tilesets i guess 19:15 <+bridge> [ddnet] we probably shouldn't touch anything 0.7 19:15 <+bridge> [ddnet] you can check if every pixel is the same 😁 19:15 <+bridge> [ddnet] just embed our tilesets and ship that map to 0.7 clients and ship the old one to 0.6 clients 19:15 <+bridge> [ddnet] I wondered whether we could do this dynamically so as to not double our storage use for maps 19:16 <+bridge> [ddnet] shouldn't actually be too too hard 19:16 <+bridge> [ddnet] how big is our map folder 19:17 <+bridge> [ddnet] big enough not to double? 😄 19:17 <+bridge> [ddnet] I'll check 19:18 <+bridge> [ddnet] 759M 19:19 <+bridge> [ddnet] :justatest: 19:19 <+bridge> [ddnet] I mean not horrible but it is preeeeettty redundant 😄 19:20 <+bridge> [ddnet] thats not big 19:20 <+bridge> [ddnet] yeah but it'd be like an extra 800M that has no information 19:20 <+bridge> [ddnet] actually we might be tighter on CPU cycles then on storage so maybe we actually should pregenerate these 19:21 <+bridge> [ddnet] our 2 core servers are just 😦 19:21 <+bridge> [ddnet] smaller than my biggest map 19:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/720326758653624401/unknown.png 19:21 <+bridge> [ddnet] what kinda exploit is that map attempting? 19:21 <+bridge> [ddnet] map RCE? 19:21 <+bridge> [ddnet] just uncompressed map :troll: 19:24 <+bridge> [ddnet] map was 60MB with default compression but it took a while to load 19:25 <+bridge> [ddnet] so i thought 0 compression would help it load faster 19:25 <+bridge> [ddnet] did u save ur porn folder inside the map 19:26 <+bridge> [ddnet] no 19:35 <+bridge> [ddnet] @Learath2 I used deen's map converter tool for it. 19:35 <+bridge> [ddnet] I made a simple bash script that executes it for every new map and on map update. 19:36 <+bridge> [ddnet] and we have 2 directories: maps and maps07 19:40 <+ZillyHuhn> @Learath2 would be really awesome if you could add support for greensward skin <3 so if one uses greensward as body in 0.7 people see greensward skin in 0.6 like in fddr 19:41 <+ZillyHuhn> I stopped playing on kog and unique bridge servers because i couldnt handle 0.6 people trashtalking me about using another skin :/ 19:44 <+bridge> [ddnet] We can extend the mapping but I would love to have an unordered map before 19:44 <+bridge> [ddnet] So the lookup doesnt get expensive 19:53 <+ZillyHuhn> @Learath2 https://github.com/unique-clan/unique-race/issues/6#issuecomment-634084143 19:53 <+ZillyHuhn> sorry for the push :/ but my life depends on that feature :D 20:00 <+bridge> [ddnet] Tbh my intention with this is to keep ddnet relevant until I can come up with a nice ddnet7 20:00 <+bridge> [ddnet] Which all depends on gamecontroller getting cleaned up 20:26 <+ZillyHuhn> yes and that is what i am afraight of. 20:26 <+ZillyHuhn> Forcing 0.7 players to play on bridge servers with disatvantages like qshar did. 20:33 <+bridge> [ddnet] There are few disadvantages, but atleast it keeps the community together 20:41 <+bridge> [ddnet] @Learath2 does it have teehistorian integration or do I need to add it? 20:43 <+bridge> [ddnet] I think it shouldwork(tm) but it'd be nice if you could evaluate it see if anything else needs to be saved 20:44 <+bridge> [ddnet] I save the entire packed message before any translation so that should be fine 20:44 <+bridge> [ddnet] but we might want to store whether a client is sixup 20:46 <+bridge> [ddnet] yes we do 20:47 <+bridge> [ddnet] I think damage indicators are sadly gone 20:47 <+bridge> [ddnet] dune nuked them with his patch removing the ability to control direction from the server 20:48 <+bridge> [ddnet] nor can we control the duration they show up for, I was thinking of manipulating the start position by sending very short ones to move the stars along 20:49 <+bridge> [ddnet] I guess we can still have them for freeze though 20:49 <+bridge> [ddnet] but idk what we'll do with the gun 20:52 <+bridge> [ddnet] Oh also effects self insert so that'll be extra fun 20:53 <+bridge> [ddnet] self insert? 20:54 <+bridge> [ddnet] I thought they were inserting themselves into the gameworld like entities, but apparently not so there is a place to translate them semi easily 21:43 <+bridge> [ddnet] Okay, this works over LAN but doesn't over internet 21:43 <+bridge> [ddnet] @heinrich5991 do you know whether anything is different about the protocol when connecting over LAN? 21:45 <+bridge> [ddnet] what works over internet but not lan? 21:45 <+bridge> [ddnet] The connection 21:46 <+bridge> [ddnet] The server doesn't seem to respond to the initial NETMSG_INFO 21:46 <+bridge> [ddnet] well no even before that actually 21:46 <+bridge> [ddnet] what was the name of that 520byte packet we send? 21:49 <+bridge> [ddnet] did you remember to open port 21:50 <+bridge> [ddnet] yep 21:50 <+bridge> [ddnet] `ACCEPT udp -- anywhere anywhere udp dpt:8303` 21:52 <+bridge> [ddnet] `NET_CTRLMSG_TOKEN` 21:54 <+bridge> [ddnet] guess there are no free lunches, I'll debug it 21:54 <+bridge> [ddnet] I don't really know, sorry 21:57 <+Learath2> yeah I was just hoping 22:05 <+Learath2> amazing, I get a packet full of 0s 22:05 <+Learath2> god knows at which layer the data is lost 22:05 <+bridge> [ddnet] mostly 0s is correct for the token packet 22:06 <+bridge> [ddnet] it has 5 bytes that are set IIRC 22:13 <+bridge> [ddnet] I don't see how this packet ends up completely empty 22:14 <+bridge> [ddnet] After I UnpackPacket I can print out it's contents and they are there 22:14 <+bridge> [ddnet] inside OnSixupCtrlMsg it's completely empty 22:15 <+bridge> [ddnet] gdb? 22:16 <+Learath2> yeah setting up watchpoints 22:20 <+Learath2> magic 22:23 <+Learath2> oh, the buffer of the recvunpacker is empty 22:24 <+Learath2> uh, i wonder if it's the recvmmsg patch 22:25 <+Learath2> yep 22:25 <+Learath2> I was bamboozled, it wasn't a LAN vs internet thing, it was a macOS vs linux thing 22:25 <+bridge> [ddnet] What is bamboozled 22:25 <+bridge> [ddnet] XDDDDD 22:28 <+Learath2> hoodwinked 22:28 <+Learath2> fooled 22:28 <+Learath2> deceived 22:29 <+bridge> [ddnet] @Trafalgar Law you can give it a go now 22:29 <+bridge> [ddnet] I will try :) 22:29 <+bridge> [ddnet] Chat is still broken but that's an issue for tomorrow's learath2 22:30 <+bridge> [ddnet] it works! 22:30 <+bridge> [ddnet] Good job! 22:30 <+bridge> [ddnet] But it feels a bit laggy 22:31 <+bridge> [ddnet] or its my inet 22:31 <+bridge> [ddnet] Idk 22:31 <+bridge> [ddnet] I have absolutely no way to know how it performs, my computer can't run teeworlds so I cant check 22:32 <+bridge> [ddnet] Freeze stars are amazing! 22:32 <+bridge> [ddnet] Nice one :D 22:32 <+bridge> [ddnet] thy 22:32 <+bridge> [ddnet] they are soooooo hacked in there 😄 22:33 <+bridge> [ddnet] Wait 22:33 <+bridge> [ddnet] Your computer can't run tw? 22:33 <+bridge> [ddnet] the fuck 22:33 <+bridge> [ddnet] macbooks are very high quality 22:33 <+bridge> [ddnet] Time to buy a good computer ;) 22:34 <+bridge> [ddnet] you can fry an egg on the keyboard while teeworlds is running 22:34 <+bridge> [ddnet] linux > macOS 22:34 <+bridge> [ddnet] XD 22:38 <+bridge> [ddnet] I have a feeling repacking the messages at the end might be a little bit of a performance issue but won't see it until we test it with a bit of people 22:40 <+bridge> [ddnet] So chat, whispers and generating a netobject translator to get rid of the current translator remain as blocking issues 22:44 <+bridge> [ddnet] oh and serverinfo 😦 22:48 <+bridge> [ddnet] getting rid of the current translator? 22:52 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/86d6b97c5f7af8a4683ad78c7f699dd0436d5de4/src/engine/shared/snapshot.cpp#L9-L29 22:53 <+bridge> [ddnet] With the entire protocol I can just generate this mapping 23:25 <+bridge> [ddnet] @deen why dont you send an edited map file? you should be able to send a version with all images being external