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-04-10 00:00:00Z and 2024-04-11 00:00:00Z
Avatar
ws-client BOT 2024-04-10 00:34:30Z
<ChillerDragon> https://zillyhuhn.com/cs/.1712709169.png average magnus code snippet
00:36
<ChillerDragon> The size of an item is obviously located at the index of some offset .. duh
00:36
<ChillerDragon> if that wasnt clear enough here the implementation of Offsets()
Avatar
Avatar
ws-client
<ChillerDragon> @Mr. Teetorial what are you building?
Mr. Teetorial 2024-04-10 05:41:00Z
I’m trying to make dummy copy and dummy hammer work simultaneously.
Avatar
dummy has nothing to do with input handling honestly.
Avatar
Avatar
TsFreddie
dummy has nothing to do with input handling honestly.
Mr. Teetorial 2024-04-10 05:46:22Z
Yes but it would maybe make an easy workaround possible. If the left mouse button inputs would not be like 100ms long but instead 1 ms it barely stops dummy copy. Obviously it would be much better if you could really use copy and hammer at the same time but I think that solution would be far more complicated that’s why I’m trying to make smth easier work first. At the moment I’m trying to work with some of chillers tutorials on YouTube. Awesome videos man.
Avatar
also I believe some are opposing the idea of expanding dummy ability further due to various reasons. but if you really want to or just curious. dummy inputs are handled directly in the network layer
Avatar
Mr. Teetorial 2024-04-10 05:48:03Z
But I having struggles because it’s my first time in c++ and originally only coded in Java when I was younger
Avatar
dummy is not a game design where it was just a entity that interact with a player. it is literally a spoofed client connection, so a dummy will send their input independently to the non-dummy player. any desync and delay is likely unsolvable unless you remade the network protocol to pack two players input as one single piece of information.
05:51
it is very likely that the dummy system is more rudimentary and unreliable than you thought
Avatar
or you can make the server aware that the character belongs to your player as well and mirror the actions on its side
Avatar
or that
05:52
server-side dummy is actually preferred by deen at some point (edited)
05:52
iirc
Avatar
Mr. Teetorial 2024-04-10 05:58:57Z
I get that dummy movement in theory is independent but as soon as dummy copy is on the main tee movement inputs are copied each frame into the dummy movement inputs. If the main tee +fire input is now shortened to 1ms the dummy’s input will be 1 ms long aswell. This would cause dummy copy to stop working for only 1ms. You get what I mean with that? Or is it dumb?
Avatar
on a tick based system, movements are being process exactly the same rate, there is no milliseconds to speak of
06:01
by all mean look at the code
06:02
if there is one or two ticks of discrepancy that is definitely a problem worth fixing.
06:04
If you just want to lower the client input latency. then the best you can do is to lower it as early in the chain as possible (hardware, input handling, fps) so the input can maybe catch a tick earlier on average. but for anything going through the network. an average of 1/25th second of input latency and jittering is expected
06:05
that's just how multiplayer game works. you could tap into subticks like CS2 does, but that requires a significant amount of protocol redesign, it is definitely doable but expect great difficulty and community push back. again. I'm not saying don't do it. I'm just saying it might not be worth your time to dive this deep into
Avatar
why is server-side dummy unrealistic?
Avatar
Avatar
Ewan
why is server-side dummy unrealistic?
it's not
06:18
just no one really did it to the point where it is worth shipping
Avatar
well u can still easily use old system on old clients
Avatar
there were server-side dummy servers. but for ddnet I guess you'd be really good at pushing the idea forward cuz it's generally a community push back thing.
Avatar
but you can have the server do both and opt into server-side dummy
06:19
it's a benefit for both client and server
Avatar
I'm 90% sure if you just made a PR for server-side dummy, I would 100% support it
06:19
lol
Avatar
less traffic and your dummy copy inputs and such will be predictable even on lag
Avatar
Avatar
TsFreddie
I'm 90% sure if you just made a PR for server-side dummy, I would 100% support it
perhaps
Avatar
at this point it is all about changes
Avatar
nobody wants to change anything
06:20
heinrich will find some reason to veto a pr i make
Avatar
you'd really need to emulate all the features to disgusting details where it can comfortable for people to say it is worth it
06:21
the thought of it is already made most people not wanting to develop
06:21
beside, it is just a lot of effort to spend on for not a lot of features.
06:22
not that we are pushing features like crazy anyway. but still
Avatar
most changes are ui stuff im noticing
Avatar
also why am I commenting. I don't even PR
06:22
that's just because Robyt3 is very passionate about UX and he's probably the most active right now
06:23
that's kinda my forte generally
06:23
but there is no need for me to do it in ddnet (edited)
Avatar
even within teeworlds, it is Robyt3 pushing UXs
06:23
phew
Avatar
was about to say you can't just tell others to stop working cuz it is useless
Avatar
Avatar
TsFreddie
also why am I commenting. I don't even PR
tbh, even if I were to make PR, idk what I can do
06:25
I feel like the thing I care about are already taken care of
Avatar
ya there aren't a whole lot of ideas worth pursuing that aren't too big or too small 🙃
06:25
either add some 5 second thing
06:25
or accounts
Avatar
well account system maybe, but that's not just ddnet. infrastructure is a commitment
Avatar
honestly i wish i saw a little bit more leadership from deen because if he had chosen even just his preferred method we would probably have some kind of accounts system by now
06:26
he doesn't even have to do it. just decide
Avatar
someone within the admins really has to push it plus we have to address the additional cost
06:26
additional cost i don't see being a massive issue
06:26
you won't need all that much storage
06:27
it already shares playtime stats by name
06:27
if they have infrastructure for that then putting shit in dbs based on accounts isn't gonna be more demanding than putting shit in a db based on their name
Avatar
Avatar
Ewan
additional cost i don't see being a massive issue
it's probably more than just storage.
06:47
the auth itself should have very little traffic
Avatar
you need people to properly manage all that. mods are cool and all, but when it comes to accounts, we are holding players information and should be properly handled.
Avatar
okay but there's no cost in that
Avatar
owo it will be if you find out that no one are willing to help
Avatar
volunteer operation
06:50
there will never be funding for this
06:50
unless ppl work for free this feature cannot exist
06:50
but it should be low maintenance
06:50
and we only entrust admins with manual account db changes and password changes and stuff
Avatar
should be
06:52
honestly, we are just scared
06:52
at least I would be
Avatar
Avatar
TsFreddie
on a tick based system, movements are being process exactly the same rate, there is no milliseconds to speak of
i think u dont understand him
Avatar
i think too
Avatar
he wants deepfly on dummy for 1 frame or smth?
Avatar
but is 1 frame is really a thing
07:00
1 tick maybe
Avatar
1 tick
Avatar
anyway i'm in the "stop developing dummy features" gang
Avatar
because dummy copy doesnt work during deepfly
Avatar
deepfly is really a weird binding artifact imo
Avatar
Avatar
Ewan
maybe you are on the tutorial server?
i think its because tutorial is on a novice server which usually have teams, so you need a team for practice mode, but tutorial has teams turned off
Avatar
i mean the dummy bind. not deepfly itself ofc
Avatar
so you cant even practice in tutorial
07:04
lmao
Avatar
Avatar
TsFreddie
deepfly is really a weird binding artifact imo
ddnet is really a weird game in general (edited)
Avatar
Avatar
ws-client
<ChillerDragon> trying to improve your ddos tooling? xd
I'm sitting on the good side 🥲
Avatar
Avatar
cyberFighter
ddnet is really a weird game in general (edited)
i feel like dummy is weirder than ddrace itself
07:07
i mean the idea is just that you can play with yourself if no one is playing with you. most tech nowadays are just dummy binds gone wild i feel like
07:10
I think I developed trust issues working with interns all the time
07:10
company only hires interns and swaps them out
07:10
at this point I just stop letting them doing anything
07:47
hire me as intern
Avatar
and me owo
Avatar
Avatar
TsFreddie
you'd really need to emulate all the features to disgusting details where it can comfortable for people to say it is worth it
This is the hard part. People have extremely tight dummy timings on their weird 5 line binds. You aren't allowed to break any of them. Some binds change dummy settings, those would also need to become part of the input and be applied to specific ticks. Etc. Lots of work just to eliminate some bandwidth use, of which we have plenty
Avatar
bandwidth isn't plenty in CHN i think
Avatar
i hate dummy copy and it desyncing 99% of the time
Avatar
also was it about bandwidth tho
Avatar
Avatar
TsFreddie
someone within the admins really has to push it plus we have to address the additional cost
I could push mine but I have a feeling it would step on a lot of toes. This sort of flat hierarchy is very nice for maintainance time, very political and tough to navigate for times of improvement
Avatar
@Learath2 have I told you that I think you are cool
Avatar
can admins help with getting saves on maps back
07:58
theres some saves i forgot
Avatar
Avatar
TsFreddie
also was it about bandwidth tho
The other benefit mentioned was predictability under lag. Which is nice but is it nice enough to navigate all the edge cases and recreating what we have?
Avatar
and i dont have them in my pc cuz i switched
Avatar
Avatar
cyberFighter
can admins help with getting saves on maps back
Yes, create an admin mail ticket for it
Avatar
Avatar
Learath2
The other benefit mentioned was predictability under lag. Which is nice but is it nice enough to navigate all the edge cases and recreating what we have?
that's what I believe as well
Avatar
ok thx
Avatar
modal is pretty easy to do I've done it
08:00
oh wait what.
08:00
i mixed up work and discord..
Avatar
ignore the modal thing
08:00
lmao
Avatar
When modals in tw?
Avatar
I can't believe I just typed a message meant for coworkers into discord and automatically did it in english as well
Avatar
Avatar
TsFreddie
anyway i'm in the "stop developing dummy features" gang
Remove dummy when?
Avatar
Avatar
Learath2
Remove dummy when?
another thing for server-side dummy is that we can just nuke client dummy so it doesn't mess up other gamemodes and anticheats
Avatar
Avatar
cyberFighter
i hate dummy copy and it desyncing 99% of the time
same
08:28
tbh i think server side dummy is worth it
08:28
to eliminate dummy copy lag at all
08:28
but it would break many binds
08:29
but im now wondering if we can somehow use the client’s binds on the server on behalf of the player
08:29
it would be wild
Avatar
definitely not
Avatar
yoy’re not thinking creatively enough
Avatar
if you make all dummy related settings part of the input state, you may be able to simulate the old behaviour close enough that most binds don't break
Avatar
That’s kinda what i mean
Avatar
but why tho
08:45
sounds like an awful thing to maintain
Avatar
what would serverside dummy break
09:06
how would that even work
09:06
last time i saw serverside dummy was in some weird ddrace server with old multimap
09:07
and you needed chat commands
Avatar
Avatar
cyberFighter
what would serverside dummy break
ideally nothing, but practically everything the binding only players care about
09:11
you can't possible cover all the weird binding that people found over the years in server side dummy
09:11
and people will find every weird thing they could do in the new server side dummy too
Avatar
i think the weird thing about dummy is that I don't know what it is actually for. I mean, ye you could play some simple map with dummy but ultimately ddnet should be a coop type situation and dummy simply can't do everything pass a certain point. (even though people are trying to use dummy for everything it seems?) (edited)
Avatar
dummy is good when theres no reliable teammates
Avatar
Avatar
cyberFighter
how would that even work
clients sends server what the dummy should do.
09:39
i'm tired
09:39
I haven't had a day off since march 22nd
09:39
i think i'm going crazy
Avatar
chillerdragon BOT 2024-04-10 10:15:24Z
No weekends?
Replying to @TsFreddie I haven't had a day off since march 22nd
Avatar
i suspect there is no such thing as a weekend in china thonk
Avatar
Avatar
chillerdragon
No weekends?
no
Avatar
Avatar
Teero
i suspect there is no such thing as a weekend in china thonk
there should be
13:27
is voice real or ai
13:27
it's the website which creates ai songs (edited)
Avatar
It should be the same as https://github.com/ddnet/ddnet/blob/39dd2a552d814e45e92e71cf762437fe52353b9a/src/engine/server/server.cpp#L2700

Checklist

  • [ ] 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 ph...
Avatar
ok can i send last one or it is already spam justatest
Avatar
can suno do funk instrumental
14:12
like for video games
14:13
would be cool if i can generate loops and samples to construct my own out of
Avatar
I used 2 accounts credits to generate perfect rap battle between C and Rust
14:17
There were no bangers
14:17
feelsbadman
Avatar
There was one about rewriting everything in rust
Avatar
there was a song about hemorrhoids in chinese made with suno going around in chinese video platforms
14:19
there are pretty good human covers for it too
Avatar
:Catxplosion: (edited)
14:24
@MilkeeyCat check these out lmao
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
our backend uses Java
Avatar
this is the response to a windows CVE
14:25
where u can execute bat files
14:25
java: wont fix
gigachad 6
14:25
kek
Avatar
cool
Avatar
gm =]
Avatar
its 17
15:08
its time for coffee
Avatar
@Teero are you actually gonna work on my request ?
15:14
meybe
15:15
shouldnt be too hard. ill try this evening
heartw 1
Avatar
Can someone make a feature for the new freeze bar so that it can be set to the old stars. just like the old mouse mode / old gun position. would be nice ❤️
Avatar
why not use old client?
❓ 3
Avatar
Avatar
MilkeeyCat
why not use old client?
because then he couldnt use the new cool features?
Avatar
good morning
Avatar
Avatar
Nidardø
Can someone make a feature for the new freeze bar so that it can be set to the old stars. just like the old mouse mode / old gun position. would be nice ❤️
agree
Avatar
Avatar
Ryozuki
java: wont fix
won't fix, used in some software from 1990 that runs somewhere in production xd
Avatar
i think someone i met at a meetup is offering to like
16:22
pay for a professional headshot for me
16:22
which is very morally challenging
16:23
cuz i don't want to take their money but also how am i gonna turn something like that down
Avatar
in other words: they know they abuse you and try desperately to not make it sound like they are the bad ones
Avatar
Avatar
Ewan
cuz i don't want to take their money but also how am i gonna turn something like that down
"No thank you" usually works
16:26
i don't mean how as in i want to turn it down
16:26
i mean it would just be stupid to reject something like that
16:26
it's not a small deal
16:27
im just torn here
16:27
bcus i don't really know the guy and he gives off MLM/mormon vibes (unfortunately i think many of you won't really get that)
16:27
so maybe he will want me to owe him something in the future
Avatar
Avatar
Ewan
it's not a small deal
Do I misunderstand? Is getting a photo taken a big deal?
Avatar
it's expensive from a professional
16:29
and career wise it is a big deal (from what i hear)
16:30
employers are not gonna click ur profile on whichever site if u don't even have a photo
Avatar
Avatar
Ewan
it's expensive from a professional
How expensive is it? I don't know US prices but in Italy and Turkey it's not too bad to get a professional headshot
Avatar
isnt it like 8$ max lmao
Avatar
Not really
Avatar
i paid like 10€ for mine
Avatar
Depends on where you go for sure
16:34
but maybe i just don't know
16:34
i think that's a service that's easy to charge a lot for
Avatar
i mean it takes like 5 minutes
16:34
how much should they get for 5 minutes lmao
Avatar
Paid Like 25€ for a Passport Foto in Germany iirc
16:36
Well, it was Like 3 and they we're done nicely, But still xD
Avatar
it's entirely likely i don't know how much it costs
16:37
and just assumed it was more
16:37
but i feel like a proper photographer that u work with 1 on 1 is gonna have insights on like, how to frame you the best
16:38
you're not only paying for 5 minutes but for planning and their professional judgement
Avatar
Avatar
Jupstar ✪
isnt it like 8$ max lmao
I'm guessing it's more of an artistic thing rather than a biometric passport photo 😄
Avatar
they do both in my photo store
16:39
for same price
16:39
xd
16:39
didn't get me a nice job tho so was a waste of money 😏
Avatar
Avatar
Ewan
well
so how expensive is it for you
Avatar
my mom and one of her employees say don't do it
Avatar
how much will you owe this random guy
Avatar
Avatar
Jupstar ✪
didn't get me a nice job tho so was a waste of money 😏
I heard you dont even put headshots on resumes in germany
Avatar
Avatar
Learath2
I heard you dont even put headshots on resumes in germany
mh i'd say you do, but maybe that's some next level anti racist thing
16:43
don't judge on look etc
Avatar
Avatar
Ewan
my mom and one of her employees say don't do it
because in the U.S. you cannot hire based on looks at all so i guess if they even subconsciously associate my face with my application then it will have to go in the bin
16:43
also companies here tend not to prefer white men
Avatar
Avatar
Jupstar ✪
how much will you owe this random guy
i went to the photography page at my local department store and i can't find a quote without scheduling an appointment
16:44
and i don't really have anyone i can ask
16:45
but yes it's probably way cheaper than i thought 😁
Avatar
Avatar
Learath2
I heard you dont even put headshots on resumes in germany
Back when I applied to German companies around 2015 the guides said to put your photo in, but I never did, and no company seemed to care.
Avatar
Avatar
Learath2
I heard you dont even put headshots on resumes in germany
people do here, but i don't
17:08
oh wait I never found a job myself oops
Avatar
Avatar
Learath2
I heard you dont even put headshots on resumes in germany
it sounds like it is just asking for discrimination
18:07
at least to me the resume is never supposed to contain any mention of a "protected characteristic" in an explicit way
18:08
like... race, etc
Avatar
Avatar
Ewan
because in the U.S. you cannot hire based on looks at all so i guess if they even subconsciously associate my face with my application then it will have to go in the bin
yeah this is how it should be... there is no value in an employer seeing that info
18:11
when I had this discussed at the school "work experience" the protected stuff was explained, it included age, race, gender, and some other ones I'm probably forgetting
18:11
and a photo highlights all of those to some level
18:13
lookism is completely real
19:13
doesn't matter cuz they're gonna think all the same stuff during the interview
19:17
the photo would not go on the resume though
Avatar
@Ewan send me photo i run through some photoshop filters
19:20
bluekitty
19:20
Maybe one day
19:21
when i fix my acne
19:21
but for now i am not internet ready
Avatar
ah right u like teenager
19:22
rip to you
Avatar
i never had it in high school
19:22
i think i have developed it by staying at home doing nothing
19:22
i eat fine and wash my face so i think i just gotta wait until im older/am leaving the house more often
Avatar
eat as few greasy things as possible. no pizza, no potato chips etc.
19:23
they all horrible for skin, if u have genetics for acne
Avatar
i hear that the diet thing is mostly a myth
19:27
i don't rly have genetics for it
19:27
just inactive lifestyle
Avatar
Avatar
Ewan
i hear that the diet thing is mostly a myth
well as soon as i eat potato chips my skin reacts to it ^^
Avatar
but yeah depends on the person ofc
Avatar
fragile european genetics not used to eating ungodly amounts of processed food like american
Avatar
lmao
19:28
are you like native american or what
Avatar
else u also just a european with 300 years delay
Avatar
not really about genetics but probably a factor
Avatar
xd
19:29
i think it's just more about upbringing
19:29
if u never ate these shitty foods as a kid ur gonna be sensitive to them
Avatar
i think as kid i eat anything imaginable xD
19:30
kids are really insane tanks in eating shit
19:31
almost like they gotta grow or something
19:31
as diet pertains to acne i don't think it's an issue but i would prefer to eat better
19:31
it's just more expensive and my family doesn't usually go for it lol
Avatar
For the internet/favorite tabs, instead of combining the country/type filters of all communities in one view, track the country/type filters separately for these tabs using the new, reserved community name all. This should make the filters less confusing to use, as changing the country/type filters in one tab will not influence the other tabs anymore. Though the country/type filters of the internet and favorite tabs are still combined, as this is also the case for the community filter. H...
Avatar
chillerdragon BOT 2024-04-10 22:28:10Z
Also the beat? I like the song
Replying to @MilkeeyCat it's a website which creates ai songs
Avatar
ws-client BOT 2024-04-10 23:19:20Z
<ChillerDragon> @heinrich5991 what purpose does gtest have? Imo the failing test output is so annoying to read. The assert_eq macros do not look hard to self roll. Why dont we drop that annoying dependency?
23:20
<ChillerDragon> dependencies are always bad and gtest was a bit annoying but it kinda worked. But now that I saw that they reject all patches unless the authors privacy is violated i think we should not depend on it anymore
Exported 309 message(s)