00:00 < bridge> hmm, if that's the case then you could either try adding a function to set the URL, or ignore the additional two lines of code which would be necessary if this function doesn't support varargs 00:00 < bridge> yeah just was curious 00:00 < bridge> thanks anyway! 00:32 < bridge> i had two first arguments as `const char *` and used `...format(__printf__, 2, 4)...` instead of 3 (forgor about `this` passing as well in ctor) 00:45 < bridge> does anyone know how to contact the owner of this account? 00:45 < bridge> https://github.com/MyNewBie 01:13 < ws-client> @nouaa go here https://github.com/ChillerDragon/github-meta/issues/5 write "@MyNewBie i want to contact you my contact options are xyz" as a comment and hope he has email notifications on ping :D 01:16 < ws-client> @nouaa why do you want to contact him? o.O 01:17 < bridge> I have an important request to make! 01:17 < ws-client> delete code? :D 01:17 < ws-client> i am having a hard time finding a single commit from this dude 01:17 < ws-client> seems like all he has on his github is forks and copied repos from others 01:17 < bridge> no, not really, just sensitive information in a repo 01:18 < bridge> :PeepoStare: 01:18 < ws-client> ye go ping him 01:18 < ws-client> in the github chat portal 01:19 < ws-client> this guy is just an archive 01:19 < ws-client> should add his github to some awesome-teeworlds-mods list xd 01:20 < bridge> ```cpp 01:20 < bridge> // do background 01:20 < bridge> Graphics()->TextureSet(g_pData->m_aImages[IMAGE_CONSOLE_BG].m_Id); 01:20 < bridge> Graphics()->QuadsBegin(); 01:20 < bridge> Graphics()->SetColor(ColorRGBA(g_Config.m_ScColorLocalConsole)); 01:20 < bridge> if(m_ConsoleType == CONSOLETYPE_REMOTE) 01:20 < bridge> Graphics()->SetColor(ColorRGBA(g_Config.m_ScColorRemoteConsole)); 01:20 < bridge> Graphics()->QuadsSetSubset(0, -ConsoleHeight * 0.075f, Screen.w * 0.075f * 0.5f, 0); 01:20 < bridge> QuadItem = IGraphics::CQuadItem(0, 0, Screen.w, ConsoleHeight); 01:20 < bridge> Graphics()->QuadsDrawTL(&QuadItem, 1); 01:20 < bridge> Graphics()->QuadsEnd(); 01:20 < bridge> ``` 01:20 < bridge> The color doesn't match the set color at all 01:20 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1216178824354599053/image.png?ex=65ff71cb&is=65ecfccb&hm=5f86345d8ff9881c3c17a9f85b778be89ee00e6727063a1e61687115df3ee271& 01:20 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1216178824568373288/image.png?ex=65ff71cb&is=65ecfccb&hm=8d635963a99c9e23d6860a6ba09d09a4327f85d6afac197a74bd939a791eb4d0& 01:20 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1216178824815968436/image.png?ex=65ff71cb&is=65ecfccb&hm=42f450e8c52137adbb7a85c20c212ab47e1e3d1eb4e508f50acd6f0137090d93& 01:20 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1216178898719608973/image.png?ex=65ff71dc&is=65ecfcdc&hm=cde0e700074b129450fa9e2cd377feba7650ba9c8f88705da4c5e35f5c3c163c& 01:21 < ws-client> Enough discord for now i rq xd 01:21 < ws-client> https://zillyhuhn.com/cs/.1710030059.png 01:21 < bridge> xd 01:22 < ws-client> so sad discord stopped exposing images :c 01:23 < bridge> https://ru.files.me/u/8kd8yjxtzk 01:24 < ws-client> ru files lets go 01:25 < bridge> bruh 01:25 < bridge> I can send you a photo via wire 01:25 < ws-client> i got the ru files :D 01:26 < bridge> oh 01:26 < bridge> cool 01:26 < ws-client> Yea idk whats wrong tho 01:26 < bridge> Aren't color options HSLA? 01:27 < bridge> huh? 01:27 < bridge> g_Config.m_ScColorLocalConsole == HSLA? 01:27 < bridge> Try `color_cast(ColorHSLA(g_Config.m_ScColorRemoteConsole))` 01:28 < ws-client> ```void CGraphics_Threaded::SetColor(ColorRGBA Color)``` 01:29 < bridge> work 01:29 < bridge> MACRO_CONFIG_COL -> HSLA 01:29 < bridge> bruh 01:35 < bridge> I am not aware of any. But you should be able to go to src/game/client/components/camera.cpp and play with its coordinates a bit. Maybe do a random + and y in OnRender() and that should shake. 01:35 < bridge> * and - for x and y mean \* 02:07 < ws-client> wtf 02:07 < ws-client> > Lua does not have regular expressions, mainly because a full regular expression library would be bigger than Lua itself. 02:08 < ws-client> https://stackoverflow.com/a/6192354/6287070 02:08 < ws-client> finally a non bloated language? time to switch from bash to lua 02:23 < bridge> how does ddnet store tee colors? 02:23 < bridge> I wish gdb used lua 02:23 < bridge> CPython is so horrid 02:23 < ws-client> use JPython then <:troll:490644344341135380> 02:24 < bridge> The only positive thing I can say about it is "it works" 02:25 < ws-client> how often are irc logs synced? they are quite behind https://ddnet.org/irclogs/ 02:31 < bridge> I’ve been telling y’all for years. Lua is goated, if only we the software people hadn’t abandoned it 05:18 < bridge> the custom color values? 05:34 < bridge> LUA BASED 08:44 < bridge> chillerdragon: https://github.com/ddnet/ddnet/assets/40633857/1e3d9cab-03c1-4aa3-9a17-9d69658d88c0 is this planned :justatest: 08:59 < bridge> Nah it’s bug there is already an issue for it 09:01 < bridge> chillerdragon: if u ever feel like u have nothing to do, i have a challenge for you, you can fix ci for my ddnet server xDDD 09:01 < bridge> I will never have nothing todo lol but send error 09:02 < bridge> ehm 09:02 < bridge> Also since when do you do server dev? 09:02 < bridge> i had to add a few lines to ddnet server 09:02 < bridge> which just writes `1` or `0` to shared memory xD 09:03 < bridge> Idk what that means but sounds sus 09:25 < ws-client> @miguilim thanks a lot for the hint that this is a snap single message i found my bug thanks to that :) !!!!!!!!!!! 09:25 < ws-client> but i am still starring at the same message being a bit confused 09:26 < ws-client> 09:26 < ws-client> https://twnet.zillyhuhn.com/?d=08+04+02+9c+6b+cb+da+42+0e+07+06+00+40+27+6e+61+6d+65+6c+65+73+73+20+74+65+65+27+20+65+6e+74+65+72+65+64+20+61+6e+64+20+6a+6f+69+6e+65+64+20+74+68+65+20+67+61+6d+65+00+06+0b+0f+9a+51+9b+51+b3+92+ad+b9+0b+9f+01+00+03+00+06+00+00+00+00+00+14+00+00+01+0b+00+da+c8+f0+91+02+cc+b0+d0+b1+02+da+e8+d8+f0+0b+ff+ff+fb+f7+0f+ff+fd+fb+f7+0f+ff+fd+fb+f7+0f+ff+ff+fb+f7+0f+40+de+e4+d0+b1+03+ff+ad+98+a1+01+ff+fd+fb+f7+0f+ff+fd+fb+ 09:26 < ws-client> f7+0f+ff+fd+fb+f7+0f+ff+ff+fb+f7+0f+00+80+fe+07+80+fe+07+0a+00+01+00+00+00+00&v=6 09:27 < ws-client> The second message starts at ``06 0b 0f 9a 51 9b 51 ...`` right? Thats the snap 09:28 < ws-client> because before there is ``67 61 6d 65 00`` which is ``g a m e \0`` so that the end of the joined the game message 09:28 < ws-client> That would make ``06 0b`` the chunk header right? 09:29 < ws-client> ``0f`` is NETMSG_SNAPSINGLE 09:29 < ws-client> a 09:29 < ws-client> wait ... 09:30 < ws-client> ye 06 0b is flags=0 size=107 that sounds about right 09:32 < ws-client> i am so lost in the mess of a setup that i have xxxxxxxxxxD 09:32 < ws-client> https://zillyhuhn.com/cs/.1710059493.png 09:50 < bridge> chillerdragon: your messages look so much like spam 10:06 < ws-client> rude 10:09 < bridge> spom 10:56 < bridge> chiller can you encode it as base64 10:59 < ws-client> @zhn why base64 what base64? xd 11:00 < ws-client> you mean in the url query parameter for compressing it? yea that sounds reasonable 11:06 < bridge> yeah, discord divides your message in two everytime you send some packet 11:22 < bridge> Oh yikes that sounds bad 12:03 < ws-client> https://zillyhuhn.com/cs/.1710068588.png 12:03 < ws-client> what am i not getting here 12:15 < bridge> Reversing open-source game xdd 12:20 < ws-client> indeed 12:21 < bridge> :thonk: 12:49 < ws-client> ehm what the fak 12:49 < ws-client> ist the token!? 12:49 < ws-client> at the end? 12:49 < ws-client> and ppl hate on 0.7 xxxD 12:50 < ws-client> https://zillyhuhn.com/cs/.1710071385.png 12:50 < ws-client> i am just afk and the input always ends with 00 00 00 12:50 < ws-client> the whole packet ends with 1b e8 96 48 tho 12:51 < ws-client> libtw2 says its the token. Is ddnet inserting its token at the end of every packet? For compatibility? 12:52 < ws-client> i should rly look into the ddnet protocol one day :D 13:06 < bridge> siggraph exhibit tickets are $25 13:06 < bridge> should i go 13:23 < bridge> Chiller why are you doing this backwards? This is literally insane. Just look at the source?? 13:23 < ws-client> reading c++ is so annoying 13:23 < ws-client> its ez af with heinrichs dissector 13:24 < bridge> Then read the source of that? 13:24 < ws-client> i just got a bit side tracked in 0.6.5 support because heinrich does not support it. And then one of my tests used ddnet not 0.6.5 and it seems to be troll. 13:25 < ws-client> @learath2 read the source of his dissector? nono i mean using the dissector to look at how it parses it is so much easier than reading code. 13:25 < ws-client> Then i can verify 13:25 < ws-client> I like working on the byte level it relaxes me 13:26 < ws-client> Everything seems to be working i did a new pypi release 🚀 now i can continue working on ddnet7 axaxax 13:27 < bridge> I pray for you 13:37 < bridge> :owo: 13:44 < ws-client> what do you guys think about cheat based anti ping? :D 13:44 < ws-client> admin only trust based client side physics 13:45 < ws-client> if the connection is lost the client does everything locally and on reconnect informs the server of the new state. Basically like minecraft does it. 13:46 < bridge> No 13:46 < ws-client> xd 13:46 < bridge> No 13:46 < bridge> Nein 13:46 < bridge> But Minecraft mentioned 13:46 < ws-client> I mean it should work without server edits. I might add it to chillerbot-ux then c: 13:47 < bridge> chillerdragon: rewrite ddnet protocol in Minecraft's style 13:47 < ws-client> yea right 13:47 < ws-client> ima add chunks for sure! 13:48 < ws-client> and microsoft login 13:49 < bridge> I dont have any Microsoft login in tlauncher :santatrollet: 13:54 < bridge> ChillerDragon: the ddnet protocol has the token at the end inside the potentially huffman-compressed payload. what do you mean with "compatibility"? 14:55 < bridge> https://youtu.be/NzK11DrRdks I have to share this painful experience with someone 14:56 < suoga> anybody here? 14:57 < bridge> Nope 14:57 < suoga> 0.0 15:01 < bridge> do you have a question, suoga? 🙂 15:09 < bridge> protobuf is such a shit show, removing `.github` directory isnt that bad of an idea :pepeW: 15:09 < bridge> why's protobuf a shit show? 15:10 < bridge> (and what does that have to do with a `.github` directory?) 15:11 < bridge> so i dont have wall of red 15:11 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1216387923209879622/image.png?ex=66003488&is=65edbf88&hm=a4b2dadc2e32d433cd45959d9bbca3e2b0d5385fdcf9208a5d8495efd9749e1e& 15:11 < bridge> :justatest: 15:12 < bridge> you can disable github actions in the repository settings if you'd like, I think 15:14 < bridge> i have 3 god damn files and it's already a disaster. i have version `3.12` and everything works fine, it uses `optional` keyword and they removed it in some version of proto3 but then re-added it. `ubuntu-latest` runner has one error, `ubuntu-20.04` has different one and it just works on my machine 15:17 < bridge> ah 😦 15:17 < bridge> could you simply not specify optional? 15:17 < bridge> I think everything in protobuf 3 is optional 15:17 < bridge> why did they reintroduce it :pepeW: 15:18 < bridge> for compatibility with protobuf2, maybe 15:18 < bridge> but it likely does not do anything 15:19 < bridge> ill try to remove it 15:37 < bridge> https://scrumplex.rocks/img/1710081456_Ainga3.png 15:37 < bridge> SLR 3 🙏 16:12 < bridge> @robyt3 update on the crashes that were fixed in #8057, i've gotten a total of 8 reports, 6 of them were handled by removing the .map file, (sometimes having to do so 2-3 times) - and 1 got it fixed by deleting the entire folder (god knows why) - the assert log always states the same error, and the .map file isnt "corrupted" per se, after starting up a server on a version prior to #8057 and on latest master, me and 2 friends didnt crash, so i couldn 16:12 < bridge> https://github.com/ddnet/ddnet/pull/8057 16:12 < bridge> https://github.com/ddnet/ddnet/pull/8057 16:12 < bridge> @robyt3 update on the crashes that were fixed in #8057, i've gotten a total of 8 reports, 6 of them were handled by removing the .map file, (sometimes having to do so 2-3 times) - and 1 got it fixed by deleting the entire folder (god knows why) - the assert log always states the same error, and the .map file isnt "corrupted" per se, after starting up a server on 18.0.0 and on latest master, me and 2 friends didnt crash, so i couldnt exactly reproduc 16:13 < bridge> @robyt3 update on the crashes that were fixed in #8057, i've gotten a total of 8 reports, 6 of them were handled by removing the .map file, (sometimes having to do so 2-3 times) - and 1 got it fixed by deleting the entire folder (god knows why) - the assert log always states the same error, and the .map file isnt "corrupted" per se, after starting up a server on 18.0.0 and on latest master, me and 2 friends didnt crash, so i couldnt exactly reproduc 16:15 < bridge> You should apply that PR on your server. Or wait for 18.1, which should fix this crash client-side. 16:15 < bridge> will forward that, thanks! 18:07 < bridge> @chillerdragon can you update ddnet-insta with this fix here https://github.com/ddnet/ddnet/commit/27f65cdbb0c41ee0b595f01fbee8bf20e8821925 18:14 < bridge> xdd 18:42 < bridge> ithinku can not crash if u have download skins off 19:01 < bridge> <_nrx> still crash 19:04 < bridge> <_nrx> still crashes 19:31 < bridge> ChillDragon: ty btw, problem solved! 19:31 < bridge> :PepeEpic: 20:15 < bridge> And different versions generate different c++ code, so some versions just have errors when compile with flags :saddo: 20:28 < bridge> is master server down? 20:28 < bridge> Yep 20:34 < bridge> cool 20:38 < bridge> bro asks to add /tpx and /tpy bruh 22:06 < bridge> ```2024-03-10 22:05:26 I http: https://master2.ddnet.org/ddnet/15/servers.json failed. libcurl error (28): Failed to connect to master2.ddnet.org port 443 after 10000 ms: Timeout was reached 22:06 < bridge> 2024-03-10 22:05:26 I http: https://master4.ddnet.org/ddnet/15/servers.json failed. libcurl error (22): The requested URL returned error: 404 22:06 < bridge> 2024-03-10 22:05:26 I http: https://master3.ddnet.org/ddnet/15/servers.json failed. libcurl error (6): Could not resolve host: master3.ddnet.org 22:06 < bridge> 2024-03-10 22:05:26 I http: https://master1.ddnet.org/ddnet/15/servers.json failed. libcurl error (47): Maximum (4) redirects followed``` 22:10 < bridge> seems to be back up 23:39 < bridge> ❤ 23:42 < bridge> yes 23:43 < bridge> yes, 23:43 < bridge> 23:43 < bridge> 0f -> 15 23:43 < bridge> 15 >> 1 -> 7 23:44 < bridge> the snap single number is `7` 23:45 < bridge> 15 is the value before the `>> 1` operation 23:45 < bridge> I think it should be `0x0f >> 1 == 7` 23:46 < bridge> and you must verify if its a system message before this operation 23:46 < bridge> like : 23:46 < bridge> ``` 23:46 < bridge> byte[2] = 0x0f 23:47 < bridge> 23:47 < bridge> isSystem = byte[2] & 1 23:47 < bridge> message = byte[2] >> 1 23:47 < bridge> 23:47 < bridge> message == 7 // SNAPSINGLE 23:47 < bridge> ``` 23:47 < bridge> like : 23:47 < bridge> ``` 23:47 < bridge> byte[2] = 0x0f 23:47 < bridge> 23:47 < bridge> isSystem = byte[2] & 1 23:47 < bridge> message = byte[2] >> 1 23:47 < bridge> 23:47 < bridge> if message == 7 // SNAPSINGLE 23:47 < bridge> ``` 23:48 < bridge> like : 23:48 < bridge> ``` 23:48 < bridge> byte[2] = 0x0f 23:48 < bridge> 23:48 < bridge> isSystem = byte[2] & 1 23:48 < bridge> message = byte[2] >> 1 23:48 < bridge> 23:48 < bridge> if message == 7: // SNAPSINGLE 23:48 < bridge> ``` 23:49 < bridge> like : 23:49 < bridge> ``` 23:49 < bridge> byte[2] = 0x0f 23:49 < bridge> 23:49 < bridge> isSystem = byte[2] & 1 23:49 < bridge> message = byte[2] >> 1 23:49 < bridge> 23:49 < bridge> if isSysytem && message == 7: // SNAPSINGLE 23:49 < bridge> ``` 23:49 < bridge> like : 23:49 < bridge> ``` 23:49 < bridge> byte[2] = 0x0f 23:49 < bridge> 23:49 < bridge> isSystem = byte[2] & 1 23:49 < bridge> message = byte[2] >> 1 23:49 < bridge> 23:49 < bridge> if isSystem && message == 7: // SNAPSINGLE 23:49 < bridge> ```