Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2021-07-19 00:00:00Z and 2021-07-20 00:00:00Z
Avatar
Anyone here who knows a lot about snapshots?
Avatar
you blew snapshot size :0
Avatar
What?
17:32
xD
Avatar
you could try explaining what symptoms you observe. or what you want to achieve
Avatar
emoticons rely on the current game tick, which is sent with each snapshot: https://github.com/ddnet/ddnet/blob/master/src/game/client/components/players.cpp#L605-L619 Snapshots are only sent every second tick with sv_high_bandwith 0 (default), which causes the emoticons to not look good on nobys server you can see how smooth emoticons should look like i tried to "fake" that snap inbetween with an empty snap only containing the current gametick, so that emoticons would look smoother, but that didnt work out and only gave me weird stuff like flickering scoreboard and others xD I have no idea if its even possible to do so, but it sounded like a good idea to use a snap empty between each normal snapshot because i can definitely not go with high bandwith mode for my 128 player server, tried that that would be too much cpu usage, i already optimized many parts of my code to fit 128 players
17:41
smooth emoticons is a touch itself i really love, and I would really want to hack it in somehow without sending a snapshot each tick
17:41
I had this in mind because I thought the server is sending an empty snap whenever nothing has changed, maybe i implemented it wrong but i dont know
Avatar
@heinrich5991 no idea? :(
17:55
is my idea even correct? xD
Avatar
idk, I'm trying to figure it out
Avatar
does this work? @fokkonaut https://github.com/ddnet/ddnet/pull/3958
@fokkonaut said that sending more gameticks made the emoticon smoother, so I tried to look at the clientside render code. Does this fix it? @fokkonaut. Checklist Tested the change ingame Provide...
Avatar
It makes it smoother indeed, but not perfect I'd say, let me quickly compare it
18:21
Yeah no, its not the same, it has one or two parts where its jumping a bit
Avatar
I don't see the difference, unfortunately, not even between my version and the default one
18:22
you don't happen to have a video? 😛
Avatar
unfortunately, not even between my version and the default one
what? xD
18:24
one sec
Avatar
I rememner playing fng and yeah, I also felt that those emoticons there were so smooth and their cooldown/delay was perfect when you spam your emote key.
18:29
remember
18:29
@noby send code
18:30
>;()
Avatar
thats sv_high_bandwidth
18:32
18:32
sv_high_bandwith 0
18:32
18:32
high bandwidth 1
18:32
you see, the last part is still jumpy
18:33
@heinrich5991
Avatar
those are both without the above patch?
Avatar
can you also record a video with the patch?
Avatar
i am about to, but still ingame xD
18:45
18:45
18:45
without and with high bandwidth 1
18:50
so yes, yours does definitely make it better than without your patch
18:50
but not as perfect as with bandwidth 1
18:51
@heinrich5991 ^
Avatar
hm, I can't find the correct timekeeping 😦
Avatar
That's sad :/
19:11
could you try and help me on the other side with the server side hack?
19:15
because SNAPEMPTY seems to clear everything
Avatar
less motivated ^^
Avatar
it feels like the proper fix is in the client
Avatar
imo it's server side, cuz of fng experience (I used the gamer client)
Avatar
do you mean the proper fix is serverside?
Avatar
Avatar
jxsl13
imo it's server side, cuz of fng experience (I used the gamer client)
Its not, sv_high_bandwitdth just sends snaps every tick instead of every second tick. With each snapshot the clients gets to know the current m_Tick, which means with sv_high_bandwidth 0, the client only gets every second tick, or knows about every second tick, which slows down the animation or makes it glitchy/jumpy
20:45
So the fix is definitely in the client :D
Avatar
Avatar
fokkonaut
thats sv_high_bandwidth
oh is that why
20:50
lol
20:50
good to know
20:50
ive had a few ppl ask me about that
Avatar
And I said this since many months already :D
Exported 57 message(s)