Page 4 of 7

Re: sql file for DDNet

Posted: Fri Sep 25, 2015 5:17 am
by webshark25
FlushA wrote:I think this line does not work
line:
m_pConnection = m_pDriver->connect(connection_properties);
file:
sql_score.cpp

can u fix that ?
I just compiled the source (9.0.2. i think) and ran it on Windows Server 2008 (windows 7) but no crashes? (it has mysql database connection and its working)
try to run it on another device OR use remote-mysql (if u need, ill make an database for you)
maybe it ran out of memory ... no more crash logs?

Re: sql file for DDNet

Posted: Fri Sep 25, 2015 9:27 am
by FlushA
I ran this on another system but them there is crashed.
can u make a test sql for me ?

Re: sql file for DDNet

Posted: Fri Sep 25, 2015 6:29 pm
by webshark25
FlushA wrote:I ran this on another system but them there is crashed.
can u make a test sql for me ?
database information sent to you.

compile on ubuntu

Posted: Tue Sep 29, 2015 6:40 pm
by FlushA
Hello guys,
I installed linux ubuntu and compile ddnet with bam but bam don't show and show this:
[1/1] #1 link DDNet
/usr/bin/ld: other/curl/linux/lib64/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
bam: 'DDNet' error 256
bam: error: a build step failed

how fix this errors

Re: sql file for DDNet

Posted: Wed Sep 30, 2015 6:41 pm
by FlushA
I install a ubuntu server and now this fix but how set for a map point ,
for example if i finished kobra 4 map get me 5 point and when type points in server show my name and my point

Re: compile on ubuntu

Posted: Fri Oct 02, 2015 2:18 pm
by deen
Current source from github? (the fix for this is not released, not sure if anyone will even do releases anymore, even though it's just a rename of the nightly builds) As a quick workaround you can install libcurl-dev as described here: https://github.com/ddnet/ddnet#building

create-votes.py

Posted: Tue Oct 27, 2015 1:52 pm
by FlushA
Hello guys,
when type in linux terminal python craete-votes.py
show me this error

server = sys.argv[1]
IndexError: list index out of range

how fix this error to make votes.cfg file for my servers

Re: create-votes.py

Posted: Tue Oct 27, 2015 2:20 pm
by Chairn
You need to pass argument to your python scripts.

Re: create-votes.py

Posted: Tue Oct 27, 2015 2:22 pm
by HMH
create-votes.py expects the server name as argument, which can be seen here: https://github.com/ddnet/ddnet-scripts/ ... tes.py#L24. Additionally access to a sql-database with records and maps is required btw. To enable access to a database you have to configure: https://github.com/ddnet/ddnet-scripts/ ... s/mysql.py.
In case you have not set up a database so far you should install mariadb-server and import this: http://ddnet.org/stats/ddnet-sql.zip.

Edit: you might want to have a look at this: https://github.com/ddnet/ddnet-scripts/ ... cal.sh#L10

Re: create-votes.py

Posted: Tue Oct 27, 2015 3:16 pm
by FlushA
I imported ddnet sql files and put maps file with cfgs file from https://github.com/ddnet/ddnet-scripts/ ... vers/types in server types,
and point system work good just my problem with votes.cfg file,
after type python this dosn't create votes.cfg file with maps vote