Creating a CFServer on Linux
Moderator: Board moderators
Creating a CFServer on Linux
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.

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. */
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
Re: Creating a CFServer on Linux
As I understand it, having an .rpm of the server isn't that easy.LinuxServer wrote:I was wondering if you could point me in the direction of a current .rpm
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.
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)
*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)
-
- Newbie
- Posts: 4
- Joined: Tue Jan 20, 2004 7:18 pm
-
- Newbie
- Posts: 4
- Joined: Tue Jan 20, 2004 7:18 pm
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~
~In order to find his equal, an Irishman is forced to face God~
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
That means the server is running, now you need to launch/connect with one of the Crossfire clients.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?