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-06-29 00:00:00Z and 2024-06-30 00:00:00Z
Avatar
As pointed out in Discord conversation, you may be not interested in seeing some kind of skins. Some kind of regex based list for all type of skins
Avatar
#8432 fires 🔥🔥🔥
Avatar
The motivation for this PR is to make the server side input code easier to understand, and improve the way the input buffer for each client is handled. First change: This PR should allow clients to...
Avatar
Avatar
deen
checking
can you ban them? DDNet RUS2 - Novice 62.122.215.19:8336
Avatar
62.122.215.19:8336 is an official DDraceNetwork (DDNet, Region: 🇷🇺) server. Quick join: https://ddnet.org/connect-to/?addr=62.122.215.19:8336/
Avatar
they're blocking
Avatar
Avatar
Sekura
can you ban them? DDNet RUS2 - Novice 62.122.215.19:8336
go #✉-create-a-ticket not here
Avatar
Avatar
louis
go #✉-create-a-ticket not here
oh, thank you and sorry
Avatar
in-game moderators don't really check here so you might have less luck
Avatar
they're gone, but thanks
Avatar
Come on bro not the dev channel
03:40
🐴
Avatar
a17f7b5 Rewrite and fix line reader, read entire file into memory - Robyt3 2ed17ac Merge pull request #8530 from Robyt3/Engine-LineReader-io_read_all - def-
Avatar
丿丨v丨丿 2024-06-29 09:50:26Z
where's the manifest?how to solve it😭
Avatar
Avatar
丿丨v丨丿
where's the manifest?how to solve it😭
The warning is not relevant, install the correct rust toolchain for your compiler to fix "No rule to make target ..."
Avatar
Avatar
Robyt3
The warning is not relevant, install the correct rust toolchain for your compiler to fix "No rule to make target ..."
丿丨v丨丿 2024-06-29 11:00:30Z
where can i install it
Avatar
Install rustup if you haven't already, then run rustup default x86_64-pc-windows-msvc
Avatar
@TinTin I did something like that a thousand years ago as a server side modification: https://github.com/jxsl13/zcatchPlus/blob/104856d166644e3e42ec378e97a57ff57e76a302/src/game/server/player.cpp#L169
A small update to zCatch that has some extended kick/ban exploit features and faster capability to use range bans. Detects some known clients based on flags. Codebase is literally crap, as I use th...
11:11
rainbow tee that is
11:12
with lots or redundant if checks, awesome code.
11:12
but the rainbow part was neat
Avatar
Avatar
Robyt3
Install rustup if you haven't already, then run rustup default x86_64-pc-windows-msvc
丿丨v丨丿 2024-06-29 12:39:44Z
i've installed it, but it doesn't work😭
Avatar
have you tried zooming in more so that we can get even less information ?
🛹 2
Avatar
@Learath2
troll 2
13:05
u dont need breaks
Avatar
Avatar
Chairn
have you tried zooming in more so that we can get even less information ?
丿丨v丨丿 2024-06-29 13:10:20Z
sorry for that
Avatar
Add a ddnet ex demo only item to snap that contains information about the view port. Such as zoom and dyn cam. A viewer of the demo should be able to overrule that zoom value and disable dyn cam. But it would be nice to have an option to get the camera from the actual gameplay.
Avatar
Avatar
丿丨v丨丿
sorry for that
Looks like you are using mingw, so you should use rustup default stable-x86_64-pc-windows-gnu instead. Or use MSVC compilers instead of mingw.
Avatar
Avatar
jxsl13
@TinTin I did something like that a thousand years ago as a server side modification: https://github.com/jxsl13/zcatchPlus/blob/104856d166644e3e42ec378e97a57ff57e76a302/src/game/server/player.cpp#L169
man this is really strange to me xD. So you didn't define (set) those boolean values anywhere where did we get them from ?
15:21
i found the function u used but i still have no idea how to use dis tbh
15:21
never used cpp sorry xD
Avatar
Avatar
Ryozuki
@Learath2
is that legal c ?
15:25
its a way to have switch without fallback without using break
15:26
there is also another trick
Avatar
i knew for duff's device but not with if https://en.wikipedia.org/wiki/Duff%27s_device
In the C programming language, Duff's device is a way of manually implementing loop unrolling by interleaving two syntactic constructs of C: the do-while loop and a switch statement. Its discovery is credited to Tom Duff in November 1983, when Duff was working for Lucasfilm and used it to speed up a real-time animation program. Loop unrolling at...
Avatar
In the C programming language, Duff's device is a way of manually implementing loop unrolling by interleaving two syntactic constructs of C: the do-while loop and a switch statement. Its discovery is credited to Tom Duff in November 1983, when Duff was working for Lucasfilm and used it to speed up a real-time animation program. Loop unrolling at...
15:26
ye
15:26
was gonna post
15:26
xd
Avatar
@heinrich5991 @deen do you think you would accept a PR adding fastcap support? I'm thinking about eventually moving unique to use the ddnet gameservers
Avatar
Avatar
Ryozuki
@Learath2
Cursed (edited)
Avatar
Avatar
TinTin
man this is really strange to me xD. So you didn't define (set) those boolean values anywhere where did we get them from ?
they are defined in the .hpp header file where the class/struct is defined as well.
16:41
they are set somewhere in the code wherever the player object is used. or when some admin gsets tgis value to true/1
Avatar
Avatar
timakro
@heinrich5991 @deen do you think you would accept a PR adding fastcap support? I'm thinking about eventually moving unique to use the ddnet gameservers
If it's done cleanly. What do you need to add?
16:42
And if you are willing to keep maintaining it if bugs are reported
Avatar
yeah i'll have to look into it. just trying to gauge if you are open to add it in principle
Avatar
hi timakro how u doin
Avatar
hiya i'm doing fine
16:45
unique not so much, getting hard to maintain ^^
Avatar
happens :p
16:46
im rly out of the loop in ddnet dev too xd
Avatar
i loaded ddnet up in vscode and it just works
16:46
very well maintained nowadays
16:46
did u use the vscode workspace thing from jupstar
16:46
it has premade settings
Avatar
i just cloned the repo and openend in vscode idk
16:47
load the vscode profiles
16:47
it has a config to run ddnet with ASAN TSAN and more
Avatar
is there another db backend besides mysql and sqlite nowadays? thinking postgres?
Avatar
i tried long ago psql but the syntax differs a lot
17:04
mysql and sqlite are rly alike
17:04
and the current way ddnet does queries is by doing some string formatting depending on the backend but it assumes some stuff i guess
17:04
last time i checked
17:04
for example in psql you use $1 $2 not ?
Avatar
when ddnet with https://surrealdb.com/
SurrealDB is the ultimate database for tomorrow's serverless, jamstack, single-page, and traditional applications.
Avatar
Avatar
timakro
is there another db backend besides mysql and sqlite nowadays? thinking postgres?
@Zwelf and I both had interest in porting to Postgres, but haven't gotten to it.
17:36
I'd be very happy to get a Postgres port
Avatar
@deen i have a few questions regarding your db infrastructure if you don't mind. does every locale have their own mariadb instance? do you have mariadb and gameservers on the same machines? do you generate all the website rank pages per player etc. only when they are requested or always at regular intervals? i'm having issues with db performance so i'm thinking if there is maybe a better way to do this at unique
Avatar
We used to have multiple mariadb instances (running on the same vps), nowadays it's one mariadb for website and one mariadb server just for all the gameservers. Gameservers don't run mariadb anymore
Avatar
i think the easiest fix for me would just be to upgrade my vps resources but i'm reluctant ^^
Avatar
If a rank gets lost, it is recorded in sqlite and inserted daily
17:41
for db performance an index and more memory for innodb_buffer_pool_size can help a lot
Avatar
i think i should have a separate vps just for the mariadb instance like you, it seems that the db causes lag on the gameservers
Avatar
Avatar
deen
for db performance an index and more memory for innodb_buffer_pool_size can help a lot
thanks i'll check that
Avatar
Some parts of the website are upgraded once an hour (https://ddnet.org/ranks/), some are live (https://ddnet.org/maps/Majin-32-Buu), some are a mix (https://ddnet.org/players/timakro/)
17:42
In truth I want to port everything to Postgres, and then put everything behind a Materialize (https://materialize.com/), which would give us accurate live data for everything. disclaimer: that's my employer
17:43
I did join them because I could see that the product perfectly solves the problems we've been having with DDNet's DB
Avatar
that's a way to choose a job :D
Avatar
If the product we are developing makes sense to me personally, I'm way more motivated
Avatar
it's actually good advice; i will need to find a job later this year (edited)
🍻 1
Avatar
Avatar
deen
I did join them because I could see that the product perfectly solves the problems we've been having with DDNet's DB
oh epic
Avatar
Avatar
timakro
it's actually good advice; i will need to find a job later this year (edited)
good luck, ur overqualified owo
Avatar
Avatar
timakro
it's actually good advice; i will need to find a job later this year (edited)
good luck
Avatar
wher'd the leak IP option go? i notice every time i start the game now server ping is shown with an (inaccurate) regional estimate
Avatar
Avatar
deen
In truth I want to port everything to Postgres, and then put everything behind a Materialize (https://materialize.com/), which would give us accurate live data for everything. disclaimer: that's my employer
Didn't we find out our dataset requires far too much ram for materialize to work for us?
Avatar
Avatar
Ewan
wher'd the leak IP option go? i notice every time i start the game now server ping is shown with an (inaccurate) regional estimate
The option is still there but it broke at some point, so it doesn't do anything at the moment
Avatar
The option is still there but the implementation code got removed at some point. The variable m_FavoriteAllowPing now appears unused except for the "Leak IP" checkbox.
Avatar
that is hilarious
19:36
how does that happen? and who's even touching browser code now except for you? 🫣 (edited)
Avatar
According to the code it should work but only if you are on the favorites tab (edited)
20:00
what's your guys' gut reaction to something like "runtime" automapper for entities
20:01
currently tater client has a tile type borders thing which i've been using to make stuff look less blatantly tiled
20:03
and while it does look good i dont think it's the answer necessarily
Avatar
Avatar
Ewan
what's your guys' gut reaction to something like "runtime" automapper for entities
and i say runtime because it'd be generated as a player loads the map
20:04
do u think that would be worth the trouble, or have terrible performance implications or smth
Avatar
should be worth it, the performance hit should be negligible
Avatar
idk how long it would take for huge maps like aincrad
20:21
i think if it can be like <~1-2 seconds in every circumstance it should be fine
20:21
or we can do it as the camera pans over it the first time (edited)
20:22
probably more complicated
Avatar
Avatar
Ewan
and while it does look good i dont think it's the answer necessarily
btw @Tater i have a few thoughts about this feature; would be cool if u could have different colors for red and blue tp as well as hookable & unhookable, and if it also spanned out-of-bounds tiles
Avatar
@Ewan half serious answer: implement it as a gpu shader (edited)
Avatar
i wish but i don't wanna write more than 1
20:36
like i'd need to provide ones for glsl and spir-v afaik
Avatar
yeah honestly i have no idea haha
Avatar
if ddnet was vulkan only i'd be onboard
20:38
weighed down by having multiple options feelsbadman
Avatar
write it for openGL, ask jupsti and bait him with coffee for a week and he'll do it for vulkan greenthing trust
Avatar
the real answer is to update to SDL3 and use their shader abstractions greenthing (edited)
20:45
idek if that's functional yet
Avatar
Avatar
Ewan
like i'd need to provide ones for glsl and spir-v afaik
Not like porting shaders is very hard
Avatar
it is when you don't have experience writing shaders
20:48
probably.
Avatar
Description This pull request adds an implementation of a Vulkan Render backend to SDL. I have so far tested this primarily on Windows, but also smoke tested on Linux and macOS (MoltenVK). I have...
Avatar
shockingly little conversation for such a change
20:49
ig most of this was behind closed doors
Avatar
Ginsburg is a known valve dev so i think they just accepted it as is lol
20:51
he also implemented vulkan and direct3D12 support to steamVR
Avatar
Avatar
Ewan
btw @Tater i have a few thoughts about this feature; would be cool if u could have different colors for red and blue tp as well as hookable & unhookable, and if it also spanned out-of-bounds tiles
I didn't want to make the settings too complicated
Avatar
i think it's worth it imo
21:09
the #1 thing for me is visibility. i wanna see easily if smth is un/hookable
21:09
the tilecolor itself gets muddy with non-100 entities overlay
21:10
which i have configured so i can still see text n shit
Avatar
OOB might be easy actually. I think I did that just to avoid crashing because I didn't wanna figure out the math but I realize now it's really simple.
Avatar
same idea as how the actual tiles render
Avatar
Full Automap should be possible but it might add a delay every time you join a map while it runs the automap rules. Also I was scared away by the optimized entity rendering code the first time but I might take another look at it eventually.
22:06
possibility wasn't really the concern tho
Avatar
when will we get sprays in ddnet feelsbadman
22:20
im https://ewan.green owner now 😃
🍻 1
Avatar
ggwp ff15
22:20
i failed security handshake - gg
Avatar
not ready
22:21
purchased minutes ago
22:21
blogpost inc?!
Avatar
what is that
22:22
oh
22:22
maybe blog. neat idea
Avatar
oh isnt blogpost the english name for it? just googled it.. seems to be called blog entry ?
22:23
basically you writing some stuff either about what you do, what you did or what you want to do - or just trashtalk something kek
Avatar
for what? xd (edited)
22:23
yeah. a blog
Avatar
time to bring up gerdoe.su troll
22:24
also hookrace.net
Avatar
zhn.furry.ru (edited)
Avatar
ive owned domains
Avatar
Avatar
meloƞ
zhn.furry.ru (edited)
sounds like some echo server domain
Avatar
ewangreen05.net, ewan.horse, cavestorymoddingcommunity.org
22:24
dont ask ab the last one
Avatar
i remember i owned a domain once.. good times
Avatar
Avatar
Ewan
ewangreen05.net, ewan.horse, cavestorymoddingcommunity.org
femboyposting.me is mine btw
Avatar
i dont even remember the name properly, something with razexx in its name iirc
Avatar
Avatar
zhn
femboyposting.me is mine btw
ah gg
Avatar
ive also had this very mysterious 2fa key sitting around. it came w one of my monitors from ebay i did a little research on it based on its usb info and i was only able to determine that it was manufactured by google
22:26
but apparently it's fido-compliant
justatest 1
22:27
so i set it up w pam and now instead of entering my pw for sudo & login, i just touch the usb 😃
justatest 1
22:28
and may have temporarily bricked my system by inserting \ instead of backspace and not proofreading in the pam config
justatest 1
22:28
all appropriate reactions
Avatar
@Alexander look at me, doing stuff in solidworks!
Avatar
Are ya sure its solidworks
22:29
yes.
Avatar
no trust :(
Avatar
but yea free 2fa key from hasty liquidation. fuck yeah
gigachad 1
Avatar
Avatar
meloƞ
no trust :(
Fix ur firewall
22:31
That's where i got the trust issues from
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
looks like KOMPAS3D
Avatar
Avatar
Alexander
Fix ur firewall
MAN - blame ovh
22:31
kek
Avatar
Excuses!
Avatar
does it even work rn?
22:32
i cba to ssh into that thing, it scares me
Avatar
Portscan says closed
MonkaS 1
monkaStop 1
feelsbadman 1
dyingmonkey 1
crythumbsup 1
Avatar
Avatar
zhn
looks like KOMPAS3D
yeah well most CAD software looks similar
Avatar
Avatar
Alexander
Portscan says closed
Even after you whitelisted my ip
Avatar
creo parametric and solidworks for example
Avatar
Avatar
Alexander
Even after you whitelisted my ip
at this point i'll just remove firewall and let people have it
Avatar
Bad network admin!
Avatar
Avatar
Alexander
Bad network admin!
i might ask my dad - he knows his way around networking LOL
22:36
@ReiTW papi help
Avatar
Avatar
meloƞ
@ReiTW papi help
tf
Avatar
Avatar
meloƞ
ggwp ff15
try again
Avatar
ctrl shift r
22:41
Avatar
ssl version or cipher mismatch "ewan.green uses a non supported protocol"
22:42
tried with firefox and edge
Avatar
pages is tweaking
22:49
@meloƞ now?
Avatar
i just disabled cloudflare https proxy so it's using the let's encrypt cert provided by ghp
Avatar
Avatar
Ewan
ctrl shift r
rly?
22:50
why is ur browser anal but not mine
22:51
maybe it's cuz cloudflare doesn't support load-balanncing dns
22:51
so i added a record for each ip instead of all IPs in one (edited)
22:52
it broke
22:52
darkreader not helping
22:54
im just gonna point to main ip idgaf
22:55
@meloƞ now?
Avatar
i dont believe you
Avatar
good luck tinkering with it, i have to go sleep now tho (edited)
22:56
Avatar
one more try
Avatar
Avatar
Ewan
im https://ewan.green owner now 😃
u failed ur web server config
Avatar
im configuring rn
23:12
hater
Avatar
nginx or apache2?
Avatar
github pages
23:13
it's free, cdn backed and has better uptime than my closet pc
23:13
so im not bothered
Avatar
did u add a CNAME
23:13
file
Avatar
i did A/AAAA records
23:13
may ar well try cname
Avatar
I mean in ur ewan.github.io project
Avatar
i forgot u can do that
Avatar
you have to
23:14
add a file named CNAME
23:14
& just put ewan.green inside
Avatar
then u add a cname as a record
Avatar
u point it to ewan.github.io (idk the name) (edited)
23:14
& should work
Avatar
instructions have changed over the years
Avatar
u can remove the A records u did
23:19
then idk if u can sort of "reload" github pages to update
23:20
(ig u push it does)
Avatar
ya it does automatically
Avatar
that's how I did then
Avatar
smth broken
Avatar
apparently u have to use a ANAME and not a CNAME
23:22
tf
23:22
how did I make it work then, i have a cname
Avatar
Avatar
Ewan
smth broken
did it propagate already ur changes
23:22
(dns)
23:23
cf doesn't have ALIAS or ANAME records, strange
23:24
ya should be applied
Avatar
i may do a rewrite of my website
23:26
i think the design is neat but i just want a simple site
Avatar
try to see if u have to stop/start back the github pages
23:26
prob u can do that in the menus
Avatar
i think i can manually trigger the workflow
23:27
oh this is new
Avatar
wait looks like cname isn't the way to go
Avatar
yea ghp docs said nothing ab it but i'd also seen it in the past
Avatar
yea do A records pointing to 185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153
23:28
can only do 1 at a time on CF sadly
23:28
dupe records fuck up the ssl
Avatar
u can add multiple A records
23:29
just do it, u prob forgot the CNAME file
23:29
as it is mentioned in the doc
Avatar
Personal website. Contribute to ewancg/ewancg.github.io development by creating an account on GitHub.
Avatar
also don't proxy it to cf, it's useless
23:30
& prob why
23:30
well (edited)
23:31
i was gonna just use github's provisioned cert
23:31
this is fine
Avatar
proxying behind cf isn't as useful tho
23:32
only if github is down, cf can provide you the website lmao (web archive) (edited)
23:32
useless if it's already got functional https
23:32
do u do dynamic dns
23:33
which client should i use
23:34
now ur page works
Avatar
i think this is the exact same config as when melon went to sleep
Avatar
u didn't have the CNAME file no ?
Avatar
& prob u were proxying to cf
23:35
u right
Avatar
Avatar
Ewan
which client should i use
ddclient is most popular but it's perl
23:36
inadyn is C but idk if it's as mature
Avatar
Avatar
cyberFighter
Click to see attachment 🖼️
ive been fucking around a bit and this bug doesnt happen if i stream on discord ????????????
Exported 310 message(s)