Creating a CFServer on Linux

Requests for assistance and other HOWTOs.

Moderator: Board moderators

LinuxServer

Creating a CFServer on Linux

Post by LinuxServer »

I was wondering if you could point me in the direction of a current .rpm or .tar.gz for the CFServer package. The only one I could find was several versions out of date. Thank You.
User avatar
hoxu
Senior member
Posts: 330
Joined: Tue Apr 29, 2003 6:10 am

Post by hoxu »

:shock:

The first link points to ftp.sf.net which seems to have the most recent version. Alternatively check out the files section at http://sourceforge.net/projects/crossfire/

/* Debian GNU/Linux - rebooting is for adding hardware. */
LinuxServer

Post by LinuxServer »

Thank you very much
LinuxServer

Post by LinuxServer »

Hm, now we have a new problem. I have d/lded this before.. and there isnt anything in there about creating your own server.. do you think you could now point me in the direction of making my own? Thank you once again.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Creating a CFServer on Linux

Post by Leaf »

LinuxServer wrote:I was wondering if you could point me in the direction of a current .rpm
As I understand it, having an .rpm of the server isn't that easy.

Many server features (ex: permadeath, cone spell propagation, spell encumbrance penalty, etc.) need to be specified before compiling. And with an RPM, that isn't possible.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

LinuxServer wrote:..do you think you could now point me in the direction of making my own?
A while back, I was told:


./configure && make && make install


No idea on the exact usage or syntax for those commands though. :cry:
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

The server package is available as a gziped tarball and yes the easiest way I know to install it is:

*download the server tarball
*download the maps tarball
*untar to a directory;
*./configure --prefix=/where/you/want/it/and/have/permission
*make
*make install
*cd to the install directory (hint: /where/you/want/it/and/have/permission)
*look for the 'share' directory and untar the maps into the 'maps' directory in there
*look for the etc directory and a file called settings where you can change some settings (defaults are fine too)
*look for the bin directory and run crossfire or crossloop from in there to start the server

of course you need development tools (make, gcc, autoconfig - and whatever else the package README says) to build it. If you don't use the prefix when you run configure then it will install in the default folders so make sure you can write to them...

there is also a way to create RPMs (rpm-build?) from a tarball but don't ask me how since I use Debian. Besides as Leaf says there may be some things you want to set up (although most of this has been moved to the settings file and no longer compiled in from config.h)
LinuxServer
Newbie
Posts: 4
Joined: Tue Jan 20, 2004 7:18 pm

Post by LinuxServer »

Thank you all very much, I will let you know when it is done, or when I need help again.
~Linux, nothing better than~
~In order to find his equal, an Irishman is forced to face God~
LinuxServer
Newbie
Posts: 4
Joined: Tue Jan 20, 2004 7:18 pm

Post by LinuxServer »

I have everything installed, and when I go to run crossfire or crossloop, it waits, says its waiting for connections. I was wondering if Im just supposed to wait until it times out, or do I just wait for it to succeed. When I try to run crossloop, it doesn't do anything. What do I do?
~Linux, nothing better than~
~In order to find his equal, an Irishman is forced to face God~
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

LinuxServer wrote:I have everything installed, and when I go to run crossfire or crossloop, it waits, says its waiting for connections. I was wondering if Im just supposed to wait until it times out, or do I just wait for it to succeed. When I try to run crossloop, it doesn't do anything. What do I do?
That means the server is running, now you need to launch/connect with one of the Crossfire clients.
Post Reply