12:25 <+bridge> [ddnet] 12:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575266930269749248/unknown.png 12:25 <+bridge> [ddnet] where does this even arrive? 12:57 <+bridge> [ddnet] github down 12:59 <+bridge> [ddnet] online again 13:32 <+bridge> [ddnet] It goes to the Ubuntu/Debian maintainers of the DDNet package @ChillerDragon 13:32 <+bridge> [ddnet] Right side here: https://packages.debian.org/sid/ddnet 13:58 <+bridge> [ddnet] Fuck this, filebased scoresystem doesnt work again on my linux server. Why does it only work sometimes?! 14:01 <+bridge> [ddnet] now it works again 14:01 <+bridge> [ddnet] .____. 14:01 <+bridge> [ddnet] i dont get this 15:15 <+bridge> [ddnet] what doesnt work? 15:16 <+bridge> [ddnet] file problems can be caused by permission errors and missing directorys or incorrect paths 16:40 <+bridge> [ddnet] Hello, I'm advertising for my new blog post where I talk about my new hardware, my first experience with Arch Linux and my Windows virtual machine for gaming! https://timakro.de/blog/new-hardware-switching-to-arch-linux/ 16:49 <+bridge> [ddnet] i need a adblocker for discord 16:49 <+bridge> [ddnet] -.- 16:50 <+bridge> [ddnet] jk nice blog @timakro i liked the thingy were you built this flying drone or what ever 16:51 <+bridge> [ddnet] here Quadcopter programming bare metal 16:51 <+bridge> [ddnet] big fan 16:51 <+bridge> [ddnet] @ChillerDragon can you gimme an adblocker against fok? 16:52 <+bridge> [ddnet] @ChillerDragon will be continued 😄 16:52 <+bridge> [ddnet] waiting for a part from china xD 17:18 <+bridge> [ddnet] @FluffiexD fok u 17:28 <+bridge> [ddnet] fokkonaut him? :troll: 17:29 <+bridge> [ddnet] u 18:01 <+bridge> [ddnet] fokko me 18:34 <+bridge> [ddnet] fik you! 18:35 <+bridge> [ddnet] yo @fokkonaut create an map with fikmesan and call it fikkonaut 18:35 <+bridge> [ddnet] xd 18:35 <+bridge> [ddnet] a* 18:35 <+bridge> [ddnet] :GWatproHyperPoggers: 18:35 <+bridge> [ddnet] Fikkonaut 18:36 <+bridge> [ddnet] fokmesoon 18:40 <+bridge> [ddnet] U 19:35 <+bridge> [ddnet] @timakro did you give proton a try, I was looking to do a passthrough setup until I tried proton 19:35 <+bridge> [ddnet] it works quite well really 19:35 <+bridge> [ddnet] proton is gud 21:02 <+bridge> [ddnet] First time I replied to a scam email :/ 21:02 <+bridge> [ddnet] why 21:02 <+bridge> [ddnet] Worked something like this: https://www.makeuseof.com/tag/spot-chinese-domain-name-scam/ 21:03 <+bridge> [ddnet] Because I didn't recognize it as a scam 21:29 <+bridge> [ddnet] @Learath2 i guess, but don't want to do that. tried it with one game, it worked okayish, i had some issue which i don't remember why i went to dual booting again. then it doesn't work for every game, there's performance issues, it won't work with new gpu features like raytracing for a long time, and the portion of games i have in shops other than steam is growing 21:32 <+bridge> [ddnet] i really appreciate what they're doing with proton but i'm sick of wine + games 21:33 <+bridge> [ddnet] some games definitely don't work well yeah 21:33 <+bridge> [ddnet] the ones I frequently play work fine, and I keep a dual boot for anything new I want to try, but I certainly do understand the desire for passthrough 21:33 <+bridge> [ddnet] ah i remember it was overcooked i tried it with 21:33 <+bridge> [ddnet] i think in home streaming didnt work 21:34 <+bridge> [ddnet] yeah that's a good approach 21:34 <+bridge> [ddnet] I would love to have passthrough if only i could get the card to be used on linux when the vm isnt booted up 21:34 <+bridge> [ddnet] i just switched after proton came 21:34 <+bridge> [ddnet] but trying if proton works and otherwise using dual booting sounds good 21:35 <+bridge> [ddnet] i have pretty good experience with wine tbh 21:35 <+bridge> [ddnet] DXVK = even newer games work 21:35 <+bridge> [ddnet] yep, i pretty much decided to play any gpu heavy games on windows now, just teeworlds on linux right now ^^ 21:35 <+bridge> [ddnet] thats sad, i'd like to push the usage stats towards linux 21:36 <+bridge> [ddnet] i didn't have a good experience with wine, i don't really know what proton does different or if it's just that wine has gotten much better but proton works really well for a lot of the games 21:36 <+bridge> [ddnet] like dark souls works amazingly e.g. 21:36 <+bridge> [ddnet] i guess they just do the testing and configuring for you 21:36 <+bridge> [ddnet] @Learath2 proton converts directx calls to vulkan calls 21:37 <+bridge> [ddnet] they got valve support so 21:37 <+bridge> [ddnet] i think wine uses opengl 21:37 <+bridge> [ddnet] i believe they contributed major stuff to wine 21:37 <+bridge> [ddnet] ? 21:37 <+bridge> [ddnet] proton is basically many wine versions 21:37 <+bridge> [ddnet] it always uses the wine version worked best 21:38 <+bridge> [ddnet] and some other tricks 21:38 <+bridge> [ddnet] wine 4 got vulkan 21:39 <+bridge> [ddnet] they got envy 21:39 <+bridge> [ddnet] might be that thats the work of valve actually ^^ 21:39 <+bridge> [ddnet] no diea 21:39 <+bridge> [ddnet] proton doesn't do anything iirc, it's like that tool lutris or sth 21:39 <+bridge> [ddnet] no idea 21:39 <+bridge> [ddnet] well you need to use wine staging ofc 21:39 <+bridge> [ddnet] no its not valve work 21:39 <+bridge> [ddnet] that wine is working on vulkan too 21:39 <+bridge> [ddnet] they dont use dxvk 21:39 <+bridge> [ddnet] i just know they paid people to work on wine 21:39 <+bridge> [ddnet] best would be to make all games linux available natively 21:39 <+bridge> [ddnet] why is it so hard 21:40 <+bridge> [ddnet] directx 21:40 <+bridge> [ddnet] bcs linux = 100000 differences xD 21:40 <+bridge> [ddnet] yeah 21:40 <+bridge> [ddnet] its microsoft marketing shit 21:40 <+bridge> [ddnet] actually u cant only blame microsoft 21:40 <+bridge> [ddnet] they made shady things to remove opengl on windows vista 21:40 <+bridge> [ddnet] tbh it's quite hard to have your game not work cross platform nowadays 21:40 <+bridge> [ddnet] and their whole marketing saying opengl is worse 21:40 <+bridge> [ddnet] there needs to be more standard between all the tools, drivers etc 21:41 <+bridge> [ddnet] @Jupstar ✪ windows pushes their standards by putting millions 21:41 <+bridge> [ddnet] yeah modern game engines support alot of cross plattform 21:41 <+bridge> [ddnet] directx is the only thing I can think of being a half decent reason 21:41 <+bridge> [ddnet] its not the way to go 21:41 <+bridge> [ddnet] but be honest SDL is the proof it doesnt really work good xD 21:41 <+bridge> [ddnet] what doesnt work good 21:41 <+bridge> [ddnet] too many bugs and work arounds always 21:41 <+bridge> [ddnet] ehh idk 21:42 <+bridge> [ddnet] but for big productions it might still be a lot of money that goes into all the overhead of QA and testing 21:42 <+bridge> [ddnet] http://blog.wolfire.com/2010/01/Why-you-should-use-OpenGL-and-not-DirectX M$$$ 21:42 <+bridge> [ddnet] I'd really be okay with them releasing it untested for linux to begin with 21:42 <+bridge> [ddnet] and the linux market is so so tiny 21:42 <+bridge> [ddnet] @timakro because windows marketing 21:42 <+bridge> [ddnet] and because 21:42 <+bridge> [ddnet] that would help fuel the market 21:43 <+bridge> [ddnet] they would never do that, big companies are so scared of their name getting destroyed because something isn't working or not supported well 21:43 <+bridge> [ddnet] opengl and directx are just apis/interfaces basically, they don't specify alot of the underlaying implementation 21:43 <+bridge> [ddnet] the main reason is windows comes preinstalled on the computers 21:43 <+bridge> [ddnet] ppl dont want the hassle to install a OS 21:43 <+bridge> [ddnet] directx is not hugely different, so yes, use opengl xD 21:43 <+bridge> [ddnet] iirc directx does do some things that aren't too easy to emulate with opengl 21:43 <+bridge> [ddnet] wine people were complaining about it a couple years ago 😛 21:44 <+bridge> [ddnet] directx tries to support alot of extensions too 21:44 <+bridge> [ddnet] like ray tracing xD 21:44 <+bridge> [ddnet] ```Microsoft initiated a fear, uncertainty, and doubt (FUD) campaign against OpenGL around the release of Windows Vista. In 2003, Microsoft left the OpenGL Architecture Review Board -- showing that they no longer had any interest in the future of OpenGL. Then in 2005, they gave presentations at SIGGRAPH (special interest group for graphics) and WinHEC (Windows Hardware Engineerin 21:44 <+bridge> [ddnet] i'm not sure but doesn't every engine support either opengl or vulkan? 21:44 <+bridge> [ddnet] @timakro they may do their own game engine too 21:45 <+bridge> [ddnet] and unreal engine games are usually released on epic shit store which is windows only 21:45 <+bridge> [ddnet] tbh all opengl versions before 4.0 are mess xD 21:45 <+bridge> [ddnet] vulkan is the solution 21:45 <+bridge> [ddnet] @Jupstar ✪ the blog is a bit old already xd 21:45 <+bridge> [ddnet] unreal and unity support opengl, vulkan and directx iirc 21:45 <+bridge> [ddnet] 3.3 = 4.0 without tesselation btw 21:45 <+bridge> [ddnet] there was no vulkan back in time 21:45 <+bridge> [ddnet] unity sucks 21:45 <+bridge> [ddnet] godot best 21:46 <+bridge> [ddnet] there are a lot of unreal engine games that aren't released on epic store 21:46 <+bridge> [ddnet] https://godotengine.org/ 21:46 <+bridge> [ddnet] pubg is powered by ue4 e.g. 21:46 <+bridge> [ddnet] do they want force it in future @Learath2 ? 21:46 <+bridge> [ddnet] @Learath2 yeah u dont know if they will force it 21:46 <+bridge> [ddnet] I haven't seen any talks relating to that @Jupstar ✪ 21:46 <+bridge> [ddnet] knowing they have been buying game releases 21:46 <+bridge> [ddnet] ok 21:47 <+bridge> [ddnet] it wouldnt suprise me 21:47 <+bridge> [ddnet] I doubt they will, they already make a metric fuckton of money from the sales of ue games 21:47 <+bridge> [ddnet] it's also very nice that the entire engine source is available to you 21:47 <+bridge> [ddnet] @Ryozuki is godot pure opengl? 21:47 <+bridge> [ddnet] look the stupid comparisions they made back in time, as if brighness change means it improved, but dumb users believed it 21:47 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575408495537553411/comparison.png 21:48 <+bridge> [ddnet] @Jupstar ✪ yes i think they will also add vulkan 21:48 <+bridge> [ddnet] and its MIT and no royalities 21:48 <+bridge> [ddnet] interessing, they probs ran into insane amount of driver bugs already XD 21:48 <+bridge> [ddnet] basically all old AMD cards xD 21:48 <+bridge> [ddnet] or more like ATI 21:48 <+bridge> [ddnet] @Jupstar ✪ unlike us in this game they got shitload more contributors 21:48 <+bridge> [ddnet] xD 21:49 <+bridge> [ddnet] at the end thats why enginers are made 21:49 <+bridge> [ddnet] so u dotn have to hassle wiht it 21:49 <+bridge> [ddnet] godot hmm, where do i know this 21:49 <+bridge> [ddnet] deal* 21:49 <+bridge> [ddnet] I think they had a couple GSoC projects up 21:49 <+bridge> [ddnet] whats gsoc 21:49 <+bridge> [ddnet] google summer of code 21:50 <+bridge> [ddnet] http://lmgtfy.com/?q=GSoC 21:50 <+bridge> [ddnet] xd 21:50 <+bridge> [ddnet] yep, I wanted to finish up their JavaClassWrapper 21:50 <+bridge> [ddnet] wait, is there smth like this for duckduckgo!? 21:50 <+bridge> [ddnet] but then I noticed that I don't really have time for anything but school :/ 21:50 <+bridge> [ddnet] i want to learn kotlin and see why its better than java 21:50 <+bridge> [ddnet] but im 2 lazy 21:50 <+bridge> [ddnet] lmddgtfy.com ? 21:50 <+bridge> [ddnet] 😃 21:51 <+bridge> [ddnet] https://lmddgtfy.net/ 😛 21:51 <+bridge> [ddnet] uhh it even introduces typos 21:51 <+bridge> [ddnet] in the animation 21:51 <+bridge> [ddnet] I'm supposed to be polishing my Java, but instead I'm helping people with their c++ homework 21:52 <+bridge> [ddnet] :poggers: 21:52 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575409519270821888/unknown.png 21:52 <+bridge> [ddnet] I have a thing for CS homework, I just cant stop doing other peoples 21:52 <+bridge> [ddnet] wow in only 4 years 21:52 <+bridge> [ddnet] not bad 21:52 <+bridge> [ddnet] 😛 21:52 <+bridge> [ddnet] i usually have 1 commit / 10 years xd 21:52 <+bridge> [ddnet] XD 21:54 <+bridge> [ddnet] i run the cemu wii u emulator on my windows vm to replay zelda botw 21:54 <+bridge> [ddnet] emulator in virtual machine 😄 21:54 <+bridge> [ddnet] I'm playing botw on switch, right now 😛 21:54 <+bridge> [ddnet] i played it on wii u and then sold my wii u ^^ 21:54 <+bridge> [ddnet] such a great game 21:55 <+bridge> [ddnet] the game looks great without these stencil outline effects xD 21:55 <+bridge> [ddnet] saw a video while ago 21:55 <+bridge> [ddnet] oh and in 60fps full hd 😄 21:55 <+bridge> [ddnet] the sheer size of the map still surprises me 21:55 <+bridge> [ddnet] I love that shader/effect 21:55 <+bridge> [ddnet] the cell shading look is nice 21:55 <+bridge> [ddnet] stylized graphics done well look soo good 21:55 <+bridge> [ddnet] looks* 21:55 <+bridge> [ddnet] i hate it xD 21:55 <+bridge> [ddnet] tbh when you have a higher resolution you begin to see the limits of this style 21:56 <+bridge> [ddnet] cemu are the people that wouldn't make their emulator open source right? 21:56 <+bridge> [ddnet] right :/ 21:56 <+bridge> [ddnet] yeah, remember reading the stupidest statement about open source from the guy 21:57 <+bridge> [ddnet] actually they seem to be supportive once you hack into it via replacing shared libraries and prove that your skilled 21:57 <+bridge> [ddnet] see cemuhook 21:57 <+bridge> [ddnet] actually they seem to be supportive once you hack into it via replacing shared libraries and prove that you're skilled 21:58 <+bridge> [ddnet] they should really just release the source 21:59 <+bridge> [ddnet] as they put it they are scared of getting overrun with patches 21:59 <+bridge> [ddnet] yeah but they are free not to accept any PR 21:59 <+bridge> [ddnet] yep 21:59 <+bridge> [ddnet] and people would be free to fork, i think it's just ego as always 22:00 <+bridge> [ddnet] they probably don't want people using a forked "cemu" that would be getting patched for random games 22:00 <+bridge> [ddnet] yes 22:00 <+bridge> [ddnet] maybe they stole information from nintendo 22:00 <+bridge> [ddnet] or that 😄 22:00 <+bridge> [ddnet] the community might force them to add the hack fixes then 22:00 <+bridge> [ddnet] rpcs3 e.g. is doing quite well 22:00 <+bridge> [ddnet] they don't accept any hacks either 22:01 <+bridge> [ddnet] I wanted to contribute a little to rpcs3 but playstation 3 is such a weird machine 22:02 <+bridge> [ddnet] i agree the source should be public, but i also understand them, it's there income after all, probably scary 22:02 <+bridge> [ddnet] i can't image 22:02 <+bridge> [ddnet] oh, they get paid for it? 22:02 <+bridge> [ddnet] its crowd funded or patreon 22:02 <+bridge> [ddnet] not sure 22:02 <+bridge> [ddnet] well it makes more sense now 22:02 <+bridge> [ddnet] https://www.patreon.com/cemu 22:03 <+bridge> [ddnet] money is always the problem in this world 😄 22:03 <+bridge> [ddnet] but I highly doubt anyone would stop funding them tbh 22:03 <+bridge> [ddnet] I should try coding an emulator sometime, maybe a n64 one 22:04 <+bridge> [ddnet] @Jupstar ✪ dont tell me u like borderlands graphics 22:04 <+bridge> [ddnet] those look horrib le xd 22:05 <+bridge> [ddnet] idk how ppl like that 22:05 <+bridge> [ddnet] as i said, i hate cell shading xd 22:06 <+bridge> [ddnet] borderlands is not really my thing, game looks too realistic for it to go well with stylized graphics imho 22:06 <+bridge> [ddnet] dota 2 best 22:06 <+bridge> [ddnet] and its linux native 22:06 <+bridge> [ddnet] anyone want to do some code review for me? just a skim over 22:06 <+bridge> [ddnet] is it smth big 22:07 <+bridge> [ddnet] https://gist.github.com/Learath2/83c3fb0bb92b4d9c31cf4aea38a4faa2 just 300 lines 22:07 <+bridge> [ddnet] that huge image though... discord pls 22:08 <+bridge> [ddnet] fire!! 22:08 <+bridge> [ddnet] I don't really like coding in c++ 22:08 <+bridge> [ddnet] oh i thought it was ddnet xd 22:08 <+bridge> [ddnet] no it's not ddnet, if it was ddnet I'd have put up a PR 😛 22:09 <+bridge> [ddnet] it's a friends homework, it works for a quick go at it, but I'm not too sure of the OOP and the usage of c++ 22:09 <+bridge> [ddnet] CStockItem{t...} is ... here a spread operator? 22:10 <+bridge> [ddnet] that was totally unnecessary, but kinda yeah 22:11 <+bridge> [ddnet] u use a spread op to initialize 2 values? :o 22:11 <+bridge> [ddnet] told you, totally unnecessary 😄 22:11 <+bridge> [ddnet] and why is it a template 22:11 <+bridge> [ddnet] oh 22:11 <+bridge> [ddnet] for the spread 22:11 <+bridge> [ddnet] yeah 22:11 <+bridge> [ddnet] xd 22:11 <+bridge> [ddnet] so I can pass on 😃 22:12 <+bridge> [ddnet] is this some code for mcdonalds xd 22:12 <+bridge> [ddnet] basically 22:12 <+bridge> [ddnet] TAX_RATE 0.08 22:13 <+bridge> [ddnet] thats a nice tax 22:13 <+bridge> [ddnet] here its 21% 22:13 <+bridge> [ddnet] Specifically I'm not too sure about `CStockItem` and it's derived classes 22:13 <+bridge> [ddnet] the naming is definitly bad 22:13 <+bridge> [ddnet] ignore that they are basically the same (it was required by the homework to use polymorphism for it) 22:13 <+bridge> [ddnet] CStockFluidItem 22:13 <+bridge> [ddnet] or smth 22:13 <+bridge> [ddnet] would be better 22:14 <+bridge> [ddnet] im bad at naming too xd 22:14 <+bridge> [ddnet] but CStockItemType2 3 looks bad 22:14 <+bridge> [ddnet] yep definitely, I should have defined an enum with the types and named the classes properly 22:14 <+bridge> [ddnet] i would also remove the template i dont know why its used 22:14 <+bridge> [ddnet] how about the `std::static_pointer_cast(std::make_shared(Count, Price, Name, Type));` 😄 22:14 <+bridge> [ddnet] It makes my eyes bleed 22:14 <+bridge> [ddnet] xd 22:15 <+bridge> [ddnet] std::vector, int>> m_vIngredients; 22:15 <+bridge> [ddnet] does it rly need to be a pointer 22:16 <+bridge> [ddnet] yep, because the stock decreases as people order 22:16 <+bridge> [ddnet] so I need to point to the item and not have a copy of it 22:17 <+bridge> [ddnet] also `std::tuple` is so awkward to use, is `std::get` really the way to use it properly? 22:17 <+bridge> [ddnet] :poggers: 22:17 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575415901285777438/unknown.png 22:17 <+bridge> [ddnet] this definitly looks ugly xd 22:17 <+bridge> [ddnet] yeah it makes me sad to see that part 22:18 <+bridge> [ddnet] i dont like working with data structures and the c++ standard library 22:18 <+bridge> [ddnet] @Learath2 3 item types have a int and a double right? i think u dont inheritance here 22:18 <+bridge> [ddnet] u could rly have only one class 22:19 <+bridge> [ddnet] yeah I told you that already 22:19 <+bridge> [ddnet] ups im blind 22:19 <+bridge> [ddnet] "ignore that they are basically the same (it was required by the homework to use polymorphism for it)" 😛 22:19 <+bridge> [ddnet] I never would have made such an abomination if I didn't have to 22:19 <+bridge> [ddnet] u did it or a friend?? 22:19 <+bridge> [ddnet] i cant see u doing this 22:19 <+bridge> [ddnet] xd 22:20 <+bridge> [ddnet] tuples have a v.first and v.second 22:20 <+bridge> [ddnet] I did it as a quick coding exercise 22:20 <+bridge> [ddnet] i guess std::get is a way to get them but u can do it directly 22:20 <+bridge> [ddnet] it was a friends homework, i just like doing those for some reason 22:21 <+bridge> [ddnet] @timakro what else is there? boost data structures? 22:21 <+bridge> [ddnet] @Learath2 i present u smth that will make u die: https://en.cppreference.com/w/cpp/utility/any 22:21 <+bridge> [ddnet] @Learath2 there is nothing else 22:21 <+bridge> [ddnet] you could use another language 22:21 <+bridge> [ddnet] 😄 22:21 <+bridge> [ddnet] or hack ddnet 22:21 <+bridge> [ddnet] and dont touch data 22:21 <+bridge> [ddnet] xD 22:22 <+bridge> [ddnet] I don't really use c++ for anything, I'm more of a C person 22:22 <+bridge> [ddnet] coding in C is so simple and i like it 22:22 <+bridge> [ddnet] but c++ sometimes its a mess xd 22:22 <+bridge> [ddnet] does vulkan also work as a complex state machine like opengl? 22:23 <+bridge> [ddnet] std::any? what does that even 22:23 <+bridge> [ddnet] @Learath2 hold any value type 22:23 <+bridge> [ddnet] ddnet doesn't use the standard library for data structures and the data is not too complicated 22:23 <+bridge> [ddnet] @Learath2 u have to cast it with 22:23 <+bridge> [ddnet] like all my prs to ddnet are mostly simple logic things 22:23 <+bridge> [ddnet] std::any_cast 22:23 <+bridge> [ddnet] xd 22:23 <+bridge> [ddnet] I kinda like the teeworlds safe-space 😛 22:24 <+bridge> [ddnet] yes 😃 22:24 <+bridge> [ddnet] no `std::map>;` 22:24 <+bridge> [ddnet] i will fix 5 more issues next october @deen 22:24 <+bridge> [ddnet] \o/ 22:24 <+bridge> [ddnet] @timakro xd 22:24 <+bridge> [ddnet] i didnt got my tshirt 22:24 <+bridge> [ddnet] so sad 22:24 <+bridge> [ddnet] I got mine 22:25 <+bridge> [ddnet] @Learath2 i've seen worse when i did a-star xD 22:25 <+bridge> [ddnet] they forgot me :( 22:25 <+bridge> [ddnet] i like std::map 22:25 <+bridge> [ddnet] that example was pretty tame 🙂 22:25 <+bridge> [ddnet] i made a homing grenade in teeworlds for chillerdragons mod with a star 22:25 <+bridge> [ddnet] it was terror 22:25 <+bridge> [ddnet] nooo your t-shirt 😦 22:25 <+bridge> [ddnet] they ripped you off 22:26 <+bridge> [ddnet] -.- 22:26 <+bridge> [ddnet] I really want to learn more c++, but I also want to stay the fuck away from it at the same time 22:26 <+bridge> [ddnet] I'm conflicted 22:26 <+bridge> [ddnet] i feel with you 22:26 <+bridge> [ddnet] i actually hated java but i made some mc plugins and kinda enjoyed it so i have confusing thoughts 22:27 <+bridge> [ddnet] heh, I also made a mc plugin or two back in the day 22:27 <+bridge> [ddnet] i think you can't know and use ALL c++, everyone's just using a subspace of features, right? 22:27 <+bridge> [ddnet] knowing all c++ is impossible 22:27 <+bridge> [ddnet] @timakro yeah surely, but c++ people seem atleast more fluent with the standard library and the template metaprogramming stuff 22:27 <+bridge> [ddnet] @Learath2 best thing is <=> a.k.a spaceship operator coming in c++20 :troll: 22:27 <+bridge> [ddnet] 3 way comparision 22:27 <+bridge> [ddnet] what I HAVE to practice more is OOP itself 22:27 <+bridge> [ddnet] ye i find ur code a ugly example of oop 22:27 <+bridge> [ddnet] idk 22:28 <+bridge> [ddnet] i am bad reviewing since i never done it 22:28 <+bridge> [ddnet] xd 22:28 <+bridge> [ddnet] I'm so bad at designing out the structure, I mean I always end up with sth that works 22:28 <+bridge> [ddnet] it's never very clean OOP, like that example, all the classes depended on eachother, very bad encapsulation 22:29 <+bridge> [ddnet] i have zero experience with the architecture of big projects with OOP 22:29 <+bridge> [ddnet] why u dont make a cstockitem interface and implement it with diferent classes 22:29 <+bridge> [ddnet] IStockItem 22:29 <+bridge> [ddnet] how is this game called in english 22:29 <+bridge> [ddnet] this dict.cc says ludo 22:29 <+bridge> [ddnet] https://www.dict.cc/?s=mensch%20%C3%A4rgere%20dich%20nicht 22:29 <+bridge> [ddnet] oop in big projects if well done its pleasure to code in well idk if i ever used a big project 22:29 <+bridge> [ddnet] xd 22:29 <+bridge> [ddnet] i did this with c++ oop 22:29 <+bridge> [ddnet] @Ryozuki that's what I had in mind at the beginning, but then I was like, y not just make it a base instead of having an interface 22:29 <+bridge> [ddnet] but mc forge uses lot of it and its fun 22:30 <+bridge> [ddnet] my architecture was TERRIBLE 22:30 <+bridge> [ddnet] interfaces are good 22:30 <+bridge> [ddnet] @timakro huh, some guy around here was asking for people to code ludo for him 22:30 <+bridge> [ddnet] you did it for him? 😛 22:30 <+bridge> [ddnet] teeworlds interfaces 22:30 <+bridge> [ddnet] arent good imo 22:30 <+bridge> [ddnet] i dont like them 22:30 <+bridge> [ddnet] they just useless 22:30 <+bridge> [ddnet] people would take turns, there was an AI you could play against and it was making sure the rules were not broken 22:31 <+bridge> [ddnet] ahem, not talking about that 22:31 <+bridge> [ddnet] @Learath2 hav u participated in a ludum dare? 22:31 <+bridge> [ddnet] i would enjoy doing it if i had any time xdd 22:31 <+bridge> [ddnet] u want to look at this code again let me find it ^^ 22:31 <+bridge> [ddnet] always wanted to, I either don't have the time or I'm way too depressed 22:31 <+bridge> [ddnet] it's a vicious cycle 22:32 <+bridge> [ddnet] but man why they never do a ludum dare in summer 22:32 <+bridge> [ddnet] when i got nothing to do 22:32 <+bridge> [ddnet] they do it in april and october 22:32 <+bridge> [ddnet] @timakro where is that fckn homing missile :( Why did you delete it? 22:32 <+bridge> [ddnet] fck it 22:32 <+bridge> [ddnet] yeah I would def do one in summer 22:32 <+bridge> [ddnet] hahaha 22:32 <+bridge> [ddnet] oh https://gamesdonequick.com/ its soon ^^ always fun to watch 22:32 <+bridge> [ddnet] @Ryozuki siO does gamejams every so often 22:33 <+bridge> [ddnet] the homing missile still haunting me, quite ironic, like it would be homing towards me 22:33 <+bridge> [ddnet] @timakro please send code 22:33 <+bridge> [ddnet] i dont have it anymore 22:33 <+bridge> [ddnet] Whaaat 22:33 <+bridge> [ddnet] hy 22:33 <+bridge> [ddnet] why* 22:34 <+bridge> [ddnet] @timakro how did you have it follow? linear interpolation? 22:35 <+bridge> [ddnet] the pathfinding was tile based 22:35 <+bridge> [ddnet] yeah there was some interpolation to make it look smooth 22:35 <+bridge> [ddnet] hi fokko 22:36 <+bridge> [ddnet] i mean, i have made a very simple version of a homing missile, but without real path finding xD its in https://github.com/DDNetPP/DDNetPP/blob/master/src/game/server/entities/homing_missile.cpp 22:36 <+bridge> [ddnet] like was it just every tick taking a step towards you on the shortest path? 22:36 <+bridge> [ddnet] hi jao 22:36 <+bridge> [ddnet] i dont know anymore 22:36 <+bridge> [ddnet] i think it had an performance issue haha 22:36 <+bridge> [ddnet] sounds like a fun project 22:37 <+bridge> [ddnet] i needed to cap the distance, i never made it so that it could distribute the load accross multiple ticks 22:37 <+bridge> [ddnet] 35 mins @timakro 22:37 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575421032840560640/unknown.png 22:38 <+bridge> [ddnet] lmfao so its very short game 22:38 <+bridge> [ddnet] lol no 22:38 <+bridge> [ddnet] if 35 mins speedrun any% then its short af 22:38 <+bridge> [ddnet] damn, they got it all the way down to 35 22:38 <+bridge> [ddnet] @DingusFighter it's not glitchless lol 22:39 <+bridge> [ddnet] ye this guy dumb 22:39 <+bridge> [ddnet] i never saw a speedrun of this game 22:39 <+bridge> [ddnet] no idea how it works 22:39 <+bridge> [ddnet] a inbounds portal run :D 22:39 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575421480507015168/unknown.png 22:39 <+bridge> [ddnet] they just run for the castle? 22:39 <+bridge> [ddnet] always fun to watch 22:39 <+bridge> [ddnet] do you need to finish the 4 shrines on the plateau? 22:39 <+bridge> [ddnet] @timakro watch it 22:39 <+bridge> [ddnet] speedruns are amazing to watch 22:40 <+bridge> [ddnet] and if ur creator of the game ur gonna shit urself 100% 22:40 <+bridge> [ddnet] no i would find it funny 22:41 <+bridge> [ddnet] anyone saw the celeste speedrun of last agdq? 22:41 <+bridge> [ddnet] me 22:41 <+bridge> [ddnet] it was gud 22:41 <+bridge> [ddnet] i played that game so this was impressive 22:41 <+bridge> [ddnet] just play kaizo :troll: 22:41 <+bridge> [ddnet] @timakro you are not willing to redo the a* right? xD 22:41 <+bridge> [ddnet] NO 22:41 <+bridge> [ddnet] :lol: 22:42 <+bridge> [ddnet] but a tip: if you try to do the pathfinding in one tick you run into performance problems 22:42 <+bridge> [ddnet] why 22:42 <+bridge> [ddnet] just use anti ping + aimbot :troll: 22:42 <+bridge> [ddnet] unless you just want to go a range of 30 tiles or so 22:43 <+bridge> [ddnet] well idk the range 22:43 <+bridge> [ddnet] how to do it in multiple ticks then,m 22:43 <+bridge> [ddnet] might be more 22:43 <+bridge> [ddnet] it cant be 30 must be much more i guess 22:43 <+bridge> [ddnet] but it became a problem 22:44 <+bridge> [ddnet] yeah it becomes super hard then ^^ 22:44 <+bridge> [ddnet] sounds like too much for me xD 22:44 <+bridge> [ddnet] you can do it in one tick and just cap it 22:44 <+bridge> [ddnet] i dont have any idea of a* :o 22:44 <+bridge> [ddnet] i just looked at wikipedia 22:45 <+bridge> [ddnet] LOl 22:45 <+bridge> [ddnet] lol 22:46 <+bridge> [ddnet] @timakro botw speedrun used to abuse the magnet and blocks, dunnho how they do it now 22:48 <+bridge> [ddnet] i watched a few lets play episodes of my favorite channel, they thought they could use the physics engine to build a seesaw and catapult themselves to the shrine on the mountain. it was very disappointing ^^ 22:48 <+bridge> [ddnet] @fokkonaut the idea is you have an acceleration vector that always points towards the tee from the projectile, apply it each tick until your velocity vector is inline 22:48 <+bridge> [ddnet] @timakro 😄 22:49 <+bridge> [ddnet] @fokkonaut or you can do proper pathfinding yeah 22:50 <+bridge> [ddnet] getting a grenade bullet to look floating is hard enough, the code is in the chillerdragon mod 😄 22:50 <+bridge> [ddnet] xd 22:50 <+bridge> [ddnet] I have it already :p 22:50 <+bridge> [ddnet] i made a straight grenade 22:50 <+bridge> [ddnet] nice 22:50 <+bridge> [ddnet] its_a_rocket_then 22:50 <+bridge> [ddnet] @jao nice 22:51 <+bridge> [ddnet] pic 22:51 <+bridge> [ddnet] https://github.com/fokkonaut/BlockDDrace/blob/master/src/game/server/entities/straight_grenade.cpp 22:51 <+bridge> [ddnet] thanks ryo 22:51 <+bridge> [ddnet] You could even do a* every third tick or sth 22:52 <+bridge> [ddnet] why m_Owner != -1 and m_Owner >= 0 22:53 <+bridge> [ddnet] in other news, matcha is pretty enjoyable 22:54 <+bridge> [ddnet] @jao ? 22:54 <+bridge> [ddnet] :thonkery: 22:54 <+bridge> [ddnet] read correctly 22:54 <+bridge> [ddnet] makes sense 22:54 <+bridge> [ddnet] i mean 22:54 <+bridge> [ddnet] yea 22:54 <+bridge> [ddnet] i could make it both >= 0 22:55 <+bridge> [ddnet] m_Owner >= 0 <=> m_Owner != -1 22:56 <+bridge> [ddnet] @Ryozuki what does <=> do in c++20? 22:56 <+bridge> [ddnet] spaceship operator 22:56 <+bridge> [ddnet] 3 way comparison 22:56 <+bridge> [ddnet] @Learath2 3 way comparision 22:56 <+bridge> [ddnet] xd 22:56 <+bridge> [ddnet] also I saw std:🗺:contains in c++20, why wasn't that in before is beyond me 😛 22:56 <+bridge> [ddnet] WOW 22:56 <+bridge> [ddnet] xd 22:56 <+bridge> [ddnet] nice emoji 22:56 <+bridge> [ddnet] https://en.wikipedia.org/wiki/Three-way_comparison 22:56 <+bridge> [ddnet] `std::map::contains` 22:57 <+bridge> [ddnet] 22:57 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575425917887709235/unknown.png 22:57 <+bridge> [ddnet] :poggers: 22:57 <+bridge> [ddnet] @Learath2 spaceship operator is called 22:58 <+bridge> [ddnet] <=> sounds useful in some cases 22:58 <+bridge> [ddnet] 22:58 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575426220108283946/unknown.png 22:58 <+bridge> [ddnet] modules 22:58 <+bridge> [ddnet] if c++ got a good lib packagement 22:58 <+bridge> [ddnet] it would be 22:58 <+bridge> [ddnet] such pleasure 22:58 <+bridge> [ddnet] its pain rn 22:58 <+bridge> [ddnet] specially thanks to windows 22:58 <+bridge> [ddnet] @Learath2 how is <=> usefull 22:59 <+bridge> [ddnet] isnt it always true 22:59 <+bridge> [ddnet] 22:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575426487247831051/unknown.png 22:59 <+bridge> [ddnet] a < b || a == b || a > b 22:59 <+bridge> [ddnet] `a < b || a == b || a > b` 22:59 <+bridge> [ddnet] 0 means == 23:00 <+bridge> [ddnet] it's useful the same way strcmp is useful 23:00 <+bridge> [ddnet] e.g. when sorting 23:00 <+bridge> [ddnet] y 23:00 <+bridge> [ddnet] lol true 23:00 <+bridge> [ddnet] i think -1 is < 23:00 <+bridge> [ddnet] yep 23:00 <+bridge> [ddnet] I made droppable weapons guys 23:01 <+bridge> [ddnet] with f4 23:01 <+bridge> [ddnet] it will drop in watch direction 23:01 <+bridge> [ddnet] item drop hack confirmed 23:01 <+bridge> [ddnet] nice 23:01 <+bridge> [ddnet] ban fokko 23:01 <+bridge> [ddnet] and it will disappear on collision with shield 23:01 <+bridge> [ddnet] https://foonathan.net/blog/2018/09/07/three-way-comparison.html 23:02 <+bridge> [ddnet] and it can use teleporter, speedup, stopper tiles 23:02 <+bridge> [ddnet] teleporter 23:02 <+bridge> [ddnet] sounds too mathematical for 2300 23:02 <+bridge> [ddnet] lol 23:02 <+bridge> [ddnet] @jao yea 23:02 <+bridge> [ddnet] @Learath2 look at this xd 23:02 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575427359381913601/unknown.png 23:03 <+bridge> [ddnet] yes c++17 allows initializer in if 23:03 <+bridge> [ddnet] droppable weapons could be a cool idea for a coop map maybe 23:03 <+bridge> [ddnet] and i added flags, which you can drop witu f3, and you can hook them and they also can use tp, and they can use checkpoints aswell amd kill tiles (ofc also speedup and stopper) 23:03 <+bridge> [ddnet] Finally initializers in if statements, i've waited so long 23:03 <+bridge> [ddnet] declarations* actually 23:04 <+bridge> [ddnet] c++20 may include ranges 23:04 <+bridge> [ddnet] weird 23:04 <+bridge> [ddnet] like python? 23:04 <+bridge> [ddnet] that would be fun 23:04 <+bridge> [ddnet] or maybe 23:04 <+bridge> [ddnet] for x in 1..10 23:05 <+bridge> [ddnet] I like that c++ adds this stuff, I hate the syntax they go for though 23:05 <+bridge> [ddnet] ranges would probably end up something like `std::range(1, 10)` 23:05 <+bridge> [ddnet] @Learath2 i made it so that you can drop 5 weapons of each type at max, if you drop a 6th grenade for example, the first will be reset. (or after i think 5 min after drop, they begin to despawn aswell) 23:06 <+bridge> [ddnet] that won't work too well for ddrace 23:06 <+bridge> [ddnet] why did you do it like that? 23:06 <+bridge> [ddnet] Because you could easily spawn 23:06 <+bridge> [ddnet] I guess it'd be nice for a vanilla or zombie type thing 23:06 <+bridge> [ddnet] if you pickup and drop 23:06 <+bridge> [ddnet] standing in a weapon 23:06 <+bridge> [ddnet] tile* 23:06 <+bridge> [ddnet] entity* 23:07 <+bridge> [ddnet] Oh, i'd totally make pickups that disappear after picking up first 23:07 <+bridge> [ddnet] a weeb followed me, anyone knows him? 23:07 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575428416476545025/unknown.png 23:07 <+bridge> [ddnet] :troll: 23:07 <+bridge> [ddnet] @Learath2 also have them, i have a vanillamode (can be given to single players) 23:07 <+bridge> [ddnet] might be a cool map idea for ddrace maps aswell 23:07 <+bridge> [ddnet] anime guy 23:08 <+bridge> [ddnet] true learath2 23:08 <+bridge> [ddnet] @jao y xd 23:08 <+bridge> [ddnet] some interesting coop can be explored 23:08 <+bridge> [ddnet] thought the same 23:09 <+bridge> [ddnet] dropping weapons? 23:09 <+bridge> [ddnet] u would need to make pred code too 23:09 <+bridge> [ddnet] have fun 23:09 <+bridge> [ddnet] @Learath2 if youre interested in the code, just look at my repo, whether you press f4 is checked in CL_VOTE in gamecontext, the drop itself is in character::DropWeapon and it will then spawn a new CWeapon (weapon.cpp) https://github.com/fokkonaut/BlockDDrace 23:09 <+bridge> [ddnet] @Ryozuki no? Its an entit of type CPickup 23:10 <+bridge> [ddnet] enitity* 23:10 <+bridge> [ddnet] ah 23:10 <+bridge> [ddnet] u dont drop it as in affected by gravity 23:10 <+bridge> [ddnet] well ok 23:10 <+bridge> [ddnet] ? 23:10 <+bridge> [ddnet] nvm we had difeent ideas 23:10 <+bridge> [ddnet] or i understood wrong 23:10 <+bridge> [ddnet] xd 23:10 <+bridge> [ddnet] oh, it doesn't move when dropped? 23:10 <+bridge> [ddnet] see! 23:10 <+bridge> [ddnet] xd 23:11 <+bridge> [ddnet] @Learath2 see CWeapon::HandleDropped() 23:11 <+bridge> [ddnet] dropping weapon with speed towerads partner 23:11 <+bridge> [ddnet] this is a cool feature we could have 23:11 <+bridge> [ddnet] Improvements can always be made 23:11 <+bridge> [ddnet] yes, it should act like throwing flags on block 23:11 <+bridge> [ddnet] and bounce xD 23:11 <+bridge> [ddnet] no idk 23:11 <+bridge> [ddnet] ye bounce 23:12 <+bridge> [ddnet] @timakro it does right now 23:12 <+bridge> [ddnet] check the mod, compile, test xd 23:12 <+bridge> [ddnet] my mod* xd 23:13 <+bridge> [ddnet] but projectiles dont have gravity in the base game, right? 23:13 <+bridge> [ddnet] oh wait 23:13 <+bridge> [ddnet] not projectiles 23:13 <+bridge> [ddnet] weapons 23:13 <+bridge> [ddnet] Pickups 23:13 <+bridge> [ddnet] ah a flag is a pickup as well? 23:13 <+bridge> [ddnet] no 23:13 <+bridge> [ddnet] a flag is a CFlag 23:13 <+bridge> [ddnet] still both have gravity? 23:13 <+bridge> [ddnet] yes ofc 23:13 <+bridge> [ddnet] flags do have gravity in vanilla 23:13 <+bridge> [ddnet] ever killed holding a flag? 23:14 <+bridge> [ddnet] yes we know flags have gravity 😛 23:14 <+bridge> [ddnet] we are wondering if your weapons have gravity 23:14 <+bridge> [ddnet] it does 23:14 <+bridge> [ddnet] check HandleDropped() 23:14 <+bridge> [ddnet] does cflag inherit cpickup? 23:14 <+bridge> [ddnet] they can also use speedups, teleporter (yes, also cp) and stopper tiles 23:15 <+bridge> [ddnet] @timakro ? 23:15 <+bridge> [ddnet] just wonder where the gravity code is 23:15 <+bridge> [ddnet] maybe its for every entity 23:15 <+bridge> [ddnet] Yes 23:15 <+bridge> [ddnet] all entities are affected by gravity? 23:15 <+bridge> [ddnet] if you want it, yes 23:15 <+bridge> [ddnet] m_Vel 23:15 <+bridge> [ddnet] there are not that many entities in the base game 23:16 <+bridge> [ddnet] m_Vel = Tuning->Gravity! 23:16 <+bridge> [ddnet] m_Vel = Tuning->Gravity 23:16 <+bridge> [ddnet] ddrace added all this sstuff thats not moving 23:16 <+bridge> [ddnet] ddrace added all this stuff thats not moving 23:16 <+bridge> [ddnet] @Learath2 look into CWeapon::HandleDropped(), the first line of it tells the gravity 23:17 <+bridge> [ddnet] how does it look without prediction? 23:17 <+bridge> [ddnet] Never checked actually 23:17 <+bridge> [ddnet] You can try it on my server 23:17 <+bridge> [ddnet] type my name, join press f4 23:18 <+bridge> [ddnet] i also wonder where is the gravity code for the flag 23:18 <+bridge> [ddnet] check flag.cpp 23:18 <+bridge> [ddnet] HandleDropped() 23:19 <+bridge> [ddnet] Vanilla has it inside of gamemodes/ctf.cpp 23:19 <+bridge> [ddnet] in the Tick function, aswell as positioning 23:19 <+bridge> [ddnet] m_Pos = m_pCarryingCharacter->m_Pos 23:19 <+bridge> [ddnet] i moved it into flag.cpp 23:20 <+bridge> [ddnet] i dont want a `for (int i = 0; i < 2; i++)` inside of my ddrace.cpp 23:20 <+bridge> [ddnet] and then checking for flags 23:23 <+bridge> [ddnet] all entities inherit from CEntity, which contains m_Pos, m_Vel and that stuff 23:23 <+bridge> [ddnet] Gravity is basically m_Vel.y = Tuning()->Gravity; 23:24 <+bridge> [ddnet] 23:24 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/575432675779936266/r_1191660_ZLhpZ.png 23:35 <+bridge> [ddnet] @Learath2 interesting for you could be the flag hooking, go on my server, grab a flag and drop it with f3, you can see you can hook it. The original hook flag code is by Blue, but he made it fucking crash unsafe and very rushed und unpolished I made it way better and added extra stuf to the flags, you can check most of the code in gamecore, but some in character (search for FLAG_RED in both files) 23:36 <+bridge> [ddnet] sadly, no prediction. But that cant be fixed i guess 23:36 <+bridge> [ddnet] (Without client editing)