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-09-21 00:00 and 2024-09-22 00:00
Avatar
perfection
Avatar
should say C
Avatar
Avatar
Ryozuki
Click to see attachment πŸ–ΌοΈ
there is merit to this
01:03
even if it’s a meme
01:04
it’s only one of the most mature documented languages ever…
Avatar
day 2 how can I find hammer's hitbox or range implementation in source? i've been digging it for 2 or 3 hours but can't seem to find anything related, someone also been posting here hitbox skins but that not a thing I want to make (toggle) can they be stored in some local files?
Avatar
first
01:47
server or client code
Avatar
client
01:47
just a range I can use in all servers and draw it on toggle
01:49
I also mean not the server's exact range, but the ones used in ddnet, kog etc. doesnt matter if server has another hitboxes, I need only default ones used in popular servers (edited)
01:49
I think ddnet and similar use default value?
Avatar
I haven't looked at client code at all, but my guess is that you will at most have prediction code on the client side that emulates the server's behavior, because the server should(tm) tell the client when it's actually a hit.
01:51
might be this here
Avatar
Avatar
jxsl13
I haven't looked at client code at all, but my guess is that you will at most have prediction code on the client side that emulates the server's behavior, because the server should(tm) tell the client when it's actually a hit.
quite don't get it, I'll look up but I dont understand the assumption
Avatar
the server is the truth
Avatar
can I get the hammer range hitbox without using direct reference to it?
Avatar
a client just executes what the server tells it to do (edited)
01:54
what do you mean by "direct reference"?
01:55
gotta find out what m_ProximityRadius is set to
01:55
and then *0.5
Avatar
yea I bumped up into it
Avatar
might be a static value
Avatar
the only thing I could think of is m_ProximityRadius * 0.5f but thats pretty implicit
01:56
I have this thing rn
Avatar
the interesting part is that the code says radius, so it's a circle and not a box that you want. (edited)
01:57
that is the radius around your tee
01:57
ProjStartPos probably the character's center
πŸ‘ 1
01:58
= center of your tee
Avatar
Avatar
jxsl13
the interesting part is that the code says radius, so it's a circle and not a box that you want. (edited)
p much I dont care whatever it is, I just need the exact values that I can do something with (edited)
01:59
I also think I should look at hook collision
Avatar
guess that depends on where your code modifications are (edited)
Avatar
so I have the main idea of it's working
Avatar
and how to access those character values from the location where you do your modifications
02:00
what cpp file you currently modifying?
Avatar
menus_settings.cpp with a help of tater client source I got the main idea how to create menu and save custom configs void CMenus::RenderSettingsHitbox(CUIRect MainView) { CUIRect Column, Section; const float LineMargin = 20.0f; MainView.VSplitLeft(MainView.w * 0.5, &MainView, &Column); MainView.HSplitTop(30.0f, &Section, &MainView); Ui()->DoLabel(&Section, ("Hitbox"), 20.0f, TEXTALIGN_LEFT); MainView.VSplitLeft(5.0f, 0x0, &MainView); MainView.HSplitTop(5.0f, 0x0, &MainView); DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClHammerHitbox, ("Hammer"), &g_Config.m_ClHammerHitbox, &MainView, LineMargin); DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClHookHitbox, ("Hook"), &g_Config.m_ClHookHitbox, &MainView, LineMargin); DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClTeeHitbox, ("Tee"), &g_Config.m_ClTeeHitbox, &MainView, LineMargin); { CUIRect Button, Label; MainView.HSplitTop(20.0f, &Button, &MainView); Button.VSplitLeft(140.0f, &Label, &Button); } { CUIRect Button, Label; MainView.HSplitTop(20.0f, &Button, &MainView); Button.VSplitLeft(140.0f, &Label, &Button); } { CUIRect Button, Label; MainView.HSplitTop(20.0f, &Button, &MainView); Button.VSplitLeft(140.0f, &Label, &Button); } }
πŸ₯” 1
02:02
but the functions of course are located in other files
02:02
and I'm trying to find out things
Avatar
if you want static values, add a debug_msg in the client code that I pointed you too and see how that value behaves when you hit other player on some server
πŸ‘ 1
02:03
if it's static (I'd guess), you can just hardcode those values in your settings rendering (edited)
02:05
entity.h /* Variable: m_ProximityRadius Contains the physical size of the entity. */ float m_ProximityRadius;
02:06
cuz character is inheriting from entity, it's probably the size of the character, but let me dig a littl ebit
02:07
with a static class value
Avatar
ok thanks, I'll figure it out and get back if anything works out
Avatar
you can simply use the static variable function CCharacterCore::PhysicalSize() (edited)
02:10
it's 28.0f
02:10
but I'd use the static value
02:10
as is used everywhere throughout the code
02:11
CCharacterCore::PhysicalSize()
πŸ‘ 1
Avatar
Avatar
meloƞ
yup - i have windows for solidworks and cubase (and some games i cba to download twice kekw)
just reread this. super based cubase
Avatar
cubased perhaps
Avatar
Avatar
meloƞ
yup - i have windows for solidworks and cubase (and some games i cba to download twice kekw)
WTF man
05:12
make an NTFS partition and put your games on there
05:12
or btrfs + winbtrfs if you’re feeling risky
05:12
then u can have all games only one time
Avatar
ws-client BOT 2024-09-21 06:42
<ChillerDragon> github display bug? wot
Avatar
where is the bug
Avatar
Avatar
Tater
where is the bug
MilkeeyCat 2024-09-21 06:58
There's no tab in IsStatTrack return line?
Avatar
oh true
Avatar
MilkeeyCat 2024-09-21 07:01
Also, syntax highlighting didn't work for me on GitHub for a last week
Avatar
someone can say me where is this '2024-09-21 10:49:21 I' in ddnet client source? i want delete it.
Avatar
Why would you expect to find a random time & date in the ddnet source
07:57
What is the issue you’re facing
Avatar
MilkeeyCat 2024-09-21 07:57
Maybe it's log time thonk
Avatar
ws-client BOT 2024-09-21 08:54
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
08:55
<ChillerDragon> Msg.m_aTimestamp[0] = 0; to delete it
08:56
<ChillerDragon> if you care about the I part thats here
08:56
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
08:56
<ChillerDragon> you can change "EWIDT"[level] to "" and its gone
Avatar
variables operators and statements in config files when
Avatar
sadge
Avatar
cyberfighter 2 2024-09-21 11:54
11:54
is this allowed
Avatar
why no
Avatar
ChillerDragon BOT 2024-09-21 12:02
@manikoo because it looks like a official server. Its basically impersonation. And might cause confusion for the players that did not get their ranks saved.
Avatar
as i know official servers have a mark
12:03
but ok
12:03
i got u
Avatar
ChillerDragon BOT 2024-09-21 12:04
yes and this one doesn't but not every Linear enjoyer might understand that xd
greenthing 1
Avatar
Avatar
cyberfighter 2
is this allowed
no, it's not
banhammer 2
Avatar
ws-client BOT 2024-09-21 12:05
<ChillerDragon> banhammer
12:06
<ChillerDragon> i mean the master is ddnet controlled it could just do a string substitution for fakes :D and prefix it with [UNOFFICIAL]
12:06
<ChillerDragon> automatic one ofc
Avatar
ws-client BOT 2024-09-21 12:14
<ChillerDragon> any1 wants to write me some code? xd
12:14
<ChillerDragon> i need to count the amount of different ips connected to the server
Avatar
print(len(ip_list)) np
Avatar
ws-client BOT 2024-09-21 12:38
<ChillerDragon> thank
12:39
<ChillerDragon> if it was a high level scripting language i would probably use hash maps but i dont wanna use them in C++ somehow. And my naive idea would be a nested for loop.
Avatar
Avatar
ws-client
<ChillerDragon> if it was a high level scripting language i would probably use hash maps but i dont wanna use them in C++ somehow. And my naive idea would be a nested for loop.
? Why
Avatar
ws-client BOT 2024-09-21 12:40
<ChillerDragon> wat why
Avatar
Unordered map is good enough
Avatar
ws-client BOT 2024-09-21 12:40
<ChillerDragon> ye is it?
Avatar
why not lmao
Avatar
ws-client BOT 2024-09-21 12:40
<ChillerDragon> its C++
12:40
?
Avatar
ws-client BOT 2024-09-21 12:41
<ChillerDragon> I prefer not using the evil ::
Avatar
C++ is high level
Avatar
ws-client BOT 2024-09-21 12:41
<ChillerDragon> yea i guess
12:41
<ChillerDragon> next up ill be using std::string
Avatar
ΠΊΠ°Π³Π°ΠΌΠΈ 2024-09-21 12:42
лоюяоТ\
Avatar
ws-client BOT 2024-09-21 12:42
<ChillerDragon> woah std::map is uses all over ddnet codebase
12:42
<ChillerDragon> or is undorder map something else?
12:43
<ChillerDragon> oh there is also std::unordered_map
Avatar
unorderer_map faster then map, but map has some constraints that i don't remember
Avatar
std::unordered_map<std::string, int> map; for(auto &Player : vPlayers) map[Player.m_IP] = 1; printf("%zu", map.size());
Avatar
heinrich5991 2024-09-21 12:49
unordered map is a hashmap, map is a red-black tree
Avatar
Coding on phone is trash
12:49
Here's your pseudocode
Avatar
teero really write it on phone
12:49
gigachad
Avatar
heinrich5991 2024-09-21 12:49
you'd probably use an unordered_set for that
Avatar
true i forgot (edited)
Avatar
Avatar
cyberfighter 2
is this allowed
no, report their ip to heinrich
Avatar
ws-client BOT 2024-09-21 13:08
<ChillerDragon> yea i rly dont wanna do C++ so i went with the for loop xd
Avatar
avoiding stdlib
Avatar
ws-client BOT 2024-09-21 13:18
<ChillerDragon> yea
Avatar
Avatar
Anime.pdf
no, report their ip to heinrich
cyberfighter 2 2024-09-21 13:19
ok
Avatar
ws-client BOT 2024-09-21 13:19
<ChillerDragon> C++ makes me nervous
13:19
<ChillerDragon> I never know how fast it is. How and where it allocates memory.
13:20
<ChillerDragon> And the syntax is really ugly. And also its so much harder to read and write because its more complex than C.
13:20
<ChillerDragon> Also its infectious. Once you add C++ it depends on further C++ to work.
Avatar
Avatar
cyberfighter 2
Click to see attachment πŸ–ΌοΈ
cyberfighter 2 2024-09-21 13:20
@heinrich5991 id like to report the server 45.90.218.105:8303 for faking official ddnet servers as you can see in this screenshot
Avatar
45.90.218.105:8303 is not a DDraceNetwork or Community server.
Avatar
cyberfighter 2 2024-09-21 13:21
did you just delete your message
Avatar
it is indeed ugly but you can try to not make it ugly
Avatar
ws-client BOT 2024-09-21 13:21
<ChillerDragon> me?
Avatar
cyberfighter 2 2024-09-21 13:21
Yes
13:21
can webhooks do that?
Avatar
ws-client BOT 2024-09-21 13:21
<ChillerDragon> i am on irc there is no delete
Avatar
cyberfighter 2 2024-09-21 13:21
Uh oh
Avatar
ws-client BOT 2024-09-21 13:21
<ChillerDragon> it was deleted by heinrich because it was an insult
Avatar
ws-client BOT 2024-09-21 13:58
<ChillerDragon> looks like there is a aimbotter on 176.9.114.238:8220 name: ChillerDragon
13:59
<ChillerDragon> @fngmods
Avatar
xd sure chillerbot.png is lyfe
πŸ˜… 1
Avatar
ws-client BOT 2024-09-21 14:00
<ChillerDragon> ok nvm the kick vote passed
14:01
<ChillerDragon> crazy that it took multiple tries on such obvious aimbot for a top scorer with the clantag BOT xd
Avatar
[rus4] -ChillerDragon- has left the game (You have been banned for 3000 minutes (version 20000))
14:03
think_bot
Avatar
ws-client BOT 2024-09-21 14:04
<ChillerDragon> i mean there are 70 servers this boi is just traveling xd
14:09
<ChillerDragon> lmao two botters stealing each others kills. Do the ddnet fng servers have no antibot? Last time i saw such shameless botting was 10 years ago on BlmapV3 xd
14:10
<ChillerDragon> i understand why the kick votes are not passing. Its because there are more botters than non botters xd
Avatar
How does the Exclude work in the Server List. Is it a Regex? (edited)
14:48
Because I'd like several words
Avatar
ws-client BOT 2024-09-21 14:53
<ChillerDragon> so semicolon ; to split words
14:53
<ChillerDragon> use*
Avatar
MilkeeyCat 2024-09-21 15:44
chillerdragon: i finally got all of the bitwise operators needed to implement packer xd
Avatar
Avatar
MilkeeyCat
chillerdragon: i finally got all of the bitwise operators needed to implement packer xd
poggers2
15:48
can't wait for your language to his v0.0.1 stage
Avatar
MilkeeyCat 2024-09-21 15:49
there won't be v0.0.1, first true version has to be v69.42.0
15:50
also i updated the banner for repo
Avatar
tru tru tru
Avatar
MilkeeyCat 2024-09-21 15:50
Here can be your ad. Contribute to MilkeeyCat/meraki development by creating an account on GitHub.
15:52
@Learath2 also cast expressions were pain in the ass, so now it's as keyword xd
15:52
basically everything is yoinked from rust
Avatar
basically rust with a tinge of C and incomplete
Avatar
MilkeeyCat 2024-09-21 15:55
it would be so cool to add macros and imports 😬
Avatar
Use the C preprocessor, much easier to yoink someone elses work πŸ˜„
Avatar
MilkeeyCat 2024-09-21 15:56
that's easy way
15:56
we don't choose those
Avatar
Can I make a grammar readme pr
Avatar
Avatar
ws-client
<ChillerDragon> I never know how fast it is. How and where it allocates memory.
kek
16:10
i don't really think you need to know this in terms of ddnet development
Avatar
Avatar
zhn
i don't really think you need to know this in terms of ddnet development
i'd say its decently important to know how c++ handles memory when coding anything in it oop
πŸ‘ 1
Avatar
Avatar
meloƞ
i'd say its decently important to know how c++ handles memory when coding anything in it oop
yeah but if you are writing cpp then you know how cpp works
Avatar
you can write functional programs without using a single pointer
Avatar
yeah, don't use ranges though
Avatar
Avatar
meloƞ
i'd say its decently important to know how c++ handles memory when coding anything in it oop
i mean its basic thing to know, if you want to write c, don't use cpp
16:14
and vice versa
Avatar
yeah i get that
Avatar
streams are the thing that draws me too c++ instead of c
16:16
on everything else I would prefer c
16:17
Handling files is so much easier with streams
Avatar
im missing templates and generics on c so much
16:17
the only reason to use ccp instead id say
16:17
cpp
Avatar
use macros xd
16:18
/s
Avatar
Avatar
zhn
im missing templates and generics on c so much
yeah i can tell you like your templates....
16:18
cries in having to understand 300 boilerplate functions reading your code
16:18
no hate tho - love you!
Avatar
u would have to read 3000 otherwise
OHNOOOO 2
16:19
also i just reimplemented existing json wrapper so its useless actually
Avatar
Avatar
zhn
also i just reimplemented existing json wrapper so its useless actually
NotLikeKogasa mamma mia
Avatar
we saw that troll
Avatar
btw nlohmanns implementation is quite faster afair
16:20
but it would compile for a day justatest
Avatar
i planned on using nlohmanns json iirc
Avatar
do not take static initialization & automatic de/serialization for granted
Avatar
Avatar
Teero
streams are the thing that draws me too c++ instead of c
Funnily enough streams are probably one of my least favourite things about C++
Avatar
Avatar
Learath2
Funnily enough streams are probably one of my least favourite things about C++
what happened
Avatar
Idk, I just don't like that form of I/O
Avatar
what would be the better way?
Avatar
arent cpp streams slowest kind of io processing justatest
Avatar
I like C style IO with printf/scanf/puts
Avatar
It's okay
Avatar
Avatar
zhn
arent cpp streams slowest kind of io processing justatest
They are not that bad(tm)
17:04
I'm a big fan of C++20 std::format
🍻 1
17:04
Any new C++ I write uses those
Avatar
GitHub BOT 2024-09-21 17:08
The confirmation popup was not shown for the Save As dialog anymore, due to the label being changed to Save As for the respective quick action. This check based on string comparison is rather brittle and can be replaced with comparison of the storage type with IStorage::TYPE_SAVE. When the file dialog is used to open files, prevent opening files with an empty filename if enter is pressed while no file is selected (i.e. when the filter excludes all entries).

Checklist

  • [X] Tes...
Avatar
Rate my VsCode Setup
Avatar
MilkeeyCat 2024-09-21 17:12
rate my neovim setup 😏
Avatar
my vs code setup is kinda 18+, no way to share it here
17:13
justatest
Avatar
MilkeeyCat 2024-09-21 17:15
holy shit, i made code from CVariableInt::Pack compile in my language, now the question is if it works correctly πŸ˜’
Avatar
updated design
trollet 1
Avatar
Avatar
MilkeeyCat
holy shit, i made code from CVariableInt::Pack compile in my language, now the question is if it works correctly πŸ˜’
MilkeeyCat 2024-09-21 17:21
well, that was fast xd
Avatar
Avatar
MilkeeyCat
well, that was fast xd
kek
Avatar
Avatar
zhn
my vs code setup is kinda 18+, no way to share it here
I saw it... My poor eyes
17:29
My wife liked it tho iirc
kek 1
Avatar
Avatar
zhn
my vs code setup is kinda 18+, no way to share it here
How do you even focus with an 18+ vscode setup? πŸ˜„
Avatar
Avatar
zhn
my vs code setup is kinda 18+, no way to share it here
Send dm
Avatar
[ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/graphics_threaded.cpp.o [ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/input.cpp.o [ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/notifications.cpp.o /home/lukron/ddnet/src/engine/client/notifications.cpp:9:10: fatal error: libnotify/notify.h: No such file or directory 9 | #include <libnotify/notify.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/game-client.dir/build.make:975: CMakeFiles/game-client.dir/src/engine/client/notifications.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 63%] Linking CXX executable DDNet-Server [ 63%] Built target game-server make[1]: *** [CMakeFiles/Makefile2:360: CMakeFiles/game-client.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 when trying to build ddnet for a server| Raspian OS Lite PI 4 4GB
Avatar
Avatar
LuKron
[ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/graphics_threaded.cpp.o [ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/input.cpp.o [ 63%] Building CXX object CMakeFiles/game-client.dir/src/engine/client/notifications.cpp.o /home/lukron/ddnet/src/engine/client/notifications.cpp:9:10: fatal error: libnotify/notify.h: No such file or directory 9 | #include <libnotify/notify.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/game-client.dir/build.make:975: CMakeFiles/game-client.dir/src/engine/client/notifications.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 63%] Linking CXX executable DDNet-Server [ 63%] Built target game-server make[1]: *** [CMakeFiles/Makefile2:360: CMakeFiles/game-client.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 when trying to build ddnet for a server| Raspian OS Lite PI 4 4GB
You are compiling the client though. Set CLIENT=OFF in cmake so the client is not built, or install the dependencies for the client
Avatar
so cmake CLIENT=OFF ..
Avatar
-DCLIENT=OFF
Avatar
wait it built in like a second when I did that, is that normal?
Avatar
it doesn't build the client
18:08
so obv takes less time (edited)
Avatar
Avatar
LuKron
wait it built in like a second when I did that, is that normal?
Maybe you only reconfigured but didn't build yet. Which commands are you running to build?
Avatar
Avatar
Robyt3
Maybe you only reconfigured but didn't build yet. Which commands are you running to build?
cmake -DCLIENT=OFF .. make -j$(nproc) (edited)
Avatar
the server is built before the client
Avatar
if u already built before I think it doesn't build entirely again
Avatar
that's why - the server was already built (and failed on the client which you now turned off) (edited)
Avatar
Avatar
LuKron
cmake -DCLIENT=OFF .. make -j$(nproc) (edited)
You should probably use -j4 instead of -j$(nproc) as the latter effectively fork bombs your system
18:21
NVM, I think that was -j that starts as many processes as possible
Avatar
Avatar
Robyt3
NVM, I think that was -j that starts as many processes as possible
IIRC the command cmake --build . -j will equal -j$(nproc) while make -j will equal -j1 (edited)
18:22
(i may be confusing it tho)
Avatar
make -j starts unlimited processes for me
Avatar
5.4 Parallel Execution GNU make knows how to execute several recipes at once. Normally, make will execute only one recipe at a time, waiting for it to finish before executing the next. However, the β€˜-j’ or β€˜--jobs’ option tells make to execute many recipes simultaneously. TiL
18:24
so yes, just -j can hurt weaker pc's
Avatar
im getting mixed signals
Avatar
Does the server executable exist now?
Avatar
one sec
18:32
yeah it does
18:33
where should i gitclone the ddnet-maps git? and also is it worth setting up a myServerconfig.cfg?
18:33
its purely just a server for me and my mates
Avatar
Avatar
zhn
my vs code setup is kinda 18+, no way to share it here
now im curious
Avatar
Avatar
zhn
my vs code setup is kinda 18+, no way to share it here
MilkeeyCat 2024-09-21 18:43
my friend is also curious
Avatar
Avatar
LuKron
where should i gitclone the ddnet-maps git? and also is it worth setting up a myServerconfig.cfg?
?
Avatar
maps folder
18:48
and depends on what you wanna do
Avatar
Avatar
LuKron
?
maps can go in your generated maps folder under build/data/maps or your local ddnet folder (if one exists, no idea since you didnt build the client) under ~/.local/share/ddnet/maps the myServerconfig.cfg is a useful way to "backup" your settings - the generated config may be overwritten if you update it (edited)
Avatar
Avatar
meloƞ
maps can go in your generated maps folder under build/data/maps or your local ddnet folder (if one exists, no idea since you didnt build the client) under ~/.local/share/ddnet/maps the myServerconfig.cfg is a useful way to "backup" your settings - the generated config may be overwritten if you update it (edited)
so if i delete the ones currently there, and git clone the ddnet-maps that should work?
Avatar
yup, just make sure to do mv ddnet-maps maps (change it's name)
18:51
i think there even is a tutorial on the ddnet-maps github repo?
18:52
ah well that might even be the best option All official DDNet maps, ready to be run in your own server! Simply download this repository, add your DDNet-Server binary (distributed together with the DDNet client) and start the server. You can change the settings in autoexec_server.cfg
18:52
since then there is no way you loose your maps at any time
Avatar
what does that mean? add you binary?
Avatar
your ddnet server executable (edited)
Avatar
oh yeah
Avatar
Avatar
Learath2
How do you even focus with an 18+ vscode setup? πŸ˜„
im horny 24/7, i don't pay attention id say owo
justatest 2
Avatar
Avatar
zaerin
Send dm
later
Avatar
Avatar
MilkeeyCat
rate my neovim setup 😏
γ‚’γƒͺヂン 2024-09-21 19:21
how are you guys working with such backgrounds, I find it too distracting if its not blurred or just a solid color nouis
Avatar
ws-client BOT 2024-09-21 19:31
<ChillerDragon> i need andrea botez dancing in the background to be able to code
Avatar
heinrich5991 2024-09-21 19:34
I think people really don't appreciate just how incomplete Linux kernel API docs are, and how Rust solves part of the problem. I wrote a pile of Rust abstractions for various subsystems. For practically every single one, I had to read the C source code to understand how to use its API. Simply reading the function signature and associated doc c...
Avatar
ws-client BOT 2024-09-21 19:36
<ChillerDragon> omg matrix didn't bridge my video -.-
Avatar
Avatar
γ‚’γƒͺヂン
how are you guys working with such backgrounds, I find it too distracting if its not blurred or just a solid color nouis
MilkeeyCat 2024-09-21 19:40
it's not distracting for me at all, Im used to it :DD
Avatar
Is there a command to disable records saving at all, I have few main servers and few test servers, I want to disable finishing on them
Avatar
heinrich5991 2024-09-21 19:55
I believe sv_test_cmds 1 disables records
19:55
ah no, maybe it doesn't
19:55
not sur
Avatar
I think records with test commands used while run will not count
Avatar
heinrich5991 2024-09-21 19:56
otherwise you could set up a different DB
19:56
simply using sqlite3 with a different filename should work
Avatar
okay, will try this workaround, thanks
Avatar
Avatar
heinrich5991
I believe sv_test_cmds 1 disables records
cyberfighter 2 2024-09-21 19:58
i think it does
19:58
unless it was changed not long ago
Avatar
I’m unsure how much of what they are talking about can be considered an API, especially since most of it is completely private stuff
20:03
This is why I feel rust for linux is having so many problems. Rust’s type system pretty much requires everything to be properly thought out, while these internal private pieces are everchanging and just evolve to cater to their downstream users. Rather than the downstream users figuring out a way to make it work
Avatar
Avatar
γ‚’γƒͺヂン
how are you guys working with such backgrounds, I find it too distracting if its not blurred or just a solid color nouis
solid black for me xd
πŸ‘† 2
πŸ€“ 1
Avatar
Avatar
Learath2
I’m unsure how much of what they are talking about can be considered an API, especially since most of it is completely private stuff
heinrich5991 2024-09-21 20:16
hmmm. I'd think for internal APIs it's still nice when you know whether you need a held lock or whether the function takes ownership (edited)
Avatar
Definitely nice, but I can see why it would be really annoying having to commit to an interface in private APIs
Avatar
heinrich5991 2024-09-21 20:17
why commit? you can change it any time (just like before), and on the rust side, you'll even get compiler help to find the places that need changes
20:21
Let's do it Here's a pass at what remains to be done to enable the first release of Rust-based fish. I hope this will be a checklist to drive the release forwards. tl;dr: resolve blocking i...
Avatar
Avatar
heinrich5991
why commit? you can change it any time (just like before), and on the rust side, you'll even get compiler help to find the places that need changes
but you now need to think about these things that might change
Avatar
Avatar
Teero
solid black for me xd
πŸ’€
Avatar
Avatar
angular
πŸ’€
most sane redacted coder
Avatar
Avatar
angular
πŸ’€
what editor is that xD
Avatar
Avatar
Teero
what editor is that xD
dude codes in cmatrix
Avatar
Avatar
meloƞ
dude codes in cmatrix
yess
Avatar
Terminal based "The Matrix" like implementation. Contribute to abishekvashok/cmatrix development by creating an account on GitHub.
21:15
i'm not joking, that stuff exists.
Avatar
Cmatrix++
Avatar
Avatar
heinrich5991
why commit? you can change it any time (just like before), and on the rust side, you'll even get compiler help to find the places that need changes
the c developers do not want to change the rust code when they change the c code. That's the issue
Avatar
that transparency is probably killing your eyes
Avatar
What's the test output? I don't know, there's a girl dancing all over it
Avatar
You don't actually use it this transparent, right?
Avatar
heinrich5991 2024-09-21 21:45
ChillerDragon: ^
Avatar
e="++#m--%am*@R<^1c/@%[_[H3c%@%[_[H3c+@.B#d-@%:_^BKd<<Z/03e>>/03e<=0f>=/f<@.f>@1f==&g!='g&&k||#l&@.BCh^@.BSi|@.B+j~@/%Yd!@&d*@b";
21:51
poor guy had to sneeze
Avatar
found his little brother: haskell compiler https://crypto.stanford.edu/~blynn/compiler/ioccc.html
Avatar
Avatar
Chairn
found his little brother: haskell compiler https://crypto.stanford.edu/~blynn/compiler/ioccc.html
the dedication of some people scare me
Avatar
damn rip ddnet.tw
22:34
it still redirects to ddnet.org currently?
Avatar
heinrich5991 2024-09-21 22:34
yes
Avatar
what happened 😭
Avatar
GitHub BOT 2024-09-21 22:35
ddnet.tw got taken away, all clients that rely on it for most anything are vulnerable

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 c...
Avatar
how did it get botched
Avatar
Is it not possible to just edit the strings in the binaries for the domain?
Avatar
heinrich5991 2024-09-21 22:36
not trivially
22:36
because the new domain is one character longer
Avatar
Avatar
louis
how did it get botched
The new registrar claimed that the transfer is succeeding for weeks, but it was actually failing because they were missing documents which they didn't request.
Avatar
Status clientTransferProhibited
22:37
that sounds like a lie
Avatar
who grabbed the domain? or is that secret info
Avatar
or maybe it failed because it really was prohibited ?
22:37
Registrant: (Redacted for privacy) Administrative Contact: (Redacted for privacy) Technical Contact: (Redacted for privacy) Record expires on 2025-08-09 10:54:26 (UTC+8) Record created on 2024-08-09 10:54:26 (UTC+8)
Avatar
Avatar
louis
who grabbed the domain? or is that secret info
We know, it's someone in the community, but not someone trustworthy
poggers2 1
Avatar
Avatar
heinrich5991
because the new domain is one character longer
register __.xyz 🀣
Avatar
Avatar
louis
register __.xyz 🀣
still longer
Avatar
https://ddnet.io/ nice website πŸ™‚
DDNET Solutions, founded in 2006, is a System Integrator and IT Consulting company based in Iasi, Romania. Over the past decade we have offered our services to clients and partners in Europe, North America and Asia.
Avatar
register .de
Avatar
I wish you best of luck with getting the domain back! Thanks for taking the appropriate care
Avatar
Avatar
crqch
still longer
would aaaa.xyz not be the same length
Avatar
Avatar
louis
who grabbed the domain? or is that secret info
ddnet.tw has same ip as tee.world
Avatar
oh xd
Avatar
Avatar
louis
would aaaa.xyz not be the same length
oh i thought u meant ddnet.xyz not ddne.xyz
Avatar
https://tee.world/
Contact us on discord: noby#5436
Avatar
heinrich5991 2024-09-21 22:41
it's not noby's site
Avatar
i know who that is πŸ’€
Avatar
heinrich5991 2024-09-21 22:41
please don't spam noby
Avatar
maybe register dnet.net
Avatar
Avatar
crqch
maybe register dnet.net
it's already taken
22:42
(without the typo)
Avatar
Avatar
Chairn
it's already taken
actually lol
Avatar
Avatar
deen
The new registrar claimed that the transfer is succeeding for weeks, but it was actually failing because they were missing documents which they didn't request.
what's the name of that shitty registrar, in order to avoid such crap?
Avatar
@ReiTW ^ i'm dying of laughter at this information
Avatar
older clients should be disallowed on ddnet servers immediately
Avatar
can we finally move to hetzner
Avatar
a big one
Avatar
french tech always living up to the expectations
Avatar
Avatar
fokkonaut
older clients should be disallowed on ddnet servers immediately
already done
Avatar
Avatar
fokkonaut
older clients should be disallowed on ddnet servers immediately
heinrich5991 2024-09-21 22:46
yes, we have a patch and it's deployed on empty servers
Avatar
good
Avatar
heinrich5991 2024-09-21 22:46
ddnet.tw got taken away, all clients that rely on it for most anything are vulnerable Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination wit...
πŸ‘ 1
Avatar
Avatar
meloƞ
can we finally move to hetzner
hetzner is for chads
Avatar
ty heino
Avatar
Avatar
meloƞ
@ReiTW ^ i'm dying of laughter at this information
everytime I hear OVH I wanna insult them
Avatar
Avatar
ReiTW
everytime I hear OVH I wanna insult them
it's insane lmao
Avatar
heinrich5991 2024-09-21 22:55
that's ovh, right?
Avatar
Strasbourg data center i guess
Avatar
@Learath2 now if i wanted to use an old client for whatever sakes reason, i cannot do that without spoofing the clientId now?
Avatar
burnt few years ago
Avatar
Avatar
heinrich5991
that's ovh, right?
yea where Bombay server is currently located at
KEKW 1
22:56
when I was KekStressed cuz I didn't have any db backup so I was hoping the server didn't turn into a barbecue
Avatar
Avatar
meloƞ
@Learath2 now if i wanted to use an old client for whatever sakes reason, i cannot do that without spoofing the clientId now?
heinrich5991 2024-09-21 22:57
we can talk about solutions to that in the next couple of days, for now, no. and perhaps don't try to do it for these couple of days
Avatar
never trust ovh
22:58
if u get ddosed they will just give up
Avatar
Avatar
ReiTW
when I was KekStressed cuz I didn't have any db backup so I was hoping the server didn't turn into a barbecue
Avolicious 2024-09-21 22:58
We had our main database there too
22:59
But our servers was in Strasbourg 3, only 4 is/was BBQ
Avatar
GitHub BOT 2024-09-21 22:59
a3e50da Update nightly links - def-
Avatar
Avatar
louis
who grabbed the domain? or is that secret info
some scot Domain Name: ddnet.tw Registry Domain ID: TWDOMAIN0007991952-0 Registrar WHOIS Server: whois.gandi.net Registrar URL: http://www.gandi.net Updated Date: 2024-08-09T02:54:30Z Creation Date: 2024-08-09T00:54:26Z Registrar Registration Expiration Date: 2025-08-09T02:54:26Z Registrar: GANDI SAS Registrar IANA ID: 81 Registrar Abuse Contact Email: abuse@support.gandi.net Registrar Abuse Contact Phone: +33.170377661 Reseller: Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited Domain Status: Domain Status: Domain Status: Domain Status: Registry Registrant ID: REDACTED FOR PRIVACY Registrant Name: REDACTED FOR PRIVACY Registrant Organization: Registrant Street: REDACTED FOR PRIVACY Registrant City: REDACTED FOR PRIVACY Registrant State/Province: East Ayrshire Registrant Postal Code: REDACTED FOR PRIVACY Registrant Country: GB Registrant Phone: REDACTED FOR PRIVACY Registrant Phone Ext: Registrant Fax: REDACTED FOR PRIVACY Registrant Fax Ext: Registrant Email: ff634574cab91b070b3f51865592a153-49826450@contact.gandi.net Registry Admin ID: REDACTED FOR PRIVACY Admin Name: REDACTED FOR PRIVACY Admin Organization: REDACTED FOR PRIVACY Admin Street: REDACTED FOR PRIVACY Admin City: REDACTED FOR PRIVACY Admin State/Province: REDACTED FOR PRIVACY Admin Postal Code: REDACTED FOR PRIVACY Admin Country: REDACTED FOR PRIVACY Admin Phone: REDACTED FOR PRIVACY Admin Phone Ext: Admin Fax: REDACTED FOR PRIVACY Admin Fax Ext: Admin Email: 64ae9774d420603ce59e8d64d4ea1ed6-49826455@contact.gandi.net Registry Tech ID: REDACTED FOR PRIVACY Tech Name: REDACTED FOR PRIVACY Tech Organization: REDACTED FOR PRIVACY Tech Street: REDACTED FOR PRIVACY Tech City: REDACTED FOR PRIVACY Tech State/Province: REDACTED FOR PRIVACY Tech Postal Code: REDACTED FOR PRIVACY Tech Country: REDACTED FOR PRIVACY Tech Phone: REDACTED FOR PRIVACY Tech Phone Ext: Tech Fax: REDACTED FOR PRIVACY Tech Fax Ext: Tech Email: 4e65fead99d7887964f56c132327739f-49826460@contact.gandi.net Name Server: NS-215-A.GANDI.NET Name Server: NS-22-B.GANDI.NET Name Server: NS-220-C.GANDI.NET Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: Name Server: DNSSEC: Unsigned URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ > Last update of WHOIS database: 2024-09-21T22:40:46Z <<< > For more information on Whois status codes, please visit > https://www.icann.org/epp > Reseller Email: > Reseller URL: > Personal data access and use are governed by French law, any use for the purpose of unsolicited mass commercial advertising as well as any mass or automated inquiries (for any intent other than the registration or modification of a domain name) are strictly forbidden. Copy of whole or part of our database without Gandi's endorsement is strictly forbidden. > A dispute over the ownership of a domain name may be subject to the alternate procedure established by the Registry in question or brought before the courts. > For additional information, please contact us via the following form: > https://www.gandi.net/support/contacter/mail/
Avatar
Avolicious 2024-09-21 23:00
There is no info in there
23:00
except for the fact that he is scottish (edited)
23:00
or she
Avatar
Back in my day you actually had to fill your whois. I had an oold domain with my actual information on there down to my address
Avatar
if you know the owner of tee.world you know who snagged it
Avatar
Avolicious 2024-09-21 23:00
But even if you would know, domain takeovers are a business tho
23:01
Registrars are not allowed to transfer domains that easily, they need a local court telling them
Avatar
Avatar
always
except for the fact that he is scottish (edited)
SP Someone greenthing
Avatar
it should be possible to recompile old binaries with the new url right?
Avatar
He's scottish
Avatar
Avatar
heinrich5991
we can talk about solutions to that in the next couple of days, for now, no. and perhaps don't try to do it for these couple of days
heinrich5991 2024-09-21 23:03
^
Avatar
Avatar
Tater
it should be possible to recompile old binaries with the new url right?
Avolicious 2024-09-21 23:03
Or drop support & finally remove old clients πŸ˜„
23:03
no more backwards comp
Avatar
Someone told me they have lag in newer versions, I don't have any solution for them (edited)
Avatar
Avatar
Avolicious
Or drop support & finally remove old clients πŸ˜„
and make the whole cummunity mad
Avatar
Avatar
always
and make the whole cummunity mad
More like <5% of the community
Avatar
Avatar
always
and make the whole cummunity mad
Avolicious 2024-09-21 23:04
Why? Most people are using latest versions anways. It should be quite normal to update software regularly. Not just for the sake of features, but also security
Avatar
@heinrich5991 You did try to contact ovh's support after the transfer failed ?
Avatar
Avatar
Avolicious
Why? Most people are using latest versions anways. It should be quite normal to update software regularly. Not just for the sake of features, but also security
true
Avatar
Getting mad about the sitting animation is funny
Avatar
Avatar
ReiTW
@heinrich5991 You did try to contact ovh's support after the transfer failed ?
heinrich5991 2024-09-21 23:05
yes, they were useless and demanded and got money for it AFAIK
Avatar
If we were making millions off of this, I'm fairly certain there would be an angle where we could sue OVH for this
Avatar
Avatar
ReiTW
@heinrich5991 You did try to contact ovh's support after the transfer failed ?
For starters I couldn't log into their support site, phone support was not available because I don't pay enough. At some point they admitted that the transfer had already failed (it was still shown as succeeding in their UI) and they refunded me the money, but nothing they can do about the lost domain.
23:06
(email support not possible either)
Avatar
Avatar
Learath2
If we were making millions off of this, I'm fairly certain there would be an angle where we could sue OVH for this
Avolicious 2024-09-21 23:07
Well, you would legally go against the registrar to give you the domain back πŸ˜„ And then sue OVH for a possible revenue loss
Avatar
Avatar
deen
For starters I couldn't log into their support site, phone support was not available because I don't pay enough. At some point they admitted that the transfer had already failed (it was still shown as succeeding in their UI) and they refunded me the money, but nothing they can do about the lost domain.
Avolicious 2024-09-21 23:07
Yeah, OVH support is crap
23:07
They still send me e-mails everyday about possible hacked servers, where a stupid kid just runs spoofed dns queries against
Avatar
The original registrar was not at fault, I let the domain expire because I initiated the transfer 2 months earlier.
Avatar
Avatar
Avolicious
Well, you would legally go against the registrar to give you the domain back πŸ˜„ And then sue OVH for a possible revenue loss
Since we don't make any money, the registrar is probably registered in the cayman islands or some shit, and twnic is in taiwan. It's safe to say we aren't getting jack shit πŸ˜„
Avatar
And twnic doesn't care since we have no trademark in taiwan etc.
Avatar
Avatar
Learath2
Since we don't make any money, the registrar is probably registered in the cayman islands or some shit, and twnic is in taiwan. It's safe to say we aren't getting jack shit πŸ˜„
Avolicious 2024-09-21 23:08
All registrars have to follow ICANN policies
23:08
But yes, we are too small
Avatar
Avatar
Avolicious
All registrars have to follow ICANN policies
I'm sure they have to reply within 5 to 365 days after being notified by pidgeon mail on the filing of a court case with the international criminal court
Avatar
Avatar
Tater
Someone told me they have lag in newer versions, I don't have any solution for them (edited)
trying newest version now, still getting stutters :(
Avatar
Avatar
Learath2
I'm sure they have to reply within 5 to 365 days after being notified by pidgeon mail on the filing of a court case with the international criminal court
Avolicious 2024-09-21 23:09
Well, no. ICANN is pretty strict about domain hijacking. The problem is local law
Avatar
Avatar
deen
For starters I couldn't log into their support site, phone support was not available because I don't pay enough. At some point they admitted that the transfer had already failed (it was still shown as succeeding in their UI) and they refunded me the money, but nothing they can do about the lost domain.
damn rip :/
Avatar
Avatar
Viperatra
trying newest version now, still getting stutters :(
which graphics backend are you using? Vulkan?
Avatar
how do i check
Avatar
in graphics settings
23:10
you can just screenshot
Avatar
yeah defualt
23:10
vulkan 1.1.0
Avatar
can you try with opengl
23:10
whatever the highest version is
Avatar
GitHub BOT 2024-09-21 23:10
db0c83d Ban compromised old versions - Learath2 be74009 Merge pull request #9007 from Learath2/pr_olddomain - def-
Avatar
Avolicious 2024-09-21 23:12
Anyways, it happend and we now have to deal with this situation. Sadly there are a lot of bad actors that still try to destroy this game out of pure joy.
Avatar
Avatar
Tater
can you try with opengl
seems less so far but i'd have to play for a while to make sure
Avatar
did you use vulkan as well in your 16.1 version?
Avatar
Avolicious 2024-09-21 23:13
Thanks for the fix & communication @heinrich5991 & @Learath2 !
Avatar
yeah if it's default
Avatar
A bit of a shame that it ended this way. I wished we could take the domain back
Avatar
Avolicious 2024-09-21 23:14
Maybe at one day, but I am glad that they havent taken over ddnet.org
23:14
That would be a mess now
f3 2
Avatar
heinrich5991 2024-09-21 23:14
yes
Avatar
Avolicious 2024-09-21 23:14
No backup master servers or anything on an alt-domain πŸ˜„
Avatar
what's the time that this happened? and could it have affected users without them knowing? what can people do to check?
Avatar
Avatar
Viperatra
what's the time that this happened? and could it have affected users without them knowing? what can people do to check?
The domain was lost a month or so ago. It has just redirected to ddnet.org for the longest time, until about a week ago when the certificate expired. During that period there was no malicious activity with the domain. Currently it redirects some of our services to their own replacements which should only allow them to show you weird skins or maps. The update server has been dead for a long while for these versions and the person who got the domain didn't revive it. So I'd say there really is no risk
πŸ‘ 1
Avatar
heinrich5991 2024-09-21 23:24
of having been infected so far.
this 2
Avatar
Avatar
Learath2
The domain was lost a month or so ago. It has just redirected to ddnet.org for the longest time, until about a week ago when the certificate expired. During that period there was no malicious activity with the domain. Currently it redirects some of our services to their own replacements which should only allow them to show you weird skins or maps. The update server has been dead for a long while for these versions and the person who got the domain didn't revive it. So I'd say there really is no risk
thanks for the detailed reply :)
Avatar
GitHub BOT 2024-09-21 23:31
I just updated to the new version of DDNet and I noticed you can only see 13 people on the server at once. My suggestion is to be able to collapse the communities & Info to be able to see more people at once. !Collapse
Avatar
Avatar
Learath2
The domain was lost a month or so ago. It has just redirected to ddnet.org for the longest time, until about a week ago when the certificate expired. During that period there was no malicious activity with the domain. Currently it redirects some of our services to their own replacements which should only allow them to show you weird skins or maps. The update server has been dead for a long while for these versions and the person who got the domain didn't revive it. So I'd say there really is no risk
cyberfighter 2 2024-09-21 23:53
can i ask what services
Avatar
Avatar
cyberfighter 2
can i ask what services
maps.ddnet.tw and skins.ddnet.tw
Avatar
cyberfighter 2 2024-09-21 23:54
ah
23:54
ddnet.tw/skins doesnt, lmao
Avatar
Avatar
Learath2
maps.ddnet.tw and skins.ddnet.tw
He's gonna make them download 8k skins
Avatar
cyberfighter 2 2024-09-21 23:55
no its just
Avatar
Or the entire Shrek movie in pngs
gigachad 1
Avatar
cyberfighter 2 2024-09-21 23:55
Nah i doubt
23:55
i think he just puts random shit that got declined from submissions
Avatar
is there any info on who it is?
Avatar
cyberfighter 2 2024-09-21 23:56
sp someone
Avatar
Avatar
cyberfighter 2
sp someone
nah xd
Avatar
cyberfighter 2 2024-09-21 23:56
it is
Avatar
really?
Avatar
cyberfighter 2 2024-09-21 23:56
yes
Avatar
How do you know?
23:56
cyberfighter is not a trustworthy source
Avatar
cyberfighter 2 2024-09-21 23:56
cuz his discord server has smth going on with that skin database
23:57
and its a sp someone thing to do
Avatar
Avatar
Teero
How do you know?
ddnet.tw ip is now same as tee.world ip
23:58
which was owned by sp someone
23:58
+ whois points to scotland which matches up
Avatar
cyberfighter 2 2024-09-21 23:59
who woulda guessed im not a fuckin liar
Avatar
that would make the risk of malicious actions non-zero
Avatar
why dont u join and speak to the fella
23:59
DDNet GER10 [ger10.ddnet.org whitelist] - DDmaX.Pro Address: ddnet://45.141.57.22:8336 My IGN: always
Avatar
45.141.57.22:8336 is an official DDraceNetwork (DDNet, Region: πŸ‡ͺπŸ‡Ί) server. Quick join: https://ddnet.org/connect-to/?addr=45.141.57.22:8336/
Avatar
hes in this server
Avatar
Avatar
cyberfighter 2
who woulda guessed im not a fuckin liar
I guessed it like an hour ago but as a jokr (edited)
23:59
XD
Exported 466 message(s)
Timezone: UTC+0