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 2018-07-31 00:00:00Z and 2018-08-01 00:00:00Z
Avatar
fullbg pls
Avatar
He there, anybody knows how to fix that - ?
Avatar
You need to download bam first. The last version is 0.4.0 as far as I remember
Avatar
ᶰ°Konͧsti 2018-07-31 11:48:04Z
Why is ZombieToad in DDNet client change log, ZombieToad is SP | Someone :O
Avatar
its downloaded
Avatar
because he is a coder @ᶰ°Konͧsti and he helped to improve the client?
Avatar
I did also add some commands via VS terminal
Avatar
sp someone may be a troll, but that doesnt matter. why shouldnt he be in the changelog for his work?
Avatar
trolling is bad
11:53
but can anyone answer on my question whats wrong ?
Avatar
ᶰ°Konͧsti 2018-07-31 11:54:00Z
?XD
11:54
nobo
11:54
i mean its wrong name
11:54
nobody knows ZombieToad
11:54
Who have ran ddnet server via VS ?
Avatar
vs = visual studio?
12:13
i did
Avatar
Well, you had to download it and compile. I never done it in Windows, but I guess it is similar. Just enter the source directory and run the command: ../path-to-bam/bam.exe [release_options] (edited)
12:15
release_options may be server_release, server_sql_release, client_release etc.
Avatar
I used the name from github: https://github.com/ZombieToad
ZombieToad has 1 repository available. Follow their code on GitHub.
12:34
I did like Ryozuki showed it his video
12:34
Edgar are you here ?
Avatar
@Tlalok you should be located inside teeworlds source directory
Avatar
the bam folder ?
12:48
oO
Avatar
teeworlds source directory
Avatar
"configdirectory" - teeworlds ?
13:02
the directory where your teeworlds source is located. The directory where you extracted the DDNet source
Avatar
so in ddnet 11+ do u have to use cmake to compile
13:04
i bet he has ddnet 11 source
13:04
and thinks he can do it with bam
Avatar
ah, ok. @Tlalok ask @ezy - he knows more how to compile
feelsamazingman 1
Avatar
u cant compile ddnet 11 with bam right?
13:04
i mean ive never compiled ddnet 11+ before
Avatar
I downloaded the lastest ddnet ye
Avatar
I comiled it via VS
Avatar
i dont know if u can compile that with bam but i will check
Avatar
I followed Heincrich instruction from the DDnet forum
Avatar
oh yea he has a good tutorial
13:05
never tested it tho
Avatar
does it work? @Tlalok
Avatar
it works but Im not sure if it works correctly
13:06
I can run server from green icon in VS
13:06
but I cant adjust the server
13:06
the autoexe config is different in VS
13:06
I have unnamed server
Avatar
@Tlalok do you want to compile ddnet using visual studio?
Avatar
you need to change the autoexec external from VS
Avatar
@Albatross do you have cmake?
Avatar
change it like you always do
Avatar
I guess it built in
Avatar
do you have git?
Avatar
I saw a lot of logs that correlates with cmake
13:07
I do have
Avatar
ok, create a new folder. then open git there and write git clone https://github.com/ddnet/ddnet and after its done you write cd ddnet and then you want to type git submodule update --init --recursive
13:09
the last one will give you the correct libraries
Avatar
and after thats done you open the project in visual studio
13:09
then you select x64-release in the dropbox
13:09
and you should be able to "build all" using cmake
Avatar
cd ddnet CMD ?
Avatar
ye, it will open the ddnet folder in git
13:11
or just open a new git window in the ddnet folder
13:11
that doesnt matter, its the same
13:12
cd = change directory
Avatar
I typed
13:12
git submodule update --init --recursive
13:12
nothing chagned
Avatar
didnt it download something?
Avatar
unfrotunately no
Avatar
and what I should build all via cmake ?
13:14
btw
13:14
If you will help me
13:14
Ill be able to Host DDnet server with full DDOs protection 24.7
Avatar
cuz I have dedicated pc in my home
Avatar
(look top)
Avatar
starting from zero on some random directory on your system: git clone --recursive https://github.com/ddnet/ddnet cd <ddnet directory> mkdir build cd build cmake .. cmake --build . --config Release
13:19
in case you want a specific version add the corresponding tag when cloning
Avatar
meaning git checkout tags/11.3 for example
Avatar
btw How to set up points in mysql DB for the server
13:20
to sync it
13:21
you cant sync it, if you want to host a certain ddnet server you have to talk to @deen
Avatar
btw DDspeed has the points
Avatar
How did they get it ?
Avatar
because they use the ddnet databse, look the link i sent
13:21
you cant sync it with the official servers unless you talk to deen to host a server
13:22
but i cant say wether he says yes or no because we had some issues with private hosters in the past
13:22
e.g. cheated ranks
Avatar
with ur link I can just get DB of ranks
Avatar
:konsti:
Avatar
hello @qshar
Avatar
but when people willl complete the map it wont work
f3 1
Avatar
hey ho @fokkonaut
Avatar
so that will work in 1 flow
13:23
I just thought to help DDNet while they are fixing their problems to utilize 1 of my machines
13:24
to let people play
Avatar
thats nice
Avatar
but I need your help.
Avatar
masterplan
Avatar
sarcastic behave detected
Avatar
ezy stinkt
13:25
😃
Avatar
that raper with red hat tried to troll guys with no reason
13:25
what a bad boy 😃
Avatar
@moe they mean u
Avatar
btw who knows the specific requirements for pc that runs a server
Avatar
ddnet does troll
Avatar
get out of here 😃 xD
13:27
spammer xD
Avatar
whats the problem
13:29
youre done
Avatar
fatal error
13:29
u need new pc to fix that problem
Avatar
can someone mute him 😃 ?
Avatar
@jao please remove @ezy from here
Avatar
he is booring that first class jokes
13:30
nothing special just face palm...
Avatar
btw @Tlalok he is one of the reasons we had the dev channel locked to normal people (edited)
Avatar
thats why i do them
13:30
yea but i had permission to talk here anyway
Avatar
man you think it makes you smart ?
13:30
you are trivial low-level troll
Avatar
yes i have a 200 iq now
13:31
he is just bob
Avatar
im pretty sure ur srv will get ddosed
Avatar
yes, he is (edited)
Avatar
you cant DDOS my server kid
13:31
sorry
Avatar
I can pay for its protection 100 usd
13:31
per month*
13:31
so be upset
Avatar
so r u a rich kid or do u do some serious shit on that srv
Avatar
@jao
Avatar
done @fokkonaut
Avatar
thanks
13:32
lets continue ye ?
Avatar
sure
Avatar
I wanna figure out how to adjust server via VS
13:33
but the autoexe file shows different adjustments aand doesnt change the server
Avatar
where is your autoexec file?
Avatar
do you have the cmaketab at the top?
13:35
(yours might be in english^^)
13:35
after thats done open this
Avatar
cant I change setting in VS ?
Avatar
what setting?
13:37
autoexec?
13:37
open the cache folder
13:37
and there is your ddnet-server.exe
13:37
and in that folder you place the autoexec.cfg
13:37
where the ddnet-server.exe lives
Avatar
I wanna change gamemode
13:38
I know that its possible via VS
Avatar
you dont want DDraceNetwork?
Avatar
I have my own map with my own gamemode
13:39
and I also want to change it there
Avatar
what gamemode?
Avatar
I wanna adjust my server for my map
13:39
Logic map
13:39
less gameplay more brain
Avatar
what exactly do you want? xd
13:39
i cant follow
13:40
I dont see the difference, I cant simply host my server via DDnet client, so Why do I need to compile it via that hard efforts and a lot of third-party soft ?
13:40
I can*
Avatar
you dont need to, nobody ever said that
Avatar
what exactly compile does ?
Avatar
it turns the code into the working program (edited)
Avatar
so I need to run VS to adjust the code ?
Avatar
or some other text editor, yes
Avatar
I can also completely change the game If i want and if I can ye ?
Avatar
so I have gamemode directory in VS
13:42
I changed it but when I run server nothing appears
Avatar
you can simply use the ddnet server that comes with the client
Avatar
I tried to change it with simple ddnet server that is in client but it doesnt work
13:42
I just changes the mode between cheat or not
Avatar
but I saw ruozuki video where he did it
Avatar
where he did what
13:43
6:25 sec
13:45
do that and compile
13:45
server doesnt changes
13:45
when i run it
13:45
I cant even choice a map
13:45
choose*
Avatar
what did you do so far?
Avatar
I changed game like video shows
13:47
and I see an unnamed server
13:47
without changes
Avatar
as i said, copy the autoexec file to your ddnet-server.exe
13:47
they have to be in the same directory
13:48
13:48
then you can simply change the name of the mode
13:48
but be careful here
13:48
the client wont be able to zoom or stuff like that if the gamemode is not DDRace, DDraceNetwork or that stuff
13:49
this right here doesnt chaneg the gamemode, it just changes the name of the Gametype
13:50
if you set it for example to CTF now, the server will still be ddnet because its in the code, but the client will think its a CTF server so you can t zoom and predictions are wrong
Avatar
oh I see, I did it succesfully
13:52
I didnt know that I need to put that autoexe file
13:52
very simple
13:52
and no bam needed
13:52
but how can I implement points there ?
Avatar
+1 for fokkonauts patience
Avatar
you cant get points on your own servers
13:53
it has to be an official ddnet server
Avatar
cinaera if you have any problems then tell it to me plainly!
Avatar
@loui thats not true
Avatar
I dont want to abuse points or etc
13:54
I just want that people could check it there
Avatar
@Tlalok just appreciating fokkonauts support here, explaining stuff in detail. Setting projects up from the beginning isn't easy, I'm aware of that. Nonetheless you could follow him more closely as he already told you for example how query the points. (edited)
Avatar
I have no programmer skills to inerpretate the link https://github.com/ddnet/ddnet#importing-the-official-ddnet-database
ddnet - DDraceNetwork, a mod of Teeworlds
13:57
but Im not a noob pc user I just need a key and Ill open the door
13:57
I have no idea how to let my server send requests to DDnet for points and create mysql DB for that if the DDNet wont be responsive
Avatar
@Ryozuki what do u mean
13:59
u can't get official points in a local or online server that's not official
Avatar
u didnt say "official points"
Avatar
@cin xD thanks
Avatar
now u do
Avatar
he get a snapshot of the points at a certain time
Avatar
u can get points in your server
Avatar
I didnt say anything about official points also
14:00
ryozuki can you simply tell me what do I need to do ?
Avatar
can I have an explanation why no ?
Avatar
@Tlalok just type the commands listed in your command line. It's written for an unix system so all commands will probably not work. If you hit a certain barrier feel free to ask.
Avatar
these commands - $ wget https://ddnet.tw/stats/ddnet-sql.zip $ unzip ddnet-sql.zip $ yaourt -S mariadb mysql-connector-c++ $ mysqlinstall_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql $ systemctl start mariadb $ mysqladmin -u root password 'PW' $ mysql -u root -p'PW' MariaDB [(none)]> create database teeworlds; create user 'teeworlds'@'localhost' identified by 'PW2'; grant all privileges on teeworlds.* to 'teeworlds'@'localhost'; flush privileges;

this takes a while, you can remove the KEYs in record_race.sql to trade performance in queries

$ mysql -u teeworlds -p'PW2' teeworlds < ddnet-sql/record
*.sql $ cat mine.cfg sv_use_sql 1 add_sqlserver r teeworlds record teeworlds "PW2" "localhost" "3306" add_sqlserver w teeworlds record teeworlds "PW2" "localhost" "3306" $ mkdir build $ cd build $ cmake -DMYSQL=ON .. $ make $ ./DDNet-Server -f mine.cfg
14:02
?
Avatar
yes (excluding the $)
Avatar
where should I type them ?
Avatar
in your command line
14:03
and if I will do it correctly I will get possibility to see points on my serv ?
Avatar
thanks you @jao @cin
Avatar
your welcome
Avatar
@fokkonaut
14:05
Thank you too much 😃 it rly helped me
14:06
maria is better then mysql ye ?
14:06
than*
Avatar
mariadb is better yea
Avatar
It's more political than about "better"
Avatar
political ?
14:28
what do you mean ?
Avatar
someone reall should have a look into ATH client and grab some usefull features (IRC client is really cool, makes it easy to chat with people on #ddnet or communicate with the devs while ingame
Avatar
@Tlalok oracle project vs open source project
16:46
mysql vs mariadb
16:47
MariaDB: On the day Oracle announced they had purchased MySQL, Michael “Monty” Widenius took several MySQL developers and started MariaDB, a fork of MySQL from that point.
16:48
MariaDB vs MySQL, these two databases are similar RDBMS. What are the differences? Which one is right for your business? Learn about them here with Panoply.
Avatar
anybody knows why is this happening
18:00
should I nvm ?
18:00
I dont understand you
Avatar
please post the full error description
Avatar
Severity Code Description Project File Line Suppression State Error CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/Absoliwt/CMakeBuilds/7eebb2e5-b366-2730-90ff-4db412f0a6d3/build/x64-Release/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "cmTC_ccdff" [1/2] Building C object CMakeFiles\cmTC_ccdff.dir\testCCompiler.c.obj [2/2] Linking C executable cmTC_ccdff.exe FAILED: cmTC_ccdff.exe cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_ccdff.dir --manifests -- "C:\Program Files (x86)\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1414~1.264\bin\Hostx64\x64\link.exe" /nologo CMakeFiles\cmTC_ccdff.dir\testCCompiler.c.obj /out:cmTC_ccdff.exe /implib:cmTC_ccdff.lib /pdb:cmTC_ccdff.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." RC Pass 1: command "rc /foCMakeFiles\cmTC_ccdff.dir/manifest.res CMakeFiles\cmTC_ccdff.dir/manifest.rc" failed (exit code 0) with the following output: The system cannot find the file specified ninja: build stopped: subcommand failed.
18:04
CMake will not be able to correctly generate this project. C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake 52
18:04
here you go
Avatar
absoliwt lol
Avatar
something is messed up with your cmake configuration as you have set ninja as generator
18:07
easiest solution would probably to delete the cmakecache in your build directory and reconfigure from scratch using the command line cmake .. or cmake-gui
18:07
this should give you an actual VS solution to work with
18:08
using cmd ?
Avatar
just type cmake-gui ?
Avatar
y, this will open an gui for easier handling
Avatar
I had a choice of VS
18:09
maybe I choice a wrong Vs version oO ?
18:10
choose*
18:11
is the setting alright ?
18:12
can you tell what are these red field ?
Avatar
newly added settings allowing to configure the build the build succeeded so you don't have to care for it
Avatar
should I press "generate" ?
Avatar
you can later set values to enable mysql point system for example
18:14
y
Avatar
and the mistake appeared again...
18:15
line 52
18:15
in VS
Avatar
you can try running it from the VS developer command prompt, I'm not sure what's the cause of it. Tried it myself today and didn't have an issues for setting it up.
18:21
it's late here so I got to go
Avatar
thank you for help
18:26
I rly appreciate it
Avatar
@jao why was he banned
Avatar
evading his original ban
Avatar
someone teach me how to create a teeworlds menu
Avatar
what do you mean
Avatar
just amenu
22:37
like
22:37
you have ddnet menu
22:37
internet menu
22:37
lan menu
22:37
actually
22:37
not those
22:37
i mean
22:37
HUD
Avatar
Graphics
Avatar
like the settings
Avatar
like adding an option to the settings
Avatar
a new menu
22:41
basically (edited)
Avatar
1. learn c++
Avatar
why would I
22:54
it's just coyping the code
22:54
and pasting
22:54
and change things
22:54
and learn small tihngs
22:54
i don't want to learn c++ rn
22:54
fml
Avatar
well it depends on what you want to do
Avatar
i just want to create a tab for gameskins
22:55
and i could swap gameskins
22:55
on game
Avatar
like the game.png thing
22:56
gameskins and things like that
22:56
gameskins is just an example
22:56
for a menu
22:56
it would change game.png
Avatar
h client has that
23:39
i think
23:39
just copypaste that
23:40
but u gotta make te separste folder and i'm not sure it's compatible with ddnet
Exported 368 message(s)