01:50 <+bridge> /lock toggles but /unlock always sets it to unlock. can we get a /forcelock or something to always lock the team 03:08 <+bridge> !!! Enjoy the most profitable financial market (crypto market ) as you get 100% profit...and you can also make up to $100k or more in 3days send me a private message and ask me HOW 06:35 <+bridge> /lock 1 06:43 <+bridge> sweet 08:52 <+ChillerDragon> fstd: elo 09:25 <+bridge> we tried loading ninja zcatch on ddnet zcatch and the server disappeared from existence 09:25 <+bridge> gone 09:25 <+bridge> poof 09:27 <+bridge> It transformed into a 0.5 server 09:58 <+bridge> Xd 10:03 <+bridge> https://docs.modular.com/mojo/notebooks/BoolMLIR.html 10:04 <+bridge> ops wrong link 10:04 <+bridge> https://blog.rust-lang.org/2023/05/09/Updating-musl-targets.html 10:19 <+ChillerDragon> hrhr secret python enjoyer 10:20 <+ChillerDragon> ffs coding is the worst how am i supposed to debug shit if my debug print statements have bugs 10:55 <+bridge> __CARGO_FIX_YOLO=1 10:55 <+bridge> Nice naming xd 11:01 <+bridge> what 11:06 <+bridge> Man that auto fixing tool is really buggy xD 11:28 <+ChillerDragon> wotefek autorust? 11:30 <+bridge> I just wanted to fix some Pascalcase to snake case. 11:30 <+bridge> 11:30 <+bridge> But it only renames the declaration of the variable not later usages xD. Completely useless tool for this case 11:30 <+ChillerDragon> xd 11:30 <+bridge> Currently trying with nightly. I can't imagine nobody ever tested this xD 11:31 <+ChillerDragon> if you write good code you do not need to test 11:31 <+ChillerDragon> if you do not test you will never know its bad 11:31 <+ChillerDragon> ez 11:31 <+bridge> Ez 11:31 <+bridge> what tool? 11:32 <+ChillerDragon> C A R G O F I X Y O L O 11:32 <+ChillerDragon> pog pog 11:32 <+bridge> Clippy fix or cargo fix. They all do the same bug 11:32 <+bridge> ah 11:32 <+ChillerDragon> did u try running this first? ``clippy fix --self`` 11:33 <+bridge> Trollodragores 11:37 < jstar_> chillerdragon: i have a new way of communicating. we make a github comment, and then react and remove the reaction again so we have morse code. You like? 12:03 <+ChillerDragon> xd 12:03 <+ChillerDragon> do i look like i can speak morse code? 12:04 <+ChillerDragon> i wonder if gh keeps logs of reaction addition and removal 12:09 <+bridge> why do windows build instructions have you generate with the cmake gui and open a solution 12:09 <+bridge> instead of opening as a cmake project 12:09 <+bridge> good question 12:09 <+bridge> should maybe be updated 12:09 <+bridge> should be updated 12:19 <+bridge> Mostly because none of us use windows so no one updated it ever 12:38 <+ChillerDragon> og robstinger use big windowser 12:49 <+ChillerDragon> am i stupid or is there no clean way to read out setting values via fifo? 12:49 <+bridge> You aren't stupid 12:50 <+ChillerDragon> shit 12:50 <+ChillerDragon> so i gotta check the logfile and hope i grep the correct line 12:50 <+ChillerDragon> meh 13:30 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105819085662605422/IMG_3079.png 13:30 <+bridge> :justatest: 13:48 <+ChillerDragon> discord moment 16:02 <+bridge> hello! 16:02 <+bridge> https://www.githubstatus.com/ 16:02 <+bridge> yay! github incident today too 16:21 <+bridge> https://git.edgarluque.com/ddnet.git/stats/?period=y&ofs=-1 16:21 <+bridge> cgit got better stats than github 16:21 <+bridge> they load instant 16:21 <+bridge> xd 16:22 <+bridge> is it cached maybe? 16:22 <+bridge> github also loads fast when it's cached 16:22 <+bridge> i dont have caching enabled on cgit rn 16:23 <+bridge> sadly i used different emails over the course of my contribs, so my edg-l on github doesnt count all 16:23 <+bridge> this can be solved with a email map file, but i wont bother ddnet with that kek 16:23 <+bridge> But u have one desktop PC for one project and one user xd 16:23 <+bridge> you can bother ddnet with that if you want 16:23 <+bridge> https://git-scm.com/docs/gitmailmap 16:24 <+bridge> add the file and make a PR 🙂 16:24 <+bridge> rly? 16:24 <+bridge> pog 16:24 <+bridge> wdym? 16:25 <+bridge> For stats 16:29 <+bridge> now i just gotta figure out my emailks 16:29 <+bridge> now i just gotta figure out my emails 16:33 <+bridge> @heinrich5991 u also have some commits under another email 16:33 <+bridge> 772 on ur main, 44 on that 16:34 <+bridge> git shortlog -sne | rg -i "(heinrich)" 16:34 <+bridge> (i wont post the email here) 16:34 <+bridge> do u want to map it? 16:34 <+bridge> DM me the mails pls 16:34 <+bridge> DM me the mail addresses pls 16:35 <+bridge> And me? Xd 16:35 <+bridge> I might have one without email 16:35 <+bridge> this works if u used common names 16:36 <+bridge> ye, please add that 16:36 <+bridge> whats ur gh name @Jupeyy_Keks 16:36 <+bridge> Jupeyy 16:38 <+bridge> oh 16:38 <+bridge> u got 3 emails 16:39 <+bridge> Wtf xD 16:39 <+bridge> 😠 lie 16:39 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105866631063801986/image.png 16:39 <+bridge> Ah it's identities, then it makes sense yeah xd 16:39 <+bridge> tell me ur main in dm 16:39 <+bridge> and i map 16:39 <+bridge> Two of them are PC names 16:40 <+bridge> you need to add the `*.hpp` glob to the `set_src` function in `CMakeLists.txt` 16:42 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105867359752814593/image.png 16:42 <+bridge> i fixed with that but weird when i did it from archlinux this problem did't comeup 16:43 <+bridge> cmake only notices this when you regenerate the build files 16:43 <+bridge> make sense 16:46 <+bridge> why should exist this check? 16:46 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105868452423549018/image.png 16:47 <+bridge> so that we have a canonical ordering in the `CMakeLists.txt` 16:48 <+bridge> why are you globbing >_> 16:48 <+bridge> it's just a warning, you can ignore it if you only make changes for yourself 16:48 <+bridge> globbing is discouraged 16:48 <+bridge> glooping 16:48 <+bridge> the globbing is only used to display a warning that your manually listed files are out-of-date 16:48 <+bridge> glorping 16:48 <+bridge> good 16:48 <+bridge> i was adding that 16:48 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105869073604169828/image.png 16:49 <+bridge> so i added hpp there 16:49 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105869175597056050/image.png 16:49 <+bridge> is that a library? 16:49 <+bridge> that there 16:49 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105869205762473985/image.png 16:49 <+bridge> json.hpp yes 16:49 <+bridge> you probably should not put it there 16:49 <+bridge> i know but im nub 16:50 <+bridge> so what 16:50 <+bridge> move it 16:50 <+bridge> ddnet-libs? 16:50 <+bridge> also i'm almost positive ddnet already has json parsing 16:50 <+bridge> @Learath2 u there 16:50 <+bridge> i saw something but idk thing it have the methods that i need 16:50 <+bridge> you need to move it up 16:50 <+bridge> voting.h must come after kehub/ 16:51 <+bridge> that's correct. but if they want to experiment with another JSON library, that's fine, too 16:51 <+bridge> seems pointless but it's not my project xd 16:51 <+bridge> im just advising 16:51 <+bridge> I could use the one that already exists if I understand how ahaha 16:51 <+bridge> are you trying to write or read json? 16:52 <+bridge> sorry, no j, k, x in my alphabet xd 16:52 <+bridge> abcdefghijklmnopqrstuvwxyz 16:52 <+bridge> there ya go 16:52 <+bridge> ``` 16:52 <+bridge> using json = nlohmann::json; 16:52 <+bridge> 16:52 <+bridge> static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) 16:52 <+bridge> { 16:52 <+bridge> ((std::string*)userp)->append((char*)contents, size * nmemb); 16:52 <+bridge> return size * nmemb; 16:52 <+bridge> } 16:52 <+bridge> 16:52 <+bridge> json KeHubTest::getJoke() { 16:52 <+bridge> 16:53 <+bridge> CURL *curl; 16:53 <+bridge> CURLcode res; 16:53 <+bridge> std::string response; 16:53 <+bridge> json joke; 16:53 <+bridge> 16:53 <+bridge> curl = curl_easy_init(); 16:53 <+bridge> if(curl) { 16:53 <+bridge> curl_easy_setopt(curl, CURLOPT_URL, "https://official-joke-api.appspot.com/random_joke"); 16:53 <+bridge> curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback); 16:53 <+bridge> curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response); 16:53 <+ChillerDragon> https://zillyhuhn.com/cs/.1683730396.png 16:53 <+bridge> res = curl_easy_perform(curl); 16:53 <+bridge> 16:53 <+bridge> if(res != CURLE_OK) { 16:53 <+bridge> std::cerr << "curl_easy_perform() failed: " << curl_easy_strerror(res) << std::endl; 16:53 <+bridge> curl_easy_cleanup(curl); 16:53 <+ChillerDragon> what a random list of names 16:53 <+bridge> return joke; 16:53 <+bridge> } 16:53 <+bridge> 16:53 <+bridge> curl_easy_cleanup(curl); 16:53 <+bridge> } 16:53 <+bridge> so reading 16:53 <+bridge> also no y and no w xd 16:53 <+bridge> your nick has a k though :p 16:53 <+bridge> im british 16:53 <+bridge> what is it ChillerDragon 16:54 <+ChillerDragon> https://git.edgarluque.com/ddnet/stats/ 16:54 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105870378909323376/The-Italian-Alphabet.png 16:54 <+bridge> ck 16:55 <+bridge> whats wrong chiller 16:55 <+bridge> there's a HTTP class and it can give you back a JSON object 16:55 <+bridge> oh oh, ah yes maybe the one to get the servers? 16:55 <+bridge> on that object you can then say `Response["setup"]` to get the one string, and `Response["punchline"]` for the other one 16:56 <+bridge> yes 16:56 <+ChillerDragon> idk ryo seems like a random list of names to me 16:56 <+ChillerDragon> where is everyone else 16:56 <+bridge> e.g. search for the string "https://info.ddnet.org/info" in the source code 16:56 <+bridge> #include 16:56 <+bridge> that? 16:57 <+ChillerDragon> I also made a lot of commits under my 2nd email dennis@felsin9.de can you merge the stats for ddnet please so they get counted for my ChillerDragon name 16:58 <+bridge> chiller its commits from that time 16:58 <+bridge> only whoever made commits appears 16:58 <+bridge> check the right side for filters 16:58 <+ChillerDragon> thats not a lot 16:58 <+ChillerDragon> i expected it to be more contributors 16:58 <+bridge> its robyt carrying 16:58 <+bridge> I'm aimlessly walking outside in hopes of unlearning C++. What did you need? 16:58 <+bridge> i wanna get back to dev in ddnet but hard with life 16:59 <+bridge> @Learath2 wanted to know if u also want ur old messed mails mapped to ur new 16:59 <+bridge> so contribs are counted nice 16:59 <+bridge> (i did so in pr already tho) 16:59 <+bridge> . 16:59 <+ChillerDragon> lerato is such a mood xd 16:59 <+bridge> also u troll cuz u use Learath instead of Learath2 17:00 <+ChillerDragon> xd 17:00 <+bridge> are u trying to fake the first learath? 17:00 <+bridge> :justatest: 17:00 <+ChillerDragon> Nick B 17:00 <+ChillerDragon> https://github.com/Learath 17:00 <+ChillerDragon> the one and only og Learath 17:00 <+bridge> well he uses C 17:01 <+bridge> Maybe gimme my 2 in the mailmap? 17:01 <+bridge> wdym by this 17:01 <+bridge> Didn't you map all of them to just Learath? 17:01 <+bridge> in the pr i mapped ur old name/emails to the name/email with most contribs 17:01 <+bridge> which is the first in the pr 17:02 <+bridge> well its the left side xd 17:02 <+ChillerDragon> where is the social media aspect of cgit 17:02 <+ChillerDragon> no comments, likes, subsribes? 17:02 <+bridge> there isnt 17:02 <+bridge> old git was through email 17:02 <+bridge> u send a email patch 17:02 <+bridge> bruh 😦 17:02 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105872557002993775/image.png 17:02 <+ChillerDragon> so i send mail with emotes 17:02 <+ChillerDragon> if i like the code 17:03 <+bridge> xd 17:03 <+bridge> Oh, so I did most my commits with just Learath? That's sadge 17:03 <+ChillerDragon> ryo then u need a public mailing list with archive etc like the kernel 17:03 <+bridge> I forgot my own 2 😭 17:03 <+bridge> xd 17:03 <+ChillerDragon> nob 17:03 <+bridge> i can remap to Learath2 17:03 <+bridge> if u want 17:04 <+bridge> u can check with git shortlog -sne | rg -i "(learath)" 17:04 <+ChillerDragon> No such command rg did you mean grep written in C? 17:04 <+bridge> Also btw deen was consistent enough that he doesnt need any mapped? Wow 17:04 <+bridge> ripgrep 17:04 <+bridge> rust grep 17:04 <+ChillerDragon> !rust grep 17:04 < chillerbot> @Ryozuki 17:04 <+bridge> oh 17:04 <+bridge> ye 17:04 <+bridge> deen also needs mapping 17:04 <+bridge> xd 17:05 <+bridge> you know what i nees from mingw? 17:06 <+bridge> I only need mapping because github used my other email 😭 17:07 <+bridge> because i thing that this error become from a bad installation 17:07 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105873648071479416/image.png 17:08 <+bridge> ok force pushed 17:08 <+bridge> are these compiler errors or IDE errors? 17:08 <+bridge> wait maybe he wants the name and not def 17:08 <+bridge> need to ask 17:08 <+bridge> how to find most recent commit of someone 17:09 <+bridge> compiler 17:09 <+bridge> why does it say "squiggles disabled for this translation unit"? 17:09 <+bridge> that sounds like some IDE stuff 17:10 <+bridge> poor vs code 17:10 <+bridge> ok he is using his full name lately 17:10 <+bridge> ill change 17:10 <+bridge> idk after the compile it gave that 17:10 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105874538295734393/image.png 17:11 <+bridge> can you give us the start of the "output" tab instead? 17:11 <+bridge> it'd also be nice if you could paste the text as text instead of images 17:12 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105874903875465297/image.png 17:12 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105874904223588392/image.png 17:12 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105874904512999485/image.png 17:12 <+bridge> oh xd 17:12 <+bridge> wait 17:12 <+bridge> Learath → Learath2 maybe? 17:12 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105874984825540658/message.txt 17:12 <+bridge> @Learath2 ? 17:13 <+bridge> well i changed it 17:13 <+bridge> probs yes 17:13 <+bridge> xd 17:13 <+bridge> ``` 17:14 <+bridge> [build] In file included from D:\Projects\KeHub\src\engine\gfx\image_manipulation.cpp:2:0: 17:14 <+bridge> [build] D:/Projects/KeHub/src/base/math.h:10:12: error: 'std::clamp' has not been declared 17:14 <+bridge> [build] using std::clamp; 17:14 <+bridge> [build] ^~~~~ 17:14 <+bridge> ``` 17:14 <+bridge> this looks bad 17:14 <+bridge> yes 17:14 <+bridge> std 17:14 <+bridge> mhhh 17:14 <+bridge> default library missing? 17:14 <+ChillerDragon> uhm could i request the deletion of a rank? xd 17:14 <+bridge> @Patiga do u want ur emails remapped 17:14 <+ChillerDragon> rus server Multeasymap name ChillerDragon tim1 15min pls delete ._. 17:15 <+bridge> maybe you compile with an old standard? 17:16 <+bridge> i just reset the pc and downloaded the latest version theoretically 17:16 <+bridge> are we rewriting the history? o.o 17:16 <+bridge> no 17:16 <+bridge> this doesnt rewrite the history 17:16 <+bridge> huh, interesting 17:16 <+bridge> it tells all git commands to replace old emails with this when displaying 17:16 <+bridge> and github shows proper contribs 17:16 <+bridge> could you write me which email addresses of me are in there? 17:16 <+bridge> u got a old gmail probs 17:16 <+bridge> ye 17:17 <+bridge> its common for ppl to mess their mails 17:17 <+bridge> look at 17:17 <+bridge> xd 17:18 <+ChillerDragon> @heinrich5991 can u drop some ddnet tables for me? :D 17:18 <+ChillerDragon> https://ddstats.org/ddnet-a7802a0?sql=select+rowid%2C+Map%2C+Name%2C+Time%2C+Timestamp%2C+Server+from+race%0D%0Awhere+Name+%3D+%22ChillerDragon%22%0D%0Aand+Map+%3D+%22Multeasymap%22%0D%0Aand+Server+%3D+%22RUS%22%0D%0Aand+rowid+%3D+21465714%0D%0Aorder+by+rowid+limit+101%0D%0A 17:18 <+bridge> who made the discord sdk integration? 17:18 <+ChillerDragon> it would be amazing if this was deleted 17:18 <+bridge> @Ryozuki was it you? or @heinrich5991 ? 17:18 <+bridge> @heinrich5991 wtf last gcc version is 11 17:19 <+bridge> im using 6.3.0 17:19 <+bridge> 😦 17:19 <+bridge> i think i started it (?) but heinrich finished it 17:19 <+bridge> or idk tbh 17:19 <+bridge> something along these lines maybe 17:19 <+bridge> ok, do we do smth special with the sdk? 17:19 <+bridge> like what control do we have 17:19 <+bridge> can we prevent discord from hooking into our game? 17:20 <+bridge> Seems no amount of sunlight and grass touching will delete a decade of using C++11 17:20 <+bridge> xdd 17:20 <+bridge> ok pushed 17:20 <+bridge> pr is ready i guess 17:21 <+bridge> what do you mean, ChillerDragon? 17:21 <+ChillerDragon> delete the row 17:22 <+ChillerDragon> https://ddstats.org/ddnet-a7802a0?sql=select+rowid%2C+Map%2C+Name%2C+Time%2C+Timestamp%2C+Server+from+race%0D%0Awhere+Name+%3D+%22ChillerDragon%22%0D%0Aand+Map+%3D+%22Multeasymap%22%0D%0Aand+Server+%3D+%22RUS%22%0D%0Aand+rowid+%3D+21465714%0D%0Aorder+by+rowid+limit+101%0D%0A 17:22 <+ChillerDragon> please :) 17:22 <+bridge> rowid is a sqlite thing btw 17:23 <+ChillerDragon> o 17:23 <+ChillerDragon> its using sqlite? 17:23 <+bridge> the web ye 17:23 <+ChillerDragon> so requesting deletion of that id deleted another id? xd 17:23 <+bridge> importing mysql is too slow 17:23 <+ChillerDragon> what a trap 17:23 <+bridge> That part is separate, gamesdk doesn't do much in that aspect 17:24 <+bridge> why can discord even do that so easily xd 17:24 <+bridge> it hooks into random processes 17:24 <+bridge> All overlays do it 17:24 <+bridge> just like teamspeak3's overwolf etc. 17:24 <+ChillerDragon> spyware 17:24 <+bridge> or steam's overlay 17:24 <+bridge> steam overlay is atleast stable xD 17:24 <+ChillerDragon> is it possible to request ranks for deletion even? 17:24 <+bridge> not really, ChillerDragon 17:24 <+bridge> discord had like 2 bugs now already 17:24 <+ChillerDragon> :( 17:24 <+ChillerDragon> i was told milk did that 17:25 <+bridge> Discord one is pretty stable too, it seems it's opengl drivers that are unstable 17:25 <+ChillerDragon> they say in old legends 17:25 <+bridge> we can basically only ask the players to disable discord integration if it crashes for them 17:25 <+bridge> i assume no dev here except robyte has nvidia and windows? 17:25 <+ChillerDragon> i got nvidia 17:25 <+bridge> i got windows dualboot 17:25 <+bridge> I have nvidia and can boot into windows 17:25 <+ChillerDragon> but would u? 17:25 <+bridge> but u wont force me to use it! 17:25 <+bridge> i'd like to know if it happens for any dev too 17:25 <+bridge> the crashes lately in #bugs 17:25 <+bridge> Never had a crash with discord and ddnet fwiw 17:25 <+bridge> they all on latest nvidia driver 17:26 <+ChillerDragon> i dont feel like waiting 10min for windows to boot 17:26 <+bridge> they just need to upgrade to a 4090 17:26 <+bridge> I can try tonight 17:26 <+bridge> that's true yes xdd 17:26 <+ChillerDragon> cmn its a 15min rank on multimap 17:26 <+ChillerDragon> just wipe it .-. 17:27 <+ChillerDragon> it doesnt have any side effects does it? 17:27 <+bridge> it does 17:27 <+bridge> others asking for the same 17:27 <+bridge> cant prove u are u 17:27 <+ChillerDragon> its a 15min rank on multimap on the name ChillerDragon 17:27 <+ChillerDragon> nobody will miss it 17:27 <+bridge> but ryo is right 17:28 <+ChillerDragon> yes he is 17:28 <+bridge> i know its cuz i use rust (joke dont kill me) 17:30 <+bridge> oh deen merged the pr 17:30 <+bridge> pog 17:30 <+ChillerDragon> @deen do you feel comfortable deleting a rank for me? :) 17:31 <+bridge> oof 17:31 <+bridge> github actions failing randomly 17:31 <+bridge> why do you want to have it removed? 17:31 <+bridge> cuz github is stable 17:32 <+ChillerDragon> @heinrich5991 it blocks the next slower rank which i would prefer to show in the scoreboard because it has blaze it 420 in it 17:32 <+bridge> meh, let's not do this 17:32 <+bridge> then some troll will finish with a shorter time to annoy you 17:32 <+ChillerDragon> ._. 17:32 <+bridge> and then it's work for us again 17:32 <+ChillerDragon> yes 17:33 <+ChillerDragon> but it didnt happen in forever 17:33 <+ChillerDragon> and nobody knows 17:33 <+bridge> chiller finish the map in 4:20 17:33 <+ChillerDragon> omg ryo xd 17:33 <+ChillerDragon> do i look like pro 17:33 <+bridge> no 17:33 <+bridge> u only afk 17:33 <+ChillerDragon> xd 17:35 <+bridge> the mailmap is totally not a plot from me to get into top #9 contribs 17:35 <+bridge> my rightful place 17:35 <+ChillerDragon> veri sad 17:36 <+bridge> top 8 achtually 17:36 <+bridge> :bluekitty: 17:36 <+bridge> @heinrich5991 i reinstalled the compiler now is the last version but before i installed also rust and visual studio code appear xd 17:36 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105881143452119122/image.png 17:38 <+bridge> but will it even help for github stat page 17:38 <+bridge> i think it is smart enough 17:38 <+bridge> it will 17:38 <+bridge> i have 100 commits not counted rn 17:40 <+bridge> it would count the other emails if i still had them associated 17:40 <+bridge> in the gh acc 17:41 <+bridge> I don't understand the question 17:42 <+bridge> yes sorry 17:43 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105882689338364044/image.png 17:43 <+bridge> i changed the settings.json of vscode but this dump use the old conf 17:46 <+bridge> I have little experience with visual studio code 😦 17:47 <+bridge> have you tried visual studio? ^^ 17:47 <+bridge> you seem to have it installed 17:49 <+bridge> just remove all .vscode dirs 17:49 <+bridge> remove all cache 17:49 <+bridge> u dont need them 17:49 <+bridge> open vscode workspace in other/vscode 17:49 <+bridge> i don't feel it 17:50 <+bridge> ? 17:50 <+bridge> in ddnet source 17:50 <+bridge> there is other/vscode 17:51 <+bridge> oh shit 17:52 <+bridge> ok done 17:52 <+bridge> now? 17:52 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105885180641677393/image.png 17:52 <+bridge> select mingw as kit 17:53 <+bridge> gcc 17:53 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105885253953933482/image.png 17:53 <+bridge> i code in vs code and compile is just vs 17:53 <+bridge> dont use that one 17:53 <+bridge> use gcc 12 17:53 <+bridge> the other requires u to install all stuff from README 17:53 <+bridge> i code in vs code and compile in just vs 17:54 <+bridge> me too no? 17:54 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105885522213216377/image.png 17:54 <+bridge> click this and select gcc12 17:54 <+bridge> i selected this 12 17:54 <+bridge> and this appeared 17:54 <+bridge> then open msys2 shell and do 17:54 <+bridge> pacman -S ninja-build 17:55 <+bridge> u also dont have make installed apparently 17:55 <+bridge> so install either of them 17:55 <+bridge> not found 17:55 <+bridge> then only ninja 17:55 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105885926024028341/image.png 17:55 <+bridge> i have a video on my yt channel i regret 17:56 <+bridge> i had my time i thought go was good 17:56 <+bridge> O.O 17:56 <+bridge> https://www.youtube.com/watch?v=jn4FwvmA6uI 17:56 <+bridge> cmake != make 17:56 <+bridge> Here is the list I came up with when compiling ddnet 17:56 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105885987659333734/image.png 17:56 <+bridge> a 17:56 <+bridge> With ucrt64 that is, didn't try the other toolkits 17:56 <+bridge> mingw64 shell 17:57 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105886260872089712/image.png 17:57 <+bridge> only ninja 17:57 <+bridge> --build 17:57 <+bridge> xd 17:57 <+bridge> oh 17:57 <+bridge> was mb 17:57 <+bridge> if that also doesnt work 17:57 <+bridge> mingw-w64-ninja 17:57 <+bridge> You are not in the directory either 17:57 <+bridge> pacman -S ninja 17:57 <+bridge> resolving dependencies... 17:57 <+bridge> looking for conflicting packages... 17:57 <+bridge> 17:57 <+bridge> Packages (1) ninja-1.11.1-1 17:57 <+bridge> 17:58 <+bridge> Total Download Size: 0.14 MiB 17:58 <+bridge> Total Installed Size: 0.65 MiB 17:58 <+bridge> 17:58 <+bridge> :: Proceed with installation? [Y/n] y 17:58 <+bridge> :: Retrieving packages... 17:58 <+bridge> ninja-1.11.1-1-x86_64 147.8 KiB 232 KiB/s 00:01 [###############################] 100% 17:58 <+bridge> (1/1) checking keys in keyring [###############################] 100% 17:58 <+bridge> (1/1) checking package integrity [###############################] 100% 17:58 <+bridge> (1/1) loading package files [###############################] 100% 17:58 <+bridge> (1/1) checking for file conflicts [###############################] 100% 17:58 <+bridge> (1/1) checking available disk space [###############################] 100% 17:58 <+bridge> :: Processing package changes... 17:58 <+bridge> (1/1) installing ninja [###############################] 100% 17:58 <+bridge> Optional dependencies for ninja 17:58 <+bridge> ninja-vim: ninja syntax support for vim 17:58 <+bridge> ninja-emacs: ninja mode for emacs 17:58 <+bridge> nice 17:58 <+bridge> i thik thats good xd 17:58 <+bridge> now go into vscode again 17:58 <+bridge> i think thats good xd 17:58 <+bridge> press f7 17:58 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105886596575805522/image.png 17:59 <+bridge> maybe i know 17:59 <+bridge> it fails bcs of the cmake generator 17:59 <+bridge> did u remove all custom vscode config that u had before? 17:59 <+bridge> well i dunno 18:00 <+bridge> Do you have your mingw tools in your path btw? 18:00 <+bridge> maybe simply restart vscode? 18:00 <+bridge> It won't work otherwise 18:00 <+bridge> it finds the compiler 18:00 <+bridge> done 18:01 <+bridge> Open the terminal in vscode, check `where gcc.exe` 18:01 <+bridge> im confuse 18:01 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105887339764527144/image.png 18:01 <+bridge> wtf 18:01 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105887355157627062/message.txt 18:01 <+bridge> nice 18:02 <+bridge> why is the mingw even called ucrt? 18:03 <+bridge> exactly 18:03 <+bridge> wtf 18:03 <+bridge> it's the new toolchain 18:03 <+bridge> https://www.msys2.org/docs/environments/ 18:03 <+bridge> Universal C RunTime 18:03 <+bridge> vscode reponend [variant] Loaded new set of variants 18:03 <+bridge> [kit] Successfully loaded 5 kits from C:\Users\kio\AppData\Local\CMakeTools\cmake-tools-kits.json 18:03 <+bridge> [kit] Successfully loaded 2 kits from d:\Projects\ddnet/other/vscode/ddnet-cmake-tools-kits.json 18:03 <+bridge> [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --version 18:03 <+bridge> [proc] Executing command: D:\msys64\ucrt64\bin\gcc.exe -v 18:03 <+bridge> [proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT 18:03 <+bridge> [proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT 18:03 <+bridge> [proc] The command: make --version failed with error: Error: spawn make ENOENT 18:03 <+bridge> [cmakefileapi-driver] Removing d:/Projects/ddnet/build/CMakeCache.txt 18:03 <+bridge> [main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found. 18:03 <+bridge> [main] Configuring project: ddnet 18:03 <+bridge> [proc] Executing command: D:\msys64\ucrt64\bin\gcc.exe -v 18:03 <+bridge> [proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT 18:03 <+bridge> [proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT 18:03 <+bridge> [proc] The command: make --version failed with error: Error: spawn make ENOENT 18:03 <+bridge> [main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found. 18:03 <+bridge> [main] Configuring project: ddnet 18:03 <+bridge> [proc] Executing command: D:\msys64\ucrt64\bin\gcc.exe -v 18:03 <+bridge> [proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT 18:04 <+bridge> [proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT 18:04 <+bridge> [proc] The command: make --version failed with error: Error: spawn make ENOENT 18:04 <+bridge> [main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found. 18:04 <+bridge> [proc] Executing command: D:\msys64\ucrt64\bin\gcc.exe -v 18:04 <+bridge> [proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT 18:04 <+bridge> [proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT 18:04 <+bridge> [proc] The command: make --version failed with error: Error: spawn make ENOENT 18:04 <+bridge> [main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found. 18:04 <+bridge> did they fix the c99 bugs in it? 18:04 <+bridge> ucrt64 is the one that uses ucrt instead of msvcrt of the olden mingw 18:04 <+bridge> where do I find the source code? 18:04 <+bridge> dunno try 18:04 <+bridge> pacman -S mingw-w64-ucrt-x86_64-ninja 18:04 <+bridge> in the shell 18:04 <+bridge> which 18:04 <+bridge> mingw shell 18:04 <+bridge> done 18:05 <+bridge> now try again xd 18:05 <+bridge> that explains why @Chairn on dead win7 had the bugs with printf 18:05 <+bridge> while on win10 they were gone 18:05 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105888415939051520/message.txt 18:05 <+bridge> bcs ucrt is shipped with win10 18:06 <+bridge> its old and unfinished https://github.com/edg-l/teeworlds-master-server 18:06 <+bridge> Can you check your Path? 18:06 <+bridge> i dont use go anymore 18:06 <+bridge> just unisntall mingw and try again xddd 18:06 <+bridge> it was so ez for me 18:07 <+bridge> u probs disabled some option 18:07 <+bridge> that said install mingw in PATH or smth 18:10 <+bridge> idk now something worked 18:10 <+bridge> but 18:10 <+bridge> no ddnet.exe generated 18:10 <+bridge> whats the error 18:10 <+bridge> ok thats 18:10 <+bridge> [build] [2/4 50% :: 0.536] Generating src/game/generated/checksum.cpp 18:10 <+bridge> [build] [3/4 75% :: 1.280] Building CXX object CMakeFiles/game-client.dir/src/game/generated/checksum.cpp.obj 18:10 <+bridge> [build] [4/4 100% :: 7.699] Linking CXX executable DDNet.exe 18:10 <+bridge> [build] FAILED: DDNet.exe 18:10 <+bridge> [build] cmd.exe /C "cd . && D:\msys64\ucrt64\bin\g++.exe -g -mwindows @CMakeFiles\game-client.rsp -o DDNet.exe -Wl,--out-implib,libDDNet.dll.a -Wl,--major-image-version,0,--minor-image-version,0 && cd ." 18:10 <+bridge> [build] D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find debug/libddnet_engine_shared.a: No such file or directory 18:10 <+bridge> [build] collect2.exe: error: ld returned 1 exit status 18:10 <+bridge> [build] ninja: build stopped: subcommand failed. 18:10 <+bridge> [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build d:/Projects/KeHub/build --config Debug --target game-client -- exited with code: 1 18:10 <+bridge> [driver] Build completed: 00:00:09.865 18:10 <+bridge> [build] Build finished with exit code 1 18:10 <+bridge> thats the rust bridge 18:10 <+bridge> I smell missing cargo 18:10 <+bridge> im out again xd 18:11 <+bridge> i have cargo 18:11 <+bridge> in the vscode command pallette do cmake delete cache and reconfiguire 18:11 <+bridge> reconfigure* 18:12 <+bridge> done my love 18:12 <+bridge> waiting 18:13 <+bridge> @kio are u trying to compile since 2 months already? 18:13 <+bridge> yes 18:13 <+bridge> lmao 18:13 <+bridge> just install linux bro, no more trouble in ur life 18:14 <+bridge> yes 18:14 <+bridge> i just switched yesterday xd 18:14 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105890592233369621/message.txt 18:14 <+bridge> same i thing 18:15 <+bridge> > [build] [92/202 38% :: 9.840] Generating debug/libddnet_engine_shared.a 18:15 <+bridge> > [build] Finished dev [unoptimized + debuginfo] target(s) in 0.12s 18:15 <+bridge> @heinrich5991 any idea? 18:15 <+bridge> that looks like it was built 18:15 <+bridge> Seems cargo was invoked and did nothing 18:15 <+bridge> > Finished dev [unoptimized + debuginfo] target(s) in 0.12s 18:15 <+bridge> that means the build was cached 18:15 <+bridge> this is ok 18:15 <+bridge> > [build] D:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find debug/libddnet_engine_shared.a: No such file or directory 18:15 <+bridge> At the end though 18:15 <+bridge> put it in the wrong dir 18:15 <+bridge> very simple xd 18:15 <+bridge> I guess we'd have to find where it is and where it should be 18:15 <+bridge> Maybe it built in the wrong place yeah, it's really hard to get this right 18:16 <+bridge> and why @heinrich5991 didn't manage to get this right 18:16 <+bridge> xd 18:16 <+bridge> bcs windows fault 18:16 <+bridge> Nah it's vscode bizarre cmake integration 18:16 <+bridge> nvidias fault 18:16 <+bridge> vscode cmake in linux works not bad 18:16 <+bridge> Let me do a quick tutorial I got this working last time 18:17 <+bridge> nah my life fault 18:17 <+bridge> also note whether there's something obvious I can improve in the rust integration 18:17 <+bridge> Honestly, this is all I needed though, this plus adding ucrt64/bin to the PATH and it just worked 18:18 <+bridge> The only trick I had to do was make rust use the same toolchain as the installed mingw 18:18 <+bridge> for gentoo distributions i need to list all the exact dep versions (not just the ones in cargo.toml, maybe it would be nice to somehow know em better) i think last time i had to do some grepping in the lockfile 18:18 <+bridge> installing rust from the mingw shell? 18:18 <+bridge> NO 18:18 <+bridge> eh eh 18:18 <+bridge> https://cgit.gentoo.org/repo/proj/guru.git/tree/games-action/ddnet/ddnet-16.9.ebuild?h=dev#n8 18:19 <+bridge> maybe i got this wrong and i can avoid listing the deps, but idk 18:19 <+bridge> ```toml 18:19 <+bridge> [target.x86_64-pc-windows-gnu] 18:19 <+bridge> linker = "C:\\msys2\\mingw64\\bin\\gcc.exe" 18:19 <+bridge> ar = "C:\\msys2\\mingw64\\bin\\ar.exe" 18:19 <+bridge> ``` 18:19 <+bridge> I needed to add this but with ucrt64 into my rust config 18:19 <+bridge> @Ryozuki did u get ur commits 18:19 <+bridge> WHY IT HAS TO BE SO DIFFICULT, EVERYTHING WAS SO BEAUTIFUL ON ARCH 18:19 <+bridge> sorry cpas lmao 18:19 <+bridge> i think github caches contribs aggressively 18:19 <+bridge> sorry caps lmao 18:19 <+bridge> Well there is a streamlined way to do this, it is to use visual studio like microsoft begs you to do 😄 18:20 <+bridge> so not yet 18:20 <+bridge> just go in build dir, create debug directory and move the libddnet...a there 18:20 <+bridge> ez fix 18:20 <+bridge> nice 18:20 <+bridge> but 18:20 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105892173913788536/image.png 18:21 <+bridge> olny .dll missing i thing 18:21 <+bridge> where the fk can i find that? 😄 18:21 <+bridge> no .dll are not needed 18:21 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105892444417048676/image.png 18:22 <+bridge> .d is wrong 18:22 <+bridge> it should be .a 18:22 <+bridge> .d that's bizarre 😄 18:22 <+bridge> d lang! pog 18:22 <+bridge> all .d? 18:22 <+bridge> wtf is .d!!!!!!!!!!!!!!!!!!! 18:22 <+bridge> yeah, why the fuck is it .d xD 18:22 <+bridge> never seen it 18:22 <+bridge> https://dlang.org/ 18:22 <+bridge> D > C 18:22 <+bridge> xd 18:23 <+bridge> but from file size 18:23 <+bridge> i'd say the .rlib are the static libs 18:23 <+bridge> so maybe better rename them 18:23 <+bridge> rlib are rust intermediate libs 18:23 <+bridge> so why didnt it create .a out of them 18:23 <+bridge> ryozuki rust pro 18:23 <+bridge> tell me 18:24 <+bridge> > - A "Rust library" file will be produced. This is used as an intermediate artifact and can be thought of as a "static Rust library". These rlib files, unlike staticlib files, are interpreted by the compiler in future linkage. This essentially means that rustc will look for metadata in rlib files like it looks for metadata in dynamic libraries. This form of output is used to produce statically linked executables as well as staticlib outputs. 18:24 <+bridge> idk 18:27 <+bridge> so i must kill my self and stop? 18:29 <+bridge> u don't need to, linux is there to save your day 18:30 <+bridge> if u invested 2 motnhs trying to compile ddnet on windows, u can also invest two months getting linux hacker 18:30 <+bridge> https://tenor.com/view/linux-trash-linuxbad-gif-18671901 18:32 <+bridge> who says i'm not already:trollet: 18:32 <+bridge> I just got bored of that life, too much fame 18:32 <+bridge> xd 18:35 <+bridge> i reinstalled this shit and also the tutorial say UCRT64 18:35 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105895885231095949/image.png 18:35 <+bridge> if its correct i will proced 18:35 <+bridge> I'm writing up the process of setting up a msys based development environment if you want to wait for that 18:35 <+bridge> its not your fault bro 18:36 <+bridge> its rust doing weird here 18:36 <+bridge> i doubt its related to mingw 18:36 <+bridge> First of all right after install, do `pacman -Syyu` 18:37 <+bridge> Then do a `pacman -S pacboy` so you don't have to use these weird ass package names 18:37 <+bridge> done, installed something and after it closed itself 18:37 <+bridge> now restart it and do another pacman -Syu 18:38 <+bridge> here we go again 18:38 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105896552515518605/image.png 18:38 <+bridge> ucrt64, just always use the ucrt64 one 18:39 <+bridge> done 18:39 <+bridge> now `pacman -S pacboy` 18:39 <+bridge> not exist 18:39 <+bridge> Ah I think I know what your issue is btw, your rust is probably installed with the msvc toolchain 18:39 <+bridge> Oh the package is called `pactoys` not pacboy sorry 18:40 <+bridge> https://www.rust-lang.org/it/learn/get-started idk 18:40 <+bridge> Yeah, you need to pick the gnu toolchain so it can generate .a files with gcc and ar 18:40 <+bridge> and concentrated I wouldn't think about the boys 😉 18:41 <+bridge> After you install pactoys do `pacboy -S gcc:u cmake:u ninja:u glslang:` I think these are all you need to compile ddnet 18:41 <+bridge> After you install pactoys do `pacboy -S gcc:u cmake:u ninja:u glslang:u` I think these are all you need to compile ddnet 18:42 <+bridge> done 18:43 <+bridge> Now for a quick check try `gcc --version` 18:43 <+bridge> what is in the build dir in the debug dir in the build dir? 18:46 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105898775442096148/image.png 18:47 <+bridge> left in file browser 18:47 <+bridge> show build dir 18:48 <+bridge> in build/debug/build 18:48 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105899105600933988/image.png 18:48 <+bridge> is there a x86_64- 18:48 <+bridge> 18:48 <+bridge> dir? 18:48 <+bridge> in build directly 18:49 <+bridge> no 18:49 <+bridge> i must change cmake ? 18:49 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105899523294904431/image.png 18:50 <+bridge> noi 18:50 <+bridge> no 18:50 <+bridge> for some reasons the .a files are missing, invoke the compiler with verbose 18:50 <+bridge> then we'll see where it compiles it to xd 18:50 <+bridge> You are most definitely still suffering from your rust host triple being wrong 18:51 <+bridge> try a `rustup set default-host x86_64-pc-windows-gnu` 18:51 <+bridge> on simple cmd? 18:51 <+bridge> Sure 18:52 <+bridge> done 18:53 <+bridge> kio, do ctrl + p 18:53 <+bridge> 18:53 <+bridge> type 18:53 <+bridge> debug/libddnet_engine_shared.a 18:54 <+bridge> or search it in explorer 18:54 <+bridge> it must be somewhere xD 18:54 <+bridge> it said it build it 18:55 <+bridge> build is git ignored so first wont work xd 18:58 <+ChillerDragon> why does this repo has more gh stars than i have coins in my bank? https://github.com/dh-orko/Help-me-get-rid-of-unhumans 18:58 <+bridge> Not if it's never even built for that host triple... 18:59 <+bridge> How is a msvc rust supposed to even make .a files 18:59 <+bridge> but why does cargo say "yo bro, i build *.a" just kidding 18:59 <+bridge> bcs the bank is virtual money only 19:07 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105903893357019206/image.png 19:12 <+bridge> yeah dunno 19:12 <+bridge> somehow it works for robyte 19:13 <+bridge> one time it worked to me 19:13 <+bridge> with some weird poland .json sent there xd 19:13 <+bridge> what when u search for libddnet 19:13 <+bridge> 19:13 <+bridge> without debug/ 19:13 <+bridge> same 19:14 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105905596101840987/image.png 19:14 <+bridge> what client is that even? 19:14 <+bridge> normal ddnet? 19:16 <+bridge> @kio 19:16 <+bridge> 19:16 <+bridge> what is selected here for u 19:16 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105906316465143859/image.png 19:17 <+bridge> yes with some my edit 19:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105906662663016488/image.png 19:21 <+bridge> mh ok, u renamed ddnet to kehub probably? 19:21 <+bridge> the D: in the project dir is capital while in build its not 19:21 <+bridge> else i dont find anything suspecious 19:21 <+bridge> Ok, first of all stop guessing, try to compile it in the ucrt64 terminal, before involving vscodes sketchy cmake plugin 19:21 <+bridge> if it doesn't compile in ucrt64 there is no need to butt your head against vscode 19:22 <+bridge> until yesterday I was on archlinux with this same project, same name and same files, this asshole simply doesn't compile here 19:22 <+bridge> xD 19:22 <+bridge> which command? 😄 19:22 <+bridge> In ucrt64 navigate to your project directory 19:24 <+bridge> yes ok 19:24 <+bridge> `mkdir build2` -> `cd build2` -> `cmake -GNinja ..` 19:24 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105908358453678201/image.png 19:25 <+bridge> mh 19:25 <+bridge> mhhh 19:25 <+bridge> But why do you say ok if you didn't manage to get there? 😄 19:25 <+bridge> Where is it? On your desktop? 19:25 <+bridge> drag the project there or 19:25 <+bridge> idk that it create da linux like path 19:25 <+bridge> idk that it created a linux like path 19:25 <+bridge> In msys your `C:` is mounted at `/c/` 19:26 <+bridge> he uses d tho xd 19:27 <+bridge> but cant u cd with `"` on global paths 19:27 <+bridge> im in the folder 19:27 <+bridge> cd "C:\.." 19:27 <+bridge> ^ 19:28 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105909137176539228/image.png 19:28 <+bridge> oh yes 19:28 <+bridge> sorry 19:28 <+bridge> You are missing the .. at the end 😄 19:28 <+bridge> yes yes xd 19:29 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105909396766212117/message.txt 19:29 <+bridge> wtf xD 19:29 <+bridge> You must install Rust and Cargo to compile DDNet 19:30 <+bridge> Stop wait 19:30 <+bridge> You have cargo, you just don't have it in your path 19:30 <+bridge> i downloaded that 19:30 <+bridge> use rustup 19:30 <+bridge> `echo '$(cygpath -u $USERPROFILE)/.cargo/bin:${PATH}' >> $HOME/.bash_profile` do this restart your ucrt64 19:30 <+bridge> lmao 19:30 <+bridge> lel 19:30 <+bridge> done 19:31 <+bridge> Now try cargo --version 19:31 <+bridge> -bash: /c/Users/kio/.cargo/bin:/ucrt64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: No such file or directory 19:31 <+bridge> huh? 19:31 <+bridge> at the start up of the shell 19:31 <+bridge> Okay maybe you don't have cargo and jupstar is right 19:31 <+bridge> not found 19:31 <+bridge> do you know how to use nano? 19:31 <+bridge> yep 19:31 <+bridge> the text editor right? 19:32 <+bridge> okay, do `nano $HOME/.bash_profile` remove that cargo line at the very bottom 19:32 <+bridge> last line? 19:32 <+bridge> remove? 19:32 <+bridge> `/c/Users/kio/.cargo/bin:` 19:32 <+bridge> oh ok 19:33 <+bridge> done and saved 19:33 <+bridge> but how did you install rust, did you not get `rustup-init.exe`? 19:34 <+bridge> Can you open a normal cmd and do `echo %PATH%`? 19:34 <+bridge> Lets see where it is 19:34 <+bridge> no io ho installato dal sito che ho mandato rustup-init.exe 19:34 <+bridge> I do speak some italian but my italian is fairly weak 😄 19:34 <+bridge> i learned latin 19:34 <+bridge> oh shit brain bug xd 19:34 <+bridge> and can read nothing 19:35 <+bridge> yes yes wait xd 19:35 <+bridge> no I installed from the site I sent rustup-init.exe 19:35 <+bridge> Okay, if you installed with rustup it really should have created the cargo dir, can you check the path in cmd as I said? 19:35 <+bridge> Let's see where cargo is 19:36 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105911249176367194/image.png 19:36 <+bridge> C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;D:\msys64\ucrt64\bin;C:\Users\kio\.cargo\bin;C:\Users\kio\AppData\Local\Microsoft\WindowsApps;;E:\Microsoft VS Code\bin 19:36 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105911349168570520/image.png 19:36 <+bridge> ez troll 19:37 <+bridge> okay now I'm confused 19:37 <+bridge> me too 19:37 <+bridge> AHAH 19:37 <+bridge> next step: I reset the pc and restart with the installation of everything to be able to compile ddnet HAHAHA 19:38 <+bridge> Like this is the exact command I used, and it seems to have added the correct thing, why was bash having an issue with it? 19:38 <+bridge> open up ucrt64 again, just try `echo '$(cygpath -u $USERPROFILE)/.cargo/bin:${PATH}'` 19:38 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105911865479004372/image.png 19:38 <+bridge> OH 19:38 <+bridge> yes 19:39 <+bridge> The wrong kind of quotes 19:39 <+bridge> xd 19:39 <+bridge> bash hardest lang 19:39 <+bridge> `echo "$(cygpath -u $USERPROFILE)/.cargo/bin:${PATH}"` 19:39 <+bridge> try this 19:39 <+bridge> kio@Revision-PC UCRT64 ~ 19:39 <+bridge> $ echo "$(cygpath -u $USERPROFILE)/.cargo/bin:${PATH}" 19:39 <+bridge> /c/Users/kio/.cargo/bin:/ucrt64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 19:39 <+bridge> Actually that isn't what I wanted at all nvm correct kind of quotes 19:40 <+bridge> Here is what mine looks like 19:40 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105912184896241714/image.png 19:40 <+bridge> but shouldnt the shell respect windows path anyway? 19:40 <+bridge> Can you just add that by hand? I'm sure my bash-fu is just rusty 19:40 <+bridge> No, it won't inherit path unless you explicitly force it to 19:41 <+bridge> ok 19:41 <+bridge> bcs vscode apparently found cargo and rust xd 19:41 <+bridge> Vscode uses windows path 19:41 <+bridge> not ucrt64 path 19:41 <+bridge> yeah 19:41 <+bridge> i just mean, what do u hope from this xd 19:42 <+bridge> do u think vscode makes cargo broken? 19:42 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105912727332990986/image.png 19:42 <+bridge> i mean its windows, anything is possible xd 19:42 <+bridge> how the fuck do they all have same size 19:42 <+bridge> is it all the same binary? XD 19:42 <+bridge> aahahaha 19:42 <+bridge> my life is broken 19:44 <+bridge> I like to work in a systematic manner, lets just make sure everything compiles on the terminal as it should before we involve however vscode invokes cmake 19:45 <+bridge> @kio do this to your bash profile 19:45 <+bridge> At the very bottom add the line I have there 19:45 <+bridge> Oh I found what's wrong with my echo anyway `echo 'PATH=$(cygpath -u $USERPROFILE)/.cargo/bin:${PATH}' >> $HOME/.bash_profile` forgot the `PATH=` 19:47 <+bridge> done 19:47 <+bridge> ses 19:47 <+bridge> Anyway, now restart ucrt64, try the cargo --version again 19:47 <+bridge> mlmlml 19:48 <+bridge> cargo 1.69.9 19:48 <+bridge> good, now get back to that build2 folder we created 19:48 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105914289560227911/image.png 19:48 <+bridge> ls 19:48 <+bridge> xd 19:48 <+bridge> I would delete everything in there and do cmake again 19:49 <+bridge> lmao 19:49 <+bridge> `rm -rf *; cmake -GNinja ..` 19:49 <+bridge> already done 19:49 <+bridge> compiling 19:49 <+bridge> @Learath2 or @Jupeyy_Keks you are linux user? 19:49 <+bridge> @Learath2 or @Jupeyy_Keks you are linux users? 19:49 <+bridge> we are linux enjoyers 19:49 <+bridge> me too 😄 19:50 <+bridge> but newbie 19:50 <+bridge> I pretty much only boot windows to play genshin, honkai and league 19:50 <+bridge> ahahaha 19:50 <+bridge> same but different games 19:50 <+bridge> dualboot was boring 19:50 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105914872824352900/image.png 19:51 <+bridge> Okay looks about sane to me, now try `ninja game-client` 19:51 <+bridge> Hello, 19:51 <+bridge> Is DDNet compile process fine with windows and MYSQL ? 19:51 <+bridge> HAHA 19:51 <+bridge> I don't think anyone compiled on windows with mysql in years, I'd be surprised if it worked 19:52 <+bridge> if u willing to spent 2 months yes 19:52 <+bridge> ``` 19:52 <+bridge> Severity Code Description Project File Line Suppression State 19:52 <+bridge> Severity Code Description Project File Line Suppression State 19:52 <+bridge> Error (active) E0020 identifier "SOCKET" is undefined game-server C:\Program Files\mysql\include\mysql_com.h 333 19:52 <+bridge> Error C3646 'fd': unknown override specifier (compiling source file \src\engine\server\databases\mysql.cpp) game-server C:\Program Files\mysql\include\mysql_com.h 333 19:52 <+bridge> ``` 19:52 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105915349054005299/image.png 19:52 <+bridge> yep we have some issues with windows and mysql 19:53 <+bridge> I got restart my pc and use linux like always 😄 19:54 <+bridge> Okay, now we can test stuff without worrying about vscode 19:54 <+bridge> sound sexy 19:55 <+bridge> do `rustup show` 19:55 <+bridge> $ rustup show 19:55 <+bridge> Default host: x86_64-pc-windows-gnu 19:55 <+bridge> rustup home: C:\Users\kio\.rustup 19:55 <+bridge> 19:55 <+bridge> stable-x86_64-pc-windows-msvc (default) 19:55 <+bridge> rustc 1.69.0 (84c898d65 2023-04-16) 19:57 <+bridge> `rustup toolchain install stable-x86_64-pcpwindows-gnu` 19:57 <+bridge> if you build without msvc, you need rust-gnu or something like that 19:57 <+bridge> `rustup toolchain install stable-x86_64-pc-windows-gnu` 19:57 <+bridge> mystery solved, gg learath 19:57 <+bridge> 1 second before chairn 19:58 <+bridge> I assumed changing the default toolchain will also install the new one, but apparently not 19:58 <+bridge> As always, I'd delete the entire build directory before trying again, cmake cache is bizarre 19:58 <+bridge> I would also do `echo "[target.x86_64-pc-windows-gnu]#linker = \"$(cygpath -w $(which gcc))\"#ar = \"$(cygpath -w $(which ar))\"" | tr '#' '\n' | sed 's/\\/\\\\/g' > $(cygpath -u $USERPROFILE)/.cargo/config` 19:59 <+bridge> That makes sure rust uses the same linker we use 19:59 <+bridge> Excuse the bad bash-fu with the # but I honestly have no idea how to properly quote that for a `echo -e` 20:00 <+bridge> I just noticed this is the same problem I was having a couple weeks ago when I asked the bashdragon for help 20:01 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105917570332233728/image.png 20:01 <+bridge> Okay, now try this again 20:02 <+bridge> cross fingers, hope for best 20:02 <+bridge> build2? 20:02 <+bridge> https://discord.com/channels/252358080522747904/293493549758939136/1041024627150962698 20:02 <+bridge> already did maybe 20:02 <+bridge> you also need cargo_home environment variable from my findings 20:02 <+bridge> mhh 20:03 <+bridge> https://discord.com/channels/252358080522747904/293493549758939136/1041026431683153970 20:03 <+bridge> using these 2, it worked fine for me 20:04 <+bridge> Please get not distracted. I just did the exact same steps you did on a VM and it works 20:04 <+bridge> Go to build2, give it a go 20:04 <+bridge> did 20:04 <+bridge> ? 20:05 <+bridge> This followed by another `ninja game-client` 20:06 <+bridge> If it doesn't work you are cursed 20:06 <+bridge> sex 20:06 <+bridge> waiting ninja game-client 20:07 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105919131884191794/image.png 20:07 <+bridge> ok 20:08 <+bridge> did u set the toolchain as default 20:08 <+bridge> or is that not important 20:09 <+bridge> we'd already set it as the default 20:09 <+bridge> :brownbear: 20:09 <+bridge> Ok, I'm out of ideas boss, no idea why it's still creating .d files 20:09 <+bridge> on linux it creates them too 20:10 <+bridge> but the .a too 20:10 <+bridge> disable windows defender 20:10 <+bridge> lamo 20:10 <+bridge> no need 20:10 <+bridge> im using reviOS 20:10 <+bridge> no windows defender 20:10 <+bridge> Can you show `rustup show` again? 20:11 <+bridge> in the shell? 20:11 <+bridge> yes 20:11 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105920102878150686/image.png 20:11 <+bridge> Okay I guess you need to switch it explicitly too wtf 20:12 <+bridge> 🗿 20:12 <+bridge> oh u still with this 20:12 <+bridge> windows truly is wonderful 20:12 <+bridge> `rustup default stable-gnu` or sth idk 20:12 <+bridge> try that then try show again 20:13 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105920581993496676/image.png 20:13 <+bridge> and when it finally built, murpi comes and tells us he builds bot clients 😂 😂 😂 😂 20:13 <+bridge> :(((( 20:13 <+bridge> AHHAHAHAAHAHHAHA 20:13 <+bridge> no no xd 20:21 <+bridge> still not working or what 20:21 <+bridge> this must have solvd it xdd 20:26 <+bridge> now he's developing bots 20:26 <+bridge> 😂 20:26 <+bridge> im here 20:27 <+bridge> yes :poggers2: :gigachad: 20:35 <+bridge> Worls 20:35 <+bridge> Can I marry u? 20:35 <+ChillerDragon> no he mine 20:35 <+bridge> learath searches for girls 20:35 <+bridge> but else he is open for it 20:39 <+bridge> Bruhhhh don't joke 20:41 <+bridge> Can I become a famboy 20:59 <+bridge> whatd i miss 21:01 <+bridge> That I became gay I think 21:07 <+bridge> nice 21:07 <+bridge> are you going to but programming socks now 21:36 <+bridge> the rust file contains the exact versions, right? is there a way to generate it from that? 21:37 <+bridge> https://github.com/gentoo/cargo-ebuild 21:37 <+bridge> this exists 21:38 <+bridge> but since its not 100% pure rust 21:38 <+bridge> i cant use it as is 21:38 <+bridge> oh wait 21:38 <+bridge> there is a Templates 21:38 <+bridge> i should look into that xd 21:44 <+bridge> Hi guys I think the editor crashes if you build latest ddnet with MSVC 21:47 <+bridge> you asking because of tater? 21:48 <+bridge> do you have a crash log? 21:50 <+bridge> second 21:52 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105945538215542844/image.png 21:52 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1105945538471415888/image.png 21:53 <+bridge> the issue probably at 4910 in editor.cpp 21:54 <+bridge> I've see that error screenshot before, not sure what's causing this 21:54 <+bridge> It's the code for showing the modified date of the files in the file browser 21:55 <+bridge> I'll try if I can reproduce it 21:55 <+bridge> it happens consistently 21:55 <+bridge> but not on GCC 22:07 <+bridge> Can't reproduce it right now, somehow my VS broke from updating MSYS2 or something 22:25 <+bridge> is there a master server history? which server was online and which players etc? i think i saw a git somewhere with this informations 22:28 <+bridge> https://ddnet.tw/stats/master 22:29 <+bridge> Be careful, those files are MASSIVE 22:29 <+bridge> https://edgarluque.com/blog/zstd-streaming-in-rust/ you want to parse them streaming if at all possible like here 22:31 <+bridge> this edg-l is such a smart ass guy 22:31 <+bridge> we should hire him 22:33 <+bridge> We can pay him a very fair wage of 0$ 22:33 <+bridge> great 22:38 <+bridge> you forgot to account for the inflation though, there's a +20% bonus on that, so it's a grand total of 0€ !! 22:39 <+bridge> 0 * infinity = NaN 22:41 <+bridge> Why infinity? 22:41 <+bridge> It's just 0 * 1.2 = 0 😄 22:42 <+bridge> we give him infinite wage of 0€ 22:42 <+bridge> jupstar trying to break accountability software 22:43 <+bridge> barely 11G for one file, that's a nice almost x1000 compression factor 22:44 <+bridge> If you aren't careful and decompress everything you won't have much fun 😄 22:45 <+bridge> have you thought of using a different format? 22:45 <+bridge> like you could just store when a player appears and when he disappears 22:45 <+bridge> no need for all that extra useless stuff in between 22:46 <+bridge> Well we could, but then again, this isn't too bad compressed either and doesn't require a contextful parser 23:06 <+bridge> trolls 23:08 <+bridge> that's kinda what compression does 😉 23:09 <+bridge> the compression factor got like 10x better when I told deen to sort the files before compressing them ^^ 23:12 <+bridge> i wonder if it can get even more optimized 23:13 <+bridge> if u know rust 23:13 <+bridge> check this 23:13 <+bridge> https://github.com/edg-l/teemasterparser 23:20 <+bridge> Most likely yes, u just need to find some better pattern 23:20 <+bridge> thanks... yea i try my best to write code in rust 😄 23:20 <+bridge> its more that i search players and players with specific clantags