how to run ddnet?

Discuss and share everything else.., it's the trash-section.
Forum rules
Please follow the common behaviour rules (viewtopic.php?f=113&t=2199) and write english-only.
Post Reply
TheMaster
Posts: 8
Joined: Mon Dec 21, 2015 3:41 am

how to run ddnet?

Post by TheMaster »

so if ddnet is going down how could we start our own server? i can get the mysql server working but how would the points work? do i just put all the maps in the maps folder and they give points automaticaly?
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: how to run ddnet?

Post by deen »

Well, that's the problem: It's complicated. You could just import DDNet's mysql database, then it should work with the current maps. For adding new maps DDNet uses scripts that add the maps to the sql database:
- Database: http://ddnet.tw/stats/ddnet-sql.zip
- Scripts: https://github.com/ddnet/ddnet-scripts/
[A] Awesome
Posts: 444
Joined: Sun Sep 14, 2014 5:15 pm
Player profile: http://ddnet.tw/players/-91-A-93--32-Awesome/
Mapper profile: http://ddnet.tw/mappers/-91-A-93--32-Awesome/

Re: how to run ddnet?

Post by [A] Awesome »

TheMaster wrote:so if ddnet is going down how could we start our own server? i can get the mysql server working but how would the points work? do i just put all the maps in the maps folder and they give points automaticaly?
Or just sponsor a server/donate money and maybe ddnet wont die ;D
~+~Layout~+~
Signature Layout by [A] Awesome
HMH
Posts: 145
Joined: Mon May 05, 2014 8:41 pm
Player profile: http://ddnet.tw/players/HMH/

Re: how to run ddnet?

Post by HMH »

It depends on which level you want to run ddnet or at least something like ddnet. Basically you only need the database and maps. Handling this is not that hard. However things become complicated if you want a votingsystem like the current one and especially if you run servers at different locations eg. Canada and Germany. For the voting stuff you need some clever scripts and for multiple locations you need sql-replication (not so easy to maintain).
TheMaster wrote:do i just put all the maps in the maps folder and they give points automaticaly?
There are several scripts for mapreleases and reratings, they use a file like this to correctly setup points for a map: https://github.com/ddnet/ddnet-scripts/ ... rutal/maps
[A] Awesome wrote:Or just sponsor a server/donate money and maybe ddnet wont die ;D
The problem about ddnet in its current state is that there is too much work to be done. This all started as a small hobby and now it is damn huge. Maintaining all the servers and communities just takes too much time for a hobby, thus our decision for the future of ddnet is a more decentralized serversystem, which means sponsoring a server so we can take it over is not what we want.

The basic plan is to encourage people to setup their "own" DDNet-Servers: We will help integrating them into the ddnet pointsystem and the hosts will care about most other things like votes, which maps to host, who the admins will be etc. As there are still some things left to be prepared to make this work I recommend: If you want to help ddnet by setting up your own servers have a look at the settings and commands there are and try to setup a Lan-Server:
Settings: http://ddnet.tw/settingscommands/#server-settings
Commands: http://ddnet.tw/settingscommands/#server-commands

An official topic on this will follow as soon as I have enough time ^^.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests