Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2020-10-08 00:00:00Z and 2020-10-09 00:00:00Z
Avatar
51b9670 Fix button rendering in "Render demo" - def- 6376890 Merge #3035 - bors[bot]
Avatar
Noticed, that its really slow, when you have alot of auto demos
08:36
a4b32d1 Init date for demo dirs - Jupeyy cbec1a5 Merge #3037 - bors[bot]
Avatar
52911e4 Use std::sort instead of bubble_sort - Jupeyy 2d0c65b Merge #3038 - bors[bot]
Avatar
This reverts commit a6d2a35e11d6fa6e222b9d57ce2841e43066a766. It's unclear how this should have fixed the mentioned bug.
11:36
eb4699d Revert "Reset m_ServerCapabilities on Disconnect" - heinrich5991 b2b3b86 Merge #3040 - bors[bot]
Avatar
I want to write redirects from the maps filenames with CRC to the maps with SHA256
14:17
nginx's built in matching engine only supports case-insensitive matching or (probably costly) regular expressions
14:17
so I guess I'll have to write a service that nginx will then connect to
14:18
how should I implement this, so that this service can run 10 years without me touching it?
Avatar
Are you sure regex is too expensive?
Avatar
no, I'm not
Avatar
I'd do that first. my assumption is the regex can be compiled once and should perform well enough for us for 10 years
14:20
if we see nginx cpu performance problems, we can investigate
Avatar
I was thinking about my map collection, but can investigate for ddnet maps too
14:20
the documentation kinda implied that it matches the regexes linearly
Avatar
@heinrich5991 that's so we can offer downloads for KoG?
Avatar
good thinking
Avatar
I'll implement it for ddnet's maps too
14:21
the documentation kinda implied that it matches the regexes linearly
14:21
and at 50k regexes, that sounds too expensive
14:21
but I didn't try it. do you think I should give it a try? @deen
Avatar
ah, you need one regex per map?
14:22
I thought just one regex for all, too bad
14:22
just make symlinks on filesystem? 😄
Avatar
I guess that could work, but that doesn't give me the nginx redirect I was looking for
14:23
(need to be more precise with my requirements ^^)
Avatar
why a redirect specifically?
Avatar
hm. good question
14:24
I didn't want to list them in the file listing anymore, but I guess that can also be achieved by rendering the file list myself
Avatar
the case insensitivity is annoying with Windows too btw
14:28
uwsgi + python is what we generally use for stuff like that in ddnet, but I don't know how stable it is in the long run
Avatar
nginx made a thing called nginx unit
14:38
A versatile open-source server for a diverse Web.
14:39
Create and maintain a working configuration using certificates, listeners, routes, apps, and upstreams.
14:40
14:40
if you use go u get even better perfomance
Avatar
treads?
Avatar
This article will show performance of two web application servers nginx-unit (a new modern application web server) and uWSGI (the best one…
14:41
it probs is a typo
14:41
xd
Avatar
Heh nginx unit supports assembly, wanna re do the ddnet site in x86_64 assembly?
Avatar
would still like to know what caused these bugs
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:43:21Z
Wait that also includes writing it in c++ and disasemblying it right?
Avatar
map download bug and the other one
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:45:09Z
yo @Soreu I replaced the grass_main tile bitmaps with svgs on https://zillywoods.github.io/ZillyWoods-web/ any comments/suggestions?
Custom client for Teeworlds version 0.7+ coded by ChillerDragon
Avatar
ChillerDragon: You probably don't need to disassemble it, I'm sure they just run any binary you want
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:45:40Z
lol ok true
14:46
then lets write it in shell and compile to binary using the shellcompiler
Avatar
Oh, they actually mean assembly lol
Avatar
chiller and his shell addiction
Avatar
ChillerDragon my only comment for now if that I seriously fcked something up xd
14:46
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:46:58Z
yikes
Avatar
And no, it's not your fault
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:47:05Z
how?
14:47
is svg new for browsers? lmao
Avatar
missing proper style for edge-cases
14:47
nah, it's not related to change to svg
Avatar
@ChillerDragon where are the svg
14:47
i want them
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:48:01Z
A collection of free to use and edit images for other art work. No actual game skins. - TeeworldsDB/images
Avatar
xd also a full mapres?
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:48:37Z
i was thinking about it
14:48
I almost finished all parts of grass_doodads so lets see
14:48
4k remastered :D
Avatar
i'd love to have a 4k feature for ddnet
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:48:59Z
so do i
Avatar
bcs on 2k screens tw already looks slighty blurry
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:49:10Z
playing tw in 4k since years
14:49
well ddnet comapred to vanilla looks even more blurry :p
Avatar
how so
14:49
we updated all mapres
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:49:47Z
skins and hud for example
14:49
probably the way its rendered
Avatar
skins yeah, and hud ur pr will fix 😄
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:50:03Z
no
14:50
wait what hud pr?
Avatar
ur game.png
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:50:17Z
nah
14:50
it still looks worse
Avatar
why not
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:50:25Z
idk
14:50
ur the gfx guy
Avatar
bcs its wasnt dilated
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:50:34Z
tell me
14:50
oh maybe
Avatar
it should look the same
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:50:47Z
i didnt check after dilate
14:51
so im kinda activley working on the svg remakes and will let you know if i finished a full tileset
Avatar
yeah nice
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:51:43Z
so @Soreu what is going on? Even works on my safari on iOS
Avatar
sad that tw is so closed source about that mapres and stuff
14:51
bit annoying
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:51:50Z
ye
14:51
super sad
14:52
even infecteus license
Avatar
I'd be happy to see optional higher quality graphics too!
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:52:39Z
what res do u play deen?
Avatar
i don't play
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:52:48Z
lol
Avatar
he plays 5:4
Avatar
It will work everywhere, mobile Chrome messes the website look after browser header gets hidden on scroll
Avatar
I was once considering adding an actual vector based renderer in there
Avatar
i don't play
14:53
justatest
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:53:14Z
vector render oof
Avatar
librsvg and render graphics to a few sizes at start
Avatar
slug is such a great idea, vector graphics in the GPU
Avatar
but I watch in 1920x1080 usually
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:53:32Z
would that increase performance?
14:53
probably huh?
14:53
and likley nice for zoozing
Avatar
probably not
Avatar
@deen we could just render to the selected resolution
Avatar
the opposite 😄
Avatar
Wait, you mean replacing all graphics with SVGs?
Avatar
no game does that
14:54
for a reason i guess
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:54:05Z
browser gamesß
14:54
?
Avatar
no they dont
Avatar
Reason is probably that they don't want to give out their assets in infinite quality 😛
Avatar
rasterization is too expensive for soo many vertices
Avatar
don't underestimate the greed of large corporations
Avatar
@Learath2 I'm quite sure you're right
Avatar
rendering to a texture at start is useless then too, could just pre do it
Avatar
im not sure
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:55:05Z
fuck the large corps that made bomberman and all the other flash games i play in my browser
Avatar
@Deleted User well you can render it at any resolution needed, instead of shipping MASSIVE texture files
14:55
The new call of duty no longer fits on a 250g ssd
Avatar
yea, but space is too cheap
14:55
CPU and ram isnt
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:55:42Z
well you can ship svg and let the client compile it to bitmap on client start or res change lol
Avatar
I have RDR2 on ps4 still undownloaded because it would take me like a week at my third world speeds
Avatar
newgrounds good old times
14:55
i dont play flash games anymore
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:56:14Z
but u still have flash installed right?
14:56
i keep getting download popups for it
14:56
downloaded it twice today
Avatar
The way modern programmers treat memory and CPU would suggest they are very close to free
Avatar
yeah but not in games (edited)
Avatar
not for tripple A titles
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:56:55Z
flight sym
Avatar
yeah thats a good example
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:57:06Z
xd
14:57
its a meme tho
Avatar
why u should still write good code
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:57:12Z
its like crysis 2
Avatar
At startup they are quite cheap, it already takes a shit ton of time to load, no one will notice a couple extra seconds needed to render the svgs
Avatar
@Learath2 i get ur point
Avatar
eh factorio optimized their game quite a lot
14:57
factorio best
Avatar
but we dont have todo the same mistakes xd
Avatar
after ddnet
Avatar
[quakenet] ChillerDragon BOT 2020-10-08 14:57:47Z
after teeworlds
14:57
teeworlds at the bottom
Avatar
I love the idea behind the new flight sim, it takes the old idea of streaming textures and does it so well
14:58
Didn't think you could stream geometry that well over a reasonable connection
Avatar
geometry?
14:58
isnt the map at the client already
14:58
or am i missing smth
Avatar
it loads stuff like google earth i guess
14:59
just higher res
Avatar
The base of the map is there, they stream features for the map though
Avatar
but why wouldnt that be on the client already
14:59
doesnt the game take 100gb
14:59
xd
Avatar
bcs the world
14:59
is bigger than 100gb
14:59
;D
15:00
we got games that are 250gb rn
15:00
like the modern warfare
15:00
As the game continues to grow, Modern Warfare in its entirety won't fit on the drive size you may use for your entire operating system.
15:00
haha
15:00
hehe
15:00
uh
15:00
monkalaugh
Avatar
well probs microsoft also wants dependency of bing
15:00
so ppl are aware of it
15:00
i mean microsoft gifts u media markt gift cards for using bing xD (edited)
Avatar
FS2020 has most of the world in the 100g, they just stream extra geometry and extra textures
15:02
Anyway, I love to see an old idea reused like this
Avatar
absoluty no flight fan, but deffs has its charm
Avatar
i think this guy is a real pilot
Avatar
The handling is sadly a bit arcade, I guess to pump the sales up
15:05
It's very niche really. I flew on FSX a bit back in highschool
15:06
It might be much more fun on fs2020 with the world actually looking decent. On FSX there was no point to exploring, so you just did standard commercial routes and those are quiiiite boring
Avatar
Bug scenario: | Sequence of events | Result | |------------------------------------------------------|--------------------------------------------| | Player A is alone in a server | Their spawn point remains fixed. | | Player B joins the server | Both players' spawns are now shuffled to prevent collisions. | | Player A joins a team alone and locks it | Both of their spawn p...
Avatar
43a46fe Quick Tournament #52 - def-
feelsamazingman 5
Avatar
normal particles
17:49
weird color particles for this guy only
17:49
how is this possible in team mode? @Deleted User @Learath2 o-o
Avatar
on newest client?
17:52
two ppl reported it, other has recent version too
Avatar
rainbow particles when?
Avatar
dunno if i changed something in particles in the last 2 years
Avatar
is that possibly a server side bug
Avatar
no
17:56
team colors are calced in the client
Avatar
let me see if skin changes can affect blood color
18:02
do they have the bug always
18:02
or just sometimes 😄
Avatar
@Deleted User it was always just for 1 tee
18:04
and i think the tee left already
Avatar
mhh, maybe blacktee or smth?
18:05
or a whitetee
18:05
sec ill ask for demo
Avatar
maybe a skin prefix thing xddd
18:06
would be funny
18:08
is it possible to get shot in the tick u are unfreezed @noby ?
18:08
maybe its the ninja skin
Avatar
possible but i think its very unlikely to happen on the same tee more than once per round
Avatar
oh yeah
18:09
but u dunno the tee name?
18:10
sent demo
18:10
tee name Ӽӥϣңӥⱪ
18:11
look around 1:00 and idk his skin name
Avatar
where is the demo xd
Avatar
i didnt get it
18:11
or its still uploading xd
18:13
defs interesting 😄
18:13
its just that skin
Avatar
also it happens when they get shot and when they get spiked
18:13
what skin is it?
Avatar
yeah its the blood color
18:13
wait
18:15
saddo i guess
18:15
vanilla skin
Avatar
i have a stupid suggestion, but i should to announce it maybe add tips below loading box?
Avatar
funny not reproducable only in demo 😄
18:17
but thats enough too see what the client does
Avatar
im trying to reproduce it with that skin a
18:18
and cant (?)
18:18
the guy was using 0. 7 client if it matters
Avatar
yeah, but in demo its always
18:19
yeah i was guessing that
18:19
i'll see, maybe its indeed server side, even if i dunno how
Avatar
are the particles rendered with transparency
Avatar
yes
Avatar
maybe there was a dupe render that rendered over it
18:19
making it more red
Avatar
everything is rendered with trans
Avatar
oh i meant like are the particles not opaque
Avatar
they saw it ingame
Avatar
well look into the image
18:20
but i guess they are bit transparent in the borders
Avatar
we cant reproduce it with that skin even
Avatar
not even with 0.7 client?
18:22
well anyway i'll debug the demo soon
Avatar
ᶰ°Konͧsti 2020-10-08 18:52:56Z
by biggest troll
f3 3
Avatar
@noby well seems like it uses the color that the server sends for the particles, but gonna test it now, just to be sure
19:07
it only overrides the skin color itself
19:09
so its not a new bug?
Avatar
i'll test it now, i'll say more about it then
19:13
ok
19:13
now im sure
19:13
@noby its server side
19:13
CPlayer::Snap(
Avatar
pClientInfo->m_ColorBody = 65280
19:13
will reproduce
Avatar
is it new
Avatar
i guess ddnet could just override it, bcs makes more sense actually
Avatar
time to make rainbow effect
Avatar
xDD
Avatar
@noby yes pls 💸
Avatar
skin color is serverside, but if GAMEFLAG_TEAMS is activated I think the client has its own team values
Avatar
yes but not for particles
19:28
it doesnt override them
19:31
yes it does
19:31
m_ColorBody gets set
Avatar
yeah it clearly uses colorbody
Avatar
to the team color
Avatar
not renderinfo.colorbody
Avatar
dude i just tested it xd
19:32
it uses the info from the snapshot
19:32
m_RenderInfo.m_ColorBody = color_cast<ColorRGBA>(ColorHSLA(TeamColors[m_Team]));
19:32
but effect does not use renderinfo
19:33
it uses a different var
Avatar
true, then thats the issue xd
19:33
effects have to use renderinfo ofc
Avatar
yes 😄
Avatar
the render info color is created the same way, just that it is allowed to be overritten for team colors see OnNewSnapshot and UpdateRenderInfo
Avatar
also here PSA: maps now use sha256 https://heinrich5991.de/teeworlds/maps/maps/
Avatar
94a20d1 Use renderinfo for player death effect - Jupeyy 0d581c4 Merge #3042 - bors[bot]
Avatar
it works lol
Avatar
not anymore with new update kek
21:17
new cpu
21:18
better than i9 10900k
21:18
monkalaugh
Avatar
33c37ed Frontpage video: Pros Play TW 107 - def-
Avatar
12 cores 24 threads with 3.7GHz Up to 4.8GHz
21:18
crazy
Exported 321 message(s)