00:43 <+bridge> [ddnet] @fokkonaut my score is not rendering the bottom right thing 07:11 <+bridge> [ddnet] @ChillerDragon try on ddnet++ to see if its a problem with Gameflag flags acitivated 11:08 <+bridge> [ddnet] it worked on KoG idk what gameflags you mean 11:11 <+bridge> [ddnet] Gameflag Flags 11:12 <+bridge> [ddnet] it is for telling the client the server uses flags so the client can render them in scoreboard and kill msgs 11:14 <+bridge> [ddnet] but technically shouldnt 11:19 <+bridge> [ddnet] ah 11:20 <+bridge> [ddnet] ya but the thing is that i put dbg messages everywhere and the debug messages told me that it executed the gameflag branch 11:21 <+bridge> [ddnet] if(GameFlags&GAMEFLAG_FLAGS) 11:21 <+bridge> [ddnet] printf("gets printed\n"); 11:36 <+bridge> [ddnet] @ChillerDragon the score thing gets rendered in one function 11:36 <+bridge> [ddnet] just breakpoint there? 11:49 <+bridge> [ddnet] and then? 11:49 <+bridge> [ddnet] idk baut breakpoints never used them especially not in windows 12:36 <+Learath2> well when you break there you can step line by line 12:36 <+Learath2> see why it doesn't get rendered 13:05 <+bridge> [ddnet] i dont know in what it gets rendered 13:06 <+bridge> [ddnet] all lines that i assumed are responsible for rendering are reached as my print messages show me 13:06 <+bridge> [ddnet] also idk how to go step by step. I dont have visualstudio setup or something 13:07 <+bridge> [ddnet] @ChillerDragon gdb? 13:08 <+bridge> [ddnet] oh rip 13:08 <+bridge> [ddnet] i dislike gdb on windows -.- 13:08 <+bridge> [ddnet] dont use windows 13:08 <+bridge> [ddnet] i only have the bug on windows as far as i know 13:08 <+bridge> [ddnet] > dont use windows 13:08 <+bridge> [ddnet] :D 13:09 <+bridge> [ddnet] we are missing some linux emojis @jao 13:09 <+bridge> [ddnet] i want to react with debian to every message ryo posts 13:09 <+bridge> [ddnet] debian best 13:09 <+bridge> [ddnet] yes 13:10 <+bridge> [ddnet] :lol: 13:11 <+bridge> [ddnet] @ChillerDragon I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. 13:11 <+bridge> [ddnet] 13:11 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/571292215306092544/r_1051771_2xXs2.png 13:12 <+bridge> [ddnet] 13:12 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/571292589186351105/qpaw_output.png 13:12 <+bridge> [ddnet] 10/10 13:13 <+bridge> [ddnet] https://www.reddit.com/r/debianinrandomplaces/ 13:15 <+bridge> [ddnet] and what is linux then? 13:15 <+bridge> [ddnet] nothing 13:15 <+bridge> [ddnet] lol there is no linux 13:15 <+bridge> [ddnet] :feelsbadman: 13:15 <+bridge> [ddnet] :feelsbadman: 13:15 <+bridge> [ddnet] :feelsbadman: 13:15 <+bridge> [ddnet] xd 13:15 <+bridge> [ddnet] fail 13:35 <+bridge> [ddnet] @Ryozuki i manually ported ddnet character and all that stuff from all commits to my mod, but if i am in super and hook someone the hook is invisible and the collision for player <-> player is bad 13:35 <+bridge> [ddnet] but i applied your fix already 13:36 <+bridge> [ddnet] any idea? 13:36 <+bridge> [ddnet] no 13:36 <+bridge> [ddnet] no time for other mods sry 14:05 <+bridge> [ddnet] @Ryozuki here? 14:05 <+bridge> [ddnet] y 14:06 <+bridge> [ddnet] can you give me a hand with my pr? I'm trying to find where would be the best place to lighten the colors back up for tee colors 14:06 <+bridge> [ddnet] ok 14:07 <+bridge> [ddnet] I was thinking `CRenderTools::RenderTee` 14:07 <+bridge> [ddnet] @Learath2 r u sure u want to keep iostream in there 14:08 <+bridge> [ddnet] or did u missclick 14:08 <+bridge> [ddnet] xD 14:08 <+bridge> [ddnet] I think that last commit removes that 14:08 <+bridge> [ddnet] https://github.com/ddnet/ddnet/pull/1678/files 14:08 <+bridge> [ddnet] it shows there for me 14:08 <+bridge> [ddnet] or u mean local 14:08 <+bridge> [ddnet] god damn that big image 14:08 <+bridge> [ddnet] xD 14:08 <+bridge> [ddnet] it keeps coming back 14:08 <+bridge> [ddnet] iostream wants to be ther 14:08 <+bridge> [ddnet] i am fine with iostream tho 14:08 <+bridge> [ddnet] but other vanilla ppl 14:08 <+bridge> [ddnet] might outrage 14:09 <+bridge> [ddnet] @Learath2 "best place to lighten the colors back up for tee colors" 14:09 <+bridge> [ddnet] what do u mean exactly by this btw 14:09 <+bridge> [ddnet] i think tees are rendered on client components players 14:10 <+bridge> [ddnet] You remember when black tees were a thing? 14:10 <+bridge> [ddnet] whenever we read a tw format color, we change the lightness of it so it's not too dark 14:10 <+bridge> [ddnet] isnt this why hsl is limited or smth 14:10 <+bridge> [ddnet] that's how we fixed that 14:11 <+bridge> [ddnet] i wonder why its dark 14:11 <+bridge> [ddnet] but for UI colors we didn't need that limit 14:11 <+bridge> [ddnet] when I unified the color thing I removed the extra lightness 14:11 <+bridge> [ddnet] so that we can have one consistent format for colors and they work as intended 14:12 <+bridge> [ddnet] as a side effect we no longer light up the tee colors so blacktee is possible again 14:12 <+bridge> [ddnet] and we want that or not? 14:12 <+bridge> [ddnet] (locally, remote clients will still read the color the old way so black tees appear gray) 14:12 <+bridge> [ddnet] we want to light it up locally aswell 14:13 <+bridge> [ddnet] shouldnt this be easy? make some method on color4_base 14:13 <+bridge> [ddnet] or smth 14:13 <+bridge> [ddnet] The thing is when it gets to `RenderTee` the color is already RGB 14:13 <+bridge> [ddnet] RGB isn't too easy to "light up" 14:14 <+bridge> [ddnet] ah 14:14 <+bridge> [ddnet] and I'm not sure if converting to HSL, lighting it up, then converting back to RGB is the best of ideas 14:14 <+bridge> [ddnet] looks ugly 14:14 <+bridge> [ddnet] how hard is it to light up rgb xD 14:15 <+bridge> [ddnet] not a well defined operation in rgb space 14:15 <+bridge> [ddnet] in hsl space it's literally translating the point 14:15 <+bridge> [ddnet] in rgb it could go anywhere 14:16 <+bridge> [ddnet] (basically RGB->lightUp() would boil down to convert to hsl, light up, convert back) 14:16 <+bridge> [ddnet] hmm i would put a virtual method on color4_base and implement it diferently on ColorRGBA and ColorHSVA, where colorgba creates a internal ColorHSVA and lights it up 14:16 <+bridge> [ddnet] its ugly 14:16 <+bridge> [ddnet] but its hidden 14:16 <+bridge> [ddnet] xd 14:17 <+bridge> [ddnet] Hmm, that sounds doable 14:17 <+bridge> [ddnet] or maybe I should do it with a ConChain on the tee color configs 14:17 <+bridge> [ddnet] e.g. light it up when it gets changed 14:17 <+bridge> [ddnet] idk what a ConChain is xD 14:18 <+bridge> [ddnet] In console, you can register a function to be called before the registered function is called 14:18 <+bridge> [ddnet] :o 14:18 <+bridge> [ddnet] TYL πŸ˜› 14:18 <+bridge> [ddnet] it's how we handle sending the new info when player color/name/clan changes 14:19 <+bridge> [ddnet] :bluekitty: 14:19 <+bridge> [ddnet] i am doing some shit with sql 14:19 <+bridge> [ddnet] i wonder why ddnet doesnt use 14:19 <+bridge> [ddnet] prepared statements 14:19 <+bridge> [ddnet] sql is fun 14:19 <+bridge> [ddnet] @Ryozuki heinrich was working on rewriting the entire sql backend and using prepared statements 14:19 <+bridge> [ddnet] but then life happened 14:20 <+bridge> [ddnet] i am doing the same xd but idk if im good 14:20 <+bridge> [ddnet] im making a thread safe queue 14:20 <+bridge> [ddnet] if you are doign that yeah 14:20 <+bridge> [ddnet] make it thread safe while at it πŸ˜„ 14:20 <+bridge> [ddnet] we literally call into `CGameContext` from other threads 14:20 <+bridge> [ddnet] yes 14:20 <+bridge> [ddnet] sendchat 14:20 <+bridge> [ddnet] I really wonder how it hasn't crashed by now 14:20 <+bridge> [ddnet] xd 14:20 <+bridge> [ddnet] idk either xd 14:21 <+bridge> [ddnet] also the way we do vectors is UB if you aren't careful 14:21 <+bridge> [ddnet] but it's sane enough that no implementation would really "break" 14:21 <+bridge> [ddnet] what is UB 14:21 <+bridge> [ddnet] undefined behaviour 14:21 <+bridge> [ddnet] im not using system.c xd 14:21 <+bridge> [ddnet] im using c++11 14:21 <+bridge> [ddnet] stl 14:22 <+bridge> [ddnet] for tw code? πŸ˜› 14:22 <+bridge> [ddnet] 14:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/571310031736274947/unknown.png 14:22 <+bridge> [ddnet] yeah 14:22 <+bridge> [ddnet] ima enforce 14:22 <+bridge> [ddnet] modern code 14:22 <+bridge> [ddnet] xd 14:22 <+bridge> [ddnet] god that looks scary 14:22 <+bridge> [ddnet] xd 14:22 <+bridge> [ddnet] ye thats why im not sure 14:22 <+bridge> [ddnet] i never made things like this 14:22 <+bridge> [ddnet] thread and stuff 14:22 <+bridge> [ddnet] im learning xd 14:22 <+bridge> [ddnet] I think we already have a thread safe queue in base 14:22 <+bridge> [ddnet] for a queue a semaphore would be more appropriate then a lock imho 14:23 <+bridge> [ddnet] @Learath2 whats the dif between semaphore and mutex 14:23 <+bridge> [ddnet] or lock 14:23 <+bridge> [ddnet] i think std doesnt have semaphores 14:24 <+bridge> [ddnet] a mutex is a lock 14:25 <+bridge> [ddnet] i think the only difference is that a mutex generally refers to the version that can be accessed by multiple processes aswell 14:25 <+bridge> [ddnet] a semaphore also is a counter 14:25 <+bridge> [ddnet] i think i can use a std::condition_variable 14:26 <+bridge> [ddnet] yeah that also works 14:26 <+bridge> [ddnet] @Ryozuki if you want a refernce https://github.com/ddnet/ddnet/pull/897 14:26 <+bridge> [ddnet] hmh wrote a decent one 14:27 <+bridge> [ddnet] think he used a lock 14:27 <+bridge> [ddnet] heinrich5991 commented on 24 Nov 2017 14:27 <+bridge> [ddnet] 14:27 <+bridge> [ddnet] As discussed on Discord, this queue is currently thread-unsafe. 14:27 <+bridge> [ddnet] nope, he used a cv πŸ˜› 14:27 <+bridge> [ddnet] xD 14:27 <+bridge> [ddnet] threading looks like a shady world 14:28 <+bridge> [ddnet] @Ryozuki "Some people, when confronted with a problem, think, 'I know, I'll use threads' - and then two they hav erpoblesms." 14:28 <+bridge> [ddnet] :lol: 14:29 <+bridge> [ddnet] Or ``` 14:29 <+bridge> [ddnet] Knock knock. 14:29 <+bridge> [ddnet] Race condition. 14:29 <+bridge> [ddnet] Who's there?``` 14:29 <+bridge> [ddnet] lol 14:29 <+bridge> [ddnet] xd 14:40 <+bridge> [ddnet] how inappropriate would it be to add a CFGFLAG just for colors? 14:41 <+bridge> [ddnet] lemme check what a CFGFLAG is first xd 14:41 <+bridge> [ddnet] ah 14:42 <+bridge> [ddnet] why u want to add one? 14:42 <+bridge> [ddnet] CFGFLAG_COLLIGHT 14:42 <+bridge> [ddnet] if that flag is set then when reading the color it will get light up 14:42 <+bridge> [ddnet] oh 14:42 <+bridge> [ddnet] i think its fine that 14:42 <+bridge> [ddnet] i like it 14:43 <+bridge> [ddnet] or I can rewrite the macro to have an extra parameter 14:43 <+bridge> [ddnet] since all colors that need light up are user input 14:43 <+bridge> [ddnet] I'll add a CFGFLAG for now 14:43 <+bridge> [ddnet] if people don't like it i can re-do the macro 15:20 <+bridge> [ddnet] Does anyone know how I fix the player and hook colission for super? i have added the ddnet character and all the needed stuff to my mod, but if i am in super and hook someone the hook is invisible 15:36 <+bridge> [ddnet] do i need this for it to work? 15:36 <+bridge> [ddnet] https://github.com/ddnet/ddnet/commit/e3657ab2d5e3004f927e5e1ba316712eb79cfa81#diff-a60948952f625787eb8b3cf54f82d047 15:39 <+bridge> [ddnet] @Ryozuki https://github.com/ddnet/ddnet/pull/1678/commits/69d78c2 15:39 <+bridge> [ddnet] looks good? 15:39 <+bridge> [ddnet] @Learath2 help :c 15:39 <+bridge> [ddnet] except for the template blackmagic πŸ˜› 15:40 <+bridge> [ddnet] @fokkonaut gimme a minute I need to switch tables 15:40 <+bridge> [ddnet] oke 15:42 <+bridge> [ddnet] ye looks good to me xD 15:54 <+bridge> [ddnet] @fokkonaut what do you need? 15:54 <+bridge> [ddnet] scroll up a bit 15:54 <+bridge> [ddnet] you have about 15 minutes before I go afk 15:54 <+bridge> [ddnet] oh wow :D 15:55 <+bridge> [ddnet] yea do you know how i can fix it? 15:55 <+bridge> [ddnet] basically i have merged all the code made to server/engine manually. but it doesnt work 15:56 <+bridge> [ddnet] the client doesnt update it properly 15:56 <+bridge> [ddnet] it doesn't ork is not a diagnosis 15:56 <+bridge> [ddnet] maybe related to my issue 15:56 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/1680 15:56 <+bridge> [ddnet] do you have your code up on github? 15:56 <+bridge> [ddnet] yes 15:56 <+bridge> [ddnet] its https://github.com/fokkonaut/BlockDDrace 15:59 <+bridge> [ddnet] you merged ryozukis code in? 16:00 <+bridge> [ddnet] yes 16:01 <+bridge> [ddnet] okay, this is way too much code to look at in 15 mins 16:01 <+bridge> [ddnet] i can help you debug it though 16:01 <+bridge> [ddnet] first make sure all the data arriving is correct 16:02 <+bridge> [ddnet] how? 16:02 <+bridge> [ddnet] i placed debug messages in gamecore, and everything was correct 16:02 <+bridge> [ddnet] at the time when i hooked someone 16:02 <+bridge> [ddnet] `void CGameClient::OnNewSnapshot()` 16:03 <+bridge> [ddnet] check if the object is unpacked correctly 16:03 <+bridge> [ddnet] sec ima add a dbg msg 16:04 <+bridge> [ddnet] what do i have to chec kfor 16:05 <+bridge> [ddnet] yes 16:05 <+bridge> [ddnet] my debug message gets printed 16:05 <+bridge> [ddnet] every tick 16:06 <+bridge> [ddnet] i placed it inside of this: 16:06 <+bridge> [ddnet] `else if(Item.m_Type == NETOBJTYPE_DDNETCHARACTER)` 16:07 <+bridge> [ddnet] print the m_Flags 16:08 <+bridge> [ddnet] how? πŸ˜„ 16:09 <+bridge> [ddnet] oke lol 16:09 <+bridge> [ddnet] ... 16:09 <+bridge> [ddnet] the client know that i am super 16:10 <+bridge> [ddnet] okay then it's the prediction code 16:10 <+bridge> [ddnet] so its related to my issue 16:10 <+bridge> [ddnet] ? 16:10 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/1680 16:10 <+bridge> [ddnet] I never touched it, so you'll need ryozuki to give you a hand, and he doesn't seem to have time 16:11 <+bridge> [ddnet] i think trml needs to fix that 16:14 <+bridge> [ddnet] updated my issue: 16:14 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/1680 16:14 <+bridge> [ddnet] @trml 16:15 <+bridge> [ddnet] oh, yeah, I'll fix that 16:15 <+bridge> [ddnet] damn you are here xd 16:15 <+bridge> [ddnet] I just came home:P 16:16 <+bridge> [ddnet] otherwise your prediction code is insanely amazing! 16:16 <+bridge> [ddnet] it may be related to your issue, I'll check 16:16 <+bridge> [ddnet] nice, ty πŸ˜„ 16:16 <+bridge> [ddnet] check my issue on github, wrote a few things 20:07 <+bridge> [ddnet] Is anyone here on windows? 20:08 <+bridge> [ddnet] me 20:08 <+bridge> [ddnet] rn 20:08 <+bridge> [ddnet] xd 20:08 <+bridge> [ddnet] just fixed my boot 20:10 <+bridge> [ddnet] @Ryozuki https://github.com/ddnet/ddnet/pull/1678 20:10 <+bridge> [ddnet] can you try compiling this? 20:11 <+bridge> [ddnet] ok 20:11 <+bridge> [ddnet] 20:11 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/571398038883401748/7ao998lcgmu21.png 20:13 <+bridge> [ddnet] I think windows.h declares some min/max macro................. 20:16 <+bridge> [ddnet] compiled client and sv 20:16 <+bridge> [ddnet] @Learath2 is this all? 20:17 <+bridge> [ddnet] oh im not on a clean cmake btw 20:17 <+bridge> [ddnet] welcome to the bright side ryo 20:17 <+bridge> [ddnet] i incrementally built it 20:17 <+bridge> [ddnet] @Learath2 also im on mingw 20:17 <+bridge> [ddnet] @Ryozuki it compiled for you? 20:17 <+bridge> [ddnet] oh 20:17 <+bridge> [ddnet] im not gonna install msvc bloat 20:17 <+bridge> [ddnet] xd 20:17 <+bridge> [ddnet] mingw probably takes care of it 20:17 <+bridge> [ddnet] I can build with vs if u want 20:17 <+bridge> [ddnet] good jao 20:17 <+bridge> [ddnet] @jao yes please 20:18 <+bridge> [ddnet] git fetch upstream pull/1678/head:learathpr 20:18 <+bridge> [ddnet] :P 20:18 <+bridge> [ddnet] xd 20:19 <+bridge> [ddnet] I add pullrequests to my normal fetch 20:19 <+bridge> [ddnet] it's useful to be able to do `git checkout ddnet/pr/1678` 20:19 <+bridge> [ddnet] u do git checkout learathpr after 20:19 <+bridge> [ddnet] hm idk 20:19 <+bridge> [ddnet] i never checkout prs anyway xd 20:20 <+bridge> [ddnet] if you add the pr's to your remote config they are fetched along with branches 20:20 <+bridge> [ddnet] how to do that 20:20 <+bridge> [ddnet] `fetch = +refs/pull/*/head:refs/remotes/ddnet/pr/*` 20:20 <+bridge> [ddnet] in `.git/config` under your ddnet remote 20:22 <+bridge> [ddnet] I put ddnet there but you obv need to rename it the same as your own remote 20:23 <+bridge> [ddnet] https://mystb.in/tujiqufibe.shell 20:24 <+bridge> [ddnet] hello Jannis 20:24 <+bridge> [ddnet] @jao :feelsgoodman: 20:24 <+bridge> [ddnet] :lol: 20:24 <+bridge> [ddnet] :lol: 20:24 <+bridge> [ddnet] can you add `#define NOMINMAX` above windows.h includes? @jao 20:25 <+bridge> [ddnet] There is one in system.h, one in client.cpp and one in server.cpp 20:25 <+bridge> [ddnet] maybe we should add those to our cmakefile, we never include without LEAN_AND_MEAN anyways πŸ€” 20:25 <+bridge> [ddnet] #define windows shit 20:25 <+bridge> [ddnet] put this everywhere 20:26 <+bridge> [ddnet] `#if defined(CONF_FAMILY_WINDOWS) #undef CONF_FAMILY_WINDOWS #endif` 20:26 <+bridge> [ddnet] xd 20:26 <+bridge> [ddnet] #define for while(true) { // 20:27 <+bridge> [ddnet] @Learath2 system.c ? 20:27 <+bridge> [ddnet] yeah 20:27 <+bridge> [ddnet] accidentally wrote .c 20:27 <+bridge> [ddnet] .h * 20:27 <+bridge> [ddnet] ... 20:29 <+bridge> [ddnet] same errors 20:30 <+bridge> [ddnet] god damn windows 20:30 <+bridge> [ddnet] if you have a little time can you try one more thing? 20:30 <+bridge> [ddnet] ok 20:33 <+bridge> [ddnet] add `target_compile_definitions(${target} PRIVATE /DNOMINMAX /DWIN32_LEAN_AND_MEAN=1)` below L1627 in CMakeLists.txt 20:38 <+bridge> [ddnet] :o 20:39 <+bridge> [ddnet] same errors @Learath2 20:39 <+bridge> [ddnet] the mind boggles 20:39 <+bridge> [ddnet] love it when github is reaching me before my youtiube subs 20:39 <+bridge> [ddnet] can you show me around the error? maybe the compiler call itself if its possible 20:39 <+bridge> [ddnet] we need the cmake god to fix things 20:39 <+bridge> [ddnet] :twintri: 20:39 <+bridge> [ddnet] oh wait thats a week old 20:39 <+bridge> [ddnet] didnt see that xd 20:40 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues?q=is%3Aissue+is%3Aopen+label%3Abuilding 20:40 <+bridge> [ddnet] xD 20:41 <+bridge> [ddnet] imagine having so much control with hf :/ 20:41 <+bridge> [ddnet] Quite impressive skill 20:41 <+bridge> [ddnet] I'm happy I can hf at all πŸ˜„ 20:42 <+bridge> [ddnet] what's funny is I still remember back when we were all figuring out hf 20:42 <+bridge> [ddnet] few people could hf properly even less drove properly πŸ˜„ 20:43 <+bridge> [ddnet] shit vid but it shows hf progression on just fly 1 xd https://www.youtube.com/watch?v=oH-dHqN2RcY 20:43 <+bridge> [ddnet] now it's like what can't we do flying πŸ˜› 20:43 <+bridge> [ddnet] @Learath2 https://mystb.in/waminehewo.shell 20:43 <+bridge> [ddnet] @Ryozuki you should add the most recent video I guess πŸ˜„ 20:44 <+bridge> [ddnet] @jao thanks for trying but doesn't show the compiler call and idk how to get it to show on windows :/ 20:44 <+bridge> [ddnet] @deen if you have a couple minutes could you give it a try? 20:44 <+bridge> [ddnet] :( 20:45 <+bridge> [ddnet] give what a try? 20:45 <+bridge> [ddnet] @deen compiling https://github.com/ddnet/ddnet/pull/1678 20:46 <+bridge> [ddnet] windows.h seems to define a min/max macro 20:46 <+bridge> [ddnet] #define NOMINMAX is supposed to stop it 20:46 <+bridge> [ddnet] just don't define min/max yourself 20:46 <+bridge> [ddnet] call it something else 20:46 <+bridge> [ddnet] base/math.h has been defining min/max since the beginning of time πŸ˜› 20:47 <+bridge> [ddnet] but why extend it? 20:47 <+bridge> [ddnet] why not use std min max 20:47 <+bridge> [ddnet] and why just 3 values, why not variadic? 20:47 <+bridge> [ddnet] and I don't have windows 20:47 <+bridge> [ddnet] @deen it's the extent of my template abilities πŸ˜› 20:47 <+bridge> [ddnet] you can have variadic templates that recurse 20:47 <+bridge> [ddnet] i'm not up to snuff on metaprogramming 20:47 <+bridge> [ddnet] and a specialization to stop 20:48 <+bridge> [ddnet] :monkaS: 20:48 <+bridge> [ddnet] I'll take a look, but either way windows.h defines a macro 20:48 <+bridge> [ddnet] https://stackoverflow.com/questions/49786142/variadic-recursive-template 20:48 <+bridge> [ddnet] I'm not serious about adding that πŸ˜„ 20:48 <+bridge> [ddnet] It's a pain to debug 20:48 <+bridge> [ddnet] I guess I'll go diving for a windows CD 20:48 <+bridge> [ddnet] or maybe a usb lying around somewhere 20:48 <+bridge> [ddnet] cd? 20:48 <+bridge> [ddnet] thats not used anymore xd 20:49 <+bridge> [ddnet] πŸ˜› 20:49 <+bridge> [ddnet] grab a floppy 20:49 <+bridge> [ddnet] u need about 2900 floppy disks 20:49 <+bridge> [ddnet] a guy did it 20:49 <+bridge> [ddnet] with windows 10 20:49 <+bridge> [ddnet] found a windows xp cd... 20:50 <+bridge> [ddnet] oh god 20:50 <+bridge> [ddnet] i think ucant install latest msvc 20:50 <+bridge> [ddnet] there 20:50 <+bridge> [ddnet] doubt that's new enough 20:50 <+bridge> [ddnet] idk 20:50 <+bridge> [ddnet] @Learath2 u know u can download windows 10 iso from windows and u dont even need to use a key or shit 20:50 <+bridge> [ddnet] I'm back in turkey 20:50 <+bridge> [ddnet] third world internet 20:51 <+bridge> [ddnet] xd 20:51 <+bridge> [ddnet] I have a usb with some version of windows, I'll install it and hope it's not vista or sth πŸ˜› 20:52 <+bridge> [ddnet] good luck 20:53 <+bridge> [ddnet] fiber internet has been coming to this building for the last 6 years 20:54 <+bridge> [ddnet] i remember my days without fiber internet and playing tw 20:54 <+bridge> [ddnet] one would think I'm in a village or sth 20:54 <+bridge> [ddnet] it was such a horrible experience 20:54 <+bridge> [ddnet] now i got 600/600 :P 20:54 <+bridge> [ddnet] it's the middle of one of the densest populated cities on earth 20:54 <+bridge> [ddnet] thanks god 20:54 <+bridge> [ddnet] how many ppl 20:54 <+bridge> [ddnet] 16 million documented people 20:55 <+bridge> [ddnet] very small city istanbul 20:55 <+bridge> [ddnet] documented xD 20:55 <+bridge> [ddnet] yeah, a lot of people that immigrate from villages and never register 20:55 <+bridge> [ddnet] and a lot of syrian refugees, can't even walk outside on weekends anymore πŸ˜› 21:10 <+bridge> [ddnet] getting virtualbox to boot off of a usb is just mental 21:24 <@deen> why would you run windows for this problem? 21:24 <@deen> just don't add another min/max function 21:25 <+bridge> [ddnet] god fine, i'll name it minimum and maximum.... 21:26 <+bridge> [ddnet] so much grepping to do 21:26 <+bridge> [ddnet] what sdif with egrep and fgrep and grep 21:27 <+bridge> [ddnet] have you tried the manual page? πŸ˜› 21:28 <+bridge> [ddnet] "egrep can handle extended regular expressions (EREs)" 21:28 <+bridge> [ddnet] "fgrep is quicker than both grep and egrep, but can only handle fixed patterns (i.e. it does not interpret regular expressions)" 21:29 <@deen> but why have a min, max with 3 params? 21:29 <@deen> I don't understand what it has to do with your change anyway 21:29 <@deen> i thought the change is about colors 21:30 <+bridge> [ddnet] conversion from rgb to hsl starts with a max3 and a min3 21:30 <+bridge> [ddnet] i found it ugly to do min(min(r,g),b) 21:37 <+bridge> [ddnet] why does my float not change its value if i add something to it -.- 21:39 <+bridge> [ddnet] 21:39 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/571420002792636450/Bildschirmfoto_2019-04-26_um_21.38.50.png 21:40 <@deen> What was wrong with the 2-param min/max? I thought they worked fine 21:41 <+bridge> [ddnet] You really would prefer min and min3 instead of one name for all of them? 21:41 <+bridge> [ddnet] They work fine, but it wasn't using our min and max, it's been using the macro one defined by windows.h all along 21:43 <+bridge> [ddnet] yo deen do you use windows at work? 21:43 <+bridge> [ddnet] did u read his blog 21:43 <+bridge> [ddnet] no 21:43 <+bridge> [ddnet] xd 21:44 <+bridge> [ddnet] well some of it 21:47 <+Learath2> I'm keeping it minimum/maximum for now, can tackle that when merging 21:48 <+Learath2> my w key is sticking, this will be the third time I get this keyboard replaced :( 22:21 <+bridge> [ddnet] my teeworlds are only appearing on the servers of GER and Rus :\ 22:30 <+bridge> [ddnet] @Pity what server would you like to join. Go to ddnet.tw/status and copy the ip of the server. 22:36 <+bridge> [ddnet] does not work. 22:36 <+bridge> [ddnet] the server is online 22:36 <+bridge> [ddnet] but I can not connect