Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2025-01-10 00:00 and 2025-01-11 00:00
Avatar
git makes no sense 😭
Avatar
uh oh
03:35
louis broke ddnet
03:35
everyone pack it up
Avatar
ChillerDragon BOT 2025-01-10 07:09
Yep feelsbadman
Replying to @always do you have emoji on the irc channel
07:53
pog i appear
Avatar
Avatar
GitHub
Click to see attachment 🖼️
why is it even needed?
Avatar
explained in the pr thread
08:06
i read on reddit from a llvm maintainer it is way better at perf iirc
08:06
its just winshit sucks so much to set this up
08:07
well rust works on windows and uses llvm so it must work
Avatar
Avatar
Ryozuki
CREATE INDEX IF NOT EXISTS idx_mapinfo_map ON mapinfo(Map); CREATE INDEX IF NOT EXISTS idx_maps_map ON maps(Map); CREATE INDEX IF NOT EXISTS idx_maps_server ON maps(Server); CREATE INDEX IF NOT EXISTS idx_maps_points ON maps(Points); CREATE INDEX IF NOT EXISTS idx_maps_stars ON maps(Stars); CREATE INDEX IF NOT EXISTS idx_maps_timestamp ON maps(Timestamp); CREATE INDEX IF NOT EXISTS idx_race_map ON race(Map); CREATE INDEX IF NOT EXISTS idx_race_name ON race(Name); CREATE INDEX IF NOT EXISTS idx_race_time ON race(Time); CREATE INDEX IF NOT EXISTS idx_race_timestamp ON race(Timestamp); CREATE INDEX IF NOT EXISTS idx_teamrace_map ON teamrace(Map); CREATE INDEX IF NOT EXISTS idx_teamrace_name ON teamrace(Name); CREATE INDEX IF NOT EXISTS idx_teamrace_time ON teamrace(Time); CREATE INDEX IF NOT EXISTS idx_teamrace_timestamp ON teamrace(Timestamp); vacuum;
vibe Is this for Datasette? Is teamrace.ID not indexed right now? a bit slow to query for teams now.
08:47
something like this SELECT t.Name, COUNT(t.ID) as Num FROM teamrace t WHERE t.ID IN ( SELECT ID FROM teamrace WHERE Name = 'Cor' ) GROUP BY t.Name ORDER BY Num DESC LIMIT 3;
Avatar
hmm idk
08:52
datasette is always slow xd
08:53
@eidderFsT CREATE INDEX IF NOT EXISTS idx_mapinfo_map ON mapinfo(Map); CREATE INDEX IF NOT EXISTS idx_maps_map ON maps(Map); CREATE INDEX IF NOT EXISTS idx_maps_server ON maps(Server); CREATE INDEX IF NOT EXISTS idx_maps_points ON maps(Points); CREATE INDEX IF NOT EXISTS idx_maps_stars ON maps(Stars); CREATE INDEX IF NOT EXISTS idx_maps_mapper ON maps(Mapper); CREATE INDEX IF NOT EXISTS idx_maps_timestamp ON maps(Timestamp); CREATE INDEX IF NOT EXISTS idx_race_map ON race(Map); CREATE INDEX IF NOT EXISTS idx_race_name ON race(Name); CREATE INDEX IF NOT EXISTS idx_race_time ON race(Time); CREATE INDEX IF NOT EXISTS idx_race_timestamp ON race(Timestamp); CREATE INDEX IF NOT EXISTS idx_race_server ON race(Server); CREATE INDEX IF NOT EXISTS idx_teamrace_map ON teamrace(Map); CREATE INDEX IF NOT EXISTS idx_teamrace_name ON teamrace(Name); CREATE INDEX IF NOT EXISTS idx_teamrace_time ON teamrace(Time); CREATE INDEX IF NOT EXISTS idx_teamrace_timestamp ON teamrace(Timestamp); update maps set timestamp='1970-01-01 00:00:00' where timestamp = '0000-00-00 00:00:00'; vacuum;
08:53
this is what i do
08:53
i guess i can add for ids
Avatar
teamrace ID is gonna help for querying a group of team i think (edited)
Avatar
updating it
Avatar
thanks my guy. heartw
Avatar
inflating: ddnet.sqlite
08:56
♿
08:56
dont worry just uncompressing a 2gb zip file (edited)
08:56
justatest
08:57
ddnet.sqlite.zip 100%[======================================================================================================================>] 1.94G 94.8MB/s in 21s my sv net speed isnt bad lol
Avatar
epic
08:58
i did roughly the same thing an hour ago on my vps, but that poor thing takes half a second querying an indexed column. idk what happened.
08:58
and i ran out of disk space justatest
08:59
@eidderFsT why u spying cor
Avatar
good for testing i guess... i mean the guy has the most data
Avatar
sussy
09:00
owo
Avatar
just making a 2024 stat report thing for chn. i tried to host my own db, couldn't get it to work. now i just let client query ddstats (through my server so i don't ddos it) with a 500ms hardcoded throttle between each query and just let them wait.
Avatar
ddnet.sqlite: SQLite 3.x database, last written using SQLite version 3040001, file counter 23, database pages 2869270, cookie 0x16, schema 4, UTF-8, version-valid-for 23
09:02
@eidderFsT should be done
09:02
but if there was a cache its gone probs
Avatar
should be fine.
Avatar
woah
09:03
its fast af
09:03
Queries took 60.488ms
Avatar
ye, that one really shouldn't be that slow just to get a group of teams
Avatar
Name Num Cor 2273 (D)Cor 780 Freezestyler 274
Avatar
thanks my guy!
Avatar
why do u say that phrase
09:03
is it some american thing
Avatar
idk
Avatar
thanks my dude
09:04
deen_star
Avatar
❤️
Avatar
.rw-r--r-- 12G root 10 Jan 09:01 ddnet.sqlite
09:05
@eidderFsT did ur vps have less than 12gb
09:05
(this is 12gb with indexes)
Avatar
it's 20gb
09:05
i have other things on there
09:05
so yeah..
Avatar
Filesystem Size Used Avail Use% Mounted on udev 32G 0 32G 0% /dev tmpfs 6.3G 55M 6.3G 1% /run /dev/md2 436G 185G 230G 45% /
09:06
i stil lgot space brownbear
Avatar
catbite hard to get a vps that have a reasonable connection to china while being cheap
Avatar
this is a bare metal
09:07
49€ month xd
Avatar
fair
09:07
not bad. but i'm unemployed so i might not go so hard on servers lol
Avatar
CPU: AMD Ryzen 5 3600 (12) @ 3.60 GHz Memory: 7.37 GiB / 62.72 GiB (12%) Swap: 1.59 GiB / 31.97 GiB (5%)
09:07
i wonder how it swapped
Avatar
fr
Avatar
did u run rustup up yet
09:08
new rust out
09:08
deen_star
Avatar
ChillerDragon BOT 2025-01-10 11:56
@jxsl13 you recommended 10 players in zCatch to start a round right?
Avatar
ChillerDragon BOT 2025-01-10 11:56
no?
Avatar
hell no
11:56
5
Avatar
ChillerDragon BOT 2025-01-10 11:56
where did i get that number from
Avatar
read the wiki
11:56
again
Avatar
ChillerDragon BOT 2025-01-10 11:57
i thought you said 10 is good so wins become valuable
Avatar
with exponential scoring
Avatar
ChillerDragon BOT 2025-01-10 11:57
"to win a round to 10"
11:57
wiki
Avatar
read again
🥔 2
Avatar
ChillerDragon BOT 2025-01-10 11:57
ok xd
Avatar
and then continue reading
Avatar
Avatar
jxsl13
with exponential scoring
wind become more valuable the more players you catch but also giving less good people the motivation to grind wins
11:59
wins
11:59
and to become better
Avatar
ChillerDragon BOT 2025-01-10 12:00
well you get more points but its still only 1 win you get for 5 player round or 10 player round
12:00
but okay ill lower it to 5
12:01
thanks :)
Avatar
please don't use 10 players to start a round otherwise this mod will be dead on arrival.
12:01
👍
Avatar
One of the best use cases of AI I’ve seen so far. And everything is free. VLC is absolute chad. Take notes Apple, this should come from you and not your stupid AI emojis no one asked for.
poggers2 2
12:05
honestly interesting take
12:05
vlc using ai for automatic subtitles
12:05
can i just download the raw japan anime and use ai
12:05
kek bye fansubs
Avatar
nice feature, bad twitter take like always
Avatar
bye free fansubs, hello paid chatgpt sibscription
12:10
subscription
Avatar
sibscription
Avatar
simpscription
Avatar
Avatar
jxsl13
bye free fansubs, hello paid chatgpt sibscription
the AI is offline so no chatgpt sub
12:37
probs some local 7b model or smth
Avatar
Avatar
Ryozuki
can i just download the raw japan anime and use ai
better yet, just translate in your head!
12:39
ok tbh at the point where you could do that you'd rather just process it all in the original language
Avatar
you can just imagine the anime in your head 😂
Avatar
Nagi01 {LAN} 2025-01-10 14:11
ddnet/ddnet@18.8.2...18.9 Things done Built on platform(s) x86_64-linux aarch64-linux x86_64-darwin aarch64-darwin For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual) sand...
Avatar
thanks darling
Avatar
Nagi01 {LAN} 2025-01-10 14:11
hat2yourservice
Avatar
Is themida protected when compiling Ddnet?
Avatar
whats the mida
🇸 1
🇹 1
🇴 1
🇺 1
🇨 1
🇭 1
Avatar
Avatar
Evelyn.
Is themida protected when compiling Ddnet?
No, why?
Avatar
I was just looking through ida Pro with one person and he told me this thought
Avatar
Avatar
Evelyn.
Is themida protected when compiling Ddnet?
It's open source, wouldnt make sense
18:54
Voldemort client is protected with themida
Avatar
Avatar
Ryozuki
did u run rustup up yet
fenix users:
Avatar
Avatar
kebs
Voldemort client is protected with themida
what is voldemort client
Avatar
Avatar
Ewan
what is voldemort client
hey check out this client
19:08
😂
Avatar
oh lmfao
19:17
they really go through all that
19:18
either the aimbot is that good or they’re hiding something bad lmfao
19:18
considering the IQ of the average cheat dev i’d assume the latter
Avatar
Avatar
kebs
Voldemort client is protected with themida
Harry Potter?
Avatar
MilkeeyCat 2025-01-10 19:24
I absolutely love when Chat GPT makes up functions' names and says that they exist in a codebase, but when you say that those functions don't exist, it just writes "ye, but here are real functions" and it's still made up functions pepeW
Avatar
chatgpt moment
Avatar
MilkeeyCat 2025-01-10 19:33
does anyone have any ideas why mouse could not work in ddnet client in vm?
Avatar
chillerdragon BOT 2025-01-10 19:33
What are you doing in a vm
Avatar
MilkeeyCat 2025-01-10 19:33
kernel module
Avatar
Avatar
Ewan
considering the IQ of the average cheat dev i’d assume the latter
I've seen some big brain cheat devs in other games
Avatar
Avatar
MilkeeyCat
does anyone have any ideas why mouse could not work in ddnet client in vm?
Some VM hosts pretend that your mouse is a tablet with absolute position cursor input
19:35
so that the vm doesn't have to grab your mouse
19:35
and your mouse feels the same inside the VM window and outside
19:36
There should be an option for that
Avatar
MilkeeyCat 2025-01-10 19:37
I pressed "redirect input" and chose my mouse device and I dunno how to get out from vm xd
19:38
The client works tho
Avatar
Avatar
MilkeeyCat
does anyone have any ideas why mouse could not work in ddnet client in vm?
Jupstar ✪ 2025-01-10 19:38
bcs relative mouse input support in vms is bad for some reason xd
Avatar
MilkeeyCat 2025-01-10 19:41
The client works but I can't see the cursor outside of the game :/
Avatar
Avatar
Jupstar ✪
bcs relative mouse input support in vms is bad for some reason xd
gui systems are probably giving absolute mouse coords regardless of mouse mode
19:42
i think any GTK frontend would do that
19:43
the qemu SDL frontend i’m not sure about
19:46
Quote: Originally Posted by Lox0n View Post They have lifters, Windows Defender has a lifter for VMP 2 packed binaries that lifts it onto IL. I can't say for myself but i'm almost sure other companies does the same with a lot of comercial virtualization solutions out there. I work for a highly regarded malware research team and I can guarantee you no one bothers with Themida 3.x (or any of the more recent Oreans VMs). We just have YARA signatures for them. A legit executable is not going to be packed/virtualized anyway - unless it has a legit reason to have methods to make it harder to reverse (like anticheats); and even then, AV engines use reputation. A legitimate digital signature means you are significantly less likely to be using Themida for any malicious purpose. For example, NEXON Corporation packs the game MapleStory using Themida, and they have a whopping 350 VM entries in the game client. (edited)
19:46
lmfao
Avatar
Avatar
MilkeeyCat
I absolutely love when Chat GPT makes up functions' names and says that they exist in a codebase, but when you say that those functions don't exist, it just writes "ye, but here are real functions" and it's still made up functions pepeW
use claude, chatgpt is way too... stoned
Avatar
Avatar
Ewan
either the aimbot is that good or they’re hiding something bad lmfao
they hide spoof system
😃 1
Avatar
MilkeeyCat 2025-01-10 19:53
I had "tablet" hardware in vm settings and mouse wasn't used, i removed it and now everything works
19:58
i pass through mouse
19:58
most solid solution
Avatar
Avatar
Ryozuki
thanks my dude
https://youtu.be/du-TY1GUFGk i legitimately never heard this grammar before this vine got really popular
Avatar
Avatar
-Cosgerms
====================[ Build | game-server | Debug ]============================= D:\JetBrains\CLion\bin\cmake\win\x64\bin\cmake.exe --build D:\CLion\ddnet\cmake-build-debug --target game-server -j 10 [0/2] Generating debug/libddnet_engine_shared.a Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [2/2] Linking CXX executable DDNet-Server.exe FAILED: DDNet-Server.exe C:\Windows\system32\cmd.exe /C "cd . && D:\JetBrains\CLion\bin\mingw\bin\g++.exe -g @CMakeFiles\game-server.rsp -o DDNet-Server.exe -Wl,--out-implib,libDDNet-Server.dll.a -Wl,--major-image-version,0,--minor-image-version,0 && cd ." D:\JetBrains\CLion\bin\mingw\bin/ld.exe: cannot find debug/libddnet_engine_shared.a: No such file or directory collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. I run rustup install stable-x86_64-pc-windows-msvc after rustup default stable-x86_64-pc-windows-msvc. Then I run the build but an error pops up. Can anyone help me? (edited)
Now I need your help @meloƞ . I had this problem before, but this time nothing helps. [0/2] Generating debug/libddnet_engine_shared.a Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [2/2] Linking CXX executable DDNet-Server.exe FAILED: DDNet-Server.exe C:\Windows\system32\cmd.exe /C "cd . && D:\Programs\JetBrains\CLion\bin\mingw\bin\g++.exe -g @CMakeFiles\game-server.rsp -o DDNet-Server.exe -Wl,--out-implib,libDDNet-Server.dll.a -Wl,--major-image-version,0,--minor-image-version,0 && cd ." D:\Programs\JetBrains\CLion\bin\mingw\bin/ld.exe: cannot find debug/libddnet_engine_shared.a: No such file or directory collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
21:20
justatest
Avatar
if you use msvc - you need to use the msvc toolchain
21:20
if you use gnu - you need to use the gnu toolchain
21:20
rustup default stable-x86_64-pc-windows-gnu rustup default stable-x86_64-pc-windows-msvc
21:20
iirc
21:21
mingw smells like gnu - so use that
Avatar
idk what i need
21:22
@meloƞ Sorry for the extra problems. I probably copied something wrong. Everything worked on gnu
21:22
bruh
Avatar
no worries - you'll laugh but that happened to me 2 days ago
😳 1
21:23
because i forgot to switch - i was developing for ddnet-rs which requires rust nightly so i forgot to switch back and it broke it fully
Avatar
Avatar
meloƞ
because i forgot to switch - i was developing for ddnet-rs which requires rust nightly so i forgot to switch back and it broke it fully
Oh
21:23
🥲
Avatar
Avatar
Ewan
either the aimbot is that good or they’re hiding something bad lmfao
It’s also to hinder antibot development
Avatar
GitHub BOT 2025-01-10 22:09
153fe17 Add new bind keys (should be all). - Jupeyy 1961fde Merge pull request #56 from Jupeyy/pr_better_bind_keys - Jupeyy
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@Jupstar ✪ will this allow binding kp_1 - 9 now ? or are numpads still registered as just 1-9
22:23
i dont see it - how does ddnet even make that distinction
Avatar
Avatar
meloƞ
@Jupstar ✪ will this allow binding kp_1 - 9 now ? or are numpads still registered as just 1-9
Jupstar ✪ 2025-01-10 22:35
they always existed as numpad0-9
Avatar
i have some of the binds that are rarely useful or just for fun on kp_0 - 9
22:36
cant wait to bind the whole universe
Avatar
Avatar
Learath2
It’s also to hinder antibot development
it's for monetary purposes. It would be cracked and distributed very quickly if they didn't use some third party drm.
Avatar
Avatar
Ewan
considering the IQ of the average cheat dev i’d assume the latter
many cheat devs know more about windows kernel than the actual microsoft developers who wrote the kernel
Avatar
DRM in game cheats is always the funniest thing to me even though it makes perfect sense
Avatar
ok but are ppl really clicking yes on UAC prompts for KRX (edited)
23:25
no
23:25
teeworlds does not attract the smart cheat devs
23:25
they're busy making millions/year selling AAA game cheats
Avatar
Avatar
oxyzo
cant wait to bind the whole universe
make a nested menu out of your keypad binds
Exported 192 message(s)
Timezone: UTC+0