00:05 <+bridge> [ddnet] killall DDNet-Server 00:51 <+bridge> [ddnet] @deen wanna add libpng to the ddnetlibs repo? 00:52 <+bridge> [ddnet] then i'll implement it later 00:52 <+bridge> [ddnet] @Jupstar ✪ sure, I can do that 00:53 <+bridge> [ddnet] libpnglite seems not to be used by anyone except Teeworlds, which is not ideal 00:53 <+bridge> [ddnet] thats funny xd 00:53 <+bridge> [ddnet] but libpng is not alot harder anyway 00:54 <+bridge> [ddnet] it just has more control about what todo if u got 16bit images and stuff like that 😄 01:12 <+bridge> [ddnet] would you say this looks dangerous 01:12 <+bridge> [ddnet] 01:12 <+bridge> [ddnet] ``` 01:12 <+bridge> [ddnet] str_copy(m_aFilename, "", sizeof(m_aFilename)); 01:12 <+bridge> [ddnet] ``` 01:13 <+bridge> [ddnet] why not m_aFilename[0]=0 01:13 <+bridge> [ddnet] well its already in the code 😄 01:13 <+bridge> [ddnet] just found it while looking through a pr 01:17 <+bridge> [ddnet] i wonder if its even doing smth 01:21 <+bridge> [ddnet] guess it does what it should 😄 01:21 <+bridge> [ddnet] just looks strange 😄 01:34 <+bridge> [ddnet] @deen under debian openctm-tools also uses pnglite xD 01:53 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/787482255807348736/unknown.png 01:53 <+bridge> [ddnet] @ChillerDragon 01:53 <+bridge> [ddnet] rlly 01:56 <+bridge> [ddnet] waste of a call, tho I'd imagine the compiler inlines str_copy very aggressively 08:35 <+bridge> [ddnet] Is there FNG2 mod for Windows? 08:43 <+bridge> [ddnet] not precompiled if thats what u try to ask 08:44 <+bridge> [ddnet] https://github.com/Jupeyy/teeworlds-fng2-mod/tree/fng_06 08:44 <+bridge> [ddnet] also added cmake support lately, but never tried mingw 08:49 <+bridge> [ddnet] Need developing? 08:51 <+bridge> [ddnet] i can pm you with a build if you want 08:52 <+bridge> [ddnet] else you need to add the cmake modules from ddnet in order to work for mingw to compile 09:07 <+bridge> [ddnet] is it team or solo? 09:12 <+bridge> [ddnet] @ciger just read the fng.cfg 09:12 <+bridge> [ddnet] it explains almost everything 09:12 <+bridge> [ddnet] thanks 🌹 11:11 <+ChillerDragon> wat is that my code @fokkonaut? _:D 11:14 <+ChillerDragon> https://github.com/DDnetPP/DDNetPP/blob/621969e0cfa6e6a205b6807a578678f17967af21/src/game/server/entities/character_dummymodes.cpp#L3470 11:14 <+ChillerDragon> good stuff :D 11:47 <+bridge> [ddnet] Have any of you ever read a wikipedia arbcom case? It's fascinating how organized wikipedia is. It's like a court case 12:04 <+ChillerDragon> are you paid to collect donations for wikipedia? o.O 12:09 <+bridge> [ddnet] @Learath2 wikipedia is rly well organized and a good effort to provide knowledge to ppl 12:09 <+bridge> [ddnet] yet ppl make fun of it all times 12:09 <+bridge> [ddnet] what a sad world 12:11 <+bridge> [ddnet] the fourth byte in the CTile struct used to represent tiles in the tiles/game/front layers is called m_Reserved and isn't used anywhere in the ddnet code 12:11 <+bridge> [ddnet] though there are 5 ddnet maps where this byte is set at least once 12:12 <+bridge> [ddnet] does anyone here know if there ever was a tool/client/editor/whatever that used that byte? 12:12 <+bridge> [ddnet] @Patiga heinrich is ur best bet 12:13 <+bridge> [ddnet] i doubt anyone else knows xd 12:13 <+bridge> [ddnet] i use it in fng, but not from editor point 😄 12:13 <+bridge> [ddnet] at runtime only 12:14 <+bridge> [ddnet] @Patiga what are you planing todo with it? 😄 12:14 <+bridge> [ddnet] ``` 12:14 <+bridge> [ddnet] "types/brutal/maps/Indicud.map": Tiles layer (at index 6 in group 6) has an invalid tile: Unused byte of tile at x=300, y=449 isn't zero 12:14 <+bridge> [ddnet] "types/brutal/maps/Rogue World.map": Tiles layer (at index 7 in group 12) has an invalid tile: Unused byte of tile at x=112, y=396 isn't zero 12:14 <+bridge> [ddnet] "types/brutal/maps/Tropical Island.map": Tiles layer (at index 0 in group 6) has an invalid tile: Unused byte of tile at x=360, y=356 isn't zero 12:14 <+bridge> [ddnet] "types/dummy/maps/SpookyDrag.map": Game layer (at index 2 in group 6) has an invalid tile: Unused byte of tile at x=152, y=138 isn't zero 12:14 <+bridge> [ddnet] "types/insane/maps/New Generation.map": Tiles layer (at index 12 in group 7) has an invalid tile: Unused byte of tile at x=133, y=31 isn't zero 12:14 <+bridge> [ddnet] ``` 12:14 <+bridge> [ddnet] oop sry irc 12:14 <+bridge> [ddnet] its just that my map parser now errors on ddnet maps 12:14 <+bridge> [ddnet] so i guess i repair the ddnet maps ^^ 12:15 <+bridge> [ddnet] can't u ignore that byte 😄 12:15 <+bridge> [ddnet] why would it error on a reserved byte? 12:15 <+bridge> [ddnet] since reserved means that it could be used in the future 12:15 <+bridge> [ddnet] so it should be 0 for now 12:15 <+bridge> [ddnet] so thats why it shouldnt error 12:15 <+bridge> [ddnet] future proof 12:16 <+bridge> [ddnet] hm 12:17 <+bridge> [ddnet] i dont go that far with forwards compatibility 12:17 <+bridge> [ddnet] i mean i might do that for this exact problem if it happens on too many maps 12:18 <+bridge> [ddnet] but if there are few enough maps i would rather fix the maps 12:20 <+bridge> [ddnet] well maybe it was uninitialized for these maps in some editor version 12:20 <+bridge> [ddnet] @Patiga I would check old ddrace client 12:21 <+bridge> [ddnet] It could be an artifact from the port to 0.6 which introduced a lot of changes 12:21 <+bridge> [ddnet] the repository ddnet is based on? 12:21 <+bridge> [ddnet] I think so ddrace/ddrace iirc 12:23 <+bridge> [ddnet] https://github.com/DDRace/teeworlds this one? 12:24 <+bridge> [ddnet] Yep 12:24 <+bridge> [ddnet] I think we didn't ship a separate map conversion tool back then, so it should be part of the client if it ever was used 12:34 <+bridge> [ddnet] huh seems to be completely unused 12:36 <+bridge> [ddnet] TIL you can do `git log -Sm_Reserved` to get all commits that change a line with that string 12:48 <+bridge> [ddnet] @Patiga not sure how the implementation was, but maybe we kept this byte uninitialized accidentally 13:29 <+bridge> [ddnet] interesting, I'm currently figuring out how many maps in the archive have this problem, the number seems to be below 100 though 13:53 <+bridge> [ddnet] ~50 occurrences in the map archive 13:54 <+bridge> [ddnet] i think with such a low number i would rather keep it as an error, fix the ddnet maps if that is okay 14:02 <+bridge> [ddnet] yes 14:02 <+bridge> [ddnet] @Patiga you can send me the fixed maps 14:33 <+bridge> [ddnet] Go is easy to use: https://github.com/def-/adventofcode-2020/blob/master/day13a.go 14:54 <+bridge> [ddnet] Robert just went god mode 14:54 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/787678869184446525/unknown.png 14:56 <+bridge> [ddnet] what is that? 14:57 <+bridge> [ddnet] https://github.com/teeworlds/teeworlds/pull/2825 14:58 <+bridge> [ddnet] oh, fancy 14:59 <+bridge> [ddnet] u can learn go in 1 day 14:59 <+bridge> [ddnet] its rly ez 15:10 <+bridge> [ddnet] Hello everyone, where can I download the trainfng server. (fng server withh /spawn and /team commands). 15:11 <+bridge> [ddnet] can't find 15:11 <+bridge> [ddnet] https://github.com/35niavlys/teeworlds-trainfng 15:32 <+ChillerDragon> SpookyDrag seems to be a new map also the other map names sound new so i doubt it is a artifact fr from DDRace/teeworlds times 16:35 <+bridge> [ddnet] You know what would make me extremely happy? If spotify would stop breaking google cast every other day 16:36 <+bridge> [ddnet] What level of incompetence is required to break something 5 times a week? 16:36 <+bridge> [ddnet] spotify mobile is so broken too 16:37 <+bridge> [ddnet] i watch one of those dumb "watch this video and you won't have ads for 30 minutes" and it gives me ads 5 minutes later 16:39 <+bridge> [ddnet] Atleast we don’t get ads with spotify premium anymore, that was one annoying bug 17:19 <+bridge> [ddnet] @Learath2 I have a mac now 17:19 <+bridge> [ddnet] Apparently mac can render ime cocoaview the fine on top of fullscreen games? 17:19 <+bridge> [ddnet] Apparently mac can render ime cocoaview just fine on top of fullscreen games? 17:20 <+bridge> [ddnet] eeeeh sometimes, if it feels like it 17:20 <+bridge> [ddnet] Oh 17:20 <+bridge> [ddnet] That's worse than not being able to at all 17:20 <+bridge> [ddnet] :realsmiley: 17:21 <+bridge> [ddnet] Oh well I can't find anything about ime for mac 17:21 <+bridge> [ddnet] There is no information for most anything about mac, your best bet is to form a company developing apps, become extremely popular so you can get enterprise support and ask apple 17:22 <+bridge> [ddnet] Or reverse engineer appkit like I did 17:22 <+bridge> [ddnet] :cirBlech: 17:22 <+bridge> [ddnet] I guess windows is at least somewhat ok in term of exposing data 17:23 <+bridge> [ddnet] There definitely is a way to get the data out of the IME 17:23 <+bridge> [ddnet] On mac? 17:24 <+bridge> [ddnet] Yep 17:24 <+bridge> [ddnet] https://developer.apple.com/documentation/inputmethodkit?language=objc I spent a couple hours digging around here 17:25 <+bridge> [ddnet] I think you just need to figure out what obscure or hidden api they are using to get a handle to the IMKServer 17:25 <+bridge> [ddnet] :realsmiley: 17:26 <+bridge> [ddnet] Never done mac stuff before. 17:26 <+bridge> [ddnet] After you have a handle it's not too hard to get the candidates out. I gave up after 4-5 hours digging around in AppKit, but radare2 is sooo slow with a 30MB binary 17:27 <+bridge> [ddnet] @TsFreddie intel mac or arm mac? 17:27 <+bridge> [ddnet] Intel mac 17:27 <+bridge> [ddnet] Is my 2017 macbook pro. My mom was using it before. 17:27 <+bridge> [ddnet] I should get an arm mac sometime 17:28 <+bridge> [ddnet] They say the performance is quite great 17:28 <+bridge> [ddnet] Though I doubt I'll ever have the money for one, Apple is always out of their minds with their pricing 17:28 <+bridge> [ddnet] Ye. Macbooks are pretty expensive tho. I don't think I'll get a new one any time soon. 17:30 <+bridge> [ddnet] Maybe I can trade in a kidney for a Macbook 17:32 <+bridge> [ddnet] :realsmiley: online trade in, mail your kidney 17:32 <+bridge> [ddnet] :realsmiley: contactless trade in, mail your kidney 17:32 <+bridge> [ddnet] This is funnier 18:26 <+bridge> [ddnet] I can't figure out how to start this server (need LAN sv_register 0) where is start file like a DDnet_server.exe https://github.com/Jupeyy/teeworlds-fng2-mod/tree/fng_06 18:28 <+bridge> [ddnet] you need to compile it yoursef 18:28 <+bridge> [ddnet] you need to compile it yourself 18:30 <+bridge> [ddnet] so good, but what is needed for this and what order of actions can there be a guide? 18:41 <+bridge> [ddnet] <Дядя Женя> do you only have cl_chat_old now? 18:49 <+bridge> [ddnet] <Дядя Женя> @deen pls I need some help 18:49 <+bridge> [ddnet] <Дядя Женя> @Learath2 could also help 18:49 <+bridge> [ddnet] <Дядя Женя> I finally want to PR color picker (cool feature ofc) but the thing I stuck at is editboxes. I don't undestand how to use them 18:50 <+bridge> [ddnet] <Дядя Женя> I need an editboxes like in editor with all editor features supported. `HEX` editbox and `Clamped Number` editbox 18:51 <+bridge> [ddnet] @Phorravie readme.md has full tutorial, isn't it? 18:51 <+bridge> [ddnet] @Phorravie readme.md has full tutorial, hasn't it? 18:51 <+bridge> [ddnet] <Дядя Женя> I thought you wanted to say that DDNet has a documentaion on their code and nearly died out of laugh 18:52 <+bridge> [ddnet] lul 18:54 <+bridge> [ddnet] <Дядя Женя> Editboxes explaination pleeeease 🙏 18:57 <+bridge> [ddnet] what don't you understand about them? 18:59 <+bridge> [ddnet] <Дядя Женя> @Learath2 how to make them actually... I made a HEX editbox and convert value from it, but I need a way to create only allowed characters and set max length 18:59 <+bridge> [ddnet] <Дядя Женя> How can I do it? 19:00 <+bridge> [ddnet] uf, idk did you check how cinaera did it for the original color thing in editor? 19:00 <+bridge> [ddnet] if not I would just check after every change and if the new character(s) aren't valid delete them 19:06 <+bridge> [ddnet] yo everybody, someone is pro in PHP xD ? 19:07 <+bridge> [ddnet] @b0th https://dontasktoask.com/ 19:07 <+bridge> [ddnet] <Дядя Женя> https://cdn.discordapp.com/attachments/293493549758939136/787742614077308928/unknown.png 19:08 <+bridge> [ddnet] <Дядя Женя> Well, nice `DrawCircle()` 19:08 <+bridge> [ddnet] <Дядя Женя> Who broke it? 19:08 <+bridge> [ddnet] <Дядя Женя> Worked perfectly before I've updated to ddnet-master 19:12 <+bridge> [ddnet] <Дядя Женя> ok, it somehow didn't clear the texture now, fixed 20:11 <+bridge> [ddnet] @gerdoe ohhh tnks 21:11 <+bridge> [ddnet] @b0th what do you need 21:33 <+bridge> [ddnet] Anyone have any experience working with massive datasets and visualising them? 21:35 <+bridge> [ddnet] I want to extract audit data from the entire teehistorian archive but it gets MASSIVE, a couple of months I can just put in json and use very naive O(n) algorithms on but even that makes my website sloow 21:38 <+bridge> [ddnet] @Learath2 web? 21:38 <+bridge> [ddnet] i see the fancy people use R for statistics stuff 21:38 <+bridge> [ddnet] https://www.r-project.org/ 21:38 <+bridge> [ddnet] Yep, I'm wondering how things like elasticsearch handle their massive datasets e.g. 21:39 <+bridge> [ddnet] I obv can't make the user download almost a gb of raw data to display, so I need to either paginate or precalculate at the server 21:41 <+bridge> [ddnet] @Learath2 what exactly u want to visualize? 21:41 <+bridge> [ddnet] and what would be an example for a search query 21:41 <+bridge> [ddnet] u want to view X player run on x map? 21:42 <+bridge> [ddnet] maybe build some kind of index 21:42 <+bridge> [ddnet] idk tho im not an expert 21:42 <+bridge> [ddnet] I have moderator actions 21:43 <+bridge> [ddnet] I want to visualize them over the "calendar" sort of like github does for your commit activity 21:44 <+bridge> [ddnet] and ur current aproach is? 21:45 <+bridge> [ddnet] I bundle the entire activity log and use js to filter/query it 21:45 <+bridge> [ddnet] maybe u can extract data from AUTH_LOGIN to AUTH_LOGOUT 21:45 <+bridge> [ddnet] O(n) filtering, O(n) lookup 21:46 <+bridge> [ddnet] js :pepe_straight: 21:47 <+bridge> [ddnet] Actually I think I can make the dataset much much much smaller so I can visualize for now 21:47 <+bridge> [ddnet] filter AUTH_LOGIN TO AUTH_LOGOUT and strip everything that isnt a CONSOLE_COMMAND(-10) ? 21:47 <+bridge> [ddnet] xd 21:47 <+bridge> [ddnet] idk 21:48 <+bridge> [ddnet] Still want to know if anyone has any ideas working with these kinds of things though. Do you do processing on the server? How much do you send the client? 21:48 <+bridge> [ddnet] i doubt anyone sends 1gb of data to a client 21:50 <+bridge> [ddnet] Despite what you think I'm obviously not retarded 😄 21:51 <+bridge> [ddnet] :monkalaugh: 21:51 <+bridge> [ddnet] That is why I'm asking how people usually work with these datasets 21:51 <+bridge> [ddnet] ddnet already works with a kinda big dataset doesnt it? ranks teamranks and the website 21:53 <+bridge> [ddnet] that's true, we put it in a database where we can easily have indexes and we pre calculate wherever possible 21:53 <+bridge> [ddnet] We don't do much visualisation though 21:53 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/787784320341114900/unknown.png 21:53 <+bridge> [ddnet] :pepe_straight: 21:54 <+bridge> [ddnet] lags a bit when u select 6 months or more tho 21:54 <+bridge> [ddnet] xd 22:26 <+bridge> [ddnet] too much data i guess 22:31 <+bridge> [ddnet] Is there anything I've promised to do but haven't yet? I've already wasted most of this day, might aswell waste the rest 23:07 <+bridge> [ddnet] <Дядя Женя> @deen could you give me teehistorian archives? 23:11 <+bridge> [ddnet] <Дядя Женя> Do you save inputs of player who did not finish map? 23:16 <+bridge> [ddnet] <Дядя Женя> Probably not ... 23:22 <+bridge> [ddnet] We save all inputs 23:25 <+bridge> [ddnet] why do you want full access? 23:58 <+bridge> [ddnet] <Дядя Женя> @deen wanna parse them and find cheaters 23:58 <+bridge> [ddnet] <Дядя Женя> If you save all inouts, even when player did not finish it could show some interesting results