Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2022-12-26 00:00:00Z and 2022-12-27 00:00:00Z
Avatar
Should help with #6194. I don't have my mysql setup with me right now, so I can't check if I can find out what is going wrong. I'll see if I can do that tomorrow :)

Checklist

  • [ ] 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 indexin...
Avatar
Parallax-Zoom pull request: #5696 from @Fireball-Teeworlds Let me start off by saying I love the new way of zooming. It feels much more intuitive, looks better, and considering how long it is already in effect, it seems to also works very nicely with old maps. Short relevant context:
  • the zoom is currently enabled by default on all new and old maps, without a change in their map file
  • despite worries in the pull request, this did not break menu maps like "Time Shop"
Not long ...
Avatar
f65f2bd Ignore connecting players in search terms when "Filter connecting players" is on - def- 667d588 Merge #6179 - bors[bot]
Avatar
f5dc372 Add more debug info to teamrace to figure out how duplicate ranks occur - Zwelf 50f83a6 Merge #6195 - bors[bot]
Avatar
someone with nvidia optimus can test, if setting the default GPU (in the windows setting or nvidia setting or both) to intel or nvidia vice versa changes the order the graphics card are displayed in the client (settings -> graphics -> graphics cards) in the vulkan backend (and always restart the client) (edited)
Avatar
Fixes #6194

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 [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#u...
Avatar
bc194a5 Fix teamranks not getting removed or moved out of _backup table - Zwelf e1de476 Merge #6197 - bors[bot]
11:27
Log whether deleting ranks from _backup tables fails due to locking issues in sqlite.

Checklist

  • [ ] 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 ...
Avatar
Avatar
heinrich5991
they both need access to the terminal
but ninja buffers the output, make doesnt
Avatar
@Ryozuki @heinrich5991 you know why it's necessary to install some dependencies from visual studio for rust on windows ?
14:19
is it optional or ?
14:20
Rust requires a linker and Windows API libraries but they don't seem to be available.
14:20
ah ig this explains
Avatar
Avatar
Jupstar ✪
someone with nvidia optimus can test, if setting the default GPU (in the windows setting or nvidia setting or both) to intel or nvidia vice versa changes the order the graphics card are displayed in the client (settings -> graphics -> graphics cards) in the vulkan backend (and always restart the client) (edited)
^ or anyone with a laptop with dual GPU
15:01
on windows 10+ (edited)
15:05
good thing i didn't do it yet then 🙂
Avatar
Avatar
Jupstar ✪
someone with nvidia optimus can test, if setting the default GPU (in the windows setting or nvidia setting or both) to intel or nvidia vice versa changes the order the graphics card are displayed in the client (settings -> graphics -> graphics cards) in the vulkan backend (and always restart the client) (edited)
On macos too?
Avatar
bfe4ced Automatically register ddnet:// url handler on macOS - def- 779b44f Support .demo and .map files being dragged into client - def- 4620937 Merge #6164 - bors[bot]
Avatar
Avatar
cauldron
On macos too?
we currently dont build a vulkan backend on macos, so this would only help if you'd build it with molten-vk enabled ^^
Avatar
Avatar
Jupstar ✪
we currently dont build a vulkan backend on macos, so this would only help if you'd build it with molten-vk enabled ^^
Ok
Avatar
When launching the client on Windows, associate the protocol ddnet and the file extensions .map and .demo with the client executable. See #6072.

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
  • [ ] Ch...
Avatar
fb9e430 Log more errors in sql code - Zwelf 9631468 Merge #6198 - bors[bot]
Avatar
hi, i try to compile teeworlds cause i want to start coding with it. well i dont know whats wrong but i installed everything i need and still cant select teeworlds for compile it. any help? 😄 (edited)
Avatar
its probably easier to use the cmake gui to generate a .sln which u then can open in visual studio. Or use vscode
Avatar
I thiink you need to pick a configuration
Avatar
Avatar
Jupstar ✪
its probably easier to use the cmake gui to generate a .sln which u then can open in visual studio. Or use vscode
i think better to use vscode for now 🙂
Avatar
Avatar
Learath2
I thiink you need to pick a configuration
how i do this? :))
Avatar
Avatar
benla
i think better to use vscode for now 🙂
i think u misinterpreted me, visual studio code != visual studio
18:13
why do u even want to develop for teeworlds?
18:13
teeworlds is almost dead
18:14
ddnet's source is also open source https://github.com/ddnet/ddnet
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
Avatar
Jupstar ✪
teeworlds is almost dead
sometimes its not about if a game is dead or not, if no one would play it i would be still the one who is here and wanna code something for it
Avatar
Avatar
Jupstar ✪
why do u even want to develop for teeworlds?
create some cool things which players want idk, its my fav game so why not 😄
Avatar
i am just confused that you ask in ddnet discord for help ^^
Avatar
Avatar
Jupstar ✪
its probably easier to use the cmake gui to generate a .sln which u then can open in visual studio. Or use vscode
"or"
Avatar
Avatar
Jupstar ✪
i am just confused that you ask in ddnet discord for help ^^
oh, im wrong here? can you tell me where i can ask that?
Avatar
well not wrong, but teeworlds also has a discord
Avatar
i just downloaded teeworlds for test, could also use ddnet no problem 🙂
Avatar
do as you wish its just important to understand that ddnet is already quite different to teeworlds
Avatar
could you tell me why? Arent ddnet is based on teeworlds?
Avatar
ddnet for example requires rust, u can read through ddnets readme to get most stuff installed, ddnet also has a vscode workspace, which might help to get started
Avatar
Avatar
benla
could you tell me why? Arent ddnet is based on teeworlds?
yes but the code bases are already quite different
18:18
teeworlds is more simple, some stuff is cleaner. but the maintainer is basically dead, so dont hype yourself to upstream changes ^^
18:18
i dont wanna do changes
Avatar
ddnet client is more powerful. with more features more graphics backend, more network exntesions etc.
Avatar
i was kinda planing to create a server with an own modification
Avatar
note here, that if u base it on 0.7, ddnet clients wont be able to join your mod
Avatar
idk what i wanna do, just for test now i wanna know how i compile it. after i got it i may start with think what i want
Avatar
Avatar
Jupstar ✪
note here, that if u base it on 0.7, ddnet clients wont be able to join your mod
i know that already, thanks
18:20
want to do a server modification where 0.6/0.7 can join 😉
18:21
and i guess there is already some servers who have this
Avatar
anyway, with vscode u can probably simply open the directory, vscode's cmake extension will automatically find your c++ compiler and configure the workspace for you with visual studio, i dunno how well their cmake support is already. that's why i suggest if u want to use vs, use cmake-gui to create an .SLN project file
18:22
or simply search the internet, how to open a cmake project ^^
Avatar
i never used cmake XD
Avatar
and also make sure to have submodules checked out with git
Avatar
i guess i want to use vscode to compile. i try to do it like in this video but like i said it does not show me the application teeworlds.exe or server.exe https://www.youtube.com/watch?v=qsoGOfBqPns
Avatar
Avatar
benla
want to do a server modification where 0.6/0.7 can join 😉
Ddnet already allows this, besides this is a HUGE undertaking. It took some very interesting hacks in the low level network code and hours of manual labour handling the differences in the game protocol of 0.7
18:26
I mean go for it, but making the 0.7 patch from scratch would take a lot of your time 🙃
Avatar
Avatar
Learath2
Ddnet already allows this, besides this is a HUGE undertaking. It took some very interesting hacks in the low level network code and hours of manual labour handling the differences in the game protocol of 0.7
didnt know but good to know, still wanna do an own modification with my own idea 🙂
Avatar
just go ahead and try
Avatar
Avatar
Learath2
I mean go for it, but making the 0.7 patch from scratch would take a lot of your time 🙃
its fine
Avatar
it seems like u never coded in c++ before anyway?
18:27
so for the first project just test out some things 😉
Avatar
Avatar
Jupstar ✪
so for the first project just test out some things 😉
for first project i wanna compile it ahah
Avatar
Avatar
Jupstar ✪
it seems like u never coded in c++ before anyway?
just did some basics things nothing special yea
Avatar
Avatar
benla
how i do this? :))
On the top. Where it says Keine Konfigurationen. Do you get any options?
Avatar
Avatar
Learath2
On the top. Where it says Keine Konfigurationen. Do you get any options?
18:28
yea
Avatar
Pick x64 debug. That should give you run options
18:30
only open some file
Avatar
On the bottom, in the log thing. Do you have a cmake tab?
18:33
In the dropdown maybe? Sorry I haven't touched windows in like 4 years for development
Avatar
Avatar
Learath2
In the dropdown maybe? Sorry I haven't touched windows in like 4 years for development
yea i have but its clean
Avatar
I have a feeling you dont have cmake installed. Did you pick it when installing vs?
Avatar
second lemme look i dont remember
Avatar
Avatar
Learath2
I have a feeling you dont have cmake installed. Did you pick it when installing vs?
haha ye probally was the problem. installing 3gb now. brb 😄
Avatar
3gb cmake ez
Avatar
Avatar
Jupstar ✪
3gb cmake ez
no i installed the wrong c++ item there too, installing the right now (edited)
Avatar
was just troll, but visual studio generally is really huge 😄
18:43
its better than my whole OS xD
Avatar
xdd im thinking about to get a dual boot soon
Avatar
Avatar
Jupstar ✪
ddnet for example requires rust, u can read through ddnets readme to get most stuff installed, ddnet also has a vscode workspace, which might help to get started
oO, vscode workspace?
Avatar
Avatar
benla
haha ye probally was the problem. installing 3gb now. brb 😄
cmake is only 100mb on my computer
Avatar
Avatar
Chairn
oO, vscode workspace?
other/vscode/ddnet.code-workspace never tested on windows tho xd
Avatar
does it read it auto?
19:04
looks like the file has only build target, so its fine as i use command line tools
Avatar
Avatar
Chairn
looks like the file has only build target, so its fine as i use command line tools
it suggests all extensions u need
Avatar
what, cmake and c++ extensions?
Avatar
yes
Avatar
they're the ones everyone has
19:05
i dont understand what u are trying to say
19:06
it has language server, targets, some sane defaults, clang-format config.. what exactly do u want more
Avatar
my ddnet folder has a .vscode folder with an almost empty settings.json
Avatar
Avatar
Chairn
cmake is only 100mb on my computer
nah i install a c++ tool too, i download the wrong one
Avatar
@Jupstar ✪ i prefer to use tools separately from the IDE in general to not be trapped using some tools ^^
Avatar
wtf xxD
19:07
well do as u like
19:07
i prefer to be effective than hipster
Avatar
im limited by windows compilation time anyway 😄
Avatar
well your 2 core 100 yrears laptop i'd also consider hipster
Avatar
mingw and msys are notoriously slow because they use almost raw gcc code, so they had to workaround some system calls that don't exist in windows, and it's freaking slow
19:09
nah, i compile ddnet faster in a VM than on windows
19:09
+ it's 8 cores
Avatar
hipster
19:10
u live in EU right
Avatar
you mean European Union? Don't we all here?
19:11
4 germans, 1 french, 1 spanish/catalon, 1 turk living in Italy
Avatar
true story
Avatar
1 american if i count Voxel
Avatar
but probs like 8 germans xd
Avatar
I count deen, heinrich, robyt3 and you
Avatar
zwelf, robyte, deen, heinrich, me (MURPI 100% confirmed) ravie and few hunderets more
19:13
chillerdragon
19:13
xd
19:13
codedev
19:13
fokkonaut
19:13
hmh
19:13
oh and patiga
Avatar
Avatar
Jupstar ✪
xd
who's that?
troll 1
Avatar
C:\teeworlds\CMakeLists.txt:32 (project): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. teeworlds
Avatar
you use visual studio?
Avatar
C:\teeworlds\CMakeLists.txt:32 (project): No CMAKE_CXX_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. teeworlds
19:15
got this both errors
Avatar
Avatar
Chairn
you use visual studio?
yea
Avatar
you should add compiler to the PATH variable
Avatar
how i do this? :3
19:16
i don't even know how is the visual studio compiler called (edited)
19:16
you gotta add the path of the compiler to the PATH variable
Avatar
i dont understand anything there
19:18
why i need to add these things you saying me right now. in the youtube video where the guy compile he only download visual studio, python and git lol
Avatar
how did you call cmake?
19:18
from visual studio?
Avatar
i just installed cmake from the internet cause i dont find it in vscode
Avatar
are you using vscode or visual studio?
19:19
those are not the same
19:19
visual studio
19:19
the community version sorry
Avatar
so you called cmake from visual studio or from command line?
Avatar
from visual studio
19:20
ctrl + s
19:20
thats it
19:21
and got these 2 errors
Avatar
Avatar
Chairn
nah, i compile ddnet faster in a VM than on windows
Bei Mindfactory.de finden Sie günstige Hardware, Software, Notebooks, Computer, Tablets, Smartphones, Spielekonsolen und vieles mehr.
Avatar
Avatar
ReiTW
@Ryozuki @heinrich5991 you know why it's necessary to install some dependencies from visual studio for rust on windows ?
depends if you target -msvc or -gnu
Avatar
well, i don't really know, i've never used visual studio
Avatar
Avatar
Chairn
well, i don't really know, i've never used visual studio
someone here who use?
Avatar
except robyte and chairn most are probs linux devs
Avatar
I mostly don't use Visual Studio either, but if I do, I generate the project files with standalone cmake
Avatar
in the "Ausgabe anzeigen von"
19:26
can you give us a screenshot of the dropdown menu?
Avatar
Even back when I did use windows I either used mingw or nmake+cl
Avatar
i only used cmake-gui xd
Avatar
the build should work in msvc just fine, I'm doing that when I test the cmake build on windows
19:26
(msvc has native support for cmake)
Avatar
Avatar
benla
C:\teeworlds\CMakeLists.txt:32 (project): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. teeworlds
@heinrich5991
19:27
well got this 2 errors only now
Avatar
that's not the dropdown menu
19:27
can you tell us where you got the errors from?
Avatar
Avatar
benla
C:\teeworlds\CMakeLists.txt:32 (project): No CMAKE_C_COMPILER could be found. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. teeworlds
where do you see these errors?
19:29
can you give me a screenshot?
Avatar
Avatar
heinrich5991
can you give me a screenshot?
sorry pc crashed need to start visual studio again
Avatar
it seems you moved the teeworlds directory after it was already open in msvc
20:01
can you maybe delete the C:\teeworlds\out folder?
20:01
delete the out folder
20:01
or the folder which are in
Avatar
the out folder
20:06
well worked, let me try the same with the ddnet src for being sure i know how it works
Avatar
dont forget to install rust for it
Avatar
ahaha pc crashed again, well thats it for today. gonna look into it tomorrow. ty for help
Avatar
you're welcome
Exported 186 message(s)