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-08-28 00:00 and 2024-08-29 00:00
Avatar
chillerdragon BOT 2024-08-28 00:14
Is teeworlds more verbose than ddnet? Looks normal to me. Do you have debug mod on? Or what verbosity level is your ddnet console set to?
Replying to @meloƞ `ChillerDragon why the hell is teeworlds so damn verbose
Avatar
depends on if this debug information is expected by default if built from source. Since this is teeworlds master I have no idea, I'm not really familiar with anything that happens over there, it just stood out while I was testing something (edited)
00:18
My entire console was filled with: weird message 'invalid' (0) when joining any ddnet Server btw, is this known?
Avatar
ws-client BOT 2024-08-28 00:52
<ChillerDragon> ddnet abuses msg type 0 for its extensions
00:52
<ChillerDragon> on vanilla servers this does not happen
00:54
<ChillerDragon> i didnt know thats printed by default thats indeed a bit odd
00:55
<ChillerDragon> i personally wouldnt notice because the vanilla based clients i use are waaaayyy more verbose and i like all the verbosity i can get xd
00:55
<ChillerDragon> debug should be off by default
Avatar
chillerdragon BOT 2024-08-28 01:00
crazy str_format(aBuf, sizeof(aBuf), "dropped weird message '%s' (%d), failed on '%s'", m_NetObjHandler.GetMsgName(MsgId), MsgId, m_NetObjHandler.FailedMsgOn());
01:00
is not wrapped in a debug if statement on the client side
01:00
on the server side it is
01:01
i did not realize that. Thats odd im sure Oy would merge a pr to fix that to reduce spam on ddnet servers
05:48
is this intended for clang-format. or is this just what vscode do
05:48
i mean the comment spacing
Avatar
MilkeeyCat 2024-08-28 05:49
Mine also does this xd
Avatar
i can't pr these changes can i
Avatar
MilkeeyCat 2024-08-28 05:50
Remove each space individually 😬
Avatar
MilkeeyCat 2024-08-28 05:51
Is it clang format 10?
05:52
lmao
Avatar
MilkeeyCat 2024-08-28 05:53
I have a newer version in neovim and it adds spaces but with clang format 10 it doesn't add spaces
Avatar
i'll try to install a lower version
05:54
i'll check our ci actually.
05:54
thanks my man
05:55
winget is too new for clangformat 10 apparently
Avatar
MilkeeyCat 2024-08-28 05:57
static-linked versions of clang tools for Linux, Mac OS X and Windows, available in AUR as clang-format-static-bin - muttleyxd/clang-tools-static-binaries
05:58
I revisited the very old spectator cursor pr
05:58
got it to a barely bearable state. i think i might just pr that
05:59
"interpolate in teeworlds challenge! SHOCKING / IMPOSSIBLE"
Avatar
Avatar
TsFreddie
I revisited the very old spectator cursor pr
can you send a link?
Avatar
let me just pr this
Avatar
old pr i mean
Avatar
#3262
Avatar
Display player&#39;s cursor when spectating and in demo. Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configu...
Avatar
pls no, i think you can broke my static camera feature with that thing 😄
06:04
or vice versa improve 👀
06:06
what static camera
06:06
it doesn't show anything in free view
Avatar
Avatar
TsFreddie
what static camera
Avatar
is this in ddnet currently
Avatar
Avatar
TsFreddie
is this in ddnet currently
and on any 0.6 version, maybe and in 0.5
Avatar
is this a server mod
06:09
you'll be fine. spec cursor is a new protocol. you'll need to implement it in server side
Avatar
Avatar
TsFreddie
you'll be fine. spec cursor is a new protocol. you'll need to implement it in server side
it's cool, because as you can see there no cursor now xD
Avatar
and you can just, not implement this. client doesn't show anything if the server does not supports it
👍🏻 1
06:11
it's not like it was always there, and i just draws it. the client have no idea what cursor is actually.
Avatar
it's good that the server in this case is the source of the cursor, i like it
Avatar
i would perfer avoid extra bandwidth just for sending cursor actually lol. but ye, it is a new server protocol
Avatar
Avatar
TsFreddie
i would perfer avoid extra bandwidth just for sending cursor actually lol. but ye, it is a new server protocol
for ddnet maybe, but for custom gamemodes any new client protocol features it's cool (edited)
Avatar
oh no, protocol abuse alert
06:16
maybe a tutorial cursor or something lol
Avatar
@TsFreddie bro make protocol for snap custom quads or sprites from server side (from the map) ❤️ (edited)
06:18
sprite id, position, rotation, color
Avatar
nah
😭 1
Avatar
MilkeeyCat 2024-08-28 06:22
i want to make a mod which adds the gun from the game portal frozen
Avatar
Add twerking twinbop to the protocol
06:32
Sorry, typo
06:32
Clueless
Avatar
MilkeeyCat 2024-08-28 06:37
if let Expr::Binary(ExprBinary{op: BinOp::LogicarOr, left, right}) = *expr.right { //Stuff } rust's if let expressions are so goood
Avatar
poggers 1
Avatar
GitHub BOT 2024-08-28 07:02
Re-implements #3262 Implications:
  • Server protocol
  • Increased bandwidth per player (at least it is not player^player)
  • No server demo support
Added settings: cl_spec_cursor, cl_spec_cursor_interp, cl_spec_cursor_demo SpecCursor snapshot contains cursor info of two ticks, with prev-info delta encoded, (which is then delta encoded again by snapshot deltas), expect about 5~7 bytes per player per snap pre-huffman. The decision of including two ticks of input is to make sur...
Avatar
This should look a lot better than the old pr
07:02
but probably still not perfect but i think the "perfect" solution does not exist (edited)
07:05
i hate my life
07:08
catxplosion if anyone have better idea for interpolation, please let me know oof
Avatar
@TsFreddie are player cursors not already in the protocol?
07:11
I linked on the PR
Avatar
Bruh, since when
Avatar
I am also rendering them already xd
07:11
since like 2 years I think
Avatar
well the old pr is 4 years old
Avatar
I thought it was excluded from rendering because they look bad with only 25tps (edited)
07:12
it's used for accurate hookline
07:13
i mean speccursor is per player instead of per player character
Avatar
wdym "spec cursor"
Avatar
the new protocol
07:13
in my pr
Avatar
but what does that mean
07:13
what is a spec cursor
07:13
isn't that a normal cursor
Avatar
that's just what I called the netobj (edited)
Avatar
but what does it have to do with spectating?
Avatar
cuz it sends only when you spectate
07:14
well not true, but that is the idea
Avatar
well we already send full cursor every tick for all players
Avatar
one player only gets one spec cursor instead of 64 (if the server is full)
07:15
but spec cursor sends two cursors
07:16
i mean i can extract the target info from DDNetChar and add a protocol specifically for missing info at 25tps
07:16
but that doesn't sound fun
Avatar
I don't understand why we need extra protocol
07:18
07:18
I already render them fine
Avatar
to show cursor at 50tps
07:18
...
07:18
is it worth it?
Avatar
who knows
Avatar
50tps can be done with sv_high_bandwidth
Avatar
ye but that doubles everything up
07:20
server still sends at 25, cursor displays at 50, that's the whole point
07:21
it was probably worth it in 2020
07:21
i didn't know you guys added new stuff
Avatar
idk I think deen might be open to using high_bandwidth anyway. It's a pretty noticable increase in quality
Avatar
chn can die
Avatar
bandwidth is low?
Avatar
ye, like 5Mbps per server (edited)
Avatar
it's not a 2x increase tho because the snapdiffs get smaller, but it's probably nearly 2x
Avatar
probably
Avatar
Avatar
TsFreddie
ye, like 5Mbps per server (edited)
this seems kinda low ngl
Avatar
i didn't say it wasn't low
07:23
it is extremely low
07:23
and expensive
07:23
i hate it
Avatar
you mean the server is sending that, or it's the cap?
Avatar
cap
Avatar
we bought dedicated server with higher bandwidth at 30Mbps and 50Mbps
Avatar
have you tried spline smoothing for the cursor at 25tps (edited)
07:24
the math is very simple
Avatar
not really
07:24
and i kinda don't want to now
07:26
maybe someone else can do it
Avatar
Avatar
TsFreddie
we bought dedicated server with higher bandwidth at 30Mbps and 50Mbps
but those ranges from 175cny to 306cny per month
07:27
kek
Avatar
Avatar
TsFreddie
and i kinda don't want to now
why not?
🥔 1
Avatar
cuz i don't want to?
Avatar
MilkeeyCat 2024-08-28 07:28
@Learath2 is that better?
Avatar
but you can just plug the m_Snap.m_aCharacters[i].m_ExtendedData.m_TargetX data into your PR and it works instantly?
🥔 1
Avatar
not really, it snaps differently
Avatar
you mean it's too low tps or actually different? (edited)
Avatar
actually different. i'm not snapping for all characters
Avatar
Avatar
MilkeeyCat
@Learath2 is that better?
Did you forget to hit recompile?
Avatar
Avatar
Learath2
Did you forget to hit recompile?
MilkeeyCat 2024-08-28 07:30
is it as bad as before? (edited)
Avatar
you are basically asking me to remove most of my PR and cut it down to about 5 lines. which is fine but i'm not nuking my PR for that. we can open another one
Avatar
Avatar
MilkeeyCat
is it as bad as before? (edited)
No it's pretty clean but either my mental assembler is wrong or this isn't that code
Avatar
Avatar
Learath2
No it's pretty clean but either my mental assembler is wrong or this isn't that code
MilkeeyCat 2024-08-28 07:31
2 was from previous code
Avatar
That makes more sense 😄
07:32
Looks great gjgj. Try more complicated stuff though. Very easy to get this wrong
Avatar
MilkeeyCat 2024-08-28 07:32
now I have to pass these labels all over the place but I guess it's worth it
Avatar
Avatar
MilkeeyCat
now I have to pass these labels all over the place but I guess it's worth it
Your old solution also had labels iirc, no?
Avatar
Avatar
MilkeeyCat
2 was from previous code
what is that background btw
Avatar
Avatar
TsFreddie
what is that background btw
MilkeeyCat 2024-08-28 07:33
07:33
white one
Avatar
Avatar
TsFreddie
you are basically asking me to remove most of my PR and cut it down to about 5 lines. which is fine but i'm not nuking my PR for that. we can open another one
by we i mean someone else of course, cuz i don't know how to interp at 25tps and i don't actually want to. showing every input is kinda important to me at least.
Avatar
Avatar
Learath2
Your old solution also had labels iirc, no?
MilkeeyCat 2024-08-28 07:34
They were generated only in the place where the logical operators were handled(it's ugly https://github.com/MilkeeyCat/meraki/blob/c2bcefa4e7f52fc00374f9fb8c3601ba261e313d/src/codegen/codegen.rs#L396-L444)
07:35
But to generate pretty stuff I have to pass them
Avatar
𝚘𝚜𝚔𝚘𝚕𝚎𝚛` 2024-08-28 07:44
Hi, how do I reset in ddn?
Avatar
return to the starting point?
Avatar
𝚘𝚜𝚔𝚘𝚕𝚎𝚛` 2024-08-28 07:45
I apologize for the bad spelling, I write through a translator
Avatar
you can press K or use /kill
Avatar
Avatar
TsFreddie
return to the starting point?
𝚘𝚜𝚔𝚘𝚕𝚎𝚛` 2024-08-28 07:46
Screen Resolution Settings
Avatar
ah
07:48
you can open config_directory or config_directory.bat file in the game's folder. Then you can delete settings_ddnet.cfg so your settings will reset. (this includes your key binds and skins tho, maybe backup the file and use a text editor to transfer the settings you want)
Avatar
𝚘𝚜𝚔𝚘𝚕𝚎𝚛` 2024-08-28 07:48
Thank you very much
Avatar
MilkeeyCat 2024-08-28 07:57
@Learath2 with bigger expression it still looks ass feelsbadman
07:59
But I think I'll leave as is
Avatar
at this point i doubt regular player knows what 0.7 means
08:12
@Robyt3 how do I build for Android InsaneCat
Avatar
ah
08:13
i'm blind
08:13
ah (edited)
08:13
At least 10-15 GiB of free disk space.
08:13
work pc actually doesn't have this
08:14
justatest
Avatar
MilkeeyCat 2024-08-28 08:14
first requirement failed
08:14
gg
Avatar
i feel like i'm too stressed out to deal with a new toolchain rn lol
08:15
i don't know what it is but i never knew resigning from a company can be hard
Avatar
Avatar
TsFreddie
At least 10-15 GiB of free disk space.
Jupstar ✪ 2024-08-28 08:21
average rust project uses that just for the build dir 😬
Avatar
Avatar
Jupstar ✪
average rust project uses that just for the build dir 😬
I intentionally didn't care about disk space cuz I knew I'm leaving
Avatar
Jupstar ✪ 2024-08-28 08:22
epyc
08:22
u finally leaving
Avatar
Our unity project's temp folder is getting more and more bloated
08:22
and i just couldn't care to clean it up
08:22
plus our new guy is adding new packages every single day. i don't even know what he is doing
08:23
but he is hired to replace me as a tech lead so i never challenged
08:23
kek
08:24
i thought our project worked fine as-is, maybe he just want it a certain way. although i personally do not like including too many third-party assets, especially the pirated ones (edited)
Avatar
Avatar
Jupstar ✪
u finally leaving
well i told them i won't come in starting from monday
08:24
and my leader told me i should stay until friday
08:24
for whatever reason
08:25
HUH
Avatar
Jupstar ✪ 2024-08-28 08:25
do you quit a job by simply not coming to it?
Avatar
Avatar
Jupstar ✪
do you quit a job by simply not coming to it?
i already sent my resign notice in june (edited)
Avatar
Jupstar ✪ 2024-08-28 08:25
uff
08:25
well actually, maybe even ok
08:25
3 months is still common i guess
Avatar
it is 30 days in chinese labor law but no one cares about that apparently
Avatar
Jupstar ✪ 2024-08-28 08:26
rip
Avatar
i should've been let go july 9th (edited)
08:27
after that i kept taking longer and longer leave, i would just not come in because i don't feel like it, i would just be rude to everyone
08:27
but they still feel like it was worth it to keep me around
08:27
like wtf. i'm trying my best to impose higher risk for the company and they just don't care
Avatar
Avatar
MilkeeyCat
@Learath2 with bigger expression it still looks ass feelsbadman
this is much better than the sete mess, there was lots of no-op branches there
Avatar
i told them i don't want to be here anymore, doesn't work. i sent my resignation notice, doesn't work. i stop showing up they just called police for missing personal and i have to show up
08:29
HUH
08:29
i hate my life lol
Avatar
Avatar
Learath2
this is much better than the sete mess, there was lots of no-op branches there
MilkeeyCat 2024-08-28 08:29
it wasn't even necessary, it was there because of how comparison operators worked
Avatar
Avatar
TsFreddie
i told them i don't want to be here anymore, doesn't work. i sent my resignation notice, doesn't work. i stop showing up they just called police for missing personal and i have to show up
What the fuck?
Avatar
MilkeeyCat 2024-08-28 08:29
they did nothing xd
Avatar
i mean sure, they are scared that i was dead, fair, and i'm moved. but they still keep schedule meetings to ask me to clock-in normally
Avatar
Can't you just tell the police you aren't missing and you just quit? What is this slavery?
Avatar
Avatar
MilkeeyCat
@Learath2 with bigger expression it still looks ass feelsbadman
MilkeeyCat 2024-08-28 08:31
also, there's 2 repeating parts, and idk where it's coming from -.- cmp byte ptr [rbp - 1], 0 je .L0
Avatar
Avatar
Learath2
Can't you just tell the police you aren't missing and you just quit? What is this slavery?
that is a good idea, i'll do that the next time they call the cop lol
Avatar
Avatar
TsFreddie
i told them i don't want to be here anymore, doesn't work. i sent my resignation notice, doesn't work. i stop showing up they just called police for missing personal and i have to show up
be there, but dont work, just play games
09:01
play teeworlds
09:01
btw insane situation makes no sense xd
Avatar
Avatar
Ryozuki
be there, but dont work, just play games
i made some PR
09:02
well two
Avatar
why u do try to be respectful to ppl that dont respect you
Avatar
I'm a nice guy
09:02
kek
Avatar
nah thats called being a punch bag
Avatar
ikr
Avatar
Made a small python script to get latest map finishes and compare players for maps to finish that were unfinished as well as heuristics for next maps to finish. Nothing extraordinary but I thought I would share if anyone wants to use it: https://pastebin.com/SdNit7KG
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Avatar
Avatar
laxa
Made a small python script to get latest map finishes and compare players for maps to finish that were unfinished as well as heuristics for next maps to finish. Nothing extraordinary but I thought I would share if anyone wants to use it: https://pastebin.com/SdNit7KG
pastebin is blocked in turkey FrierenDies
Avatar
God sake, how is it blocked?
09:25
DNS blocked?
09:26
09:26
here it is
Avatar
Avatar
laxa
DNS blocked?
Nah, we are a space age autocracy now, we use cutting edge deep packet inspection
Avatar
What, how are you analyzing encrypted trafic though?
Avatar
Avatar
Learath2
Nah, we are a space age autocracy now, we use cutting edge deep packet inspection
Avolicious 2024-08-28 09:30
Is Turkyie for real doing DPI now?
09:31
The CHN Great Firewall does something similar, its a pain
Avatar
ws-client BOT 2024-08-28 09:33
<ChillerDragon> whats DPI
09:34
<ChillerDragon> a deep packet inspection
Avatar
Avatar
Learath2
Nah, we are a space age autocracy now, we use cutting edge deep packet inspection
we are not so different afterall
Avatar
Avatar
laxa
What, how are you analyzing encrypted trafic though?
SNI is not encrypted. I’m guessing that’s what they are looking for
09:57
I can connect to the server pastebin is hosted on if I request a different website
Avatar
Hope its the default host then 😄
09:58
I guess they filter direct IP connection through HTTPS too ?
Avatar
Avatar
laxa
I guess they filter direct IP connection through HTTPS too ?
They don’t seem to
Avatar
https://www.ietf.org/archive/id/draft-ietf-tls-esni-08.html ECH seems rather shit to me. It seems they only really considered the case where you are behind some protection cartel
This document describes a mechanism in Transport Layer Security (TLS) for encrypting a ClientHello message under a server public key.
10:27
They introduce 2 topologies, then they proceed to never talk about the topology where you aren’t behind cloudflare or fastly or some other service
10:30
What SNI am I supposed to have in my ClientHelloOuter even?
Avatar
Well, their filtering is shit then. When doing audit at clients, when they wanna filter, they just strictly forbid hostnames with IP for HTTPS
Avatar
Support for the “RealtimeSanitizer” was added. RTSan can be used to detect real-time violations e.g. calls to methods that aren’t safe for use in functions with deterministic runtime requirements. d010ec6.
12:19
llvm
12:20
so here's an idea: rustc doesn't currently cache proc macro output because proc macros can have side effects / can be arbitrary code what if, until we figure out the wasm thing / lean into introspection / etc. — we could annotate proc macros as "pure"?
12:20
interesting idea
12:20
NOTE: Don&#39;t merge yet, mostly here for CI, also rebased on top of #128605! This PR enables on-disk caching for incremental compilation of declarative macro expansions. The base mechanism is...
Avatar
есть руские
Avatar
hey
13:14
uhh
13:14
I'm going to start a new project, which is a ddnet/tw client specifically for fng
13:14
with a ton of features, qol changes and stuff (edited)
13:14
so uhh
13:15
what do you recommend me to use as the code base? the ddnet client, the teeworlds client orr just making the code from scratch (edited)
Avatar
Avatar
Blazulite
what do you recommend me to use as the code base? the ddnet client, the teeworlds client orr just making the code from scratch (edited)
Avolicious 2024-08-28 13:19
Making the code from scratch - I recommend to use the DDNet Client Codebase, to get actual support
Avatar
Avatar
Avolicious
Making the code from scratch - I recommend to use the DDNet Client Codebase, to get actual support
I was considering making the code from zero with the only purpose of making it organized on my own way and porting it to raylib
13:21
but yeah, I think using the ddnet client codebase would be a great idea
Avatar
Jupstar ✪ 2024-08-28 13:22
cya in 2 years
Avatar
my obsession with organization's getting too far I think😔
Avatar
Avolicious 2024-08-28 13:26
But why not re-using existing? Maybe you can contribute to upstream DDNet then
13:26
If you find something broken
Avatar
idrk
13:30
it's also to train myself when it comes to coding yk
13:31
tbh my main idea is making my own take on the teeworlds' fng experience but also bringing something brand new at the same time, and I acknowledge many MANY players aren't big fans of changes / new stuff so I prefer just making it a separate thing, if it makes sense(?
13:32
idrk how to explain it
13:32
but ig you get my point
Avatar
Avatar
Blazulite
it's also to train myself when it comes to coding yk
Avolicious 2024-08-28 13:32
But then start with something more easy
Avatar
I mean I have started already
Avatar
Avolicious 2024-08-28 13:32
Try to refactor the ddnet client codebase
Avatar
not a looOOOng time ago but
13:32
I did
Avatar
MilkeeyCat 2024-08-28 13:39
chillerdragon: Do you have required code to connect a tee to server not in assembly?
Avatar
ChillerDragon: How do u finance ur full-time github influencer lifestyle?
14:00
And how shall we tag u in chat?
Avatar
Other question: I want to write a ddnet python client as a fun side project (prob headless, just chat etc). However, im complete noob in game programming, network etc (only do data science). Where should I start with it, i guess i have to figure out what the client sends to the server and what it gets back?
Avatar
start by doing simpler things
Avatar
kek @Gumba learn rust
🔨 1
💀 2
14:20
trust
Avatar
Avatar
Gumba
Other question: I want to write a ddnet python client as a fun side project (prob headless, just chat etc). However, im complete noob in game programming, network etc (only do data science). Where should I start with it, i guess i have to figure out what the client sends to the server and what it gets back?
i think chillerdragon or someone has a python ish client
✅ 1
14:46
maybe start by looking there
Avatar
chiller just wrote a client able to connect to the server in pure assembly kek
gigachad 1
Avatar
@Gumba try implementing the teeworlds huffman coding compression in python (edited)
14:49
u will need it anyway for the client networking
brownbear 1
14:49
also the int packing
14:51
Software Developer
14:51
This article aims to introduce you into DDNet development, since it's an open-source game, it relies on random people kind enough to contribute to it on their free time.
14:53
and if u have doubts or cant get it, u can check https://github.com/edg-l/TeeAI/blob/master/engine/huffman.py but i recommend u dont until u tried hard enough
Avatar
Avatar
heinrich5991
no, maximum size is currently 16 KiB
And when approximately do we plan on increasing this size? I would be extremely grateful. I can do a separate PR on this if needed to make it work now, not when the 128 server support PR is accepted since it might not be anytime soon
Avatar
Avatar
Blazulite
I was considering making the code from zero with the only purpose of making it organized on my own way and porting it to raylib
lmfao
Avatar
Avatar
Ryozuki
u will need it anyway for the client networking
what about after learning the compression algorithm
Avatar
do that first then we talk
15:17
gigachad
Avatar
Avatar
Faulty
And when approximately do we plan on increasing this size? I would be extremely grateful. I can do a separate PR on this if needed to make it work now, not when the 128 server support PR is accepted since it might not be anytime soon
You are sending 16KiB of serverinfo?
Avatar
Avatar
Learath2
You are sending 16KiB of serverinfo?
I send more then 16kb, as we have 128 max clients, and too many players with long nickname and clan
Avatar
Avatar
Faulty
@heinrich5991 is buffer size for server info already increased on master servers? Registered succeed with 2024-08-21 17:45:22 I register: Server info length: 15964 but 2024-08-21 17:46:45 I register: Server info length: 16888 024-08-21 17:46:45 E register/6/ipv4: error response from master: 413: The request payload is too large So ~108 players maximum now until master registration failed
here are details
15:29
as I said before for temporary workaround I hard limited with 102 (approx value) max players that will be send to master, but waiting for size increase
Avatar
Avatar
Ryozuki
do that first then we talk
the plan is making a chat bridge btw
Avatar
i just saw the concrete lang repo and the Alan Kay quote
15:33
so i had to frantically look back in commit history to see when it was added and to my relief it wasn't by ryo
Avatar
Avatar
Ryozuki
do that first then we talk
https://edgl.dev/blog/ui-code-ddnet/ More to come soon. we are waiting 😍
Some kind of tutorial into how to use this mess.
f3 2
Avatar
Avatar
Learath2
You are sending 16KiB of serverinfo?
Avolicious 2024-08-28 16:14
Damn, master server traffic goes stonks
Avatar
Avatar
Avolicious
Damn, master server traffic goes stonks
Game server traffic is way more 😄
Avatar
GitHub BOT 2024-08-28 16:39
Gradle can determine the NDK version automatically and this property is only required if multiple NDK versions are installed. The NDK version previously determined from the filename could not be parsed by Gradle anyway.

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...
Avatar
Avatar
deen
Game server traffic is way more 😄
Avolicious 2024-08-28 16:39
But if the server count increases = more traffic for the master
16:39
Right?
Avatar
that sounds logical
Avatar
Of course, you can see the traffic here: https://ddnet.org/stats/server/#master2.ddnet.org
16:48
~4 TB/month
Avatar
Avatar
deen
~4 TB/month
Avolicious 2024-08-28 16:51
4 TB is a lot
Avatar
MilkeeyCat 2024-08-28 17:11
@Learath2 do you think there's a way to make c function pointer syntax less ugly?
Avatar
Macros
Avatar
MilkeeyCat 2024-08-28 17:17
I ask for my language xd
Avatar
GitHub BOT 2024-08-28 17:30
1dd56f1 Remove unnecessary ndkVersion from Gradle build - Robyt3 cc1dc40 Merge pull request #8837 from Robyt3/Android-Build-NDK-Version-Fix - def-
Avatar
Avatar
MilkeeyCat
@Learath2 do you think there's a way to make c function pointer syntax less ugly?
Steal go's
Avatar
MilkeeyCat 2024-08-28 17:36
Mhm, they use func keyword and it makes sense because they use it for function definitions as well
Avatar
Can I ask you a question?
Avatar
sure :)
Avatar
which phone can I get for a new ddnet client?
17:42
up to 11 thousand
Avatar
in chinese currency?
Avatar
Avatar
Patiga
in chinese currency?
ouch
Avatar
any semi-modern phone should be able to run ddnet though
Avatar
I'm from Russia, I forgot
17:44
sorry
Avatar
Avatar
Patiga
any semi-modern phone should be able to run ddnet though
I know, just which phone do you recommend?
Avatar
I can't help there sorry :/
Avatar
MilkeeyCat 2024-08-28 17:45
When port ddnet to nokia?
Avatar
though my advice would be to buy a refurbished phone (not sure if that is also a thing in russia)
Avatar
Avatar
Patiga
I can't help there sorry :/
Okay, thanks for responding.
Avatar
Avatar
MilkeeyCat
When port ddnet to nokia?
Yes
Avatar
Avatar
Patiga
though my advice would be to buy a refurbished phone (not sure if that is also a thing in russia)
any phone number is accepted here 🙂
Avatar
Avatar
MilkeeyCat
Mhm, they use func keyword and it makes sense because they use it for function definitions as well
Well there is a reason all the newfangled languages flipped the function definitions around
Avatar
Avatar
Learath2
Well there is a reason all the newfangled languages flipped the function definitions around
MilkeeyCat 2024-08-28 17:49
I can do it as well xdd
Avatar
MilkeeyCat 2024-08-28 18:13
I'll use smth like void(u8, u16*) foo;
justatest 1
Avatar
rust's function pointer definition looks more sane (edited)
Avatar
MilkeeyCat 2024-08-28 18:17
Ye, if i was defining functions like fn foo(...) -> ret_type it would make sense
Avatar
never look at c3-lang function definition syntax
Avatar
MilkeeyCat 2024-08-28 18:20
Imo fn keyword before type looks ass (edited)
Avatar
Avatar
deen
~4 TB/month
or 1.5Mbit/s
18:38
damn, you can see the constant ddos during evening since mid august
Avatar
why y'all don't just get the ips of the ddos packets and like add them to a blacklist or smth
Avatar
@Learath2 i think im getting a m3 from work gigachad
19:35
maybe m2 idk yet
Avatar
ищу тимейта
Avatar
A very silly concurrency exercise in using Go channels that send channels that send channels that send channels.
Avatar
Avatar
iblis
why y'all don't just get the ips of the ddos packets and like add them to a blacklist or smth
monkalaugh 1
Avatar
Avatar
Peakies
https://edgl.dev/blog/ui-code-ddnet/ More to come soon. we are waiting 😍
@Peakies hi i do this one exactly and the command didnt work https://edgl.dev/blog/chat-command-ddracenetwork/
A chat command that shows info about our player
Avatar
Avatar
Nouaa
Click to see attachment 🖼️
ok but like it's a real question though why can't they just do that
bongoClown 1
Avatar
Avatar
iblis
ok but like it's a real question though why can't they just do that
because its a distributed denial of service attack, meaning the malicious traffic comes from a multitude of random ips drom a botnet etc? Hard to distinguish real traffic from fake without impairing gameplay for players on the server
Avatar
ok multiple ips makes sense
21:06
so then you just have to blacklist more than one ip
21:06
super shrimple
troll 1
Avatar
Avatar
iblis
so then you just have to blacklist more than one ip
but ips are redistributed after a certain time, so the pcs of the botnet which are unknowingly infected with malware will not be blacklisted anymore, but random people will be
Avatar
Avatar
Gumba
but ips are redistributed after a certain time, so the pcs of the botnet which are unknowingly infected with malware will not be blacklisted anymore, but random people will be
and if you dont ban ip but matherial ban ? (edited)
Avatar
There are definetly ways to implement a better ddos protection/get more bandwidth to deal with those packets, but that involves money which is hard to get as ddnet is only donation based funded
Avatar
Avatar
Gumba
but ips are redistributed after a certain time, so the pcs of the botnet which are unknowingly infected with malware will not be blacklisted anymore, but random people will be
ok maybe after a certain amount of packets blacklist it but for like 10 minutes
21:10
yea i kinda see howit's not as simple as i first thought it was tho
Avatar
yeah, i don't have the best overview either, but i know that there are very capable people on this project who havent found a doable solution in all those years
Avatar
Avatar
iblis
yea i kinda see howit's not as simple as i first thought it was tho
Maybe this blog post by @deen is interesting for you: https://hookrace.net/blog/dos-attacks-update/
Avatar
Avatar
LePinpin
and if you dont ban ip but matherial ban ? (edited)
I think not much information about hardware is transmitted in those malicious packet
21:16
I mean, ger10 works quite well, it works kind of the other way around: You have to whitelist ur ip on ger10.ddnet.org and all other traffic has low priority/gets not through. Even though i dont understand how the dossers not just do that aswell. I guess paid services dont offer this extra wish
Avatar
Avatar
Gumba
I think not much information about hardware is transmitted in those malicious packet
like if at the install you create a variable and this variable is = to the matherial and throught the packet you put this variable and if to much you block this pc
Avatar
Avatar
LePinpin
like if at the install you create a variable and this variable is = to the matherial and throught the packet you put this variable and if to much you block this pc
you can't just "block a pc" as a server
Avatar
Avatar
iblis
so then you just have to blacklist more than one ip
same here, blacklisting doesn't solve the problem
Avatar
Avatar
LePinpin
like if at the install you create a variable and this variable is = to the matherial and throught the packet you put this variable and if to much you block this pc
I think me & you don't know enough about networking xd
Avatar
there is still too much traffic
21:18
there are just so many malicious requests, so that if you 'ignore' one, you still have too many malicious requests to handle/ignore the packets of the normal players just disappear with all that traffic
Avatar
do accounts help with that problem btw? Like uou do an authenticity handcheck on first connection and then have a different channel to handel that traffic?
Avatar
Avatar
iblis
yea i kinda see howit's not as simple as i first thought it was tho
if you want, @ReiTW made a working ddos protection for tw, feel free to learn some stuff on his blog: https://reitw.fr/blog/aya-xdp-pcap/
✅ 1
Avatar
Avatar
Nouaa
if you want, @ReiTW made a working ddos protection for tw, feel free to learn some stuff on his blog: https://reitw.fr/blog/aya-xdp-pcap/
are u stating that BW is 100% ddos free? Fully stable?
Avatar
technically yes, it's just that ovh blocks legitimate traffic (edited)
✅ 2
21:28
well never say 100%
Avatar
@Peakies hi i do this one exactly and the command didnt work https://edgl.dev/blog/chat-command-ddracenetwork/
A chat command that shows info about our player
Avatar
GitHub BOT 2024-08-28 22:00
See #8750 !directory

Checklist

  • [x] Tested the change ingame
  • [x] 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
  • ...
Avatar
The source code has changed a bit since this article was written. Mainly that there is no CHAT_COMMAND macro any more. They're now defined in the RegisterDDRaceCommands() function instead. What exactly doesn't work?
Replying to @LePinpin Vexar hi i do this one exactly and the command didnt work https://edgl.…
Avatar
Avatar
furo
The source code has changed a bit since this article was written. Mainly that there is no CHAT_COMMAND macro any more. They're now defined in the RegisterDDRaceCommands() function instead. What exactly doesn't work?
ok thx
22:21
but i still use an old ddnet
22:38
41fee0b add 0.7 skins directory button - dobrykafe 91ae4ca Merge pull request #8838 from dobrykafe/pr-07-skins-directory - def-
22:43
Otherwise skin saving will fail because the folder doesn't exist.

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 array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or ...
Avatar
! 7mzom alonso 2024-08-28 23:08
aip gores map dawnload link pls
Avatar
GitHub BOT 2024-08-28 23:19
218ce1f create 0.7 skin folder - dobrykafe 5cf0e5e Merge pull request #8839 from dobrykafe/pr-create-07-skin-folder - def-
Avatar
norming
Avatar
nighting
Avatar
@TsFreddie hi friend
Exported 399 message(s)
Timezone: UTC+0