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-03-30 00:00:00Z and 2024-03-31 00:00:00Z
Avatar
I have a 5:4 1280*1024 monitor
00:53
<ChillerDragon> The alpha in ColorRGBA is not behaving as I expected it to behave. The marking has a lighter shade of red than the body. And as soon as the transparency goes below like 8ish it turns darker.
00:54
<ChillerDragon> Did i mess something up in RenderTee7 or is that just how the ddnet rendering behaves?
Avatar
Avatar
Peter0x44
isn't github the "real main git repo"? afaik it was just the published tarballs that had problems
Apparently it wasn't before
Avatar
Avatar
murpi
Wouldn't it be possible to adjust how many tabs the client can display based of the currently set resolution?
Seems like the most realistic solution that doesn't add a lot of effort for 5:4 resolutions. Initially I didn't want to add complicated logic to prevent more favorite communities from being added than can be shown in the menu, which would add a weird dependency on the screen size in the engine serverbrowser component.
Avatar
5 favorite communities should be enough justatest
Avatar
I don't like how errors in go work
Avatar
Avatar
Learath2
I don't like how errors in go work
welcome to the team
10:44
once u try rust there is no going back
10:44
😬
10:44
i miss jupstar
10:48
remainder that we have UB in json parsing https://github.com/ddnet/ddnet/issues/8128
Note: i think gentoo adds Werror=strict-aliasing maybe ? Trying to make the ebuild for ddnet 18.1 for gentoo i had this on my system. /var/tmp/portage/games-action/ddnet-18.1/work/ddnet-18.1/src/en...
Avatar
@Learath2 do u know what -fno-common does?
Avatar
Avatar
Ryozuki
@Learath2 do u know what -fno-common does?
iirc it prevents sharing of globals
11:10
78cb4d4 include algorithm in jobs.cpp, try to fix #8159 - edg-l 8412d2b Merge pull request #8160 from edg-l/incl_algo - edg-l
Avatar
I'd generally prefer having Python scripts over bash scripts, Python runs on more operating systems and seems easier to maintain. doesnt bash run on more operating systems? i mean it runs on almost all systems (windows, mac, linux) - without the need of an additional intepreter like python, even tho i highly agree that its easier to maintain
Avatar
I'd generally prefer having Python scripts over bash scripts, Python runs on more operating systems and seems easier to maintain.
I agree. Bash only works on all systems if all the individual programs you execute in your script work an all system. For Python you simply install the modules you need and it works on all systems. Python is also significantly faster than Bash.
Avatar
that makes a lot more sense - thanks for the clarification :)
Avatar
that applies to rust too
13:42
justatest
Avatar
this backdoor is a big deal in the ecosystem
13:42
do u think its a state actor?
13:42
if it had passed shitload of things would be compromised
13:43
and it was only found cuz a good dev found something that shoult take nothint took 400ms
13:43
The xz backdoor is, well, setting a fire under the entire Linux ecosystem... but I'm also so impressed with how it was set up: 2-yr maintainership, oss-fuzz, etc. ...and who knows how long it would've stayed undetected if the injected sshd code ran faster (<600ms) Highlights:
13:43
@ResidentMemer The end game would be the ability to login to every Fedora, Debian and Ubuntu box on the internet. If it isn’t a state actor it should be…
13:44
A dude has a meticulous 2 year plan to include a backdoor into almost every system in the world Only to fail because a guy started to notice that his ssh login is 0.5 seconds slow for some reason Study autistic byte-wizards
13:46
Please note: This is being updated in real time. The intent is to make sense of lots of simultaneous discoveries
14:12
@ReiTW
Avatar
Yup I know about that one, I talked with one of the maintainers who works at redhat
14:23
That tool is amazing
Avatar
yo what is GameTickTime? or rather how does it work?
Avatar
does client send or receive more data when entities are off?
Avatar
Avatar
MilkeeyCat
does client send or receive more data when entities are off?
No, this should only affect rendering
Avatar
hm, why does my ping become turbo ass when i turn off entities 😦
Avatar
cpu bottleneck?
Avatar
Avatar
Teero
yo what is GameTickTime? or rather how does it work?
As far as I understand it, it's the time in seconds between the previous tick and the current tick, see https://github.com/ddnet/ddnet/blob/8412d2be6ea14c8d1b8ba3207e19ae2890c0ebce/src/engine/docs/client_time.txt
Avatar
but it isnt always 0.02 s. i assume you mean the time from current time until the next tick?
Avatar
Avatar
Teero
cpu bottleneck?
Avatar
Avatar
Teero
but it isnt always 0.02 s. i assume you mean the time from current time until the next tick?
It should be the time between previous tick and current tick according to the code and the docs, but the time of the current tick is determined by CSmoothTime
Avatar
Simply hide the favorite community tabs in the offline server browser with screen resolutions where not enough width is available. The ingame server browser can always show at least 5 favorite community tabs with all screen resolutions. Screenshots:
Avatar
nice graphs justatest
Avatar
how nice they wanted to give teetanic some space
Avatar
есть русские?
Avatar
today is my birthday btw feelsbadman
owo 2
Avatar
Avatar
MilkeeyCat
today is my birthday btw feelsbadman
Happy birthday! 🥳
Avatar
Avatar
Ryozuki
and it was only found cuz a good dev found something that shoult take nothint took 400ms
I find the whole story suspicious
15:19
keep in mind the guy reporting it is a microsoft employee and MS definitely has NSA ties
Avatar
I wonder how many backdoors are in the billion lines of code that is systemd
Avatar
const float TimeSinceLastTick = (float)std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - LastTickTime).count(); float GameTickTime = TimeSinceLastTick / 1000.f; so something like this would be correct?
15:22
@Robyt3
15:26
and the intra tick would then be smth like TimeSinceLastTick / (1000.f / (float)SERVER_TICK_SPEED)?
Avatar
Avatar
MilkeeyCat
today is my birthday btw feelsbadman
HAPPY BIRTHDAY MILKY
Avatar
Avatar
Learath2
I wonder how many backdoors are in the billion lines of code that is systemd
wait for AI to accept 500 billion tokens so we can ask it
Avatar
Avatar
Teero
const float TimeSinceLastTick = (float)std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() - LastTickTime).count(); float GameTickTime = TimeSinceLastTick / 1000.f; so something like this would be correct?
I don't know exactly how it works, but that looks too simple to be correct
15:36
i just tried
15:36
it works :D
Avatar
Avatar
Teero
and the intra tick would then be smth like TimeSinceLastTick / (1000.f / (float)SERVER_TICK_SPEED)?
Intra tick should be a float between 0 and 1 that specifies how far between the previous and the current tick you are
Avatar
yes thats exactly what that does (edited)
15:38
TimeSinceLastTick is in a range of 0..0.02. divinding that by 0.02 gives a range of 0..1
15:38
:D
Avatar
Looks like you are ignoring whatever CSmoothTime does then
Avatar
i have no idea what CSmoothTime even is (edited)
Avatar
prediction need a steady timing where the client runs a fixed amount of ticks ahead of the server
15:40
in practice it is impossible
15:41
CSmoothTime tracks the timing sent by the server and make sure the pacing is roughly the same regardless of jitter and adjust for latency
Avatar
from what i can read out of smooth_time.h - it takes a target time val and returns a smoothed time by adjusting it: void SetAdjustSpeed(EAdjustDirection Direction, float Value);
Avatar
So basically the client is actually constantly speeding up and slowing down just to make sure it stays ahead of the server and not by too much
👍 1
Avatar
ddnet is over engineered...
Avatar
no, that's how client-side prediction has always worked
15:44
also that was teeworlds' code
Avatar
ddnet is based off of teeworlds, teeworlds was supposed to be a game engine before actually becoming a game afair
Avatar
rocket league, counter strike, etc. any sensible game is done this way. teeworlds has physics no less so it really need it
Avatar
espacially since teeworlds is a lot more sensible than any other game i know
Avatar
i mean.. basically anytime you need server authoring client side movement, you need client-side prediction
15:47
it is good for making sure only the server has the ground truth of a state of any given moment
Avatar
Avatar
TsFreddie
i mean.. basically anytime you need server authoring client side movement, you need client-side prediction
or you can just give up and introduce input latency like old style fighting games
Avatar
Avatar
Peter0x44
keep in mind the guy reporting it is a microsoft employee and MS definitely has NSA ties
the pr was done by a chinese looking name
15:49
the backdoor
Avatar
Avatar
Ryozuki
the pr was done by a chinese looking name
hi. i'm chinese
Avatar
hi im catalan
Avatar
Avatar
Ryozuki
hi im catalan
thought you would be my dad. i guess i'm mistaken
Avatar
not today
15:50
ur dad went to get a cigar and never returned
15:50
sadSnail
feelsbadman 1
Avatar
Avatar
Ryozuki
ur dad went to get a cigar and never returned
no way. did you find any?
Avatar
Avatar
Teero
no way. did you find any?
dads?
Avatar
exactly
Avatar
Avatar
Teero
no way. did you find any?
no but i found rust
Avatar
Avatar
Ryozuki
no but i found rust
now that explains the long waiting time
15:54
@TsFreddie do not fret. once the rust code has compiled he will come back
Avatar
oh i've compiled many rust code
Avatar
i heard rust?!?!?!
Avatar
hi crabs
Avatar
wild idea to target sshd through a patch that debian has for adding support for systemd in sshd
Avatar
aah forgot i'd break a rule by posting it, god damn it.
Avatar
what rule
Avatar
dont insult/trashtalk other's
16:01
well, does it count for people who arent here anymore?
16:01
meh i rather not greyzone it
Avatar
cute
owo 1
Avatar
ikr! - dont wanna get heinrich's hammer in my face (yet)
Avatar
Avatar
meloƞ
ikr! - dont wanna get heinrich's hammer in my face (yet)
i thought you were in to that kind of stuff
Avatar
justatest stop leak (edited)
Avatar
Microsoft engineer: 500ms lag in liblzma? Something's up. Also Microsoft engineer: 45 minute lag in Microsoft Teams? Perfect.
😃 1
Avatar
i don't know what most of the configs do, but still nice that they're there
Avatar
Avatar
MilkeeyCat
hm, why does my ping become turbo ass when i turn off entities 😦
now everything works fine
Avatar
is there a way to unbind enter to open chat? (edited)
18:14
i dont like it opening chat
Avatar
Hi guys 👋
Avatar
Avatar
Hi_guus
Hi guys 👋
yo
Avatar
Aaaa amogus
Avatar
Avatar
Teero
is there a way to unbind enter to open chat? (edited)
unbind return
Avatar
ah lol i searched for enter and carriage return but since only kp_enter came up i thought it was impossible xd
18:18
thx
18:18
kp_enter
Avatar
Avatar
Teero
ah lol i searched for enter and carriage return but since only kp_enter came up i thought it was impossible xd
return2 for the win
Avatar
Are there any mechanical keyboards with && and || keys? justatest
Avatar
sdl's keypad is built different
18:29
but by the look of the scancode they probably included some keys from some system that acts as logical keys in the calculator (probably windows?). There is a SDL_SCANCODE_KP_XOR but I can't find SDL_SCANCODE_KP_OR or SDL_SCANCODE_KP_AND which might just be those two?
18:30
or there is an actual calculator port of SDL
18:31
justatest
Avatar
hi ewan
18:31
sleep time, bye ewan
Avatar
hey_pidoraso BOT 2024-03-30 19:03:45Z
hey guuuys
19:04
ебать тут чиллердрагон
19:04
прикол
19:04
☺
Avatar
chillerdragon fan spotted
19:11
chillerdragon: can you sign my tee please?
Avatar
can someone change my name to AmineGon please ?
Avatar
Avatar
Robyt3
Are there any mechanical keyboards with && and || keys? justatest
is there really no way to do smth like bind shift+space "say space" and simultaneously bind space +jump ?
19:35
D:
Avatar
Avatar
Headshot
Click to see attachment 🖼️
tf
20:45
did you port ddnet to nintendo DS? xDD
20:45
nice
Avatar
in the process of porting it
Avatar
the client or server?
Avatar
client
20:46
it doesn't run on DS mode probably due to lack of RAM, so i set the emulator to DSi mode
Avatar
does the nintendo ds have a way of accessing the internet?
Avatar
oh nice didnt know that :D
Avatar
no WPA though, you either use no password or WEP
Avatar
got some rendering going on in the language selection (edited)
21:19
looks beautiful
21:21
what kind of rendering libraries are available for the DS?
21:22
or rather how do you even interact with the screen?
Avatar
Avatar
Teero
what kind of rendering libraries are available for the DS?
the DS has 2D and 3D hardware the console on the top screen makes use of the 2D hardware, while the 3D rendering is on the bottom screen (edited)
21:23
only the main screen can render 3D, in this case the bottom screen (edited)
Avatar
i mean you cant use sdl2 for rendering right? (edited)
21:24
and smth like opengl/vulkan wont work either right? (edited)
Avatar
Avatar
Teero
i mean you cant use sdl2 for rendering right? (edited)
SDL2 port of nds does not exist, only 1.2, and even that is too slow for what i want to do
Avatar
Avatar
Teero
and smth like opengl/vulkan wont work either right? (edited)
vulkan on a console from 2004 lol
justatest 1
21:25
opengl however, yes and no
21:26
libnds (the NDS homebrew library i use) offers an opengl-like syntax for interacting with the 3D hardware
Avatar
ah okay thats what i wanted to know
Avatar
Avatar
Teero
or rather how do you even interact with the screen?
libnds can also read touch screen and button inputs
Avatar
is it official from nintendo?
Avatar
Avatar
Headshot
libnds (the NDS homebrew library i use) offers an opengl-like syntax for interacting with the 3D hardware
justatest
21:28
homebrew library
21:28
i was confused with the package manager
21:29
the mac thing
Avatar
macports
21:29
troll
Avatar
so will the DS run your super mario 64 port? brownbear
Avatar
funnily enough someone ported the whole SM64 game to the DSi
21:30
keyword, DSi, not regular DS
Avatar
sm64 has been ported to all possible machines xD
21:30
i bet you can find a port for your smart fridge
21:31
similarly to doom but less mainstream
Avatar
chillerdragon, you getting weird emails lately?
23:13
moderate your discord ._.
23:13
for even more mails
Exported 191 message(s)