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).
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 »

As Chairn and me already pointed out you need to tell the create-votes.py which votes to create. To achieve this you just pass the servertype to create-votes.py. For example: ./create-votes.py novice
This will just print all votes for the specified server which means you have to redirect the output to the file where you want the votes to be stored (like this for example: 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 »

tnx for help but now show this
after type python create-votes.py brutal
Traceback (most recent call last):
File "create-votes.py", line 147, in <module>
with open('data/maps/%s.map.cfg' % originalMapName, 'w') as cfg:
IOError: [Errno 13] Permission denied: 'data/maps/Sven.map.cfg'
✟Տ℣ʒ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: create-votes.py

Post by FlushA »

my problem fixed
tnx from HMH and Chairn
✟Տ℣ʒ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

maps and update votes

Post by FlushA »

Hello guys,
I need newest maps file for all type server and new race cfg file please get me this files,
and how update every 1h votes.cfg files.
please help me
:mrgreen:
---------------------------------
sorry for my bad English
✟Տ℣ʒN✟
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.org/players/kamillentee/
Clan: |*KoG*|

Re: maps and update votes

Post by kamillentee »

I guess you mean the votes file. You can generate them using this http://forum.ddnet.org/viewtopic.php?f=68&t=2603.
To update the votes every hour you could use a cronjob. Just open the crontab by typing crontab -e and add the following line @hourly /path/to/your/script You should change the path to your needs. Further informations: https://help.ubuntu.com/community/CronHowto
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: maps and update votes

Post by FlushA »

tnx kamillentee
but I have another problem,
I need newest updated maps file and race server cfg and race maps file
✟Տ℣ʒ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

sql create table error

Post by FlushA »

Hello guys,
I installed mysql-server - mysql-client - apache2 - phpmyadmin
but when I run server DDNet with use sql show me this errors
[15-11-06 13:11:40][SQL]: SQL connection established
[15-11-06 13:11:40][SQL]: MySQL Error: Table 'teeworlds.record_race' doesn't exist
[15-11-06 13:11:40][SQL]: ERROR: Tables were NOT created

how fix this

---------------------------------
My VPS is
Linux ubuntu 15.04
✟Տ℣ʒN✟
User avatar
Ryozuki
Posts: 1748
Joined: Tue Feb 24, 2015 7:28 am
Location: Catalonia
Player profile: http://ddnet.org/players/Ryozuki/
Mapper profile: http://ddnet.tw/mappers/Ryozuki/
Clan: Unique
Website: https://edgarluque.com
Discord: Ryozuki#2188

Re: sql create table error

Post by Ryozuki »

you need mariadb-server

apt-get install mariadb-server
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.org/players/kamillentee/
Clan: |*KoG*|

Re: sql create table error

Post by kamillentee »

what sql version he use should not matter, it seems more like the sql table is just missing
User avatar
Ryozuki
Posts: 1748
Joined: Tue Feb 24, 2015 7:28 am
Location: Catalonia
Player profile: http://ddnet.org/players/Ryozuki/
Mapper profile: http://ddnet.tw/mappers/Ryozuki/
Clan: Unique
Website: https://edgarluque.com
Discord: Ryozuki#2188

Re: sql create table error

Post by Ryozuki »

well i did it with mariadb and got no problems
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests