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 2025-01-26 00:00 and 2025-01-27 00:00
Avatar
amazing
Avatar
Avatar
Solly
youre zhn???
no thats chillerdragon
Avatar
lies & deceit
Avatar
chillerdragon BOT 2025-01-26 00:06
I am Solly
Avatar
ur souli
Avatar
im noby
Avatar
I got the macos build working! :D
01:10
I went back to the native build because those problems looked easier to fix
Avatar
What exactly does the gametime margin mean, especially when it's spiking?
01:18
How can I debug this?
01:20
What server-side thing could affect it?
Avatar
& what could cause high pred ms in debug menu? also searching for a serverside fix
Avatar
ChillerDragon, filter now fully compatible with 0.7
Avatar
Avatar
fokkonaut
What exactly does the gametime margin mean, especially when it's spiking?
gametime is the stability of the snapshots the server is sending you
01:54
the graph is not that useful
01:54
it won't show missing snapshots
01:54
only ones that are delayed
01:54
but not that delayed
01:55
I think the direction is also reversed
01:55
so a high spike means the snapshot was late, a low spike means it was early
Avatar
thanks
Avatar
<sound:0:1>
Avatar
@Cellegen for the most basic example, consider the case of a moving point colliding with a box Instead of checking the point's location at a number of substeps and checking if any of those are inside the box, you instead consider the collision between a line segment and a box, where the line segment is just the path that the point would've traveled during that tick
Avatar
wouldn't you get that line segment from a raycast tho?
Avatar
The line segment in this example is simply the line between the previous position of the point and the position the point would end up at if there was nothing obstructing its motion
Avatar
what is the line represented as?
02:20
in terms of code
Avatar
a line segment is naturally represented as its start and end points
02:21
so two vectors
Avatar
Avatar
risu
so two vectors
ty
02:23
Oh, that comes in a neat way of detecting things then right? If you make a rectangle out of those two vectors (previous position - current position), then inbetween those positions are the entities that we care about right? so in cases of comparision, we only compare to entities inside that region
02:23
But I guess you gonna mention other stuff xd
Avatar
though I guess representing it as the starting point and the vector from the starting point to the end point would be just as good
Avatar
Avatar
Cellegen
Oh, that comes in a neat way of detecting things then right? If you make a rectangle out of those two vectors (previous position - current position), then inbetween those positions are the entities that we care about right? so in cases of comparision, we only compare to entities inside that region
Yep!
Avatar
Avatar
risu
though I guess representing it as the starting point and the vector from the starting point to the end point would be just as good
so in this case it'd just be the position last tick and velocity * dt
Avatar
And I assume any entity in the appr. middle of the region is a guaranteed hit right?
Avatar
Well depends on the size of the entity you're colliding with but yeah
02:25
let me find you a nice Wikipedia page
Avatar
the approximation would be the middle part +- the size of the tee / 2 (edited)
Avatar
Avatar
risu
let me find you a nice Wikipedia page
pls do owo
Avatar
Avatar
Cellegen
pls do owo
I'm sorry, I couldn't seem to find a Wikipedia page that explains the simpler cases that I'm talking about 😔
Avatar
👍 np, I kinda got the jest of it
Avatar
Look into Minkowski sums and differences, and see if you can understand the idea of the GJK algorithm What I was talking about earlier was basically the special cases where you can skip the whole GJK part and immediately determine if the Minkowski difference contains the origin
03:11
For example, the Minkowski difference of two spheres is also a sphere, and finding whether a point is inside a sphere is trivial
03:12
(tees are conveniently circular)
03:13
The Minkowski difference of two axis aligned rectangles is also an axis aligned rectangle, and those are trivial too
Avatar
GitHub BOT 2025-01-26 03:33
prediction is fucked, since client thinks it can jump unlimited times. makes it hard for modders to use it
Avatar
Hello everyone, I have the following problem: when I start the server, master ddnet does not register me and the server is not searched for. If I start the server through master teeworlds, then everything works, but since teeworlds is an old version, I need a server specifically ddnet, please help. If anything, there is a white IP, ports are open everywhere, sv_register 1, in other games the servers start.
Avatar
chillerdragon BOT 2025-01-26 06:59
@inclosed: anything in the logs?
Avatar
chillerdragon BOT 2025-01-26 07:01
@Davide: woah that was fast! That’s pretty cool, thanks :)
07:02
Can you curl https://master1.ddnet.org (edited)
07:02
What operating system are you using to host the server?
Avatar
chillerdragon BOT 2025-01-26 07:04
Ah you run it on your machine at home?
Avatar
Avatar
chillerdragon
What operating system are you using to host the server?
I have 2 PCs, one on Windows 11, the other on Ubuntu, it doesn't work anywhere, the same error
Avatar
I GOT GUIDES IN AUTOMAP WORKING
07:05
hold on lemme record a video
Avatar
chillerdragon BOT 2025-01-26 07:06
I am not sure what dns differences there are between the curl cli and the ddnet servers curl. But somehow it looks like the dns is broken but not really sure what’s going on there.
Avatar
linux
Avatar
Avatar
Hecta
I GOT GUIDES IN AUTOMAP WORKING
Avatar
chillerdragon BOT 2025-01-26 07:07
Both machines are running in your home network right?
Avatar
Yes
Avatar
chillerdragon BOT 2025-01-26 07:08
I would blame your network but if teeworlds works that’s weird.
07:08
Yea no idea sorry.
Avatar
Yes, if I connect via master.teeworlds, the servers are working and I can log in to them
07:09
Is it possible to run DDNet server through master teeworlds?
Avatar
chillerdragon BOT 2025-01-26 07:09
You can not even log into the ddnet servers?
07:10
Technically yes but it’s not trivial @inclosed
07:10
You should be able to connect to the server even if it is not in the master
Avatar
I can access the server, but it doesn't show up in the search.
Avatar
chillerdragon BOT 2025-01-26 07:10
Ok
Avatar
Avatar
chillerdragon
@Davide: woah that was fast! That’s pretty cool, thanks :)
@ChillerDragon 😉
07:12
BTW, 0.7 is a bit different than DDNet
Avatar
chillerdragon BOT 2025-01-26 07:12
Davide now stop blocking this poor guy from the master
Avatar
I had to do a lot of changes
Avatar
chillerdragon BOT 2025-01-26 07:12
When??
Avatar
Avatar
chillerdragon
Davide now stop blocking this poor guy from the master
D:
Avatar
chillerdragon BOT 2025-01-26 07:12
Aren’t you in Italy timezone?
07:12
It was like middle of the night when we were still gaming
Avatar
Yes I'm
Avatar
chillerdragon BOT 2025-01-26 07:13
When did you sleep
Avatar
Avatar
chillerdragon
It was like middle of the night when we were still gaming
Yeah
07:13
Well, I just woke up
07:13
I don't sleep a lot
Avatar
chillerdragon BOT 2025-01-26 07:13
How did you even manage to do 0.7 without redirect
Avatar
Try to connect and you will understand
07:13
🤣
Avatar
chillerdragon BOT 2025-01-26 07:14
Epic puzzle
07:14
Still got no dissector
07:14
I mean
Avatar
chillerdragon BOT 2025-01-26 07:14
I will try later
Avatar
You will underatand it even without dissector (edited)
Avatar
chillerdragon BOT 2025-01-26 07:14
Of course
07:14
I can read the raw bytes
Avatar
I did something stupd but it works
07:14
No
Avatar
chillerdragon BOT 2025-01-26 07:15
I can!
Avatar
You will understand it by the client
07:15
No need to check packets hahahaha
Avatar
chillerdragon BOT 2025-01-26 07:15
I speak 0.7 as hexdump natively
Avatar
Can you help me? My server can be accessed by IP, but it is not in the search
Avatar
Avatar
inclosed
linux
64ms seems a little bit low for a timeout
07:16
If you are too far from the master
07:16
It can lead to a timeout
Avatar
chillerdragon BOT 2025-01-26 07:16
The other issue says can’t resolve like it was dns
07:16
Pretty weird that curl works
Avatar
Probably no timeouts in normal curl
Avatar
chillerdragon BOT 2025-01-26 07:17
You think he just has reaaaally slow internet?
Avatar
By default curl timeout is something like 160s
Avatar
Avatar
chillerdragon
You think he just has reaaaally slow internet?
It can be!
Avatar
chillerdragon BOT 2025-01-26 07:17
The teeworlds master works for him
Avatar
Well, UDP don't really have a timeout most of the times
Avatar
chillerdragon BOT 2025-01-26 07:18
@inclosed: how long did it take for the curl to finish?
Avatar
You know.. UDP... 😄
Avatar
chillerdragon BOT 2025-01-26 07:18
Oh right udp master
Avatar
timeout 0.064 curl https://url.com/
07:19
I suggest this test
07:19
Replacing url.com with the master url (edited)
Avatar
chillerdragon BOT 2025-01-26 07:19
Ok time to find some coffee
Avatar
Avatar
chillerdragon
@inclosed: how long did it take for the curl to finish?
07:19
my speed
Avatar
If it fails, then it makes sense it fails even on DDNet server
Avatar
i in russia
Avatar
Avatar
inclosed
Click to see attachment 🖼️
Cover your ip addr
Avatar
ohhh
07:21
I don't understand what I should do now to solve the problem?
07:22
https://url.com/ I can't log in
URL.com is a sought-after domain that MediaOptions can help broker for you. Contact us today to get the domain name your company needs!
Avatar
ChillerDragon BOT 2025-01-26 07:23
@Davide LMAO
07:23
smooth
Avatar
ChillerDragon BOT 2025-01-26 07:24
Segmentation fault (core dumped)
07:24
teeworlds master be like
07:24
yea i mean if it works it works pretty cool
Avatar
LOL 😄
Avatar
ChillerDragon BOT 2025-01-26 07:24
davide cant you abuse the change map message?
Avatar
How do I run DDNet server through teeworlds master?
Avatar
ChillerDragon BOT 2025-01-26 07:25
you need to write code for that
07:25
it wont be easy
Avatar
Avatar
ChillerDragon
davide cant you abuse the change map message?
I didn't find it in the tw source code, btw I think no because it's the handshake par
07:25
part*
07:26
so I don't think I can do that
07:26
😄
Avatar
ChillerDragon BOT 2025-01-26 07:26
we should probably not discuss that here xd
Avatar
sv_register_url will work?
Avatar
Avatar
ChillerDragon
we should probably not discuss that here xd
well, it's a dev channel, but yes hahahaha
Avatar
ChillerDragon BOT 2025-01-26 07:27
u dont even want to open source it
07:27
so might as well not discuss its details publicly
07:28
yea i am not sure if it is possible i would have to think about it
07:28
but don't bother to improve it the solution you came up with is really cool thanks for doing that!!!
Avatar
well, I don't really care telling how it works, I'll not open source it a) because it's useless, nobody can use it without proper hardware and uplinks and b) I use a lot of "helper functions" whiich I use in a lot of filters, and I'll never share them 😄
Avatar
Avatar
Davide
well, I don't really care telling how it works, I'll not open source it a) because it's useless, nobody can use it without proper hardware and uplinks and b) I use a lot of "helper functions" whiich I use in a lot of filters, and I'll never share them 😄
I mean, I'm not worried about telling how it works (edited)
Avatar
I still don't understand much, I communicate with you through a translator 😄
Avatar
Avatar
ChillerDragon
but don't bother to improve it the solution you came up with is really cool thanks for doing that!!!
thanks! 😄
Avatar
ChillerDragon BOT 2025-01-26 07:30
sorry we are not talking about your issue anymore inclosed
Avatar
do you see the quotes right?
Avatar
ChillerDragon BOT 2025-01-26 07:30
you have to wait until some of the ddnet pros awakes
Avatar
when I reply
Avatar
ChillerDragon BOT 2025-01-26 07:30
no
Avatar
oh 🥲 that's sad
Avatar
ChillerDragon BOT 2025-01-26 07:31
i do not see replies
Avatar
So it turns out I can't run servers? I specifically built a server PC for this((
Avatar
ChillerDragon BOT 2025-01-26 07:31
i developed a sense davide i see them in my head
Avatar
okay
Avatar
MilkeeyCat 2025-01-26 07:31
chillerdragon: to what messsage did I reply now?
Avatar
hahahahaha
Avatar
ChillerDragon BOT 2025-01-26 07:32
omg
07:32
irc bullying
07:32
milkeeycat the segmentation fault one?
Avatar
MilkeeyCat 2025-01-26 07:32
nope
Avatar
do you know the path to json on master1.teeworlds.com ?
Avatar
ChillerDragon BOT 2025-01-26 07:32
bro its too random
07:33
there is no json or http
07:33
teeworlds uses a different master technology
Avatar
MilkeeyCat 2025-01-26 07:33
chillerdragon: do you remember that discord-irc bridge I was working in golang? I think it's time to work more on it xd
Avatar
ChillerDragon BOT 2025-01-26 07:34
yes
07:34
yes
Avatar
MilkeeyCat 2025-01-26 07:34
it was using relative offsets for replies but that's bad, i think it would be better if every message had some kind of id and you could reply to it at any time
Avatar
ChillerDragon BOT 2025-01-26 07:35
i mean you control the bridge you could include ids into the message text
Avatar
@ChillerDragon downloading discord is too hard?
Avatar
ChillerDragon BOT 2025-01-26 07:35
yes
07:35
what about using it via browser?
Avatar
ChillerDragon BOT 2025-01-26 07:35
mom: we have discord at home https://chat.zillyhuhn.com/
Avatar
MilkeeyCat 2025-01-26 07:35
chillerdragon: yea
Avatar
ChillerDragon BOT 2025-01-26 07:36
@Davide register pw is nimrocks
Avatar
LOL THAT EMOTE
Avatar
ws-client BOT 2025-01-26 07:36
<ChillerDragon> @Davide its that i do not like discord
07:36
<ChillerDragon> its too closed source and full of tos
Avatar
who cares, you just send messages
07:37
something you are already doing (edited)
07:37
😄
Avatar
ws-client BOT 2025-01-26 07:37
<ChillerDragon> they ban custom clients and randomly lock accounts and require a phone number
Avatar
MilkeeyCat 2025-01-26 07:37
never happened to me :p
Avatar
ws-client BOT 2025-01-26 07:37
<ChillerDragon> i do not feel comfortable there
Avatar
riip
Avatar
ws-client BOT 2025-01-26 07:37
<ChillerDragon> irc is pretty cool
Avatar
and pretty old
Avatar
ws-client BOT 2025-01-26 07:38
<ChillerDragon> agism
Avatar
and your ip is also exposed
07:38
😄
Avatar
ws-client BOT 2025-01-26 07:38
<ChillerDragon> yes my servers ip is public anyways
Avatar
MilkeeyCat 2025-01-26 07:38
irc is pretty cool
ok booomer
Avatar
ws-client BOT 2025-01-26 07:39
<ChillerDragon> sad i can not reproduce the segfault
07:39
<ChillerDragon> wtf happend
07:39
<HectaVoxel> godddd i forgot how funny the discord-side message icons look here
07:39
<ChillerDragon> when it says core dumped that doesnt mean i have a core dump file somewhere right?
07:39
<ChillerDragon> or do i just never find them
Avatar
you can try to do the same as I do with the servers @ChillerDragon
07:42
Avatar
ws-client BOT 2025-01-26 07:42
<ChillerDragon> lol classic
Avatar
Worth a try
Avatar
ws-client BOT 2025-01-26 07:42
<ChillerDragon> OMG
07:42
<ChillerDragon> I DO HAVE THEM
07:42
<ChillerDragon> in /var/lib/systemd/coredump/
Avatar
Nice!
Avatar
ws-client BOT 2025-01-26 07:42
<ChillerDragon> 0d teeworlds exploit incoming
07:42
<ChillerDragon> will never be patched
07:43
<HectaVoxel> how to exploit a game based off of exploits:
Avatar
why am i using zillyhuhn? discord is literally right here LOL
Avatar
anyways im almost done with my automap update
07:44
i hate making popups so much 😭
07:45
ill do that tommorow
07:45
should i push the update for what i have right now so people can poke at it
07:45
or wait until its completely done?
Avatar
ws-client BOT 2025-01-26 07:48
<ChillerDragon> i like draft prs
07:49
<ChillerDragon> reduces time wasted to get early feedback if you have to rewrite or throw away anyways
07:49
<ChillerDragon> but given the current pr pile you wont get a review anways lol
Avatar
I did sv_register ipv4 and this is what happened
08:08
Avatar
Avatar
ws-client
<ChillerDragon> reduces time wasted to get early feedback if you have to rewrite or throw away anyways
alright i sent the draft PR
Avatar
ws-client BOT 2025-01-26 09:01
<ChillerDragon> @Avolicious .yml or .yaml
Avatar
Avatar
ws-client
<ChillerDragon> @Avolicious .yml or .yaml
Avolicious 2025-01-26 09:06
both works fine .yaml is the official file extension but .yml is used by a lot
Avatar
ws-client BOT 2025-01-26 09:13
<ChillerDragon> oh nice there is a official one good to know i was leaning towards .yaml already just wanted to make sure
09:13
<ChillerDragon> how is .yml a thing?
09:13
<ChillerDragon> even .htm died out
Avatar
Avolicious 2025-01-26 09:13
gitlab-ci.yml
Avatar
ws-client BOT 2025-01-26 09:14
<ChillerDragon> oh yea these fuckers
09:14
<ChillerDragon> it doesnt load the .yaml one right?
09:14
<ChillerDragon> what a waste of time to debug shit like that
Avatar
Avatar
ws-client
<ChillerDragon> it doesnt load the .yaml one right?
Avolicious 2025-01-26 09:14
i am not quite sure, it will tell you for sure
Avatar
MilkeeyCat 2025-01-26 09:49
chillerdragon: ok maybe i'm not gonna work on the bridge, i can't connect to any irc server -.-
Avatar
ws-client BOT 2025-01-26 10:13
<ChillerDragon> rip
10:13
<ChillerDragon> run your own https://github.com/jrosdahl/miniircd
A very simple Internet Relay Chat (IRC) server. Contribute to jrosdahl/miniircd development by creating an account on GitHub.
Avatar
MilkeeyCat 2025-01-26 10:40
chillerdragon: where can I find #off-topic channel from your chat, I forgot
Avatar
ws-client BOT 2025-01-26 10:41
<ChillerDragon> quakenet #ddnet-off-topic
Avatar
MilkeeyCat 2025-01-26 10:44
I was connecting to a wrong port all the time xd
Avatar
ws-client BOT 2025-01-26 10:47
<ChillerDragon> @Faulty i sent you some wire c:
Avatar
ws-client BOT 2025-01-26 10:58
<ChillerDragon> @deen what is the recommended file structure for anti bot that is in a separate repo? How do you do it on official servers?
Avatar
help me please
Avatar
ws-client BOT 2025-01-26 11:16
<ChillerDragon> which port did you use for the teeworlds server?
Avatar
8300
11:19
11:19
port open
11:21
teeworlds server started
Avatar
ws-client BOT 2025-01-26 11:26
<ChillerDragon> @heinrich5991 when open discord
11:26
<ChillerDragon> or are you the new oy online available on github?
Avatar
I didn't understand, I'm communicating through a translator
11:33
It also started from Linux and you can access it. But it's teeworlds and not ddnet. Port 8303
11:37
ddnet not started ...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Should this help me?
Avatar
no
Avatar
oh..
11:46
What should I do? The server starts, you can log in, but it is not in the search
Avatar
GitHub BOT 2025-01-26 11:49
Fixes https://github.com/ddnet/ddnet/issues/9480 Do we need the reconnect time? Won't the server block too fast reconnects too?

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 aff...
Avatar
GitHub BOT 2025-01-26 12:03
e50d972 Match antibot_null.cpp arg to antibot_interface.h - ChillerDragon 4657a2f Merge pull request #9588 from ddnet-insta/pr_antibot_arg - heinrich5991
Avatar
GitHub BOT 2025-01-26 12:57
0b4ef8b Fix dummy reconnecting - def- 00bb74c Merge pull request #9589 from def-/pr-dummy-connect-fix - def-
Avatar
heya
13:41
8ef10a9 Update translation stats - def-
Avatar
GitHub BOT 2025-01-26 14:45
Reported by Zig. Existing automapper rules for that image should be removed when re-importing it.
Avatar
Avatar
inclosed
Click to see attachment 🖼️
have you port forwarded on ur router ?
14:47
the port u're using for ur ddnet server
Avatar
have it drift over all 4 (edited)
Avatar
кто говорит на руском
16:37
Avatar
Avatar
WyQesi
кто говорит на руском
people in #off-topic do.
Avatar
what's wrong with the c++ committee ?
Avatar
this sux (edited)
17:07
time for me to go to work for 8 hours and not fix this by the way
Avatar
you need to make aPosRuleType larger
Avatar
86 gigabytes
Avatar
Avatar
Chairn
you need to make aPosRuleType larger
ill increase it to 16 when i get home
Avatar
Avatar
Chairn
what's wrong with the c++ committee ?
They don't move fast and break things. The pace of mature languages is incompatible with most modern developers
Avatar
@art0007i boo
👍 1
👻 1
Avatar
Avatar
Learath2
They don't move fast and break things. The pace of mature languages is incompatible with most modern developers
they move slow and break things
19:59
they should stop moving so people make c+++
20:01
actually to be fair they have done a few crazy things in the past but the compilers just refuse to implement them so they can only do so much (edited)
20:03
modules would be cool if they worked
Avatar
GitHub BOT 2025-01-26 20:46
Generate unique local addresses (IPv6 addresses) for debug dummies so address-based functions work with debug dummies. Every debug dummy's ULA has a randomly generated global ID such that debug dummy addresses are most likely unique. The ULA's subnet ID is set to a constant value. The ULA's interface ID is set to the dummy's client ID. See https://en.wikipedia.org/wiki/Unique_local_address for details about the format. The port is generated randomly in the same way that normal clients select ...
Avatar
GitHub BOT 2025-01-26 21:28
9aa9edb Don't write changes through initial args for game config to the output config. - Jupeyy d03d8ca Merge pull request #89 from Jupeyy/pr_vanilla_initial_args_no_perma_change - Jupeyy
Avatar
chillerdragon BOT 2025-01-26 21:47
@Learath2: u know what is in ddnet anti bot repo? And how is it linked into the servers? I am looking for the recommended way to set it up. Every project I saw so far had some non clean solutions for storing the anti bot code.
Avatar
Avatar
chillerdragon
@Learath2: u know what is in ddnet anti bot repo? And how is it linked into the servers? I am looking for the recommended way to set it up. Every project I saw so far had some non clean solutions for storing the anti bot code.
it's basically just g++ antibot_lib.cpp <some_other_cpp_files>... -I/ddnet/src -I/ddnet/build/src -fvisibility=hidden -fPIC -shared -o libantibot.so -Og -g
justatest 1
Avatar
chillerdragon BOT 2025-01-26 23:02
I see it doesn’t need cmake and can then be moved anywhere. So there isn’t really the smooth solution I was hoping for. That builds it with the server using cmake.
Exported 308 message(s)
Timezone: UTC+0