03:25 < ws-client> "But might only work on windows" 03:25 < ws-client> patiga have you tried using windows? axaxax 06:07 < ws-client> idk how to google for this but is it possible to overwrite the current scope to be whatever a pointer points to? 06:08 < ws-client> So instead of ``pEditor->UI()`` i want to say ``SetScope(pEditor);UI()`` 06:08 < ws-client> if c++ cant do that pls add to edlang @ryozuki 06:17 < ws-client> hmkay so this hack worked but its a bit manual ``auto UI = [pEditor]() -> CUI* { return pEditor->UI(); };`` 07:58 < bridge> Yes 08:00 < bridge> old example 08:00 < bridge> ``` 08:00 < bridge> std::array s_aAssetSettingPerTab = {g_Config.m_ClAssetsEntites, g_Config.m_ClAssetGame, g_Config.m_ClAssetParticles, g_Config.m_ClAssetHud, g_Config.m_ClAssetExtras}; 08:00 < bridge> std::array s_aAssetLoadFunctionPerTab = {&CGameClient::LoadGameSkin, &CGameClient::LoadEmoticonsSkin, &CGameClient::LoadParticlesSkin, &CGameClient::LoadHudSkin, &CGameClient::LoadExtrasSkin}; 08:00 < bridge> const char *pName = s_aSearchListPerTab[s_CurCustomTab]->at(NewSelected)->m_aName; 08:00 < bridge> char *pSetting = s_aAssetSettingPerTab[s_CurCustomTab]; 08:00 < bridge> str_copy(pSetting, pName, str_length(pName)); 08:00 < bridge> if(s_CurCustomTab == ASSETS_TAB_ENTITIES) 08:00 < bridge> m_pClient->m_MapImages.ChangeEntitiesPath(pName); 08:00 < bridge> else 08:00 < bridge> (GameClient()->*s_aAssetLoadFunctionPerTab[s_CurCustomTab - 1])(pSetting, false); 08:00 < bridge> ``` 08:01 < bridge> old example 08:01 < bridge> ```cpp 08:01 < bridge> std::array s_aAssetSettingPerTab = {g_Config.m_ClAssetsEntites, g_Config.m_ClAssetGame, g_Config.m_ClAssetParticles, g_Config.m_ClAssetHud, g_Config.m_ClAssetExtras}; 08:01 < bridge> std::array s_aAssetLoadFunctionPerTab = {&CGameClient::LoadGameSkin, &CGameClient::LoadEmoticonsSkin, &CGameClient::LoadParticlesSkin, &CGameClient::LoadHudSkin, &CGameClient::LoadExtrasSkin}; 08:01 < bridge> const char *pName = s_aSearchListPerTab[s_CurCustomTab]->at(NewSelected)->m_aName; 08:01 < bridge> char *pSetting = s_aAssetSettingPerTab[s_CurCustomTab]; 08:01 < bridge> str_copy(pSetting, pName, str_length(pName)); 08:01 < bridge> if(s_CurCustomTab == ASSETS_TAB_ENTITIES) 08:01 < bridge> m_pClient->m_MapImages.ChangeEntitiesPath(pName); 08:01 < bridge> else 08:01 < bridge> (GameClient()->*s_aAssetLoadFunctionPerTab[s_CurCustomTab - 1])(pSetting, false); 08:01 < bridge> ``` 08:01 < bridge> wrong paste 08:04 < bridge> actually i misundersood what you want 08:04 < bridge> that would be very problematic 08:05 < bridge> well maybe not 08:05 < bridge> i guess you could disambiguate from global namespace variables with :: and local members with this 08:05 < bridge> but it hardly seems like good practice 08:07 < bridge> it's one of the differences between classes and namespaces 08:07 < bridge> you can obviously using namespace and then call do a namespace whatever as if it was global 08:07 < bridge> but not with classes 08:43 < bridge> chillllllerrrrrrrrrrrrrrrrrr dragon 09:14 < bridge> Yea :: to get back also crossed my mind. Sounds like a problematic feature yes. But still cool haha 09:15 < bridge> Ye? 09:41 < bridge> idk 10:32 < ws-client> lmao i think slacks bug fix changelog needs to go through the marketing department 10:32 < ws-client> https://zillyhuhn.com/cs/.1707557533.png 10:32 < ws-client> https://apps.apple.com/us/app/slack/id618783545 10:32 < ws-client> I should use twitter instead of posting into ddnet#developer i think ... 10:35 < bridge> nope 10:54 < bridge> @mpft thanks for the ShareX recommendation, that one's great - didnt know about it 10:55 < bridge> np 11:33 < bridge> the 4 spawner spider farm is nuts 11:33 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205823805868478504/image.png?ex=65d9c5ee&is=65c750ee&hm=4f02a33da4b289c15ed1c6d4bf31f746784cb3069843e6ab6b402072edee6412& 11:40 < bridge> Looks like UFO 11:40 < bridge> yeah 11:45 < bridge> since when can you 11:45 < bridge> drag and drop maps 11:45 < bridge> into the editor 11:45 < bridge> cool 11:58 < bridge> OHHM Y GOOD 11:58 < bridge> PEAK EDITOR 12:02 < bridge> i wish you could open terminal as tab in editor in vscode 12:13 < bridge> You can not? 12:14 < ws-client> @Ewan you mean this? https://zillyhuhn.com/cs/.1707563625.png 12:14 < bridge> how 12:15 < ws-client> https://github.com/ChillerDragon/dotfiles/blob/c531bff15537581966a0d6772e61d29c4132ff2a/vscode/keybindings.json#L46-L49 12:15 < bridge> f 12:15 < ws-client> i also just recently realized vscode is super flexible 12:15 < ws-client> unlike vim it comes functional out of the box so most do not fine tune vscode 12:15 < ws-client> but it has super powerful configs 12:16 < ws-client> basically any thing you can do in the ui has a action name under the hood. And you can bind any chain of actions even with condtions on any kind of key 12:17 < bridge> oh the flexibility of js -_- 12:17 < ws-client> dont worry we will do the same in c++ for ddnet editor 12:20 < ws-client> i was thinking of extending my terminal shortcut to unlock the group and merge it in but i am not sure yet if i like the split or not 12:29 < bridge> never minecrafted so brain before 12:29 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205837892379742208/image.png?ex=65d9d30c&is=65c75e0c&hm=e1c174d5212613d69f3aa1956e2b9fb3d0f2fa01941b9ff8f3279676218454a6& 12:30 < bridge> build it in creative (unfurnished), collected worldedit //distr, determine ingredients required to make each item, collect ingredients 12:30 < bridge> just get this many of this block 12:50 < ws-client> less gooo 5k closed ddnet prs https://zillyhuhn.com/cs/.1707565813.png 12:51 < ws-client> almost as many as express has "Update README.md" prs axaxaxax 12:53 < ws-client> Uhm ewan ur image links says not available for me :c https://cdn.discordapp.com/attachments/293493549758939136/1205837892379742208/image.png 12:53 < ws-client> did you delete it? 12:53 < bridge> i did not 12:53 < bridge> o_O 12:53 < ws-client> thats bad 12:53 < bridge> you are Blacklisted! 12:53 < ws-client> could you send 1 more img pls 12:53 < ws-client> wait can you see the image? 12:53 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205844083457916958/image.png?ex=65d9d8d0&is=65c763d0&hm=2b6d446670c70f65fd05fb93f1f0b13a014f4e0e273875b44414a8a4b891876f& 12:53 < ws-client> i sent? 12:53 < ws-client> oh o 12:54 < ws-client> im in trouble 12:54 < ws-client> chat.zillyhuhn.com market share became too big discord had to fight back 12:54 < bridge> true 12:54 < ws-client> wait but can you open the url in your browser? 12:54 < ws-client> incognito? 12:55 < ws-client> ``https://cdn.discordapp.com/attachments/293493549758939136/1205844083457916958/image.png`` 12:55 < bridge> idk can you 12:55 < bridge> oh me 12:55 < ws-client> i can not i used to until now 12:55 < bridge> ImGui in ddnet :gigachad: 12:55 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205844443756761118/image.png?ex=65d9d926&is=65c76426&hm=460750b8a1f31604f9e9d98be4e02aa1ba856a5bfb74ac4d57422614d5fded86& 12:55 < bridge> holy shit 12:55 < bridge> you're right chiller 12:55 < bridge> they did it O_O_O_O 12:55 < ws-client> ohno 12:55 < bridge> Frankly stupid 12:55 < ws-client> i still see it on matrix crap 12:55 < bridge> but im sure it was fun 12:55 < ws-client> idk how matrix still gets it 12:56 < ws-client> maybe the bridge copys image or sumsin 12:56 < ws-client> rip discord cdn 12:56 < bridge> Yap, but why not 12:56 < ws-client> and rip my fancy ass discord clone i tinkered the entire year on xd 12:56 < bridge> can u get it from whichever matrix cdn it's copied to 12:56 < ws-client> then i have to do matrix eww 12:56 < bridge> u cant just fetch the link of the img 12:56 < bridge> ? 12:57 < ws-client> from where? 12:57 < bridge> matrix link 12:57 < ws-client> where do i get the matrix link from 12:57 < bridge> u probably can make it 12:57 < ws-client> ah i do not think they are deterministic 12:57 < bridge> damn 12:57 < ws-client> i rly do not want to touch matrix it is sooooooooooooooooooooooooooo bad 12:58 < ws-client> i rather boot windows xp and use skype 12:58 < bridge> lol true 12:58 < ws-client> https://zillyhuhn.com/cs/.1707566323.png 12:58 < ws-client> nice 13:01 < bridge> https://www.youtube.com/watch?v=09P9BSqPa4o&t=0s 13:04 < ws-client> @Ewan pls send formula 13:04 < bridge> for what 13:04 < bridge> link? 13:04 < ws-client> to convert this ``https://cdn.discordapp.com/attachments/293493549758939136/1205844443756761118/image.png``to this ``https://matrix-client.matrix.org/_matrix/media/r0/download/ddnet.org/15rGDfO7E6swU4VEi5UDkyk1NaMcN4uj`` 13:05 < bridge> is it md5sum 13:05 < bridge> wait 13:05 < bridge> they are different links 13:06 < bridge> idk 13:59 < bridge> i never thought i'd see the day where gmod prop hunt servers have less players than even ddnet 13:59 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205860600953962586/image.png?ex=65d9e833&is=65c77333&hm=ecd63fde64ef81db6082cc9ce21498f98d568a7d6ddbe4eb6d2f60eec84b9660& 14:22 < bridge> Maybe we will see the day when there are less players on dark rp than on ddnet 14:24 < ws-client> less on fortnite than on ddnet pog 14:25 < bridge> never 14:26 < ws-client> yes seems unrealsitic but ddnet has the advantage of being open source :p 14:26 < bridge> never gonna happen 14:27 < bridge> even when fortnite is as old as the nes is now and people are busting out their old windows 10 container image on their distributed supercomputer in order to emulate fortnite it will have more players than ddnet 14:30 < ws-client> yikes 14:30 < bridge> what a thought 14:30 < ws-client> yes indeed 14:31 < bridge> it's just connected to so much timeless ip 14:31 < bridge> at least some of that is still gonna be incredibly popular until the end of capitalism 14:31 < ws-client> "until the end of capitalism" lmao 14:31 < bridge> and then ppl are gonna go oh huh this game fortnite apparently did a collab with my favorite glooptuber... 14:32 < ws-client> glooptuber? 14:32 < ws-client> i feel old 14:32 < bridge> idk 14:32 < bridge> random fucker 14:32 < bridge> that they collab with 14:32 < bridge> or tv show character 14:32 < bridge> streamers and superheroes 14:32 < bridge> im confused by the new editor snapping quads 14:33 < ws-client> https://zillyhuhn.com/cs/.1707571972.png 14:33 < bridge> :justatest: 14:33 < bridge> im just unable to drag it to here 14:33 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205869157510418532/image.png?ex=65d9f02b&is=65c77b2b&hm=b0ec636e066f6c48e93509a87e99ec6ab0bb1b04f4c4f6631550541595c7d5c4& 14:33 < ws-client> https://zillyhuhn.com/cs/.1707572000.png 14:33 < bridge> it always moves away 14:34 < bridge> like this 14:34 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205869303266676827/image.png?ex=65d9f04d&is=65c77b4d&hm=9524346a165bfb3132f9c5addc6e593b034dd066bea8cbca575a662b87b7904f& 14:34 < ws-client> omg i dont see images 14:34 < ws-client> rq 14:48 < bridge> can you see what user agent discord is using 14:48 < bridge> and copy by curling it through your server with that ua 14:48 < bridge> shady 15:07 < bridge> I assume it requires a valid session token. Anything else would be troll 15:09 < bridge> use your discord account's token :p 15:22 < bridge> sooner create a bot 15:22 < bridge> yeah use a bot actually 15:22 < bridge> ez 15:36 < bridge> Any Hyprland users here? 15:36 < bridge> 15:36 < bridge> For some reason the game is losing focus if i click on the left edge of the screen :/ 15:39 < bridge> looks like it works fine-ish if i force the window to be floating and fullscreen 15:46 < bridge> make a bug report 15:46 < bridge> YES 15:46 < bridge> on their gh 15:46 < bridge> but never experienced such issue 15:47 < bridge> So far I only had this happen with DDNet with both Steam and Nixpkgs builds. 15:47 < bridge> 15:47 < bridge> I'll try to look into this in a moment 15:47 < bridge> oh ok, well i can tell you ddnet is not calling "window unfocus" 15:48 < bridge> ddnet uses relative mouse movement 15:48 < bridge> maybe thats the reason 15:48 < bridge> so if it's not your WM report it to SDL 17:02 < bridge> how??!?! i tried once and it didnt work ;( 17:03 < bridge> tw ui still better 17:03 < bridge> new bot client in the making?! 17:04 < bridge> Nope 17:04 < bridge> I've did bot client with custom ui xdd 17:04 < bridge> (Now this client is closed, new version without bots) 17:05 < bridge> :troll: 17:06 < bridge> making custom UIs is fun af when you know how 17:06 < bridge> im making a fking window manager in TW 17:06 < bridge> soon Teeworlds-OS 17:07 < bridge> I've did this too 17:07 < bridge> *done 17:08 < bridge> Yap, my english is rly bad xd 17:09 < bridge> still better than most other ppl 17:57 < bridge> Moonwalk :nobot: 17:57 < bridge> Whut? 20:13 < bridge> https://github.com/Myr-13/mmoteexd/commit/d7952f88090138e50c22be33322bbc6de15fcfa7 21:29 < bridge> nice function name :justatest: 21:29 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1205973787128897588/image.png?ex=65da519c&is=65c7dc9c&hm=2caf3e8d4d636eacc3d4de094a9703fd8a018af5f22c21e3904fbe2a7375a647& 21:39 < bridge> Java moment 21:39 < bridge> But in rust 21:51 < bridge> xddd 21:51 < bridge> that's what i call intuitive programming 21:51 < bridge> doc comment not needed