Several Problems while creating a DDNet based server

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
webshark25
Posts: 16
Joined: Fri Sep 18, 2015 8:52 am

Re: sql file for DDNet

Post 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?
FlushA
Posts: 57
Joined: Mon Jul 13, 2015 1:43 pm
Location: IR
Player profile: http://ddnet.org/players/Sv3N/
Mapper profile: http://ddnet.tw/mappers/FlushA/
Clan: I.R.T

Re: sql file for DDNet

Post by FlushA »

I ran this on another system but them there is crashed.
can u make a test sql for me ?
✟Տ℣ʒN✟
webshark25
Posts: 16
Joined: Fri Sep 18, 2015 8:52 am

Re: sql file for DDNet

Post 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.
FlushA
Posts: 57
Joined: Mon Jul 13, 2015 1:43 pm
Location: IR
Player profile: http://ddnet.org/players/Sv3N/
Mapper profile: http://ddnet.tw/mappers/FlushA/
Clan: I.R.T

compile on ubuntu

Post 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
✟Տ℣ʒN✟
FlushA
Posts: 57
Joined: Mon Jul 13, 2015 1:43 pm
Location: IR
Player profile: http://ddnet.org/players/Sv3N/
Mapper profile: http://ddnet.tw/mappers/FlushA/
Clan: I.R.T

Re: sql file for DDNet

Post 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
✟Տ℣ʒN✟
User avatar
deen
TECHNICAL Team
Posts: 3579
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: compile on ubuntu

Post 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
FlushA
Posts: 57
Joined: Mon Jul 13, 2015 1:43 pm
Location: IR
Player profile: http://ddnet.org/players/Sv3N/
Mapper profile: http://ddnet.tw/mappers/FlushA/
Clan: I.R.T

create-votes.py

Post 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
✟Տ℣ʒN✟
Chairn
Posts: 399
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.org/players/Chairn/
Clan: QuintessenZ

Re: create-votes.py

Post by Chairn »

You need to pass argument to your python scripts.
HMH
Posts: 145
Joined: Mon May 05, 2014 8:41 pm
Player profile: http://ddnet.org/players/HMH/

Re: create-votes.py

Post 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
FlushA
Posts: 57
Joined: Mon Jul 13, 2015 1:43 pm
Location: IR
Player profile: http://ddnet.org/players/Sv3N/
Mapper profile: http://ddnet.tw/mappers/FlushA/
Clan: I.R.T

Re: create-votes.py

Post 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
✟Տ℣ʒN✟
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests