Need help!! -- Build a OTTD Server on Linux.

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
dickhunt
Engineer
Engineer
Posts: 1
Joined: 13 Aug 2008 01:15

Need help!! -- Build a OTTD Server on Linux.

Post by dickhunt »

I am a chinese, I'm sorry for my english.

My question:

I want build a OpenTTD server on my Linux Server(CentOS 5.1), but i have not a X-Windows on my
Server. I want the OTTD will autoboot with linux, how to do it ??

And : When OTTD run as a system daemon(IN /etc/rc.d/rc.local: /ottd/openttd -D &) , Where is the Openttd.cfg ??

And: Who have Openttd.cfg manual??? I can found it in OTTD's wiki(maybe my pool english??).

Thanks a lot!!!
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Need help!! -- Build a OTTD Server on Linux.

Post by dihedral »

when you compile OpenTTD it will not find X and therefore build a dedicated server only version

my personal suggestion would be run not run openttd via rc.d
run it as a normal user in screen - then you can at least access the console if you need to

as that user install a cron job (crontab -e) and use @boot to define that the cronjob is executed every time the server boots


you can also use things like autopilot or ap+ with your server, which provides a bridge to irc an many more features
(http://openttdcoop.org/wiki/Autopilot and http://openttdcoop.org/wiki/Autopilot/ap+)
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 4 guests