16:16 <+bridge> [ddnet] I want to write redirects from the maps filenames with CRC to the maps with SHA256 16:17 <+bridge> [ddnet] nginx's built in matching engine only supports case-insensitive matching or (probably costly) regular expressions 16:17 <+bridge> [ddnet] so I guess I'll have to write a service that nginx will then connect to 16:18 <+bridge> [ddnet] how should I implement this, so that this service can run 10 years without me touching it? 16:18 <+bridge> [ddnet] Are you sure regex is too expensive? 16:19 <+bridge> [ddnet] no, I'm not 16:19 <+bridge> [ddnet] I'd do that first. my assumption is the regex can be compiled once and should perform well enough for us for 10 years 16:20 <+bridge> [ddnet] if we see nginx cpu performance problems, we can investigate 16:20 <+bridge> [ddnet] I was thinking about my map collection, but can investigate for ddnet maps too 16:20 <+bridge> [ddnet] the documentation kinda implied that it matches the regexes linearly 16:20 <+bridge> [ddnet] @heinrich5991 that's so we can offer downloads for KoG? 16:20 <+bridge> [ddnet] good thinking 16:20 <+bridge> [ddnet] ah 16:21 <+bridge> [ddnet] I'll implement it for ddnet's maps too 16:21 <+bridge> [ddnet] > the documentation kinda implied that it matches the regexes linearly 16:21 <+bridge> [ddnet] and at 50k regexes, that sounds too expensive 16:21 <+bridge> [ddnet] but I didn't try it. do you think I should give it a try? @deen 16:21 <+bridge> [ddnet] ah, you need one regex per map? 16:22 <+bridge> [ddnet] I thought just one regex for all, too bad 16:22 <+bridge> [ddnet] just make symlinks on filesystem? 😄 16:23 <+bridge> [ddnet] I guess that could work, but that doesn't give me the nginx redirect I was looking for 16:23 <+bridge> [ddnet] (need to be more precise with my requirements ^^) 16:23 <+bridge> [ddnet] why a redirect specifically? 16:24 <+bridge> [ddnet] hm. good question 16:24 <+bridge> [ddnet] 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 16:27 <+bridge> [ddnet] the case insensitivity is annoying with Windows too btw 16:28 <+bridge> [ddnet] 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 16:38 <+bridge> [ddnet] nginx made a thing called nginx unit 16:38 <+bridge> [ddnet] https://unit.nginx.org/ 16:39 <+bridge> [ddnet] https://unit.nginx.org/configuration/#configuration-python :monkalaugh: 16:40 <+bridge> [ddnet] :justatest: 16:40 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763772792893472818/1BrSWiVsBNZammJzIBc3SLA.png 16:40 <+bridge> [ddnet] if you use go u get even better perfomance 16:40 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763772900980817960/1Q-SA_KuLJQA9xswHj8b3Iw.png 16:41 <+bridge> [ddnet] treads? 16:41 <+bridge> [ddnet] https://itnext.io/performance-comparison-between-nginx-unit-and-uwsgi-python3-4511fc172a4c 16:41 <+bridge> [ddnet] it probs is a typo 16:41 <+bridge> [ddnet] xd 16:42 <+bridge> [ddnet] Heh nginx unit supports assembly, wanna re do the ddnet site in x86_64 assembly? 16:42 <+bridge> [ddnet] :bluekitty: 16:43 <+bridge> [ddnet] would still like to know what caused these bugs 16:43 <+ChillerDragon> Wait that also includes writing it in c++ and disasemblying it right? 16:43 <+bridge> [ddnet] map download bug and the other one 16:45 <+ChillerDragon> yo @Soreu I replaced the grass_main tile bitmaps with svgs on https://zillywoods.github.io/ZillyWoods-web/ any comments/suggestions? 16:45 <+bridge> [ddnet] ChillerDragon: You probably don't need to disassemble it, I'm sure they just run any binary you want 16:45 <+ChillerDragon> lol ok true 16:46 <+ChillerDragon> then lets write it in shell and compile to binary using the shellcompiler 16:46 <+bridge> [ddnet] Oh, they actually mean assembly lol 16:46 <+bridge> [ddnet] chiller and his shell addiction 16:46 <+bridge> [ddnet] ChillerDragon my only comment for now if that I seriously fcked something up xd 16:46 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763774385232281610/Screenshot_2020-10-08-16-46-05-673_com.android.chrome.jpg 16:46 <+ChillerDragon> yikes 16:46 <+bridge> [ddnet] And no, it's not your fault 16:47 <+ChillerDragon> how? 16:47 <+ChillerDragon> is svg new for browsers? lmao 16:47 <+bridge> [ddnet] missing proper style for edge-cases 16:47 <+bridge> [ddnet] nah, it's not related to change to svg 16:47 <+bridge> [ddnet] @ChillerDragon where are the svg 16:47 <+bridge> [ddnet] i want them 16:48 <+ChillerDragon> https://github.com/TeeworldsDB/images/tree/master/realistic/transparent 16:48 <+bridge> [ddnet] xd also a full mapres? 16:48 <+ChillerDragon> i was thinking about it 16:48 <+ChillerDragon> I almost finished all parts of grass_doodads so lets see 16:48 <+ChillerDragon> 4k remastered :D 16:48 <+bridge> [ddnet] i'd love to have a 4k feature for ddnet 16:48 <+ChillerDragon> so do i 16:49 <+bridge> [ddnet] bcs on 2k screens tw already looks slighty blurry 16:49 <+ChillerDragon> playing tw in 4k since years 16:49 <+ChillerDragon> well ddnet comapred to vanilla looks even more blurry :p 16:49 <+bridge> [ddnet] how so 16:49 <+bridge> [ddnet] we updated all mapres 16:49 <+ChillerDragon> skins and hud for example 16:49 <+ChillerDragon> probably the way its rendered 16:49 <+bridge> [ddnet] skins yeah, and hud ur pr will fix 😄 16:50 <+ChillerDragon> no 16:50 <+ChillerDragon> wait what hud pr? 16:50 <+bridge> [ddnet] ur game.png 16:50 <+ChillerDragon> nah 16:50 <+ChillerDragon> it still looks worse 16:50 <+bridge> [ddnet] why not 16:50 <+ChillerDragon> idk 16:50 <+ChillerDragon> ur the gfx guy 16:50 <+ChillerDragon> tell me 16:50 <+bridge> [ddnet] bcs its wasnt dilated 16:50 <+ChillerDragon> oh maybe 16:50 <+bridge> [ddnet] it should look the same 16:50 <+ChillerDragon> i didnt check after dilate 16:51 <+ChillerDragon> so im kinda activley working on the svg remakes and will let you know if i finished a full tileset 16:51 <+bridge> [ddnet] yeah nice 16:51 <+ChillerDragon> so @Soreu what is going on? Even works on my safari on iOS 16:51 <+bridge> [ddnet] sad that tw is so closed source about that mapres and stuff 16:51 <+bridge> [ddnet] bit annoying 16:51 <+ChillerDragon> ye 16:51 <+ChillerDragon> super sad 16:52 <+ChillerDragon> even infecteus license 16:52 <+bridge> [ddnet] I'd be happy to see optional higher quality graphics too! 16:52 <+ChillerDragon> what res do u play deen? 16:52 <+bridge> [ddnet] i don't play 16:52 <+ChillerDragon> lol 16:52 <+bridge> [ddnet] he plays 5:4 16:52 <+bridge> [ddnet] It will work everywhere, mobile Chrome messes the website look after browser header gets hidden on scroll 16:52 <+bridge> [ddnet] I was once considering adding an actual vector based renderer in there 16:53 <+bridge> [ddnet] > i don't play 16:53 <+bridge> [ddnet] :justatest: 16:53 <+ChillerDragon> vector render oof 16:53 <+bridge> [ddnet] librsvg and render graphics to a few sizes at start 16:53 <+bridge> [ddnet] slug is such a great idea, vector graphics in the GPU 16:53 <+bridge> [ddnet] but I watch in 1920x1080 usually 16:53 <+ChillerDragon> would that increase performance? 16:53 <+ChillerDragon> probably huh? 16:53 <+ChillerDragon> and likley nice for zoozing 16:53 <+bridge> [ddnet] probably not 16:53 <+bridge> [ddnet] @deen we could just render to the selected resolution 16:53 <+bridge> [ddnet] the opposite 😄 16:53 <+bridge> [ddnet] Wait, you mean replacing all graphics with SVGs? 16:53 <+bridge> [ddnet] no game does that 16:54 <+bridge> [ddnet] for a reason i guess 16:54 <+ChillerDragon> browser gamesß 16:54 <+ChillerDragon> ? 16:54 <+bridge> [ddnet] no they dont 16:54 <+bridge> [ddnet] Reason is probably that they don't want to give out their assets in infinite quality 😛 16:54 <+bridge> [ddnet] rasterization is too expensive for soo many vertices 16:54 <+bridge> [ddnet] don't underestimate the greed of large corporations 16:54 <+bridge> [ddnet] @Learath2 I'm quite sure you're right 16:54 <+bridge> [ddnet] rendering to a texture at start is useless then too, could just pre do it 16:54 <+bridge> [ddnet] im not sure 16:55 <+ChillerDragon> fuck the large corps that made bomberman and all the other flash games i play in my browser 16:55 <+bridge> [ddnet] @Jupstar ✪ well you can render it at any resolution needed, instead of shipping MASSIVE texture files 16:55 <+bridge> [ddnet] The new call of duty no longer fits on a 250g ssd 16:55 <+bridge> [ddnet] yea, but space is too cheap 16:55 <+bridge> [ddnet] CPU and ram isnt 16:55 <+ChillerDragon> well you can ship svg and let the client compile it to bitmap on client start or res change lol 16:55 <+bridge> [ddnet] I have RDR2 on ps4 still undownloaded because it would take me like a week at my third world speeds 16:55 <+bridge> [ddnet] newgrounds good old times 16:56 <+bridge> [ddnet] i dont play flash games anymore 16:56 <+ChillerDragon> but u still have flash installed right? 16:56 <+ChillerDragon> i keep getting download popups for it 16:56 <+ChillerDragon> downloaded it twice today 16:56 <+bridge> [ddnet] The way modern programmers treat memory and CPU would suggest they are very close to free 16:56 <+bridge> [ddnet] yeah but not in game 16:56 <+bridge> [ddnet] yeah but not in games 16:56 <+bridge> [ddnet] :bluekitty: 16:56 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763776929605222430/unknown.png 16:56 <+bridge> [ddnet] not for tripple A titles 16:56 <+ChillerDragon> flight sym 16:57 <+bridge> [ddnet] yeah thats a good example 16:57 <+ChillerDragon> xd 16:57 <+ChillerDragon> its a meme tho 16:57 <+bridge> [ddnet] why u should still write good code 16:57 <+ChillerDragon> its like crysis 2 16:57 <+bridge> [ddnet] 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 16:57 <+bridge> [ddnet] @Learath2 i get ur point 16:57 <+bridge> [ddnet] eh factorio optimized their game quite a lot 16:57 <+bridge> [ddnet] factorio best 16:57 <+bridge> [ddnet] but we dont have todo the same mistakes xd 16:57 <+bridge> [ddnet] after ddnet 16:57 <+ChillerDragon> after teeworlds 16:57 <+bridge> [ddnet] nah 16:57 <+bridge> [ddnet] teeworlds at the bottom 16:58 <+bridge> [ddnet] I love the idea behind the new flight sim, it takes the old idea of streaming textures and does it so well 16:58 <+bridge> [ddnet] Didn't think you could stream geometry that well over a reasonable connection 16:58 <+bridge> [ddnet] geometry? 16:58 <+bridge> [ddnet] isnt the map at the client already 16:58 <+bridge> [ddnet] or am i missing smth 16:59 <+bridge> [ddnet] it loads stuff like google earth i guess 16:59 <+bridge> [ddnet] just higher res 16:59 <+bridge> [ddnet] The base of the map is there, they stream features for the map though 16:59 <+bridge> [ddnet] but why wouldnt that be on the client already 16:59 <+bridge> [ddnet] doesnt the game take 100gb 16:59 <+bridge> [ddnet] xd 16:59 <+bridge> [ddnet] bcs the world 16:59 <+bridge> [ddnet] is bigger than 100gb 16:59 <+bridge> [ddnet] ;D 16:59 <+bridge> [ddnet] eh 17:00 <+bridge> [ddnet] we got games that are 250gb rn 17:00 <+bridge> [ddnet] like the modern warfare 17:00 <+bridge> [ddnet] https://www.gamespot.com/articles/cod-modern-warfare-doesnt-fit-on-a-single-250gb-ssd-anymore/1100-6482933/ 17:00 <+bridge> [ddnet] haha 17:00 <+bridge> [ddnet] hehe 17:00 <+bridge> [ddnet] uh 17:00 <+bridge> [ddnet] :monkalaugh: 17:00 <+bridge> [ddnet] well probs microsoft also wants dependency of bing 17:00 <+bridge> [ddnet] so ppl are aware of it 17:00 <+bridge> [ddnet] i mean microsoft gifts u meadi markt gift cards for using bing xD 17:01 <+bridge> [ddnet] i mean microsoft gifts u media markt gift cards for using bing xD 17:01 <+bridge> [ddnet] FS2020 has most of the world in the 100g, they just stream extra geometry and extra textures 17:02 <+bridge> [ddnet] Anyway, I love to see an old idea reused like this 17:02 <+bridge> [ddnet] https://youtu.be/hEmLMpLAnM4?t=35 :poggers: 17:03 <+bridge> [ddnet] absoluty no flight fan, but deffs has its charm 17:03 <+bridge> [ddnet] i think this guy is a real pilot 17:03 <+bridge> [ddnet] The handling is sadly a bit arcade, I guess to pump the sales up 17:05 <+bridge> [ddnet] It's very niche really. I flew on FSX a bit back in highschool 17:06 <+bridge> [ddnet] 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 19:49 <+bridge> [ddnet] normal particles 19:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763820305042767882/Screen_Shot_2020-10-08_at_12.38.03_PM.png 19:49 <+bridge> [ddnet] weird color particles for this guy only 19:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763820335840886826/Screen_Shot_2020-10-08_at_12.48.52_PM.png 19:49 <+bridge> [ddnet] how is this possible in team mode? @Jupstar ✪ @Learath2 o-o 19:50 <+bridge> [ddnet] on newest client? 19:51 <+bridge> [ddnet] 15005 19:52 <+bridge> [ddnet] two ppl reported it, other has recent version too 19:54 <+bridge> [ddnet] rainbow particles when? 19:55 <+bridge> [ddnet] dunno if i changed something in particles in the last 2 years 19:56 <+bridge> [ddnet] is that possibly a server side bug 19:56 <+bridge> [ddnet] no 19:56 <+bridge> [ddnet] team colors are calced in the client 19:56 <+bridge> [ddnet] ye right 19:57 <+bridge> [ddnet] let me see if skin changes can affect blood color 20:02 <+bridge> [ddnet] do they have the bug always 20:02 <+bridge> [ddnet] or just sometimes 😄 20:04 <+bridge> [ddnet] @Jupstar ✪ it was always just for 1 tee 20:04 <+bridge> [ddnet] and i think the tee left already 20:05 <+bridge> [ddnet] mhh, maybe blacktee or smth? 20:05 <+bridge> [ddnet] or a whitetee 20:05 <+bridge> [ddnet] n 20:05 <+bridge> [ddnet] sec ill ask for demo 20:06 <+bridge> [ddnet] maybe a skin prefix thing xddd 20:06 <+bridge> [ddnet] would be funny 20:08 <+bridge> [ddnet] is it possible to get shot in the tick u are unfreezed @noby ? 20:08 <+bridge> [ddnet] maybe its the ninja skin 20:08 <+bridge> [ddnet] possible but i think its very unlikely to happen on the same tee more than once per round 20:08 <+bridge> [ddnet] oh yeah 20:09 <+bridge> [ddnet] but u dunno the tee name? 20:10 <+bridge> [ddnet] sec 20:10 <+bridge> [ddnet] sent demo 20:10 <+bridge> [ddnet] tee name Ӽӥϣңӥⱪ 20:11 <+bridge> [ddnet] look around 1:00 and idk his skin name 20:11 <+bridge> [ddnet] where is the demo xd 20:11 <+bridge> [ddnet] i sent u 20:11 <+bridge> [ddnet] i didnt get it 20:11 <+bridge> [ddnet] or its still uploading xd 20:13 <+bridge> [ddnet] defs interesting 😄 20:13 <+bridge> [ddnet] its just that skin 20:13 <+bridge> [ddnet] also it happens when they get shot and when they get spiked 20:13 <+bridge> [ddnet] what skin is it? 20:13 <+bridge> [ddnet] yeah its the blood color 20:13 <+bridge> [ddnet] wait 20:15 <+bridge> [ddnet] saddo i guess 20:15 <+bridge> [ddnet] vanilla skin 20:15 <+bridge> [ddnet] i have a stupid suggestion, but i should to announce it 20:15 <+bridge> [ddnet] 20:15 <+bridge> [ddnet] maybe add tips below loading box? 20:17 <+bridge> [ddnet] funny not reproducable only in demo 😄 20:17 <+bridge> [ddnet] but thats enough too see what the client does 20:18 <+bridge> [ddnet] im trying to reproduce it with that skin a 20:18 <+bridge> [ddnet] and cant (?) 20:18 <+bridge> [ddnet] the guy was using 0. 7 client if it matters 20:18 <+bridge> [ddnet] yeah, but in demo its always 20:19 <+bridge> [ddnet] yeah i was guessing that 20:19 <+bridge> [ddnet] i'll see, maybe its indeed server side, even if i dunno how 20:19 <+bridge> [ddnet] are the particles rendered with transparency 20:19 <+bridge> [ddnet] yes 20:19 <+bridge> [ddnet] maybe there was a dupe render that rendered over it 20:19 <+bridge> [ddnet] making it more red 20:19 <+bridge> [ddnet] everything is rendered with trans 20:20 <+bridge> [ddnet] oh i meant like are the particles not opaque 20:20 <+bridge> [ddnet] they saw it ingame 20:20 <+bridge> [ddnet] well look into the image 20:20 <+bridge> [ddnet] but i guess they are bit transparent in the borders 20:20 <+bridge> [ddnet] we cant reproduce it with that skin even 20:22 <+bridge> [ddnet] not even with 0.7 client? 20:22 <+bridge> [ddnet] well anyway i'll debug the demo soon 20:29 <+bridge> [ddnet] no 20:52 <+bridge> [ddnet] <ᶰ°Konͧsti> by biggest troll 21:07 <+bridge> [ddnet] @noby well seems like it uses the color that the server sends for the particles, but gonna test it now, just to be sure 21:07 <+bridge> [ddnet] it only overrides the skin color itself 21:09 <+bridge> [ddnet] oh weird 21:09 <+bridge> [ddnet] so its not a new bug? 21:09 <+bridge> [ddnet] i'll test it now, i'll say more about it then 21:13 <+bridge> [ddnet] ok 21:13 <+bridge> [ddnet] now im sure 21:13 <+bridge> [ddnet] @noby its server side 21:13 <+bridge> [ddnet] CPlayer::Snap( 21:13 <+bridge> [ddnet] ty 21:13 <+bridge> [ddnet] pClientInfo->m_ColorBody = 65280 21:13 <+bridge> [ddnet] will reproduce 21:13 <+bridge> [ddnet] is it new 21:14 <+bridge> [ddnet] i guess ddnet could just override it, bcs makes more sense actually 21:14 <+bridge> [ddnet] time to make rainbow effect 21:15 <+bridge> [ddnet] xDD 21:22 <+bridge> [ddnet] @noby yes pls 💸 21:26 <+bridge> [ddnet] skin color is serverside, but if GAMEFLAG_TEAMS is activated I think the client has its own team values 21:28 <+bridge> [ddnet] yes but not for particles 21:28 <+bridge> [ddnet] it doesnt override them 21:31 <+bridge> [ddnet] https://github.com/ddnet/ddnet/blob/b2b3b866cdac343bef8c39ea83d3269980ebc125/src/game/client/components/effects.cpp#L169 21:31 <+bridge> [ddnet] yes it does 21:31 <+bridge> [ddnet] m_ColorBody gets set 21:31 <+bridge> [ddnet] yeah it clearly uses colorbody 21:31 <+bridge> [ddnet] to the team color 21:31 <+bridge> [ddnet] not renderinfo.colorbody 21:31 <+bridge> [ddnet] yes 21:31 <+bridge> [ddnet] dude i just tested it xd 21:32 <+bridge> [ddnet] it uses the info from the snapshot 21:32 <+bridge> [ddnet] ` m_RenderInfo.m_ColorBody = color_cast(ColorHSLA(TeamColors[m_Team])); 21:32 <+bridge> [ddnet] ` 21:32 <+bridge> [ddnet] but effect does not use renderinfo 21:33 <+bridge> [ddnet] it uses a different var 21:33 <+bridge> [ddnet] true, then thats the issue xd 21:34 <+bridge> [ddnet] effects have to use renderinfo ofc 21:34 <+bridge> [ddnet] yes 😄 22:46 <+bridge> [ddnet] also here PSA: maps now use sha256 https://heinrich5991.de/teeworlds/maps/maps/ 23:10 <+bridge> [ddnet] it works lol 23:10 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/763871040077299732/fng_2020-10-08_16-09-02r.demo.mp4 23:11 <+bridge> [ddnet] not anymore with new update :kek: 23:12 <+bridge> [ddnet] ( 23:12 <+bridge> [ddnet] ))) 23:12 <+bridge> [ddnet] 🎉 23:17 <+bridge> [ddnet] https://www.amd.com/en/products/cpu/amd-ryzen-9-5900x 23:17 <+bridge> [ddnet] new cpu 23:18 <+bridge> [ddnet] better than i9 10900k 23:18 <+bridge> [ddnet] :monkalaugh: 23:18 <+bridge> [ddnet] 12 cores 24 threads with 3.7GHz Up to 4.8GHz 23:18 <+bridge> [ddnet] crazy