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-02-18 00:00 and 2025-02-19 00:00
Avatar
david loves Jellycar Worlds 2025-02-18 02:07
sorry but this is probaly a dumb quston as i baraly know c++ but why is Kernel() defined here but not here?
Avatar
Avatar
david loves Jellycar Worlds
sorry but this is probaly a dumb quston as i baraly know c++ but why is Kernel() defined here but not here?
kernel.h is not included anywhere in the include path for that file, but it should work if you add it I think
Avatar
david loves Jellycar Worlds 2025-02-18 02:15
i already tried that
Avatar
#include "kernel.h"
Avatar
david loves Jellycar Worlds 2025-02-18 02:15
in the image its there
02:15
oh put it in ""s ok
02:15
whats the difrence?
Avatar
doing <kernal.h> will only work if it's in the same folder as you file you wrote that in
Avatar
david loves Jellycar Worlds 2025-02-18 02:16
ah ok
Avatar
#include <engine/kernel.h> should also work
Avatar
david loves Jellycar Worlds 2025-02-18 02:17
good as putting it in ""s didnt
Avatar
yeah it doesn't make any difference in this case
Avatar
david loves Jellycar Worlds 2025-02-18 02:18
still not working it seems
Avatar
idk just use the first one then
02:19
I don't have an editor open to figure out what the path should be
Avatar
david loves Jellycar Worlds 2025-02-18 02:19
that also doesnt work though
Avatar
david loves Jellycar Worlds 2025-02-18 02:20
wait do i need to put it in the .h file too?
02:20
wait where is the .h file???
Avatar
network.h
02:21
idk why it doesn't work
Avatar
david loves Jellycar Worlds 2025-02-18 02:21
ah ok
02:25
ok looks like ill just have to use io_open() drectly
02:30
burh you literaly have system.sh already included!
02:31
02:31
is vscode just being stupid?
02:32
i mean ig theres only one way to find out. its compileing time!
02:35
wait a second its because there is no storage.h file
02:35
but then how in the world would i refrence it
02:37
ok no its not just vscode being dumb it realy doesnt work
Avatar
david loves Jellycar Worlds 2025-02-18 02:52
i am so confused
Avatar
tldr what happened
Avatar
david loves Jellycar Worlds 2025-02-18 06:54
im trying to call a funcson from a dif file but i cant get it to work
Avatar
MilkeeyCat 2025-02-18 06:54
is there any setting which gives pistol bullets gravity?
Avatar
david loves Jellycar Worlds 2025-02-18 06:54
and idk why
06:55
also wow did both of you suddenly appear at once?
Avatar
Avatar
MilkeeyCat
is there any setting which gives pistol bullets gravity?
yes
Avatar
MilkeeyCat 2025-02-18 06:56
which one? xd
Avatar
gun curvature or smth
06:56
Check ddnet settings commands page
Avatar
MilkeeyCat 2025-02-18 06:56
there's gun_curvature, thanks, curvature is not the word I was looking for xd
Avatar
david loves Jellycar Worlds 2025-02-18 06:57
Avatar
Avatar
david loves Jellycar Worlds
hmm is there a pointer to the client in network.h? You might be able to get a reference to the over some other pointer within CNetClient. I'm home in 7 hours if you still need help then. GitHub code browsing is shit on mobile (edited)
07:03
@Tater can u check for me what CNetClient::m_pUser is set to? xd
07:03
ah fk
Avatar
wrong thing wait
Avatar
The overlay contains new or updated security tools. - gentoo-mirror/pentoo
Avatar
Avatar
david loves Jellycar Worlds
Is CNetClient subclass of Interface?
Avatar
Avatar
Pioooooo
Is CNetClient subclass of Interface?
david loves Jellycar Worlds 2025-02-18 08:17
if the .h file for network is where that would be then no
Avatar
Oops I mean IInterface
Avatar
david loves Jellycar Worlds 2025-02-18 08:19
doesnt look like it
08:19
why?
Avatar
Because it isn't
08:20
gigachad
Avatar
david loves Jellycar Worlds 2025-02-18 08:20
wait so how does the fact that it doesnt inherit from IInterface help me open a file?
Avatar
Idk u asked why Kernel is not defined and this is why
08:22
Because it is a member function of IInterface
Avatar
david loves Jellycar Worlds 2025-02-18 08:22
ah hmm so how would i refrence it then (agien c++ noob here)
Avatar
Idk maybe u shouldn't use it here if u just want to open some random file for fuzzing
Avatar
david loves Jellycar Worlds 2025-02-18 08:25
true
08:25
ill just look up how to open a file in c++ the normal way lol
08:31
also before i go to sleep in advance does anyone know what funcson gets called when the client disconects from the server? as i want to exit the program if that happens for fuzzing
08:36
bruh not even the normal way of opening files works??? im including the needed namespaces i thought
08:38
@Pioooooo do you know what im doing wong this time?
Avatar
std::ifstream
Avatar
Avatar
david loves Jellycar Worlds
@Pioooooo do you know what im doing wong this time?
^
Avatar
david loves Jellycar Worlds 2025-02-18 08:40
ah lol
08:40
thanks
08:40
frogot thats how you acsess the meathod of a class in c++
08:40
or was it namespace
08:40
idr
Avatar
It's a namespace
Avatar
david loves Jellycar Worlds 2025-02-18 08:43
ok now to figger out why this isnt working and what the real way to do it is thats not in all of the exsamples i can find online
Avatar
david loves Jellycar Worlds 2025-02-18 08:46
oh wait i see now
08:46
thats also in std
Avatar
GitHub BOT 2025-02-18 09:10
8cc6949 Update tournament preparation (long time I haven't done this) - def-
Avatar
david loves Jellycar Worlds 2025-02-18 09:17
@Discord Mod
👍 1
09:18
thanks
Avatar
@murpi how are you faster dam
Avatar
david loves Jellycar Worlds 2025-02-18 09:18
anyways im going to sleep
Avatar
Avatar
Learath2
@murpi how are you faster dam
using hacks ofcnouis
Avatar
david loves Jellycar Worlds 2025-02-18 09:18
lol
Avatar
I'm a true discord moderator
Avatar
Avatar
david loves Jellycar Worlds
lol
are you the actual dev of the jelly car game or just a fan?
Avatar
GitHub BOT 2025-02-18 10:44
Here's a video recorded on a server running 15.3.2. The same effect can also be seen on older demos that were recorded on these older server versions. Expected behavior: the cursor shouldn't be shown because there is missing data. https://github.com/user-attachments/assets/f9ef9275-72cd-4008-9b34-07c50ad3ecc5 demo.zip
Avatar
как жалобу отправить пацыки?
Avatar
Avatar
HP
как жалобу отправить пацыки?
#✉-create-a-ticket
Avatar
Avatar
murpi
I'm a true discord moderator
I hope you don’t look like one justatest
justatest 1
Avatar
ops, i accedentally deleted a reaction
banhammer 2
Avatar
@fokkonaut CHOOOO CHOOOOOOOOOO
Avatar
Hallo, Marcel D'Avis
Avatar
Avatar
fokkonaut
Hallo, Marcel D'Avis
Wir gehen erst, wenn Ihr Anschluss läuft.
Avatar
Aber manchmal gibt es eben Dinge, die man nicht am Telefon regeln kann: Wie zum Beispiel bei Familie Sturm hier. Dann reden wir auch nicht lange um den heißen Brei herum, sondern kommen persönlich vorbei. Und wir gehen erst wieder, wenn der Anschluss läuft.
Avatar
Avatar
fokkonaut
Aber manchmal gibt es eben Dinge, die man nicht am Telefon regeln kann: Wie zum Beispiel bei Familie Sturm hier. Dann reden wir auch nicht lange um den heißen Brei herum, sondern kommen persönlich vorbei. Und wir gehen erst wieder, wenn der Anschluss läuft.
Avolicious 2025-02-18 19:37
What happend to you fokko... when have you turned into a 1&1 sales person 😦 Have you sold them your soul?
Avatar
Leiter für Kundenzufriedenheit
Avatar
Avolicious 2025-02-18 19:37
I mean, he is a legend for sure
Avatar
1&1 📢
19:38
Avatar
Nameless_Me 2025-02-18 19:38
I speak germon too isht bein sheinzer
Avatar
Avatar
Avolicious
I mean, he is a legend for sure
Anyways, how is KoG2.0 doing? (legit question)
Avatar
Avatar
fokkonaut
Anyways, how is KoG2.0 doing? (legit question)
Avolicious 2025-02-18 19:39
Already released 😮
Avatar
Ah lol
Avatar
Nameless_Me 2025-02-18 19:39
dos shnitzal
Avatar
I recently saw a map with a kog 2.0 soon 💀 text
19:39
thats why
Avatar
Avolicious 2025-02-18 19:39
yeah, haters gonna hate
Avatar
xD
19:39
I think it was ring of gores or square of gores
😂 1
Avatar
Nameless_Me 2025-02-18 19:41
what is Kog2.0?
Avatar
Discord mobile is so weird, in some places they render discord emoji and the system emoji in others
Avatar
Avatar
Nameless_Me
what is Kog2.0?
updated kog
Avatar
Avatar
fokkonaut
updated kog
Nameless_Me 2025-02-18 19:42
so, just, kog? How is it diffrent?
Avatar
i think it's the new source + login system etc
Avatar
Avolicious 2025-02-18 19:42
new game basically
Avatar
+ fucking /save and /swap disabled angry
Avatar
Avolicious 2025-02-18 19:42
built with unreal engine
Avatar
AND /PRACTICE
Avatar
Nameless_Me 2025-02-18 19:43
ye but did you add sex?
Avatar
Avolicious 2025-02-18 19:43
that escalated quickly
Avatar
Nameless_Me 2025-02-18 19:43
i'll take that as a yes
Avatar
Avatar
Avolicious
that escalated quickly
Why did you disable the 3 commands?
Avatar
Avolicious 2025-02-18 19:44
just because to make you ask
Avatar
I understand swap and save, for names
19:44
logins*
Avatar
Avolicious 2025-02-18 19:44
to get you distracted from 1&1 re-selling
Avatar
Good
19:45
I believe you
19:45
You got me distracted heartw
19:46
pls enable practice now or i will not talk around the heisse brei
Avatar
Avolicious 2025-02-18 19:47
🤣
RR 2
OO 2
LL 2
FF 2
Avatar
GitHub BOT 2025-02-18 21:27
Reorder and group steps of style CI to avoid unnecessary work when checks fail and to improve readability. First only install the necessary Linux dependencies and code formatters. Then perform various code format checks with ClangFormat, Shellcheck, shfmt and Pylint. Next perform additional code checks using custom scripts for headers files, includes, config variables and error messages. Last check languages, images, maps. Compile the dilate and twmap tools in separate steps directly before t...
Avatar
Avatar
URG
are you the actual dev of the jelly car game or just a fan?
david loves Jellycar Worlds 2025-02-18 21:41
fan
Avatar
eserde can be used to collect multiple deserialization errors, rather than stopping at the first one. They can then be reported to the user at once, improving the developer experience for API consumers.
Avatar
david loves Jellycar Worlds 2025-02-18 22:23
for fuzzing the networking is it fine to just ignore the clients packets or do any of them contain info that i need to send pack to the client
22:24
and is there any more checksums then the maps checksums
Avatar
Some of those sent during the connecting process are necessary or the process won't advance. I'd maybe do separate runs for the connecting process and ingame, where you start the fuzzing a bit later.
22:29
this is exactly what i need
22:30
some SaaS we use provides us with an OpenAPI doc that it does not adhere to and the types we use are generated from that doc (edited)
22:30
we had a random error where one field they marked as non-optional but provided us with null and serde sent the whole thing crashing xd
Avatar
Avatar
Robyt3
Some of those sent during the connecting process are necessary or the process won't advance. I'd maybe do separate runs for the connecting process and ingame, where you start the fuzzing a bit later.
david loves Jellycar Worlds 2025-02-18 22:30
is that for the checksums or ignoreing the clients packets (edited)
Avatar
Both. If the checksums in the map info don't match the map then the client will disconnect. If the client doesn't get some messages it will stop during the connecting process.
Avatar
david loves Jellycar Worlds 2025-02-18 22:33
ok but the messages the client needs to receve dont depend on what the client sends the server right?
22:33
the fuzzing can figger out what messages to send to connect
Avatar
I guess if the fuzzer is smart enough then that's alright. It goes back and forth during connecting, the client sends ready after loading the map, then the server sends back ready so the client joins
Avatar
david loves Jellycar Worlds 2025-02-18 22:37
oh ok so if the server sends ready before the client it wouldnt work? (edited)
22:39
so in outer words i cant just send all the packets in 1 frame
Avatar
The client should ignore messages when it doesn't expect them so connection wouldn't work, but there are also still crashes (and various open issues) because it doesn't ignore all.
Avatar
Avatar
david loves Jellycar Worlds
so in outer words i cant just send all the packets in 1 frame
yeah, the client couldn't respond fast enough
Avatar
david loves Jellycar Worlds 2025-02-18 22:40
how long should i delay each packet do you think
Avatar
I don't know if delaying works. I only tried a bit of network fuzzing where I mutated the existing message data but didn't generate new messages directly. (edited)
Avatar
david loves Jellycar Worlds 2025-02-18 22:42
ok well ill at least try
22:42
btw where is the servers code so i can make it send 1 packet each frame?
Avatar
probably not, writing a fuzzing test driver is probably the first challenge
22:44
unless you use the easier method of only mutating existing data, but I don't know if that works with AFL++, and it wasn't very effective with radamsa (edited)
Avatar
david loves Jellycar Worlds 2025-02-18 22:44
yea hence why im trying this meatod
22:44
instead
22:47
so do you know where the servers code is?
Avatar
You mean networking?
Avatar
david loves Jellycar Worlds 2025-02-18 22:47
yea
Avatar
src/engine/shared/network*
22:48
and basic functions for interacting with sockets in system.cpp/h
Avatar
GitHub BOT 2025-02-18 22:48
Resolves comments from #9685

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 valgrind's memcheck](https://github.c...
Avatar
david loves Jellycar Worlds 2025-02-18 22:48
ok thanks
Avatar
depends on the abstraction layer where you want to start fuzzing
Avatar
david loves Jellycar Worlds 2025-02-18 22:49
im currently pretending like you got completly difrent packets on the client side then the server sends
22:49
by editing CNetClient::Recv
22:49
wait is that used by the server too?
22:49
probs not
22:49
given the name has Client in it
22:50
also whats "NETMSG_CHECKSUM_REQUEST"
Avatar
GitHub BOT 2025-02-18 22:50
9cbc879 Improve order of CI style checks, minor refactoring - Robyt3 46058ba Merge pull request #9706 from Robyt3/CI-Cleanup - def-
Avatar
Avatar
david loves Jellycar Worlds
also whats "NETMSG_CHECKSUM_REQUEST"
It's a checksum of client data, shouldn't really be relevant for fuzzing
Avatar
david loves Jellycar Worlds 2025-02-18 22:51
ok good to know
Avatar
Avatar
fokkonaut
Aber manchmal gibt es eben Dinge, die man nicht am Telefon regeln kann: Wie zum Beispiel bei Familie Sturm hier. Dann reden wir auch nicht lange um den heißen Brei herum, sondern kommen persönlich vorbei. Und wir gehen erst wieder, wenn der Anschluss läuft.
Der kann das auswendig 😭
23:07
Ehre
23:10
@deen banhammer feelsbadman (edited)
23:10
nouis (edited)
Avatar
david loves Jellycar Worlds 2025-02-18 23:30
bruh i didnt even change that file at all
23:31
oh wait im probs using the wong compiler verson arnt i lol
23:33
yep im using make not cmake thats the problum
Exported 190 message(s)
Timezone: UTC+0