Several Problems while creating a DDNet based server
Re: create-votes.py
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).
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).
-
- 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
tnx for help but now show this
after type python create-votes.py brutal
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✟
-
- 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
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
---------------------------------
sorry for my bad English
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

---------------------------------
sorry for my bad English
✟Տ℣ʒN✟
- 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
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
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-
- 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
tnx kamillentee
but I have another problem,
I need newest updated maps file and race server cfg and race maps file
but I have another problem,
I need newest updated maps file and race server cfg and race maps file
✟Տ℣ʒN✟
-
- 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
Hello guys,
I installed mysql-server - mysql-client - apache2 - phpmyadmin
but when I run server DDNet with use sql show me this errors
how fix this
---------------------------------
My VPS is
Linux ubuntu 15.04
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✟
- 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
you need mariadb-server
apt-get install mariadb-server
apt-get install mariadb-server
- 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
what sql version he use should not matter, it seems more like the sql table is just missing
- 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
well i did it with mariadb and got no problems
Who is online
Users browsing this forum: No registered users and 2 guests