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-12-21 00:00 and 2024-12-22 00:00
00:15
malicious DMCA is so outdated, do malicious fraud report
Avatar
Avatar
Learath2
Now it's your turn to tell your favourite C++20/23/26 feature is
std::format 👍
Avatar
Aww, I missed a good AI discussion. Bummer.
01:31
Actually ChatGPT helped me go through DDNet code base. Instead of manually looking for things, I just asked it and then rewrote the parts I need.
Avatar
how long did it take you to debug it
Avatar
I’d say many of those worked the first try.
01:32
There was one issue I couldn’t resolve, then I asked ChatGPT and it couldn’t either, so that’s where is sucks. But overall a great tool.
01:33
Not certain about replacing us programming folks in the next 6 months entirely, but it definitely will replace some.
01:35
It’s still too stupid to write a full-fledged app just by receiving a two-sentence prompt, but if you are already good with algorithmic thinking, it’s capable of shorten your time spent on the project by 3-4 times. (edited)
01:36
I actually straight up ‘outsource’ half of my work to ChatGPT, worth the $20 a month I spend for the paid plan.
Avatar
Avatar
Learath2
Now it's your turn to tell your favourite C++20/23/26 feature is
reflection
02:32
or did they move it for another release
Avatar
Avatar
Learath2
Now it's your turn to tell your favourite C++20/23/26 feature is
#include <debugging>
Avatar
GitHub BOT 2024-12-21 05:30
8be6645 A Out of Space, M Memento Vivere - ddnet-maps
Avatar
GitHub BOT 2024-12-21 05:58
I forked the client recently and started working on server mods, new experimental tiles and some mapping tooling for myself. It is getting tedious to manage all of these additions on my end with what the existing code offers to me. What would be the best approach of implementing ImGUI into the ddnet client? I assume there is no need for it to the original repository, so I am not asking with the plan to do a pull request one day and introduce functionality tailored to my use-cases only, but...
Avatar
Avatar
Tater
The guy who invented the algorithm for o1 is saying this as well https://x.com/polynoamial/status/1870172996650053653?t=xlrABqsLiH6yLdsyX1hFMw&s=19
yikes
06:30
im in the ai has a plateau camp so that's not great news 😹
Avatar
its all just big number go boom to me
07:05
like, ive seen so much of "AI NEVER SLEEPS" that its becoming very tiring
07:06
like, ok? yea sure a new modle is better than the last one. tell me something thats actually exciting
Avatar
Avatar
Voxel
like, ok? yea sure a new modle is better than the last one. tell me something thats actually exciting
if you don't think beating 168924 out of 169074 codeforces users is "exciting" then idk what is.
Avatar
wtf is a codeforce
07:55
@Tater you should host the next problem xd make them solve aip
justatest 1
Avatar
make them write a fifo script for evelyn
pepeW 2
Avatar
ChillerDragon have you ever thought of making an anti-cheat , which when the next user is sent an advertisement for a cheat we all know , then this person just bounced back on the IP
Avatar
Avatar
Voxel
wtf is a codeforce
basically leetcode with chess rating. but to be fair the problems hey have are much better than leetcode for sure.
Avatar
Avatar
Evelyn
ChillerDragon have you ever thought of making an anti-cheat , which when the next user is sent an advertisement for a cheat we all know , then this person just bounced back on the IP
Avatar
found my codeforces account from highschool, 1451. that's like the default rating isn't itjustatest
Avatar
should i sign up ? :o
Avatar
Avatar
meloƞ
should i sign up ? :o
if you enjoy timed ACM, maybe. i honestly don't.
Avatar
you have to do it live and catch events, which might not suit most people that has actual jobs
Avatar
and i sent you exactly what you want Scared - ask chiller nicely to add it if he wants
Avatar
our school let us do very out of timezone codeforces and make us stay until 10pm just to catch an event. maybe that's the reason i don't like it tho (edited)
08:16
justatest
08:16
we often sleep in the classroom after that just cuz it is so late
Avatar
GitHub BOT 2024-12-21 08:18
Fix 'all' and 'me' not passing parameter validation in rcon -> https://github.com/ddnet/ddnet/issues/9278#issue-2686044523 After this pr: !screenshot fix #9278 I can assure there won't be any problems this time ;)

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
...
Avatar
GitHub BOT 2024-12-21 10:17
52beb08 Fix 'all' and 'me' not passing parameter validation in rcon - ASKLL-STAR 7d0bf6e Merge pull request #9415 from ASKLL-STAR/Fix-'all'-And-'me'-Cannot-Passing-Validate-Args-In-Rcon - def-
Avatar
@meloƞ i think you might have mislead someone into making "all" and "me" accepted by all interger args and got merged kek
Avatar
Avatar
ItFreddie
@meloƞ i think you might have mislead someone into making "all" and "me" accepted by all interger args and got merged kek
Huuuuuh
Avatar
Jupstar ✪ 2024-12-21 11:23
i dunno the exact problem but IMO it's better to not mix integers and string arguments. if we need a tp me command it might as well be tp_me
11:23
even if this creates more commands in total
11:23
such extra cases are easily forgotten anyway
11:24
i bet most ddnet players don't know that you can type /team -1
11:24
simply bcs they are no developers
Avatar
we have victim arg type for exactly all and me. and the original issue really isn't a bug
Avatar
Jupstar ✪ 2024-12-21 11:24
or /top5 -5
11:29
@Learath2 did you by chance try out to move the best ranks into it's own table to see the performance improvement already? We discussed this a while ago.
11:30
I sometimes join the linear servers and the commands are just super slower, and ppl request it often enough to create some kind of queue that never clears up xD
Avatar
Avatar
ItFreddie
we have victim arg type for exactly all and me. and the original issue really isn't a bug
The issue was commands could only take 1 victim arg, no more
Avatar
i know
11:31
either way that PR is just bogus
Avatar
Bad "fix" pr
Avatar
GG I baited cat_sad
Avatar
Jupstar ✪ 2024-12-21 11:33
ah your comment is actually good
11:33
yeah string to int parsing
11:33
that is also actually bad imo xD
11:33
it should just reject the cmd
11:33
instead of falling back to 0
Avatar
Avatar
Jupstar ✪
ah your comment is actually good
wdym ACTUALLY good
Avatar
Avatar
Jupstar ✪
it should just reject the cmd
that's the whole point of having a validator, the guy just bypassed it. we did reject string
Avatar
Jupstar ✪ 2024-12-21 11:34
so where do we use these me args in first place?
11:34
nowhere?
Avatar
Avatar
Jupstar ✪
so where do we use these me args in first place?
we have a special victim argument type
11:35
that is handled by GetVictim instead of GetInteger
Avatar
Jupstar ✪ 2024-12-21 11:35
lol and it's not implemented for tele?
Avatar
which works fine
Avatar
Jupstar ✪ 2024-12-21 11:35
i am surprised tbh
Avatar
ye no, tele wasn't implemented with victim arg. and one of the reason is https://discord.com/channels/252358080522747904/293493549758939136/1319990497938509855
Avatar
Avatar
Jupstar ✪
lol and it's not implemented for tele?
i'm like pretty sure people thought it was working just because we don't have validators and it happens to do the thing they want before. (you know, just doing client 0)
Avatar
Jupstar ✪ 2024-12-21 11:37
i think it works in ddnet 17
11:37
i connected a dummy and typed tele me
Avatar
ye that's just tele 0
Avatar
Jupstar ✪ 2024-12-21 11:37
or can you simply type tele
Avatar
Avatar
ItFreddie
ye that's just tele 0
Jupstar ✪ 2024-12-21 11:38
ah it's read like tele to?
11:38
it's kinda sad but i rarely use rcon xD
11:38
yeah you right
Avatar
i'm not exactly sure. but i also didn't rollback to ddnet 17 to check if it was handling victim args
11:38
but i doubt it was
Avatar
Jupstar ✪ 2024-12-21 11:38
tele <to> <whom>
Avatar
it's just you were 0 and dummy was 1, when you joins a new server so it checks out
Avatar
Jupstar ✪ 2024-12-21 11:39
if whom not given, then it uses you
11:39
so why can we only take 1 victim arg?
Avatar
someone implemented poorly
11:39
idk
11:39
i could make it work with multiple right now
Avatar
Jupstar ✪ 2024-12-21 11:39
ez
Avatar
i am still sick tho, so maybe later
11:40
it's a good thing the validation is implement so we can catch this
11:40
and the guy just implemented a validation bypass
11:40
justatest
Avatar
Jupstar ✪ 2024-12-21 11:40
yeah
11:41
is still the question if the logic of teleporting all players should be mixed with teleporting one player
Avatar
it makes sense to me until it doesn't
Avatar
Jupstar ✪ 2024-12-21 11:41
if i name myself all you might accidentially type all, instead of my id
11:41
dunno xd
Avatar
but i think handling a special case inside a con method to reject all where you don't need it but you still need me is pretty trivial anyway
Avatar
Jupstar ✪ 2024-12-21 11:41
if it says tele_id it's clear
11:41
or tele_all
Avatar
i mean it is a practice command who cares
11:42
just telecursor to where you were and learn from the mistake
11:42
idk
Avatar
Jupstar ✪ 2024-12-21 11:42
sure, but the point is about how the console should behave in general
11:43
is clear behavior without edge cases better or having such edge cases but loosing (edited)
11:43
intuitivity
Avatar
i don't plan on touching tele anyway. i could just fix the victim handling and someone else can decide what to do with it
Avatar
Jupstar ✪ 2024-12-21 11:44
but i want your opinion
11:44
your a gamedev xd
Avatar
sure, honestly if it is only loose in practice command i don't really have a problem with cuz people do use them like that clearly.
11:46
if somehow a client command got victim arg then i might have a problem with it, since it wasn't really supposed to be used by everyone like that.
11:48
practice and tester commands are used by basically everyone. we already have the telecursor teleto tele and tp mess where they do the exact same thing in some cases or version but wildly different things in other cases or version. these commands are always changing due to how people use them incorrectly.
Avatar
Avatar
ItFreddie
practice and tester commands are used by basically everyone. we already have the telecursor teleto tele and tp mess where they do the exact same thing in some cases or version but wildly different things in other cases or version. these commands are always changing due to how people use them incorrectly.
Jupstar ✪ 2024-12-21 11:49
yeah it's really a mess
Avatar
it's a mess cuz "everyone" jumped in and changing them on their own. kinda like this bogus PR did.
Avatar
Jupstar ✪ 2024-12-21 11:50
xD
11:50
optional parameters are also a problem imo
11:51
especially if two optional parameters follow each other
Avatar
imo it was fine until it behave differently for each position depending on the number of arguments
11:52
and if they command auto fills the optionals with a value it is basically non optional anyway
Avatar
Jupstar ✪ 2024-12-21 11:52
i gotta say i generally like if there is a long version for every command tpme teleport_me pros use the short one, newcomers use the long
Avatar
but if tele 1 and tele 1 0 does different things then i don't like it
Avatar
Avatar
ItFreddie
but if tele 1 and tele 1 0 does different things then i don't like it
Jupstar ✪ 2024-12-21 11:53
oh funny, bcs it does in many cases
Avatar
"tele here" (implied me) "tele this here"
Avatar
Jupstar ✪ 2024-12-21 11:53
if you don't have client id 0
Avatar
i'm not a tester tho, i don't know what half of these do (edited)
Avatar
id rather use chat commands
11:55
tele rcon commands for players is really annoying because i don't want to find out a characters id
Avatar
greenthing time to make it GUI and hotkey based, and remove all tester commands
11:58
@louis btw was the announcement a threat justatest
Avatar
yes, people better show up
Avatar
Better be a nouis monster
12:07
nouis
Avatar
Avatar
Jupstar ✪
@Learath2 did you by chance try out to move the best ranks into it's own table to see the performance improvement already? We discussed this a while ago.
Not really, I was going to but I noticed it was still acceptable so I didn't spend time on it
Avatar
@meloƞ what have you done
12:12
dude is convinced
Avatar
I'm working on some antibot improvements rn. After that I can give it a go
Avatar
Avatar
ItFreddie
@meloƞ what have you done
Jupstar ✪ 2024-12-21 12:13
he is chinese btw
Avatar
i am too
Avatar
Jupstar ✪ 2024-12-21 12:13
wow
Avatar
i mean i saw his in game id
Avatar
Avatar
Jupstar ✪
he is chinese btw
btw what's that has to do with anything tho or it is just a fun fact
Avatar
Avatar
ItFreddie
btw what's that has to do with anything tho or it is just a fun fact
Jupstar ✪ 2024-12-21 12:14
yeah i wondered if you know
Avatar
oh ye
Avatar
Jupstar ✪ 2024-12-21 12:14
i assume we dont have many chinese devs
Avatar
i saw it
12:15
we have a few
Avatar
Jupstar ✪ 2024-12-21 12:15
pathos is japnese or smth i assume?
Avatar
i can count 4 in my head already
12:15
5
Avatar
Jupstar ✪ 2024-12-21 12:15
forgottencat doesnt count
Avatar
but if you are talking about people with Dev role here, then idk
12:16
if we just talk about code PRs then i can count 5 (like ever) without forgottencat cuz he didn't cross my mind.
12:16
active ones maybe 2
Avatar
Jupstar ✪ 2024-12-21 12:17
there was this chera guy
12:17
but dunno the exact name anymore
12:17
cherry?
Avatar
not in my mind either
12:17
chera st or smth like that
12:18
piooooo, me and the author of this bogus pr are the recent ones
12:18
the demo rendering was a chinese guy's pr iirc. and eki added a few dummy commands which i still hate
Avatar
Jupstar ✪ 2024-12-21 12:18
我的心慌,你的心慌,盛夏冰凉。 春风荡漾,春风荡漾,秋冬无暖阳。. ST-Chara has 91 repositories available. Follow their code on GitHub.
12:18
lmao
Avatar
Avatar
ItFreddie
the demo rendering was a chinese guy's pr iirc. and eki added a few dummy commands which i still hate
Jupstar ✪ 2024-12-21 12:19
the demo to video?
Avatar
ye
Avatar
Jupstar ✪ 2024-12-21 12:19
wasn't that hmh
Avatar
so maybe not.
Avatar
Avatar
ItFreddie
piooooo, me and the author of this bogus pr are the recent ones
Jupstar ✪ 2024-12-21 12:19
ah true pioooo (edited)
Avatar
i remember a chinese dev talking about it so i assumed
12:20
#1928 nope, our guy for sure
Avatar
Jupstar ✪ 2024-12-21 12:20
ah that guy
12:20
yeah i remember him
Avatar
he finished it i guess
12:20
not active here but still active in life, we had dinners recently
Avatar
Jupstar ✪ 2024-12-21 12:21
lol, ez
Avatar
still active in life
that means have contact with me i guess. not like.. you know still alive
12:21
cuz that's almost everyone
Avatar
i blocked this guy lol
Avatar
Jupstar ✪ 2024-12-21 12:22
cancel culture
Avatar
nouis i kinda blocked a lot of dudes
12:22
maybe i'm twitter
Avatar
Avatar
ItFreddie
maybe i'm twitter
At least you're not Reddit
Avatar
i am...
12:23
well i was
Avatar
Jupstar ✪ 2024-12-21 12:23
at least you are not x haha
12:24
@ItFreddie leak https://github.com/orgs/TeeworldsCN/people then we know all devs
12:24
hehe
Avatar
Avatar
Jupstar ✪
@ItFreddie leak https://github.com/orgs/TeeworldsCN/people then we know all devs
not even active
12:24
most got jobs now and just left
12:25
there are new guys trying to join but they just forked our private stuff and bailed so i stopped trusting people saying they want to help (edited)
Avatar
Jupstar ✪ 2024-12-21 12:25
epyc
12:25
trust level 0 it is
Avatar
chn is really not good at contribute for some reason
12:25
maybe they don't know how?
Avatar
Jupstar ✪ 2024-12-21 12:26
wait 20 years and most os devs come from china and india (edited)
12:27
or AI
12:27
lol
Avatar
idk
12:28
most people asked me whether they can help usually just don't unless it was asking me to add support for their mods
12:28
which is not really helping
12:28
even though technically they suggested something
12:28
HUH
Avatar
Avatar
ItFreddie
chn is really not good at contribute for some reason
I'm guessing English hard?
Avatar
you don't need english to contribute to teeworldsCN
12:29
justatest
Avatar
well maybe you do since i do write a lot of stuff in english, but if they asked i can just translate them in chinese.
12:31
but to be fair chinese is really imprecise to the point is really difficult to give instructions or directions in chinese imho
12:31
even at work it is extremely hard to explain things in chinese
Avatar
Jupstar ✪ 2024-12-21 12:32
@ItFreddie have u ever livestreamed in english?
Avatar
Avatar
Jupstar ✪
@ItFreddie have u ever livestreamed in english?
no
12:32
i never livestreamed
12:32
also i can yap via text. i'm not the best english speaker (edited)
Avatar
Jupstar ✪ 2024-12-21 12:32
now i am interested in hearing your speaking english lol
12:32
@ForgottenCat i still wait for your livestream btw
Avatar
i think only deen heard me speak before
Avatar
There's this weird dichotomy I see. East Asian culture is way more collectivist than western culture (or more like western culture is hyper individualistic) yet somehow it appears that western culture has stronger emphasis on teamwork and East Asian culture focuses on individual performance (edited)
Avatar
Jupstar ✪ 2024-12-21 12:33
@risu where u from btw
12:33
u european?
Avatar
fin
Avatar
Jupstar ✪ 2024-12-21 12:33
ah boring xd
12:33
they probs speak perfect english
Avatar
as in shark fin
Avatar
Avatar
Jupstar ✪
they probs speak perfect english
I have a pretty strong accent but I'd say I'm quite good yeah
Avatar
Jupstar ✪ 2024-12-21 12:34
all nothern countries are like english elites
Avatar
Oddly enough I don't sound like I have a Finnish accent
Avatar
Jupstar ✪ 2024-12-21 12:34
i go to the Netherlands and everyone speaks better than me lmao
Avatar
maybe because I heard a lot of and spoke a bit of Russian as a kid
Avatar
Avatar
ItFreddie
@meloƞ what have you done
but Tele was certainly broken with me and all, which worked before I'm pretty aure
Avatar
Avatar
meloƞ
but Tele was certainly broken with me and all, which worked before I'm pretty aure
do you want to find the code for it? cuz if the implementation wasn't changed it really have only ever worked because you were client 0 and your dummy were client 1
12:52
could really just be a coincidence
12:52
all and me will be become 0 for int args
12:53
i doubt we had a victim implementation of that and changed it to int somehow
Avatar
Avatar
meloƞ
but Tele was certainly broken with me and all, which worked before I'm pretty aure
even juppy remember it working but it is pretty easy to see what is happening https://discord.com/channels/252358080522747904/293493549758939136/1319992130466353256
Avatar
Jupstar ✪ 2024-12-21 12:58
it's like nelson mandela effect, everyone remembers it incorrectly
Avatar
Koll Potato 2024-12-21 12:59
after one month of work i am finally able to decode the 0.6 connless packet header and the payload
13:00
lets go
13:00
thats what i call progress
Avatar
Jupstar ✪ 2024-12-21 13:00
which lang do u use
Avatar
Avatar
Jupstar ✪
it's like nelson mandela effect, everyone remembers it incorrectly
monkaStop monkaStop monkaStop
Avatar
Koll Potato 2024-12-21 13:00
rust
Avatar
Avatar
Koll Potato
rust
Hot
Avatar
Koll Potato 2024-12-21 13:01
yea
Avatar
Jupstar ✪ 2024-12-21 13:01
couldnt u have used twlib2?
13:01
or libtw2
13:01
or whatever
13:01
xD
Avatar
Koll Potato 2024-12-21 13:01
i could
13:01
but whats the point
Avatar
Jupstar ✪ 2024-12-21 13:01
i see
13:01
you wanted a small challenge
Avatar
Koll Potato 2024-12-21 13:01
and i dont really like the callback and warn stuff in libtw2
13:02
its driving me crazy
13:02
probably just a skill issue
Avatar
Jupstar ✪ 2024-12-21 13:03
i have read about the warn stuff b4, but not sure if it was from u or gerdoe
Avatar
Koll Potato 2024-12-21 13:04
nah i never talked about it
13:04
Avatar
Avatar
zhn
i did remove all the Warn though, mercy me oh lord5991
Jupstar ✪ 2024-12-21 13:04
^
13:04
this?
Avatar
Koll Potato 2024-12-21 13:05
well its still there
13:05
or is it a fork
Avatar
Jupstar ✪ 2024-12-21 13:05
ig a small problem of rust is that Result is more meant for real errors and these are warnings that can be ignored
13:05
or smth
Avatar
Avatar
Koll Potato
or is it a fork
Jupstar ✪ 2024-12-21 13:05
gerdoe takes a repo and transforms it to a completely different thing
13:05
casual gerdoe
Avatar
Koll Potato 2024-12-21 13:06
that was my plan
13:06
but too much work xd
Avatar
Jupstar ✪ 2024-12-21 13:07
btw the initial code seems like over 9 years old, maybe he'd accept a different solution
13:07
but yeah you can ofc also just do your own lmao
13:07
if you are interested in ddnet physics, twgame needs contributors 😬
Avatar
Koll Potato 2024-12-21 13:07
ive seen it
13:07
looks promising
13:07
not sure how i can help
13:08
i dont really know much about the game
Avatar
Jupstar ✪ 2024-12-21 13:08
copy the c code, paste as rust code write infinite amount of tests that your port is correct
poggers2 1
13:08
ez pz
Avatar
GitHub BOT 2024-12-21 13:33
Use int64_t for file sizes and offsets of io_seek, io_tell, io_skip and io_length functions to support reading larger files, in particular Teehistorian demos larger than 2 GiB. Implement the io_seek function using the _fseeki64 function on Windows and the fseeko function on non-Windows. Implement the io_tell function using the _ftelli64 function on Windows and the ftello function on non-Windows. Define _FILE_OFFSET_BITS=64 to ensure that off_t is a 64 bit type for th...
Avatar
Can a DDNet server potentially detect if a user is using dual stack (IPv4 and IPv6) and display both IP addresses? (I'm asking if this is generally possible, not whether it's currently supported.)
Avatar
GitHub BOT 2024-12-21 14:11
9c9272a Support reading demo files larger than 2 GiB - Robyt3 0047295 Merge pull request #9416 from Robyt3/Base-IO-Size-Offset-64 - def-
Avatar
Avatar
murpi
Can a DDNet server potentially detect if a user is using dual stack (IPv4 and IPv6) and display both IP addresses? (I'm asking if this is generally possible, not whether it's currently supported.)
Jupstar ✪ 2024-12-21 14:23
not without external services i think
14:24
maybe u could identify the ip address and make a guess or smth xd
Avatar
it is generally not possible to tell if two IPs are from the same device i believe
Avatar
Avatar
murpi
Can a DDNet server potentially detect if a user is using dual stack (IPv4 and IPv6) and display both IP addresses? (I'm asking if this is generally possible, not whether it's currently supported.)
Jupstar ✪ 2024-12-21 14:25
does it need to be a server only feature?
Avatar
Avatar
Jupstar ✪
does it need to be a server only feature?
It’d be primarily useful as another way to identify a user
Avatar
ye i don't think that's possible. even if you can let client self report two ips, i think there might still be ways to fake the other ip if a bad actor coded the self report themselves.
Avatar
Sadge, alright. CGNATs are currently the bane of my existence :C
Avatar
InsaneCat implement the account thing already
14:32
lol
Avatar
Jupstar ✪ 2024-12-21 14:33
add secure connection
14:33
or contribute to twgame
14:33
then you have a first class account support client
Avatar
Avatar
ItFreddie
ye i don't think that's possible. even if you can let client self report two ips, i think there might still be ways to fake the other ip if a bad actor coded the self report themselves.
You can prevent faking by making the client do a tcp connection on both. But you can't stop the client from just not making a connection on the other ip
Avatar
Avatar
Learath2
You can prevent faking by making the client do a tcp connection on both. But you can't stop the client from just not making a connection on the other ip
i mean, can you even tell if the two ips are from the same device. idk how tcp matters.
Avatar
Or just ban IPv6?
Avatar
Avatar
ItFreddie
i mean, can you even tell if the two ips are from the same device. idk how tcp matters.
The full handshake of tcp prevents spoofing
Avatar
i'm not talking about spoofing tho
Avatar
Well you can definitely "fake" it for some definition of "faking". But you can't "fake" that you have an ip unless you really have it
Avatar
ye
14:47
i guess for moderating purpose it might be fine
14:47
but again, it is definitely possible for a malicious client to just have a pool of ip available to act as a second target
Avatar
Jupstar ✪ 2024-12-21 14:48
is faking even our problem here?
Avatar
might be, depends on what murpi really want to do
Avatar
Jupstar ✪ 2024-12-21 14:49
the ddnet protocol also does a handshake kinda
14:50
i thought it was more about hiding than faking
Avatar
if a malicious client is widely used and someone have remote control to that client, the bad actor can play on a ipv4 and report a second ipv6 that isn't theirs. if that gets banned, they can just switch around and connect with their own ipv6 and report a second ipv4 from the pool.
14:51
they can only do it once tho
14:51
nouis
14:53
well if someone have a bot pool already, they can just use the bot pool itself so probably doesn't matter anyway. disregard what i said i guess
14:53
kek
Avatar
Jupstar ✪ 2024-12-21 14:57
bro, coding for 2 hours and then the insight that you should git stash your shit, you took the wrong turn 😂
14:57
hurts
Avatar
There is no way to actually moderate a game like this without accounts
15:10
There is no clever technical solution
Avatar
Avatar
Learath2
There is no clever technical solution
Jupstar ✪ 2024-12-21 15:24
AI
15:24
xd
Avatar
Koll Potato 2024-12-21 16:08
after another 3 hours i am able to respond to the connless packet
16:08
hell yeah
16:09
weird thing is that i have to convert numbers to strings
🥔 1
16:09
whats the idea behind this
16:10
its only in 0.6
16:10
and not in 0.7
Avatar
Koll Potato 2024-12-21 16:34
nice
Avatar
ban!
Avatar
Koll Potato 2024-12-21 16:40
no its rust
16:40
rust = gud
Avatar
@Jupstar ✪ have you tried livestreaming ddnet from a server with software renderer. do you think it is doable?
Avatar
Avatar
ItFreddie
@Jupstar ✪ have you tried livestreaming ddnet from a server with software renderer. do you think it is doable?
Jupstar ✪ 2024-12-21 16:42
on a desktop cpu 100%
16:42
on a vps, not so sure
Avatar
oof
16:42
like even if you limit fps to 60 or 30?
Avatar
Jupstar ✪ 2024-12-21 16:43
ok, depends on if your vps is dedicated hardware ig
16:43
i can try running ddnet on a single cpu core
16:43
my cpu is old, so modern vps could beat it
16:43
or match it
Avatar
if you can test it that would be appreciated.
Avatar
Jupstar ✪ 2024-12-21 16:45
ok, full hd is enough ig?
Avatar
yes
Avatar
Jupstar ✪ 2024-12-21 16:48
1 core vs 2 vs 4
Avatar
ah
Avatar
Jupstar ✪ 2024-12-21 16:48
with entities you can get a bit more ofc
Avatar
too bad then
Avatar
Jupstar ✪ 2024-12-21 16:48
4 cores is around 60fps xd
16:48
doesn't sound too bad
Avatar
ye but that's one expensive vps
Avatar
Jupstar ✪ 2024-12-21 16:49
what is your price limit?
Avatar
price limit: CHINAH
16:49
tbh i havent fully decided yet
16:50
i kinda want to do a auto live stream thing where you can just call a vote in the chat to find a player and spectate them
16:51
probably need to disable chat and names (or at least heavily censored with a chinese censorlist) since it is china
Avatar
Jupstar ✪ 2024-12-21 16:51
e.g. ARM cores are quite cheap already: https://www.netcup.com/de/server/arm-server/vps-2000-arm-g11-mnz lol
VPS 2000 ARM G11 MNZ mit Top-Performance bei netcup
Avatar
but i kinda need a pretty ok connection to china to stream it tho
Avatar
Jupstar ✪ 2024-12-21 16:52
but these shared vps cpus are also often super bad xD
16:52
dedicated ones perform much better
16:52
also you could stream in hd ready
Avatar
i could try that i guess
16:53
i might just use an actual small box at home instead of a server maybe
Avatar
Jupstar ✪ 2024-12-21 16:54
with hd ready i hit around 50fps with 2 cores
16:54
in entities around 75 fps
Avatar
what about without chat
Avatar
Jupstar ✪ 2024-12-21 16:54
yeah local server, so chat is off after 5 seconds
Avatar
right
Avatar
Jupstar ✪ 2024-12-21 16:54
Avatar
50 is doable
16:55
the community stream at chn max out at 30fps
16:55
you could push 60 but they reencode to 30 anyway
Avatar
Jupstar ✪ 2024-12-21 16:55
i can also try the opengl software renderer, maybe it's faster
Avatar
still need to encode tho. so maybe i can only know if i tried it myself
Avatar
Jupstar ✪ 2024-12-21 16:56
true, but encoding hd ready is not too hard ig
Avatar
that is true
Avatar
Jupstar ✪ 2024-12-21 16:56
opengl is slower
Avatar
right
16:57
eitherway 50 without entity seems fine
16:57
i can find two cores somewhere i believe
16:57
vibe
16:57
and we have spec cursor now, so it would look pretty ok i think
Avatar
Jupstar ✪ 2024-12-21 16:58
xd
Avatar
thanks for testing
Avatar
Jupstar ✪ 2024-12-21 16:58
does speccing dyn cam also move your camera?
Avatar
Avatar
Jupstar ✪
does speccing dyn cam also move your camera?
yes, but not one to one.
16:58
smooth dyncam with a hardcoded setting is always on when specing dyncam
16:59
i mean there are really spinning dyncam users which would make regular dyncam user sick too.
17:00
forcing smooth dyncam for watching stuff is pretty sensible imho
Avatar
i actually have quite a few android devices
17:21
they are probably low power enough and good enough to push streams and just use the new ddnet android
17:22
HUH
Avatar
Jupstar ✪ 2024-12-21 17:30
ez
Avatar
Avatar
Jupstar ✪
@ForgottenCat i still wait for your livestream btw
ForgottenCat 2024-12-21 18:03
justatest
18:04
too laggy
Avatar
Avatar
ForgottenCat
too laggy
they can go on bilibili just stream there
Avatar
Jupstar ✪ 2024-12-21 18:25
i guess his tablet is too weak xd
Avatar
aw man suspend breaks wifi now
20:15
and I have no clue since when since it's months since I last used wifi
20:15
a couple other things that aren't working perfectly too
20:16
don't want to deal with fixing all that right now
Avatar
check gentoo wiki
20:20
maybe its there
Avatar
gentuah
Avatar
I think I'm checking journalctl first
Avatar
hauk gentuah
Exported 410 message(s)
Timezone: UTC+0