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 2019-07-20 00:00:00Z and 2019-07-21 00:00:00Z
Avatar
daily reminder that nimda is broken and it doesnt give voice on irc
Avatar
[quakenet] heinrich5991 BOT 2019-07-20 11:09:33Z
Ryozuki: you can talk without voice now
Avatar
[quakenet] Ryozuki BOT 2019-07-20 12:32:32Z
test
12:32
thanks
Avatar
Дядя Женя 2019-07-20 16:16:10Z
Can anyone explain to a noob how to compile client?
Avatar
yes, you can start by installing a GNU/Linux distro 😎
Avatar
you can try reading the instructions on gh
Avatar
Дядя Женя 2019-07-20 16:24:34Z
Windows 10 integrated bash console in it
16:24
🤔 would this be helpful
16:26
please report problems
Avatar
Дядя Женя 2019-07-20 16:26:59Z
Already have VS and python installed
16:27
so just need to instacll CMake and compile I guess
Avatar
with that manual, you don't need to manually install python/cmake, you can install it via the vs installer
16:29
I don't know if manually installing cmake works, manually installing python probably™ does
Avatar
Дядя Женя 2019-07-20 16:37:02Z
16:37
Something is not installed
16:38
16:38
Curl for example
Avatar
try installing curl
Avatar
@Дядя Женя how did you download ddnet?
Avatar
Дядя Женя 2019-07-20 16:38:57Z
simply downloaded ddnet-master
Avatar
try downloading it with msvs, like in the tutorial
16:39
downloading ddnet-master misses some things, for example curl
16:40
alternatively, download the git repository in the git shell like described here: https://github.com/ddnet/ddnet/#cloning
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
ChillerDragon 2019-07-20 16:49:46Z
git clone --recursive
Avatar
Дядя Женя 2019-07-20 16:53:02Z
yes, just installed git console and cloned libraries (edited)
16:54
didnt really understood what i've done
16:54
but it seems that I succesfully builded
16:55
why not
17:50
just step 25
17:50
17:51
as it was after I tried to just clone and open project in VS
17:55
where the fuck this "DDNet.exe" should come from?
17:55
and why it works for you
17:55
idk
Avatar
~~
18:02
seems like I should try with russian windows, there were some problems in localizations
18:02
@Дядя Женя is that russian?
Avatar
Дядя Женя 2019-07-20 18:02:15Z
y
18:02
there can't be localization problem
Avatar
why not?
18:03
it seemed to work fine on english windows, but I heard about errors in german windows
Avatar
Дядя Женя 2019-07-20 18:04:53Z
so whats wrong about it
Avatar
what's printed in the console at the bottom?
Avatar
Дядя Женя 2019-07-20 18:05:42Z
18:05
what it should print lol
18:05
nothing
18:06
Opening Repositories: ...
Avatar
wait
18:06
have you installed cmake support in microsoft visual studio?
Avatar
Дядя Женя 2019-07-20 18:06:36Z
not sure
18:06
everying is from ur guide
Avatar
you followed it?
Avatar
Дядя Женя 2019-07-20 18:06:53Z
y
Avatar
including the stuff in the installer?
Avatar
Дядя Женя 2019-07-20 18:07:04Z
ofc
18:07
lets check for cmake btw
Avatar
the combo box with "Git" down there
18:07
is there a selection for "CMake"?
Avatar
Дядя Женя 2019-07-20 18:07:45Z
hmmm
18:07
wait a little
18:08
may be it did not install some packages I've marked (edited)
18:08
including CMAKE lol
18:08
why
18:08
why VS
18:09
I hope that's the problem
Avatar
it's the vs way, it doesn't need to ever work properly with dozens of people going out of their way to defend a 20gb IDE in 2019
Avatar
Дядя Женя 2019-07-20 18:44:28Z
ok, that didnt help
Avatar
1769e5a Don't advertise the reserved slots. Fix #1808 - Learath2 57197d9 Better represent the state of the server - Learath2 69ace3c Merge #1837 - bors[bot]
Avatar
Дядя Женя 2019-07-20 18:50:34Z
@heinrich5991
Avatar
in the log window with the combobox with "… git"
18:59
can you select something with cmake there?
Avatar
Дядя Женя 2019-07-20 19:05:08Z
no
Avatar
Дядя Женя 2019-07-20 19:17:19Z
K, done it with CMAKE as I tried before
19:17
Your tutorial sucks btw :3
19:17
lookin' on comments > its not working for like 95% of people
Avatar
okay :/
19:27
sorry
19:27
although I guess you're more likely to comment if it doesn't work
Avatar
@heinrich5991 do you have any solution for my problem? I updated Visual Studio 2017 after lile 2 years or so, and now I cannot choose anothsr building config, so there is only x64-release
19:48
like*
Avatar
@fokkonaut could you try deleting your cmakebuilds (or similar) folder so vs2017 regenerates it?
Avatar
Okay, let me have a breakfast first
19:49
(just woke up, lol)
Avatar
lol
19:50
you're in UTC+2, right?
19:50
😛
Avatar
Yes, indeed
19:50
But I have holidays and my day-night schedule is fucked :D
Avatar
ChillerDragon 2019-07-20 19:58:22Z
interesting interview o.O @Ryozuki much wow blender related
19:58
they talk about machine learning tho xd
19:58
a lil
Avatar
Дядя Женя 2019-07-20 20:15:04Z
@heinrich5991 I mean you need solution to this problem that occurres to 95% users trting your guide on step 25
Avatar
yea
20:18
I'll try to update it when I get hands on a windows computer again
Avatar
@Дядя Женя as he said people it doesn't work for are more likely to post, it's most prolly not 95% 🙂
20:57
it's relatively easy to get it working with a sane compiler like mingw in a sane environment like cygwin or msys2
20:59
In other news, I messed around with opengl a bit today, so cumbersome to work with in the core profile
20:59
200~ lines to get a triangle on the screen 😛
Avatar
have heard the new cool shit is vulkan 😛
Avatar
vulkan also needs quite some lines of code to setup
Avatar
true, perhaps even mroe
Avatar
even more, but I decided to polish up my core profile opengl before diving into vulkan
21:17
it's very different from the fixed pipeline rendering of the old opengl :/
Avatar
@Learath2 I am trying to apply your reserved slots thing to my mod, but it says maximum is not defined. That cant be because I always applied every serevrside patch from ddnet master to my mod
21:31
How do I get it to work?
Avatar
output of grep maximum src/base/math.h please
Avatar
in order to solve your problem, I'd like to have the output of the above command
Avatar
it gives no output
Avatar
in ddnet there's a funciton called maximum in src/base/math.h
21:34
that's the problem
Avatar
Alright, thanks
Avatar
Thank you heinrich
Avatar
ed109a3 Add file selector if no file was passed - def-
Avatar
I wanted to fix that but I couldn't figure out how to stop windows.h from adding in the stupid min max macros of their own
Avatar
@heinrich5991 My mod does not have the color changes applied, since that only affects the client. Can I use the old min and max instead of applying the new which says maximum and minimum?
Avatar
yes
21:56
you can also just define the new maximum and minimum functions in addition to the old ones
Avatar
does that make any sense?
21:57
Is there a difference?
Avatar
no
Avatar
Why sould I do it then
Avatar
just in case you want to keep the code as close to ddnet as possible
Avatar
ehm what
21:58
I did it with max now, but if i ctrl+click it it leads me to minwindef.h
21:59
I will do it with maximum instead
22:02
Or can I just rename it?
22:02
should be fine right
Avatar
yes
Avatar
@heinrich5991 I removed the Build folders, but it still doesnt work
Avatar
it regenerates the build folder and it's still only 'x86-release'?
Avatar
yes, but its x64-release
22:38
not x86
22:38
if i click on "Konfigurationen verwalten" it opens CMakeSettings.json
Avatar
try to delete that file
Avatar
it is not from our repo
22:42
it is in C:\Users\User\AppData\Local\Microsoft\VisualStudio\15.0_7de87f2d\OpenFolder\CMakeSettings_schema.json
Avatar
hm
Avatar
but when I try to change to another configuration in ChillerDragons mod there comes a pop up
22:43
wait, let me show you
Avatar
[freenode] heinrich5991 BOT 2019-07-20 22:43:42Z
wait
Avatar
>12:38 AM] fokkonaut: if i click on "Konfigurationen verwalten" it opens CMakeSettings.json
22:43
delete that file, not CMakeSetting_schema.json
22:44
it doesnt exist
22:44
oh wait
22:44
it is in my repo folder
22:45
okay, now it says x64-Debug (standard)
22:45
and there is still no other option
Avatar
can you post the file's contents?
Avatar
BUT, if I click "Konfiguration verwalten" it opens that popup, and I can choose
Avatar
try it?
Avatar
oh wtf, I have selected x64-release now, and when I click "Konfigurationen verwalten" now again, it opens CMakeSettings.json
22:47
So i have to remove that file in order to get another configuration?!
Avatar
afaict, this file specifies which configurations are available
22:48
could you post its contents somehow?
Avatar
{ "configurations": [ { "name": "x64-Release", "generator": "Ninja", "configurationType": "RelWithDebInfo", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}", "installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" } ] }
Avatar
were you perhaps able to select multiple configurations in the "Konfiguration verwalten" dialog?
Avatar
Nope, I just tried
22:48
I can only select one
Avatar
you can copy-paste these configurations I guess
Avatar
I will try
Avatar
into the "configurations" array in that json file
Avatar
{ "configurations": [ { "name": "x64-Debug", "generator": "Ninja", "configurationType": "Debug", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}", "installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" } ] }
22:49
so this one under x64-release?
22:50
I can select two now
22:50
i mean, x64-release and debug
22:50
have ut like this now
Avatar
yea, sounds good
Avatar
okay good
Avatar
I have no idea what might have possibly broken it
Avatar
me neither
22:53
Never update microsoft programs if they are working :D
22:53
@heinrich5991 can you fix it tho? or is it unfixable? xd
Avatar
fix what
Avatar
That it can create this file automatically with all the information
Avatar
I'd need a windows computer to properly debug this
22:54
I don't have one right now
Avatar
okay
22:55
BTW: @Learath2, I think your commit fails a bit, if there are more than 64 players on my server, it used to send 63/256, and if it reaches 256 it will turn to 64.
Exported 189 message(s)