Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-02-08 00:00:00Z and 2024-02-09 00:00:00Z
Avatar
Avatar
Jupstar ✪
"namespace vk::raii There is an additional header named vulkan_raii.hpp generated. That header holds raii-compliant wrapper classes for the handle types. That is, for e.g. the handle type VkInstance, there's a raii-compliant wrapper vk::raii::Instance. Please have a look at the samples using those classes in the directory RAII_Samples."
very cool
00:32
the only actually modern gpu framework
Avatar
Avatar
Learath2
VkInstanceCreateInfo CreateInfo{ .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, .pApplicationInfo = &AppInfo, .enabledLayerCount = static_cast<uint32_t>(WantedLayers.size()), .ppEnabledLayerNames = WantedLayers.size() ? WantedLayers.data() : nullptr, .enabledExtensionCount = GLFWRequiredExtensionCount, .ppEnabledExtensionNames = GLFWRequiredExtensions, }; metoo
named parameters in aggregate initialization 😍
00:33
i like these guys
00:33
i had only seen the c api before
Avatar
ws-client BOT 2024-02-08 03:32:30Z
<ChillerDragon> what shortcuts do you all use for compiling?
03:32
<ChillerDragon> F5 is too far away and all the other keybindings seem used
03:33
<ChillerDragon> i use just "c" in normal mode in vim and love it but im thinking about adding one for vscode and can not think of any good keybinding
03:37
<ChillerDragon> okay i went with ctrl+return lets see
05:32
This allows mappers to find switchers by number. #7931 is still not finished. Because it also demands shift+n functionality which is not yet implemented. !image Works the same as #7929 just for switch instead of tele.

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] ...
Avatar
Avatar
ws-client
<ChillerDragon> what shortcuts do you all use for compiling?
I switch to another workspace super+3 where I have a term open press up and then enter xd
Avatar
Woah there cowboy! I know how this looks like. Breaking physics? Adding crash bugs? Increasing client startup time?? While trying to implement shift+n to see the previous teleporter in the editor I noticed how broken my old code is. This thing seems to skip some tele tiles it should find #6887. Also the code is looping through the entire map which is not performant enough for live tele tracing which is needed for #2415. Also the weird loop makes it super messy to step forward and backward...
Avatar
ws-client BOT 2024-02-08 07:42:34Z
<ChillerDragon> @Teero yeye i also mostly do that but it was too slow for my ui hotreloading setup. ctrl+enter was okay
Avatar
Ah okay. Do you have your vim conf uploaded
Avatar
ws-client BOT 2024-02-08 07:43:31Z
<ChillerDragon> i should probably finally setup my vim to have enough c++ support so it can do ddnet development
07:43
<ChillerDragon> ctrl+enter i used in vscode
07:43
<ChillerDragon> in vim i have c and it works like a charm
07:43
<ChillerDragon> and ofc all my configs are open src
07:44
<ChillerDragon> here my vscode
07:44
A repo holding all my personal configurations I use. - ChillerDragon/dotfiles
07:44
<ChillerDragon> here my vim
07:44
<ChillerDragon> but its a huge mess
Avatar
yea I'm still stuck on vscode also. I tried neovim for a few days and I must say configuring with lua is quite intuitive but I couldn't get everything perfectly working.
Avatar
ws-client BOT 2024-02-08 07:44:48Z
<ChillerDragon> can not recommend
Avatar
The only feature I was missing was jumping around function definitions in a source file
Avatar
ws-client BOT 2024-02-08 07:46:01Z
<ChillerDragon> oh that i have
07:46
<ChillerDragon> i use ctags
Avatar
Like you can do in vscode ctrl+p @
07:46
I'll look at it again
Avatar
ws-client BOT 2024-02-08 07:46:41Z
<ChillerDragon> oh
Avatar
Also mutlicursor
Avatar
ws-client BOT 2024-02-08 07:46:49Z
<ChillerDragon> that i have too
07:47
<ChillerDragon> ctrl+p @ lists all hmm i never use that i only do ctrl+click on a method call do see its definition and i can do the same in vim.
07:47
<ChillerDragon> Plug 'ctrlpvim/ctrlp.vim'
07:48
<ChillerDragon> ah wait no thats something else xd
07:48
<ChillerDragon> Plug 'mg979/vim-visual-multi', {'branch': 'master'}
07:49
<ChillerDragon> with a bit of config because i am arrow key enjoyer i could make this one work almost like in vscode https://github.com/mg979/vim-visual-multi
Multiple cursors plugin for vim/neovim. Contribute to mg979/vim-visual-multi development by creating an account on GitHub.
⭐ 1
Avatar
I feel like this broke something. But before it was running a bunch of calculations based on the mouse position. And that every tick no matter if the mouse position changed or not. I added some dbg_msg() below. And it used to spam every tick and now is only spammed on mouse move. Does it work on touch screens and joysticks? Not sure I only tested 10 seconds on my laptop touch pad.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tes...
Avatar
Chiller
08:53
Your PR looks wrong
08:54
What u want is to check it against 0 maybe. But relative mouse can have the same relative change
08:55
Or is the function returning the current mouse position?
08:55
Then rename the function lmao
Avatar
morning after gym
Avatar
860a472 Cleanup editor object comments - ChillerDragon d0f3f80 Merge pull request #7948 from ChillerDragon/pr_editor_obj_comments - def-
Avatar
chillerdragon BOT 2024-02-08 10:15:30Z
Oh yes I think you are right
Replying to @Jupstar ✪ What u want is to check it against 0 maybe. But relative mouse can have …
Avatar
I can Pick Up my PC parts After Work AFhyper AFhyper AFhyper
Avatar
Avatar
meloƞ
I can Pick Up my PC parts After Work AFhyper AFhyper AFhyper
gz
Avatar
Avatar
meloƞ
I can Pick Up my PC parts After Work AFhyper AFhyper AFhyper
Damn
12:36
U can play tarkov then
Avatar
Avatar
ReiTW
Damn
Oh Shit you're right
12:36
My god i have so many Games to play
Avatar
U need windows for it ReiTroll (edited)
Avatar
still plays teeworlds for 10h every day
troll 1
Avatar
Avatar
ReiTW
U need windows for it ReiTroll (edited)
OHNOOOO
Avatar
Wanted to sleep at work but have to do stuff in the datacenter, rip
12:39
2 hours of noises KEKSad
Avatar
ws-client BOT 2024-02-08 12:51:06Z
<ChillerDragon> There is no way to show fps in the editor is there? If there was a big performance regression how would we even notice?
Avatar
hm I never had a look, but does the Steam fps counter match the DDNet fps counter?
Avatar
Avatar
ws-client
<ChillerDragon> There is no way to show fps in the editor is there? If there was a big performance regression how would we even notice?
ChillerDragon: debug mode shows FPS, and the debug graphs show them in more detail (though both also influence FPS by being rendered)
Avatar
https://github.com/ddnet/ddnet/blob/d0f3f802e22a2a6a29ab590db46cb8bdcd83db1b/src/engine/client/client.cpp#L4286 why does 2nd param use std::move and 1st doesnt. SetLoggers takes 2 std::shared_ptr<ILogger>&& :\ (edited)
Avatar
Avatar
Patiga
hm I never had a look, but does the Steam fps counter match the DDNet fps counter?
Besides the update rate it should match. And probably they use different averages ^^
Avatar
Avatar
MilkeeyCat
https://github.com/ddnet/ddnet/blob/d0f3f802e22a2a6a29ab590db46cb8bdcd83db1b/src/engine/client/client.cpp#L4286 why does 2nd param use std::move and 1st doesnt. SetLoggers takes 2 std::shared_ptr<ILogger>&& :\ (edited)
@MilkeeyCat because the first pointer should be copied
Avatar
Avatar
Jupstar ✪
Besides the update rate it should match. And probably they use different averages ^^
multiply fps counter in ddnet by 5 for a better impression, I did that before it was cool happy
14:18
e4ea049 Use generic client warning for failed sound init - Robyt3 7dc446e Merge pull request #7942 from Robyt3/Client-SoundInit-Warning - def-
14:45
@heinrich5991 @Jupstar ✪
Avatar
Avatar
Patiga
multiply fps counter in ddnet by 5 for a better impression, I did that before it was cool happy
Ah yeah, i remember that
Avatar
Nothing for me, but thx for sharing
Avatar
I really don't know why those calculations were even made. It looks the same.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [AS...
Avatar
Avatar
Jupstar ✪
Nothing for me, but thx for sharing
ye tame release
16:01
wonder when 2024 edition
Avatar
btw whats up with the default language? XD
Avatar
[...] Also since the variables are declared static they wont change until restarting so quickly changing fonts in game wouldn't work correctly if it is planned to create a menu for switching fonts.
Originally posted by @Teero888 in https://github.com/ddnet/ddnet/issues/7950#issuecomment-1934463147 Fonts change when switching between Japanese and another language, so this already seems to be a potential issue.
Avatar
Avatar
Teero
btw whats up with the default language? XD
i think that's the taiwan cryers
16:31
the chinese cry that taiwan is no country
16:31
and make negative review on steam
16:31
such fuckers lol
Avatar
I guess Success should start out as pGetServers->State() != ERROR and never call ResultJson if !Success (edited)
Avatar
I'd say that condition should be if(!m_pGetServers->Done()) (which is technically still the same condition) and ResultJson should only be called when pGetServers->State() == EHttpState::DONE. We still need the fallback code at the end if the task has failed.
Avatar
Avatar
Ryozuki
@Chairn can u remind me what u were researching? (hardware related)
right now im in hardware security against side channel attacks and fault injection attacks
Avatar
guys i need help
18:48
how tf does windows work
Avatar
Avatar
meloƞ
how tf does windows work
no.
Avatar
idk, i use linux btw
Avatar
forced to use windows for work
18:49
what do i do
Avatar
install virus and tell your employer: "wouldnt have happened with linux"
Avatar
good idea
18:56
that should be enough for now
18:56
time to play teeeworlds with 6K fps
Avatar
Avatar
meloƞ
forced to use windows for work
Bad work
Avatar
For consistency between 0.6 and 0.7 clients, also show kill messages for 0.7 clients, now that DDNet client also supports finish messages. Closes #5623.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] ...
Avatar
chillerdragon BOT 2024-02-08 20:10:30Z
Ah nice thanks
Replying to @Robyt3 ChillerDragon: debug mode shows FPS, and the debug graphs show them in m…
Avatar
Fixes rcon left and rcon right, which were non functional because of this bug

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [AS...
👍 1
Avatar
windows is fun
22:03
i want my sudo apt-get install mariadb libmariadbclient-dev back
Avatar
Avatar
MilkeeyCat
Ping me when someone fix dis
Avatar
so my IDE figured that msvc build tools are required, and told me to install them, so you'd assume they set that as the default toolchain, well, mingw it is - windows man (edited)
💀 1
Avatar
177e8f0 Fix broken parameter in MoveCharacter - bencie f37b58a Merge pull request #7953 from bencie/fix-rcon-leftright - Jupeyy
Avatar
c0da157 Show kill messages also for sixup clients - Robyt3 9187c29 Merge pull request #7952 from Robyt3/Server-Sixup-Killmessages - def-
Avatar
Avatar
meloƞ
that should be enough for now
Avatar
Avatar
meloƞ
windows is fun
doesn't seem like a windows issue tbh
Avatar
Avatar
meloƞ
so my IDE figured that msvc build tools are required, and told me to install them, so you'd assume they set that as the default toolchain, well, mingw it is - windows man (edited)
clion has a lot of toolchain options
23:58
it pulls this up for me whenever i even open a project lol
23:58
did u close it or smth
Exported 119 message(s)