Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-03-10 00:00:00Z and 2024-03-11 00:00:00Z
Avatar
ws-client BOT 2024-03-10 00:13:00Z
<ChillerDragon> @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
00:16
<ChillerDragon> @Nouaa why do you want to contact him? o.O
Avatar
I have an important request to make!
Avatar
ws-client BOT 2024-03-10 00:17:05Z
<ChillerDragon> delete code? :D
00:17
<ChillerDragon> i am having a hard time finding a single commit from this dude
00:17
<ChillerDragon> seems like all he has on his github is forks and copied repos from others
Avatar
no, not really, just sensitive information in a repo
00:18
PeepoStare
Avatar
ws-client BOT 2024-03-10 00:18:20Z
<ChillerDragon> ye go ping him
00:18
<ChillerDragon> in the github chat portal
00:19
<ChillerDragon> this guy is just an archive
00:19
<ChillerDragon> should add his github to some awesome-teeworlds-mods list xd
Avatar
// do background Graphics()->TextureSet(g_pData->m_aImages[IMAGE_CONSOLE_BG].m_Id); Graphics()->QuadsBegin(); Graphics()->SetColor(ColorRGBA(g_Config.m_ScColorLocalConsole)); if(m_ConsoleType == CONSOLETYPE_REMOTE) Graphics()->SetColor(ColorRGBA(g_Config.m_ScColorRemoteConsole)); Graphics()->QuadsSetSubset(0, -ConsoleHeight * 0.075f, Screen.w * 0.075f * 0.5f, 0); QuadItem = IGraphics::CQuadItem(0, 0, Screen.w, ConsoleHeight); Graphics()->QuadsDrawTL(&QuadItem, 1); Graphics()->QuadsEnd(); The color doesn't match the set color at all
00:20
Avatar
ws-client BOT 2024-03-10 00:21:28Z
<ChillerDragon> Enough discord for now i rq xd
Avatar
ws-client BOT 2024-03-10 00:22:04Z
<ChillerDragon> so sad discord stopped exposing images :c
Avatar
Visit this link to download: im2age.png and 2 other files
Avatar
ws-client BOT 2024-03-10 00:24:31Z
<ChillerDragon> ru files lets go
00:25
I can send you a photo via wire
Avatar
ws-client BOT 2024-03-10 00:25:54Z
<ChillerDragon> i got the ru files :D
00:26
cool
Avatar
ws-client BOT 2024-03-10 00:26:55Z
<ChillerDragon> Yea idk whats wrong tho
Avatar
Aren't color options HSLA?
Avatar
Avatar
furo
Aren't color options HSLA?
huh?
00:27
g_Config.m_ScColorLocalConsole == HSLA?
Avatar
Try color_cast<ColorRGBA>(ColorHSLA(g_Config.m_ScColorRemoteConsole))
❤️ 1
Avatar
ws-client BOT 2024-03-10 00:28:15Z
<ChillerDragon> void CGraphics_Threaded::SetColor(ColorRGBA Color)
Avatar
Avatar
furo
Try color_cast<ColorRGBA>(ColorHSLA(g_Config.m_ScColorRemoteConsole))
work
Avatar
Avatar
ws-client
<ChillerDragon> void CGraphics_Threaded::SetColor(ColorRGBA Color)
MACRO_CONFIG_COL -> HSLA
00:29
bruh
Avatar
chillerdragon BOT 2024-03-10 00:35:05Z
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.
Replying to @Peakies and have question is there any opensource client that have some kind of …
00:35
  • and - for x and y mean *
Avatar
ws-client BOT 2024-03-10 01:07:54Z
<ChillerDragon> wtf
01:07
<ChillerDragon> > Lua does not have regular expressions, mainly because a full regular expression library would be bigger than Lua itself.
01:08
I need to write the Lua equivalent of the following regular expression (regex) \b[0-9].\b[0-9](?!]) for use with Lua's string.gmatch. Can this be done? For reference, the above expression matche...
01:08
<ChillerDragon> finally a non bloated language? time to switch from bash to lua
Avatar
how does ddnet store tee colors?
Avatar
I wish gdb used lua
01:23
CPython is so horrid
Avatar
ws-client BOT 2024-03-10 01:23:51Z
<ChillerDragon> use JPython then troll
Avatar
The only positive thing I can say about it is "it works"
Avatar
ws-client BOT 2024-03-10 01:25:37Z
<ChillerDragon> how often are irc logs synced? they are quite behind https://ddnet.org/irclogs/
Avatar
I’ve been telling y’all for years. Lua is goated, if only we the software people hadn’t abandoned it
Avatar
Avatar
Sporkington_
how does ddnet store tee colors?
the custom color values?
Avatar
Avatar
ws-client
<ChillerDragon> finally a non bloated language? time to switch from bash to lua
LUA BASED
Avatar
chillerdragon BOT 2024-03-10 07:59:56Z
Nah it’s bug there is already an issue for it
Avatar
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
Avatar
chillerdragon BOT 2024-03-10 08:01:40Z
I will never have nothing todo lol but send error
Avatar
ehm
Avatar
chillerdragon BOT 2024-03-10 08:02:07Z
Also since when do you do server dev?
Avatar
i had to add a few lines to ddnet server
08:02
which just writes 1 or 0 to shared memory xD
Avatar
chillerdragon BOT 2024-03-10 08:03:06Z
Idk what that means but sounds sus
Avatar
ws-client BOT 2024-03-10 08:25:42Z
<ChillerDragon> @Miguilim thanks a lot for the hint that this is a snap single message i found my bug thanks to that :) !!!!!!!!!!!
08:25
<ChillerDragon> but i am still starring at the same message being a bit confused
08:26
<ChillerDragon>
08:26
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
08:27
<ChillerDragon> The second message starts at 06 0b 0f 9a 51 9b 51 ... right? Thats the snap
08:28
<ChillerDragon> 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
08:28
<ChillerDragon> That would make 06 0b the chunk header right?
08:29
<ChillerDragon> 0f is NETMSG_SNAPSINGLE
08:29
<ChillerDragon> a
08:29
<ChillerDragon> wait ...
08:30
<ChillerDragon> ye 06 0b is flags=0 size=107 that sounds about right
08:32
<ChillerDragon> i am so lost in the mess of a setup that i have xxxxxxxxxxD
Avatar
chillerdragon: your messages look so much like spam
Avatar
ws-client BOT 2024-03-10 09:06:29Z
<ChillerDragon> rude
Avatar
ws-client BOT 2024-03-10 09:59:02Z
<ChillerDragon> @zhn why base64 what base64? xd
10:00
<ChillerDragon> you mean in the url query parameter for compressing it? yea that sounds reasonable
Avatar
yeah, discord divides your message in two everytime you send some packet
Avatar
chillerdragon BOT 2024-03-10 10:22:48Z
Oh yikes that sounds bad
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
CNetConsole will now ignore received lines containing invalid UTF-8 codepoints. Previously, it was possible to crash the server on Windows with Econ commands like exec .

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds arra...
11:01
6d2f492 Add Estonian translation (by Cammo) - def- c824bcc Merge pull request #8078 from def-/pr-eesti-keel - Robyt3
11:03
<ChillerDragon> what am i not getting here
Avatar
Reversing open-source game xdd
Avatar
ws-client BOT 2024-03-10 11:20:14Z
<ChillerDragon> indeed
Avatar
ws-client BOT 2024-03-10 11:49:05Z
<ChillerDragon> ehm what the fak
11:49
<ChillerDragon> ist the token!?
11:49
<ChillerDragon> at the end?
11:49
<ChillerDragon> and ppl hate on 0.7 xxxD
11:50
<ChillerDragon> i am just afk and the input always ends with 00 00 00
11:50
<ChillerDragon> the whole packet ends with 1b e8 96 48 tho
11:51
<ChillerDragon> libtw2 says its the token. Is ddnet inserting its token at the end of every packet? For compatibility?
11:52
<ChillerDragon> i should rly look into the ddnet protocol one day :D
Avatar
siggraph exhibit tickets are $25
12:06
should i go
Avatar
Chiller why are you doing this backwards? This is literally insane. Just look at the source??
Avatar
ws-client BOT 2024-03-10 12:23:52Z
<ChillerDragon> reading c++ is so annoying
12:23
<ChillerDragon> its ez af with heinrichs dissector
Avatar
Then read the source of that?
Avatar
ws-client BOT 2024-03-10 12:24:35Z
<ChillerDragon> 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.
12:25
<ChillerDragon> @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.
12:25
<ChillerDragon> Then i can verify
12:25
<ChillerDragon> I like working on the byte level it relaxes me
12:26
<ChillerDragon> Everything seems to be working i did a new pypi release 🚀 now i can continue working on ddnet7 axaxax
Avatar
I pray for you
Avatar
ws-client BOT 2024-03-10 12:44:07Z
<ChillerDragon> what do you guys think about cheat based anti ping? :D
12:44
<ChillerDragon> admin only trust based client side physics
12:45
<ChillerDragon> 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.
Avatar
ws-client BOT 2024-03-10 12:46:25Z
<ChillerDragon> xd
Avatar
But Minecraft mentioned
Avatar
ws-client BOT 2024-03-10 12:46:53Z
<ChillerDragon> I mean it should work without server edits. I might add it to chillerbot-ux then c:
Avatar
chillerdragon: rewrite ddnet protocol in Minecraft's style
Avatar
ws-client BOT 2024-03-10 12:47:41Z
<ChillerDragon> yea right
12:47
<ChillerDragon> ima add chunks for sure!
12:48
<ChillerDragon> and microsoft login
Avatar
I dont have any Microsoft login in tlauncher santatrollet
Avatar
Avatar
ws-client
<ChillerDragon> libtw2 says its the token. Is ddnet inserting its token at the end of every packet? For compatibility?
ChillerDragon: the ddnet protocol has the token at the end inside the potentially huffman-compressed payload. what do you mean with "compatibility"?
13:24
bff5247 Ensure commands executed via Econ are valid UTF-8 - Robyt3 aa2574e Merge pull request #8079 from Robyt3/Econ-UTF8-Validate - def-
Avatar
why i cant register into the master server. log like this. 2024-03-10 21:25:39 I http: libcurl version 8.0.1 (compiled = 8.0.1) 2024-03-10 21:25:39 I host_lookup: host='localhost' port=0 1 2024-03-10 21:25:39 I host_lookup: host='localhost' port=0 2 2024-03-10 21:25:39 I console: executing 'autoexec_server.cfg' 2024-03-10 21:25:39 I server: added maps to votes 2024-03-10 21:25:39 I console: failed to open 'myServerconfig.cfg' 2024-03-10 21:25:39 I server: starting... 2024-03-10 2...
Avatar
anybody here?
Avatar
Nope
Avatar
do you have a question, suoga? 🙂
Avatar
protobuf is such a shit show, removing .github directory isnt that bad of an idea pepeW
Avatar
why's protobuf a shit show?
14:10
(and what does that have to do with a .github directory?)
Avatar
so i dont have wall of red
14:11
justatest
Avatar
you can disable github actions in the repository settings if you'd like, I think
Avatar
Avatar
heinrich5991
why's protobuf a shit show?
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
14:15
02f6042 Add validation for StrToInts and IntsToStr - Robyt3 3805ffb Merge pull request #8073 from Robyt3/Gamecore-Str-Validation - heinrich5991
Avatar
Avatar
MilkeeyCat
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
ah 😦
14:17
could you simply not specify optional?
14:17
I think everything in protobuf 3 is optional
Avatar
why did they reintroduce it pepeW
Avatar
for compatibility with protobuf2, maybe
14:18
but it likely does not do anything
Avatar
ill try to remove it
14:37
SLR 3 🙏
Avatar
@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 reproduce it myself, the problem is our server is not running on ddnet source, but on teworlds 0.6.4 (edited)
Avatar
Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configuration options Written a unit test (especially base/) or add...
Avatar
Avatar
meloƞ
@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 reproduce it myself, the problem is our server is not running on ddnet source, but on teworlds 0.6.4 (edited)
You should apply that PR on your server. Or wait for 18.1, which should fix this crash client-side.
Avatar
will forward that, thanks!
Avatar
Avatar
jxsl13
@ChillerDragon can you update ddnet-insta with this fix here https://github.com/ddnet/ddnet/commit/27f65cdbb0c41ee0b595f01fbee8bf20e8821925
ithinku can not crash if u have download skins off
Avatar
still crashes (edited)
Avatar
ChillDragon: ty btw, problem solved!
18:31
PepeEpic
Avatar
Since trying the new SLR3 based DDNet today, I noticed that something was off with my mouse. I couldn't reproduce it while bisecting. But there was definitely a difference between Steam stable and Steam releasecandidate. After debugging, I noticed that a major difference between SLR3 + DDNet releasecandidate and SLR3 + stable version from the website was that the releasecandidate-version used a bundled libSDL, while the stable version from the website used SLR3's libSDL. After del...
Avatar
Avatar
heinrich5991
why's protobuf a shit show?
And different versions generate different c++ code, so some versions just have errors when compile with flags saddo
Avatar
At the moment, /tpxy is a pretty useful command, but using it creates a lot of monotonous work. For example, sometimes you just need to move one coordinate to the left or right, but to do that you have to write not only the x coordinate but also the y coordinate, which is very annoying on large maps, +1000 blocks. I think it would be to everyone's benefit to give the option to leave the coordinate untouched if you don't pass it. For example, "/tpxy 20.13" would only teleport along the x-axi...
Avatar
is master server down?
Avatar
Avatar
Chairn
is master server down?
Yep
Avatar
Avatar
GitHub
Click to see attachment 🖼️
bro asks to add /tpx and /tpy bruh
Avatar
Closes #8082

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#...
Avatar
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 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 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 2024-03-10 22:05:26 I http: https://master1.ddnet.org/ddnet/15/servers.json failed. libcurl error (47): Maximum (4) redirects followed
Avatar
seems to be back up
👍 1
21:37
1cee65a Document usage of ~ for /tpxy in help text. - furo321 e58468f Merge pull request #8083 from furo321/tpxy-helptext - archimede67
Avatar
Avatar
ws-client
<ChillerDragon> @Miguilim thanks a lot for the hint that this is a snap single message i found my bug thanks to that :) !!!!!!!!!!!
heart
Avatar
Avatar
ws-client
<ChillerDragon> That would make 06 0b the chunk header right?
yes
Avatar
Avatar
ws-client
<ChillerDragon> 0f is NETMSG_SNAPSINGLE
yes, 0f -> 15 15 >> 1 -> 7
Avatar
Avatar
ws-client
the snap single number is 7
22:45
15 is the value before the >> 1 operation
22:45
I think it should be 0x0f >> 1 == 7
22:46
and you must verify if its a system message before this operation
22:46
like : byte[2] = 0x0f isSystem = byte[2] & 1 message = byte[2] >> 1 if isSystem && message == 7: // SNAPSINGLE (edited)
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
Fixed the command not working without having a finish on the map. Added appropriate chat responses since it was rather confusing to use. !1 !2

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration optio...
Exported 187 message(s)