00:00 <+ChillerDragon> head is nice to show the beginning of a textfile 00:00 <+ChillerDragon> ``head -n1`` gives you only the first line 00:00 <+ChillerDragon> -n2 would give u the first 2 lines for example 00:00 <+ChillerDragon> since that class is used multiple times and our interest is the first hit we good 00:01 <+ChillerDragon> now we are left with some junk on the right hand side 00:01 <+ChillerDragon> using ``cut`` with the delimiter < and > you can cut of those 00:01 <+ChillerDragon> lemme send some screen of the individual commands maybe that makes some sense 00:02 <+ChillerDragon> https://zillyhuhn.com/cs/.1668985238.png 00:03 <+bridge> [ddnet] hmm I see 00:03 <+ChillerDragon> but this bad flex for teacher xd 00:03 <+ChillerDragon> what kind of assignment is that even? 00:03 <+bridge> [ddnet] lol exactly 00:04 <+ChillerDragon> what tech did u learn to solve that? 00:04 <+bridge> [ddnet] well, I was a little advanced so he gave it to me 00:04 <+ChillerDragon> https://zillyhuhn.com/cs/.1668985378.png 00:05 <+bridge> [ddnet] well, I was a little advanced so he gave that to me 00:05 <+ChillerDragon> thats more good style i would say 00:05 <+ChillerDragon> but takes much longer to write than bash 00:05 <+ChillerDragon> bash is always faster 00:05 <+bridge> [ddnet] hmm i see, ruby seems to be really useful for that stuff 00:06 <+ChillerDragon> doesnt rly matter if its ruby, javascript or python in my opinion 00:06 <+ChillerDragon> it all boils down to the same thing 00:06 <+ChillerDragon> so it depends on what your teacher taught you to solve this xd 00:06 <+ChillerDragon> advanced in wat? 00:08 <+bridge> [ddnet] well, he didn't teach us anything, that's the funny thing about him, he just asked for a result and we have to give him the result he wanted 00:08 <+ChillerDragon> what kind of teacher is that? 00:08 <+ChillerDragon> school? 00:08 <+ChillerDragon> what subject? xd 00:10 <+bridge> [ddnet] IT in general i would say, one day we take a look at db stuff, another day he wants a script to do something etc.. 00:11 <+ChillerDragon> Yea i would say if you were interested in that scraped value to stalk it being changed both my approaches should work okay, But as for your assignment i think there is no hope :D 00:13 <+bridge> [ddnet] he basically asked for a script that would get the value of something and then put that value in a compressed file with the date as name and send the archive somewhere on a server 00:13 <+ChillerDragon> wtf 00:13 <+ChillerDragon> thats like a lot of stuff 00:13 <+bridge> [ddnet] well, kinda doable in 3 hours 00:14 <+ChillerDragon> depends on what you know 00:14 <+ChillerDragon> also what server xd 00:14 <+bridge> [ddnet] that's why i like this noob, even he something doesn't know how to solve his own problems lol 00:15 <+ChillerDragon> i mean its basically just 3 more bash commands and you done but still your teacher seems confused xd 00:15 <+bridge> [ddnet] was a local one located at the school 00:16 <+ChillerDragon> those kind of tasks is where bash really shines 00:16 <+ChillerDragon> i mean file io is literally 1 character with 0 setup or depedencies 00:16 <+ChillerDragon> xd 00:16 <+bridge> [ddnet] I'll never forget the kind of t-shirts he wears lol, once he came to school with one that said "I could change the whole world if you give me the source code" lmaoo 00:17 <+ChillerDragon> for compression your have the 3 letter command ``zip`` for uploading it to the server you have the 3 letter command ``scp`` and generating a ``date`` is also not too tricky 00:18 <+bridge> [ddnet] i used tar for compressing, kinda do the same thing 00:18 <+ChillerDragon> ye 00:18 <+ChillerDragon> is that like classical school school? like highscool or something? 00:18 <+ChillerDragon> i would have had so much fun in that class xd 00:19 <+ChillerDragon> ah wait i think i barley knew anything back then i probably would be super lost nvm 00:19 <+bridge> [ddnet] date was kinda tricky, I used smth like that **"$(date +"%d-%m-%y-%H-%M-%S")"** 00:20 <+bridge> [ddnet] yeah highschool 00:20 <+bridge> [ddnet] IT school or whatever you call it xD 00:21 <+bridge> [ddnet] we learn mainly networking & some cool stuff 00:23 <+ChillerDragon> yea depending on what kind of date you want but also then you can just google for the format 00:23 <+bridge> [ddnet] sure, anyways! was great to talk with ya nobo 00:23 <+ChillerDragon> my fav is this ``date '+%F'`` 00:23 <+ChillerDragon> ye if u got more bash questions lemme know xd 00:23 <+bridge> [ddnet] yes "daddy" 00:24 <+bridge> [ddnet] yes, "daddy" 00:24 <+ChillerDragon> UwU 00:24 <+bridge> [ddnet] https://tenor.com/view/naughty-dog-naughty-dog-he-knows-smirk-gif-17855811 00:24 <+bridge> [ddnet] now let's stop flooding this channel with my bullshit :twinbop: 00:32 <+ChillerDragon> u emoting madlads confused poor ``file`` command into thinking this chat log is binary data? xd 00:32 <+ChillerDragon> https://zillyhuhn.com/cs/.1668986987.png 00:32 <+bridge> [ddnet] theoretically, this should probably be done as a build step, not as a build generation step 00:32 <+bridge> [ddnet] (ChillerDragon) 00:32 <+ChillerDragon> wouldnt help 00:32 <+ChillerDragon> vps ded either way huh? 00:33 <+ChillerDragon> i feel like it actually died so hard all tw servers that were running crashed but idk how that would have made sense so im probably wrong 00:37 <+ChillerDragon> ah no its not emojis xd 00:37 <+ChillerDragon> https://zillyhuhn.com/cs/.1668987307.png 00:37 <+ChillerDragon> i assume this causes it 00:38 <+bridge> [ddnet] > why is that not an default :c 00:39 <+bridge> [ddnet] because I can't guess whether you want IPv6 or IPv4 00:39 <+bridge> [ddnet] ChillerDragon: or rather, because you won't be happy with my guess that it's ipv6 only 00:39 <+ChillerDragon> do we have a ipv6 supremacists overhere? xd 00:40 <+ChillerDragon> imo its sane to go with ipv4 as default 00:40 <+ChillerDragon> rather than crash the server 00:41 <+bridge> [ddnet] I'll not produce software that works better on ipv4 than on ipv6 00:41 <+ChillerDragon> xd 00:41 <+ChillerDragon> yo btw whats your opinion on 0.7? 00:41 <+bridge> [ddnet] why would running it as build step not help with the vulkan shaders stuff? 00:41 <+bridge> [ddnet] that way, you get the concurrency you specify 00:41 <+ChillerDragon> a 00:41 <+ChillerDragon> sure that would be nice 00:42 <+bridge> [ddnet] ChillerDragon: what do you mean "opinion on 0.7"? 00:42 <+ChillerDragon> as in opinion on ipv4 vs ipv6 00:42 <+bridge> [ddnet] teeworlds seems to be more dead than usual 00:42 <+ChillerDragon> xd 00:42 <+ChillerDragon> 0.7 in ddnet? 00:42 <+bridge> [ddnet] I like adding support for more software 00:42 <+ChillerDragon> or do you want to drop vanilla support 00:43 <+ChillerDragon> > teeworlds seems to be more dead than usual 00:44 <+ChillerDragon> i think part of the reason is that ddnet client users get tired to switch client 00:44 <+ChillerDragon> your QUICC stuff kinda sounded like you want to drop vanilla support but im not sure 00:45 <+ChillerDragon> thats why i am asking if you care about ddnet <-> teeworlds compabilitiy 00:47 <+bridge> [ddnet] I want to add a new way to establish a connection 00:47 <+bridge> [ddnet] it will be incompatible with the old ones, yes 00:47 <+bridge> [ddnet] I didn't want to drop support for the old ones 00:49 <+ChillerDragon> ok u dodge me it fine 00:49 <+ChillerDragon> good nite :) 00:50 <+bridge> [ddnet] I don't understand your sentence 00:50 <+bridge> [ddnet] good night though 01:36 <+bridge> [ddnet] @heinrich5991 i can't access demo's map using your libtw2, both from demo reader and demo writer 01:36 <+bridge> [ddnet] How :feelsbadman: 01:36 <+bridge> [ddnet] it might not be implemented 01:36 <+bridge> [ddnet] Looks like so :saddo: 01:38 <+bridge> [ddnet] it seems the map is always at the same offset of the file 01:38 <+bridge> [ddnet] depending on the demo version 01:38 <+bridge> [ddnet] Yep, and size is defined by header byte 01:39 <+bridge> [ddnet] so you could get the size with the library (or yourself) 01:39 <+bridge> [ddnet] and then just read the map file from the offset until offset + length 01:39 <+bridge> [ddnet] for hte map 01:40 <+bridge> [ddnet] Fair enough, just was trying to avoid doing something myself :nouis: 01:40 <+bridge> [ddnet] (or you could try PRing the libtw2 repo to add support for map reading. it might be a little bit convoluted though) 01:42 <+bridge> [ddnet] Sounds like a perfect variant but i can barely read ur code, not saying about writing something good myself, too nooby in rust :feelsbadman: 01:44 <+bridge> [ddnet] sorry that I didn't write docs for it 01:44 <+bridge> [ddnet] in newer code, I try to add documentation 🙂 01:47 <+bridge> [ddnet] Btw its kinda hard to use libtw2, maybe i didn't understand something about cargo, but i had to use smth like `demo = { git="link to libtw2 repo" branch="master" }` cuz just `libtw2="0.0.0"` quite didnt work 01:54 <+bridge> [ddnet] that's correct. I didn't release it on crates.io because I didn't want to make stability guarantees :/ 01:55 <+bridge> [ddnet] :justatest: 02:03 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1044055450158637206/IMG_20221121_025214_244.jpg 07:39 <+bridge> [ddnet] .pdf 09:00 <+bridge> [ddnet] https://www.reddit.com/r/rust/comments/z0h4r5/nushell_is_amazing/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button 09:00 <+bridge> [ddnet] ChillerDragon check out nushell 09:00 <+bridge> [ddnet] Actual shell with data types and structured data 11:54 <+Ryozuki> day 3 of trying to match huffman bits 11:54 <+Ryozuki> idk what im doing wrong 12:11 <+bridge> [ddnet] Put prints after all steps and see where it differs 12:12 <+bridge> [ddnet] Log driven debugging for smaller algorithms is often quite helpful 12:20 <+bridge> [ddnet] I think heinrich's teeworlds huffman implementation works, maybe compare with that if you'd rather have a rust reference 12:20 <+Ryozuki> i copied kinda the cpp to rust 1on1 12:20 <+Ryozuki> and i get a shift overflow panic on debug 12:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1044210879618617344/image.png 12:21 <+bridge> [ddnet] does it overflow on cpp or im doing smth wrong 12:21 <+bridge> [ddnet] mathcing the behaviour doing a checked_shl and unwrap_or 0 gives wrong results 12:21 <+bridge> [ddnet] matching 12:23 <+bridge> [ddnet] 12:23 <+bridge> [ddnet] i dont wanna copy his code 12:23 <+bridge> [ddnet] its ugly too 12:26 <+Ryozuki> hmm changing the order of the sort makes it not overflow 12:26 <+Ryozuki> but the bits dont match his table 12:26 <+Ryozuki> is the table even accurate 12:29 <+Ryozuki> im taking his table as a source of truth 12:29 <+Ryozuki> but never checked it 12:32 <+Ryozuki> the bad thing is tw huffman is huffman with quirks 12:34 <+Ryozuki> or idk 12:34 <+Ryozuki> i must suck 12:37 <+bridge> [ddnet] I don't remember. I can take a look though if you are stuck 12:38 <+Ryozuki> well i sent a gist 12:39 <+Ryozuki> to see the bits it produces run cargo t -- --nocapture 12:39 <+Ryozuki> updated it 12:40 <+Ryozuki> 12:40 <+Ryozuki> the table in the appendix 12:42 <+Ryozuki> actually u can try it here 12:42 <+Ryozuki> https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8505fd268fea3cba6468da5447571347 12:42 <+Ryozuki> since my code has no deps 12:42 <+Ryozuki> 100: is the eof symbol iirc 12:44 <+Ryozuki> 15:09 <+bridge> [ddnet] <- Mahdiyar> ``` 15:09 <+bridge> [ddnet] <- Mahdiyar> root@kinger:~/build# cmake .. 15:09 <+bridge> [ddnet] <- Mahdiyar> CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt. 15:09 <+bridge> [ddnet] <- Mahdiyar> Specify --help for usage, or press the help button on the CMake GUI. 15:09 <+bridge> [ddnet] <- Mahdiyar> 15:09 <+bridge> [ddnet] <- Mahdiyar> ``` 15:09 <+bridge> [ddnet] <- Mahdiyar> 15:09 <+bridge> [ddnet] <- Mahdiyar> What is error In terminal linux < cmake .. > 15:16 <+bridge> [ddnet] I told you you need to first cd into the directory where you downloaded the source 15:33 <+bridge> [ddnet] <- Mahdiyar> ``` 15:33 <+bridge> [ddnet] <- Mahdiyar> root@kinger:~/build# cd /root 15:33 <+bridge> [ddnet] <- Mahdiyar> root@kinger:~# mkdir build 15:33 <+bridge> [ddnet] <- Mahdiyar> mkdir: cannot create directory ‘build’: File exists 15:33 <+bridge> [ddnet] <- Mahdiyar> root@kinger:~# 15:33 <+bridge> [ddnet] <- Mahdiyar> ``` 15:33 <+bridge> [ddnet] <- Mahdiyar> I did this now, now Mkdir won't work! 15:33 <+bridge> [ddnet] <- Mahdiyar> @Learath2 15:34 <+bridge> [ddnet] don't be root either, you'll mess up things 15:35 <+bridge> [ddnet] <- Mahdiyar> No, I changed the file 15:35 <+bridge> [ddnet] <- Mahdiyar> ``` 15:35 <+bridge> [ddnet] <- Mahdiyar> root@kinger:~# cd /var/www/html/blocker-mod-src-master 15:35 <+bridge> [ddnet] <- Mahdiyar> root@kinger:/var/www/html/blocker-mod-src-master# mkdir build 15:35 <+bridge> [ddnet] <- Mahdiyar> root@kinger:/var/www/html/blocker-mod-src-master# cmake .. 15:35 <+bridge> [ddnet] <- Mahdiyar> CMake Error: The source directory "/var/www/html" does not appear to contain CMakeLists.txt. - 15:35 <+bridge> [ddnet] <- Mahdiyar> Specify --help for usage, or press the help button on the CMake GUI.- 15:35 <+bridge> [ddnet] <- Mahdiyar> ``` 15:35 <+bridge> [ddnet] <- Mahdiyar> Now I received this error 15:35 <+bridge> [ddnet] <- Mahdiyar> @Chairn@Learath2 15:44 <+bridge> [ddnet] @- Mahdiyar root bad 15:44 <+bridge> [ddnet] <- Mahdiyar> I proceed to mkdir build, but when I try to run cmake, it gives an error 15:46 <+bridge> [ddnet] You missed the `cd build` after the mkdir 15:48 <+bridge> [ddnet] <- Mahdiyar> mkdir: cannot create directory ‘build’: File exists 15:49 <+bridge> [ddnet] You created it already, just cd 15:51 <+bridge> [ddnet] <- Mahdiyar> Yes, I am using cmake now, it gives me an error 15:51 <+bridge> [ddnet] <- Mahdiyar> ``` 15:51 <+bridge> [ddnet] <- Mahdiyar> CMake Error: The source directory "/var/www/html/blocker-mod-src-master" does not appear to contain CMakeLists.txt. 15:51 <+bridge> [ddnet] <- Mahdiyar> Specify --help for usage, or press the help button on the CMake GUI. 15:51 <+bridge> [ddnet] <- Mahdiyar> ``` 15:51 <+Ryozuki> oof blockers 15:52 <+bridge> [ddnet] <- Mahdiyar> I haven't created CMakeLists.txt yet 15:52 <+bridge> [ddnet] <- Mahdiyar> @Learath2 15:53 <+bridge> [ddnet] Cmakelists is part of the source. You don't create it 15:53 <+bridge> [ddnet] <- Mahdiyar> So why does it give an error? 15:53 <+bridge> [ddnet] <- Mahdiyar> @Learath2 15:53 <+bridge> [ddnet] Is there a cmakelists.txt? 15:54 <+bridge> [ddnet] <- Mahdiyar> in source folder? 15:54 <+bridge> [ddnet] Yes 15:55 <+bridge> [ddnet] <- Mahdiyar> No ! 15:55 <+bridge> [ddnet] <- Mahdiyar> https://cdn.discordapp.com/attachments/293493549758939136/1044264736742711326/Screenshot_2022-11-21_182459.png 15:55 <+bridge> [ddnet] <- Mahdiyar> @Learath2 15:56 <+bridge> [ddnet] Ok, this is an old mod without cmake. So you need to use bam 15:56 <+bridge> [ddnet] <- Mahdiyar> how to install bam? 15:56 <+bridge> [ddnet] <- Mahdiyar> 15:56 <+bridge> [ddnet] <- Mahdiyar> that ? apt install bam 15:56 <+bridge> [ddnet] https://github.com/matricks/bam 15:56 <+bridge> [ddnet] You compile bam yourself too 15:57 <+bridge> [ddnet] <- Mahdiyar> i have 16:00 <+bridge> [ddnet] Ok I don't remember how to use bam though. I think it's something like `bam server-release` 16:01 <+bridge> [ddnet] ChillerDragon: Aren't you biggest bam fan? Help the man 16:06 <+bridge> [ddnet] Help the man build the bot client 16:17 <+bridge> [ddnet] yes it is 16:24 <+bridge> [ddnet] Idea: Add a HUD warning for when player is in /pause looking away and action starts happening f.e (someone hammerhits him). This warning would be optional. Thoughts? 16:26 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1044272522855727164/unknown-8.png 16:30 <+bridge> [ddnet] <- Mahdiyar> ``` 16:30 <+bridge> [ddnet] <- Mahdiyar> root@kinger:/var/www/html/blocker-mod-src-master/DDNet-16.1# cmake .. 16:30 <+bridge> [ddnet] <- Mahdiyar> CMake Error: The source directory "/var/www/html/blocker-mod-src-master" does not appear to contain CMakeLists.txt. 16:30 <+bridge> [ddnet] <- Mahdiyar> Specify --help for usage, or press the help button on the CMake GUI. 16:30 <+bridge> [ddnet] <- Mahdiyar> 16:30 <+bridge> [ddnet] <- Mahdiyar> ``` 16:30 <+bridge> [ddnet] <- Mahdiyar> I used a source that has cmak.. but it gives an error 16:30 <+bridge> [ddnet] <- Mahdiyar> @Learath2 16:32 <+bridge> [ddnet] @- Mahdiyar what repo are you trying to build? 16:33 <+bridge> [ddnet] <- Mahdiyar> Compile DDNet Source 16:33 <+bridge> [ddnet] That's not ddnet though 16:33 <+bridge> [ddnet] Blocker mod src 16:33 <+bridge> [ddnet] <- Mahdiyar> No No 16:34 <+bridge> [ddnet] <- Mahdiyar> This is just a folder that I placed 16:34 <+bridge> [ddnet] <- Mahdiyar> @Nouaa 16:35 <+bridge> [ddnet] Damn try "cmake CMakeLists.txt" 16:44 <+bridge> [ddnet] <- Mahdiyar> i used , errored 😐 16:45 <+bridge> [ddnet] Create a directory next to the cmakelists. Cd into the directory. Do `cmake ..` then do `make` it's not even supposed to be difficult :/ 16:46 <+bridge> [ddnet] And it is written in readme.txt 16:46 <+bridge> [ddnet] :nouis: 17:19 <+bridge> [ddnet] @Learath2 do assertions allow optimizations in c ? 17:19 <+bridge> [ddnet] In rust it allows some 17:21 <+bridge> [ddnet] https://gist.github.com/jFransham/369a86eff00e5f280ed25121454acec1#assert-conditions-beforehand 17:21 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1044286379783360633/image.png 17:22 <+bridge> [ddnet] What flavour of assertions are we talking about? builtin_unreachable is optimized around by both gcc and clang 17:23 <+bridge> [ddnet] So if your assert failures do resolve to a call to unreachable, you will get optimizations 17:24 <+bridge> [ddnet] The teeworlds kind where we just dbg_break as far as I know can't be optimized around 17:26 <+bridge> [ddnet] (I'd guess rust relies on the exact same mechanism and lets LLVM handle these) 17:27 <+bridge> [ddnet] Ah 17:27 <+bridge> [ddnet] Assert macro in rust is like a if check and a panic 17:27 <+bridge> [ddnet] So llvm optimizes that cuz the if condition 17:27 <+bridge> [ddnet] One thing I don't remember is if LTO can handle these nowadays. E.g. I pass an assert that an array is of length n, then I pass it to a library which asserts on it aswell. Do we get to elide that idk 17:37 <+bridge> [ddnet] <- Mahdiyar> [ 43%] Building CXX object CMakeFiles/DDNet.dir/src/game/generated/checksum.cpp.o 17:37 <+bridge> [ddnet] <- Mahdiyar> [ 43%] Linking CXX executable DDNet 17:37 <+bridge> [ddnet] <- Mahdiyar> [ 85%] Built target DDNet 17:37 <+bridge> [ddnet] <- Mahdiyar> [ 85%] Linking CXX executable DDNet-Server 17:37 <+bridge> [ddnet] <- Mahdiyar> [100%] Built target DDNet-Server 17:37 <+bridge> [ddnet] <- Mahdiyar> 17:37 <+bridge> [ddnet] <- Mahdiyar> Completed Where is DDNet-server.exe? 17:37 <+bridge> [ddnet] probably out/build 17:37 <+bridge> [ddnet] or build/ 17:38 <+bridge> [ddnet] Or directory where you started make command 17:38 <+bridge> [ddnet] Or in directory where you started make command 17:38 <+bridge> [ddnet] <- Mahdiyar> It is empty 17:39 <+bridge> [ddnet] Show us 17:39 <+bridge> [ddnet] Directory 17:41 <+bridge> [ddnet] <- Mahdiyar> https://cdn.discordapp.com/attachments/293493549758939136/1044291552022904933/image.png 17:42 <+bridge> [ddnet] <- Mahdiyar> ``` 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 0%] Built target json 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 1%] Built target steam_api 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 1%] Built target mastersrv-shared 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 24%] Built target pnglite 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 24%] Built target engine-shared 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 29%] Built target game-shared 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 30%] Built target config_retrieve 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 31%] Built target config_store 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 32%] Built target dummy_map 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 34%] Built target map_optimize 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 35%] Built target unicode_confusables 17:42 <+bridge> [ddnet] <- Mahdiyar> [ 36%] Built target dilate 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 36%] Built target crapnet 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 37%] Built target uuid 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 39%] Built target fake_server 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 40%] Built target map_convert_07 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 40%] Built target map_extract 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 40%] Built target map_resave 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 41%] Built target map_diff 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 42%] Built target map_replace_image 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 84%] Built target DDNet 17:43 <+bridge> [ddnet] <- Mahdiyar> [ 84%] Built target packetgen 17:43 <+bridge> [ddnet] <- Mahdiyar> [100%] Built target DDNet-Server 17:43 <+bridge> [ddnet] <- Mahdiyar> ``` 17:43 <+bridge> [ddnet] What commands did you run and what is ur OS 17:44 <+bridge> [ddnet] I mean OS where you are building it 17:44 <+bridge> [ddnet] <- Mahdiyar> Linux / ubuntu 17:44 <+bridge> [ddnet] <- Mahdiyar> 17:44 <+bridge> [ddnet] <- Mahdiyar> cd /var/www/html/blocker-mod-src-master/DDNet-16.1 17:44 <+bridge> [ddnet] <- Mahdiyar> mkdir build 17:44 <+bridge> [ddnet] <- Mahdiyar> cmake .. 17:44 <+bridge> [ddnet] <- Mahdiyar> make -j8 17:44 <+bridge> [ddnet] You forgot cd build 17:44 <+bridge> [ddnet] <- Mahdiyar> Linux 17:44 <+bridge> [ddnet] After mkdir 17:45 <+bridge> [ddnet] <- Mahdiyar> try again ? 17:45 <+bridge> [ddnet] Yes 17:45 <+bridge> [ddnet] <- Mahdiyar> Ok 17:47 <+bridge> [ddnet] <- Mahdiyar> i started compile for again 17:47 <+bridge> [ddnet] Wait wtf is inside `blocker-mod-src` and `DDNet-16.1` 17:47 <+bridge> [ddnet] Can you screenshot then too? 17:48 <+bridge> [ddnet] Can you screenshot them too? 17:48 <+bridge> [ddnet] <- Mahdiyar> Sure 17:48 <+bridge> [ddnet] <- Mahdiyar> https://cdn.discordapp.com/attachments/293493549758939136/1044293185343590430/image.png 17:48 <+bridge> [ddnet] I mean directories 17:48 <+bridge> [ddnet] <- Mahdiyar> 100% 17:49 <+bridge> [ddnet] <- Mahdiyar> https://cdn.discordapp.com/attachments/293493549758939136/1044293404022022224/image.png 17:49 <+bridge> [ddnet] <- Mahdiyar> This is now complete 17:49 <+bridge> [ddnet] That file DDNet-Server on the right there is the executable 17:49 <+bridge> [ddnet] On linux executables don't have a special file extension like .exe 17:50 <+bridge> [ddnet] Your project structure is weird tho :justatest: 17:50 <+bridge> [ddnet] <- Mahdiyar> Yes 17:50 <+bridge> [ddnet] <- Mahdiyar> xD 17:52 <+bridge> [ddnet] <- Mahdiyar> Is this project right for Linux? @Learath2 17:55 <+bridge> [ddnet] You built it from linux, so yes, its for linux 17:55 <+bridge> [ddnet] <- Mahdiyar> that's good 17:55 <+bridge> [ddnet] <- Mahdiyar> Thanks for helping 17:55 <+bridge> [ddnet] <- Mahdiyar> @uwu 17:55 <+bridge> [ddnet] <- Mahdiyar> @Learath2 17:55 <+bridge> [ddnet] <- Mahdiyar> @Nouaa 🌹 18:01 <+bridge> [ddnet] ? Why do I bounce more when i open chat but when I dont there is not a bounce at all? :XD: 18:01 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1044296427033071707/chatbug.demo.mp4 18:01 <+bridge> [ddnet] Because 18:02 <+bridge> [ddnet] that doesnt make any sense at all 18:04 <+bridge> [ddnet] new technique dropped :poggers2: 18:05 <+bridge> [ddnet] Yesterday it worked perfectly fine? Weak and strong didnt change 18:09 <+bridge> [ddnet] That is bizarre wtf 18:12 <+bridge> [ddnet] Perhaps stop botting? 18:28 <+bridge> [ddnet] Nice but the thing I like about bash is that it is usually preinstalled so that’s kinda a dealbreaker for me 18:28 <+bridge> [ddnet] (@Ryozuki) 18:31 <+bridge> [ddnet] Nobo 18:33 <+bridge> [ddnet] @noby 18:58 <+bridge> [ddnet] <- Mahdiyar> I want to run DDNet-Server but it doesn't have format! @uwu 18:58 <+bridge> [ddnet] which format 18:59 <+bridge> [ddnet] <- Mahdiyar> I click on DDNet-Server but it doesn't open 18:59 <+bridge> [ddnet] <- Mahdiyar> @uwu 19:06 <+bridge> [ddnet] @heinrich5991 what is a `InputDiffWithoutNew`? 19:23 <+bridge> [ddnet] i bet it's server handling input differently when chat is open 21:55 <+bridge> [ddnet] I've found something a little too unreasonably annoying in gentoo. Container stuff is a little too underbaked 22:06 <+bridge> [ddnet] Xd 22:06 <+bridge> [ddnet] Linux 22:07 <+bridge> [ddnet] ./DDNet-Server 22:07 <+bridge> [ddnet] if it give an error 22:07 <+bridge> [ddnet] Try "chmod +x *" 22:09 <+bridge> [ddnet] What a hell bro 22:09 <+bridge> [ddnet] 61° 22:18 <+bridge> [ddnet] why 22:19 <+bridge> [ddnet] It doesn't have something like containers/common to bring in all the config file examples and docs and stuff, so each container system is left to install their own, which makes it pretty annoying 22:25 <+bridge> [ddnet] what would be the least spaghetti way to access entities such as shields inside CGameTeams? 22:25 <+bridge> [ddnet] its fahrenheit 22:26 <+bridge> [ddnet] with carbonara 22:26 <+bridge> [ddnet] with fork (spoon not recomended) 22:26 <+bridge> [ddnet] with fork (spoon not recommended) 22:29 <+bridge> [ddnet] dunno is there no other way, e.g. in a higher level component? 22:29 <+bridge> [ddnet] 22:29 <+bridge> [ddnet] else just access it over the whatever provides u these entities xd 22:30 <+bridge> [ddnet] What sort of access do you want to other entities? 22:30 <+bridge> [ddnet] what do you try to do? shields seem like gameplay, and CGameTeams manage the teams. I'd guess you should rather approach it from the shields 22:30 <+bridge> [ddnet] if it's gameplay 22:31 <+bridge> [ddnet] I'm implementing a kind of pickup that needs to get reset when a team goes empty 22:31 <+bridge> [ddnet] register from the pickup into the team that it should notify u as soon as it is empty 22:32 <+bridge> [ddnet] or create a new method on entities that is called when a new team is created 22:32 <+bridge> [ddnet] that sounds reasonable 22:32 <+bridge> [ddnet] I think the second one makes a little more sense given the structure we have 22:33 <+bridge> [ddnet] A virtual method on CEntity that is overridden by your new entity 22:33 <+bridge> [ddnet] wouldn't I still need access to entities from CGameTeams for this? 22:33 <+bridge> [ddnet] you could also create a proxy method on whatever you have, gamecontroller, gamecontext, gameworld 22:34 <+bridge> [ddnet] why does the entity even need to exist before the team was created 22:34 <+bridge> [ddnet] 22:35 <+bridge> [ddnet] how are we handling it with smth like doors? 22:35 <+bridge> [ddnet] those unfortunately all exist before the team is created 22:35 <+bridge> [ddnet] We have sth like ResetRoundsomething 22:35 <+bridge> [ddnet] That goes and resets all switches 22:36 <+bridge> [ddnet] well i guess thats the spot to add it then isnt it 22:36 <+bridge> [ddnet] or create a new logic that is better designed xd 22:36 <+bridge> [ddnet] once u touched server code u doomed anyway 22:37 <+bridge> [ddnet] after 2 years someone will ping u and tell ya u changed physics 22:37 <+bridge> [ddnet] Yes, in there you'd do something like `for(auto &e : GameServer()->GameWorld()->Entities() e->OnTeamReset();` 22:37 <+bridge> [ddnet] I don't even know if we expose Entities outside of the gameworld though 22:38 <+bridge> [ddnet] Which might be one more thing you have to add 22:38 <+bridge> [ddnet] One more restart, fingers crossed I didn't miss any other kernel configuration requirements that are written nowhere 22:39 <+bridge> [ddnet] @heinrich5991 seems I can't even teehistorian_dump any file, did we change something? 22:40 <+bridge> [ddnet] teehistorian died and nobody noticed? 22:40 <+bridge> [ddnet] where do you find InputDiffWithoutNew? 22:41 <+bridge> [ddnet] (only access to web interface rn) 22:42 <+bridge> [ddnet] Step 1) Take any(?) (newish maybe?) teehistorian file from the archive 22:42 <+bridge> [ddnet] Step 2) Run teehistorian_dump on it 22:43 <+bridge> [ddnet] ah 22:43 <+bridge> [ddnet] sounds like something that Zwelf might have changed 22:43 <+bridge> [ddnet] I only tested, 5 files, 1 was truncated improperly, I thought that was the issue, but it happened on any other random teehistorian file on ger2 aswell 22:47 <+bridge> [ddnet] oh I see CGameContext has a public m_World, somehow I missed that, I guess I was looking more for a getter function like everything else has 22:47 <+bridge> [ddnet] yea, seems like something that Zwelf might have changed 22:48 <+bridge> [ddnet] it's when we get a an InputDiff without a preceding InputNew, or a InputNew after having already received an InputNew 22:51 <+bridge> [ddnet] yea, here: https://github.com/ddnet/ddnet/commit/b99d8dc2595d0914b9a844dad7b98b0aaedca8a8#diff-36d364171c742e82de9fd14f7a80241d3a7588df2bc27936fa788ba0f7ff7fd5 22:55 <+bridge> [ddnet] seems like libtw2 needs an update 22:56 <+bridge> [ddnet] where is libtw1 22:56 <+bridge> [ddnet] it's teeworlds 🙂 22:56 <+bridge> [ddnet] where is learath1 22:56 <+bridge> [ddnet] so many questions xd 22:58 <+bridge> [ddnet] where's heinrich5990 22:58 <+bridge> [ddnet] I probably shouldn't get started on this ^^ 23:03 <+bridge> [ddnet] Ryozuki 23:03 <+bridge> [ddnet] meh 23:04 <+bridge> [ddnet] Ryozuki0 are you there 23:06 <+bridge> [ddnet] ryozuki is simply already perfect 23:06 <+bridge> [ddnet] it doesnt need versioning 23:07 <+bridge> [ddnet] who gives heinrich discord nitro so he can change his tag number to 1995 23:11 <+bridge> [ddnet] please donate to DDNet instead 23:13 <+bridge> [ddnet] so you can abuse doc comments in rust to have any syntax u want 23:13 <+bridge> [ddnet] ```rust 23:13 <+bridge> [ddnet] use bash_to_rust::btr; 23:13 <+bridge> [ddnet] 23:13 <+bridge> [ddnet] fn main() { 23:13 <+bridge> [ddnet] btr!( 23:13 <+bridge> [ddnet] /** 23:13 <+bridge> [ddnet] echo "hi_chillerdragon" 23:13 <+bridge> [ddnet] # */ 23:13 <+bridge> [ddnet] # if u need */ line has to start with /// 23:13 <+bridge> [ddnet] /// whatever bash s/*/ 23:13 <+bridge> [ddnet] /** 23:13 <+bridge> [ddnet] ls -l 23:13 <+bridge> [ddnet] */ 23:13 <+bridge> [ddnet] ); 23:13 <+bridge> [ddnet] } 23:13 <+bridge> [ddnet] ``` 23:14 <+bridge> [ddnet] 23:14 <+bridge> [ddnet] pretty funny. so u can basically implement any language directly inside rust macros 23:14 <+bridge> [ddnet] 23:14 <+bridge> [ddnet] does it also have a mode where it gives u all tokens unparsed? 23:14 <+bridge> [ddnet] so basically the text as string xd 23:14 <+bridge> [ddnet] anyway i'd say u can claim that u know rust now chillerdragon xd 23:14 <+bridge> [ddnet] just write bash 23:14 <+bridge> [ddnet] I absolutely hate whatever demon company is behind docker 23:15 <+bridge> [ddnet] They seem to have arbitrarily decided that to pull some PUBLIC images, created by open source developers, for their software, requires a log in, not all but some images 23:19 <+bridge> [ddnet] This corporate tinge to the entire containers thing gives me nausea 23:20 <+bridge> [ddnet] podman pog 23:21 <+bridge> [ddnet] podman relies on the same disgusting backends 23:21 <+bridge> [ddnet] yah 23:21 <+bridge> [ddnet] i think 23:21 <+bridge> [ddnet] u can disable a repo 23:21 <+bridge> [ddnet] i had the same as u 23:21 <+bridge> [ddnet] with the login 23:21 <+bridge> [ddnet] but i removed a redirect 23:22 <+bridge> [ddnet] it has 23:22 <+bridge> [ddnet] on the default config 23:22 <+bridge> [ddnet] and just use the google repo 23:22 <+bridge> [ddnet] or smth 23:22 <+bridge> [ddnet] i dont remember 23:22 <+bridge> [ddnet] default config is dumb 23:22 <+bridge> [ddnet] google repo is also shit :pepeW: 23:23 <+bridge> [ddnet] gentoo installing podmans testing registries.conf is also stupid 23:23 <+bridge> [ddnet] ye 23:24 <+bridge> [ddnet] @Learath2 and u know what they block by default? 23:24 <+bridge> [ddnet] the hello world container 23:24 <+bridge> [ddnet] i was like 23:24 <+bridge> [ddnet] wtf is going on 23:24 <+bridge> [ddnet] and i had to edit the config xd 23:24 <+bridge> [ddnet] I honestly got brain damage from installing this stuff 23:24 <+bridge> [ddnet] ye containers suck 23:24 <+bridge> [ddnet] use nixos 23:24 <+bridge> [ddnet] for servers 23:24 <+bridge> [ddnet] Literally made by silicon valley, for silicon valley 23:26 <+bridge> [ddnet] https://gamesdonequick.com/schedule#current 23:26 <+bridge> [ddnet] pog 23:26 <+bridge> [ddnet] agdq schedule 23:26 <+bridge> [ddnet] 7:13 PM Terraria Haboo 0:15:00 23:26 <+bridge> [ddnet] 1:50:00 Moon Lord no major abuses — PC 23:26 <+bridge> [ddnet] i need to watch this 23:27 <+bridge> [ddnet] Dude it's in like 2 months xd 23:27 <+bridge> [ddnet] I only like races. Competitive best 23:27 <+bridge> [ddnet] The arch default registries.conf is also pretty unhelpful but atleast it's not completely wrong 23:29 <+bridge> [ddnet] What are u even trying the whole day to encounter such situations 23:29 <+bridge> [ddnet] speedruns are competitive 23:30 <+bridge> [ddnet] Yeah but it's more fun live 23:30 <+bridge> [ddnet] the speedrun is live 23:30 <+bridge> [ddnet] in agdq 23:30 <+bridge> [ddnet] Bro 23:30 <+bridge> [ddnet] U know what i mean 23:30 <+bridge> [ddnet] no 23:30 <+bridge> [ddnet] im confused 23:30 <+bridge> [ddnet] I like when 4p play there 23:30 <+bridge> [ddnet] ah 23:30 <+bridge> [ddnet] Against each other 23:30 <+bridge> [ddnet] i dislike those the most 23:30 <+bridge> [ddnet] xd 23:31 <+bridge> [ddnet] unless 23:31 <+bridge> [ddnet] its tetris 23:31 <+bridge> [ddnet] but they dont do that anymore 23:31 <+bridge> [ddnet] Lol 23:34 <+bridge> [ddnet] me? 23:40 <+bridge> [ddnet] Yes 23:41 <+bridge> [ddnet] I'm literally doing the tamest docker task, trying to compose a mariadb nginx php stack 23:41 <+bridge> [ddnet] that sounds like not the tamest thing 23:41 <+bridge> [ddnet] it's running more than one container 23:42 <+bridge> [ddnet] It fails on running the first single container, dw 23:42 <+bridge> [ddnet] ah 23:44 <+bridge> [ddnet] Discord mapping 79 entire gigabytes of address space is quite funny 😛 23:45 <+bridge> [ddnet] haskell maps 1 TiB by default, I think