| 1 |
================ |
| 2 |
Crossfire Server |
| 3 |
================ |
| 4 |
:Author: Crossfire Development Team <[email protected]> |
| 5 |
:Website: http://crossfire.real-time.com/ |
| 6 |
|
| 7 |
Crossfire is a free, open-source, cooperative multi-player RPG and adventure |
| 8 |
game. Since its initial release, Crossfire has grown to encompass over 150 |
| 9 |
monsters, 3000 areas to explore, an elaborate magic system, 13 races, 15 |
| 10 |
character classes, and many powerful artifacts scattered far and wide. Set |
| 11 |
in a fantastical medieval world, it blends the style of Gauntlet, NetHack, |
| 12 |
Moria, and Angband. |
| 13 |
|
| 14 |
.. note:: You do not need the server to play Crossfire. Crossfire Server is |
| 15 |
only for those who wish to run their own server. |
| 16 |
|
| 17 |
Installation |
| 18 |
------------ |
| 19 |
Dependencies |
| 20 |
~~~~~~~~~~~~ |
| 21 |
Crossfire should run on any machine with an C compiler supporting the C99 |
| 22 |
language standard installed. It should compile on most POSIX compliant |
| 23 |
systems. To date, it has been known to work on Linux, BSD, Windows, Solaris, |
| 24 |
and Mac. |
| 25 |
|
| 26 |
In addition, there are a number of optional dependencies that make the game |
| 27 |
even more fun. These include: |
| 28 |
|
| 29 |
* Support for dynamically loaded libraries. Most modern operating systems |
| 30 |
should have it. This is needed for server plugins. |
| 31 |
|
| 32 |
* Python 2.6 or later - this is needed for the Crossfire Python plugin |
| 33 |
(CFPython) and is *highly* recommended. Most maps, quests, and NPCs will |
| 34 |
not work without it. |
| 35 |
|
| 36 |
* SQLite3 - for cflogger and cfnewspaper. These plugins are still under |
| 37 |
development and aren't very useful at the moment. |
| 38 |
|
| 39 |
* Check - for unit tests. This is required for plugin developers, but mostly |
| 40 |
useless to normal users. |
| 41 |
|
| 42 |
Support Files |
| 43 |
~~~~~~~~~~~~~ |
| 44 |
In order to build the server, a copy of the game archetypes must be unpacked |
| 45 |
or linked in the "lib/arch" directory. This can be deleted once the build is |
| 46 |
finished, but keeping a copy around won't hurt. Perl is required to generate |
| 47 |
the final archetype files, but is not needed after the build is complete. |
| 48 |
|
| 49 |
In order to run the server, a copy of the game maps is also required. |
| 50 |
|
| 51 |
Compiling |
| 52 |
~~~~~~~~~ |
| 53 |
Crossfire Server uses autoconf/automake. Briefly:: |
| 54 |
|
| 55 |
$ ./configure |
| 56 |
$ make |
| 57 |
$ make install |
| 58 |
|
| 59 |
Generic instructions for using autoconf/automake are in `INSTALL <INSTALL>`_. |
| 60 |
|
| 61 |
An older, step-by-step guide is available on the wiki: |
| 62 |
http://wiki.metalforge.net/doku.php/server:server_compiling |
| 63 |
|
| 64 |
Final Steps |
| 65 |
~~~~~~~~~~~ |
| 66 |
- Configure your server (see *$PREFIX/etc/crossfire/*) |
| 67 |
- Make maps available in *$PREFIX/share/crossfire/maps/* |
| 68 |
|
| 69 |
|
| 70 |
Usage |
| 71 |
----- |
| 72 |
You should now be able to run the server:: |
| 73 |
|
| 74 |
$ crossfire-server |
| 75 |
|
| 76 |
Getting Help |
| 77 |
------------ |
| 78 |
Website |
| 79 |
~~~~~~~ |
| 80 |
Official Website: |
| 81 |
http://crossfire.real-time.com/ |
| 82 |
|
| 83 |
Crossfire Wiki: |
| 84 |
http://wiki.metalforge.net/doku.php |
| 85 |
|
| 86 |
SourceForge Downloads Page: |
| 87 |
http://sourceforge.net/projects/crossfire/files/ |
| 88 |
|
| 89 |
IRC |
| 90 |
~~~ |
| 91 |
It's possible to link up with a small community of Crossfire players and |
| 92 |
developers on irc.freenode.net in the #crossfire channel. Though activity |
| 93 |
waxes and wanes, it's often possible to get live help there. |
| 94 |
|
| 95 |
Mailing Lists |
| 96 |
~~~~~~~~~~~~~ |
| 97 |
For the latest subscription for crossfire mailing lists, go to: |
| 98 |
http://crossfire.real-time.com/mailinglists/index.html |
| 99 |
|
| 100 |
There you can subscribe/unsubscribe any of the mailing lists. Links to |
| 101 |
archives of the mailing lists can be found there, as well as at: |
| 102 |
http://gmane.org/find.php?list=crossfire |
| 103 |
|
| 104 |
Contributing |
| 105 |
------------ |
| 106 |
Reporting Bugs |
| 107 |
~~~~~~~~~~~~~~ |
| 108 |
Bugs should be filed in the Crossfire bug tracker on SourceForge: |
| 109 |
http://sourceforge.net/p/crossfire/bugs/ |
| 110 |
|
| 111 |
When reporting bugs, make sure you include the following: |
| 112 |
|
| 113 |
* If you have a sourceforge login, make sure you are logged in. This way, |
| 114 |
if there are questions about the bug, you will be notified about the |
| 115 |
request for more information. |
| 116 |
* What version of crossfire did you use? |
| 117 |
* What type of computer did you use (CPU type) |
| 118 |
* What is the version of the OS? |
| 119 |
* What compiler (and its version) did you use (ie, gcc, icc, etc)? |
| 120 |
* Which flags did you give it? |
| 121 |
* If the bug happens when compiling crossfire, send an EXACT copy of the |
| 122 |
compiler line, as well as the errors it puts out. Sending bugs of the |
| 123 |
sort 'it failed with a line like ...' doesn't help at all. |
| 124 |
* If you are using any of the plugins, what version(s) of Python and SQLite |
| 125 |
do you have installed? |
| 126 |
* If the bug happened while running crossfire: |
| 127 |
|
| 128 |
- Include any output before to the bug. |
| 129 |
- Give a description of what you did before the bug occurred. The better |
| 130 |
detailed the description, the better chance we have of figuring out |
| 131 |
where the bug happened, or how we can recreate the bug. |
| 132 |
- If possible, a stack trace from gdb (or other debugger) is very helpful. |
| 133 |
|
| 134 |
The more information provided, the better chance of the bug being fixed in |
| 135 |
a timely fashion. |
| 136 |
|
| 137 |
Further debugging information can be found at |
| 138 |
http://crossfire.real-time.com/debugging_tips.html |
| 139 |
|
| 140 |
Submitting Patches |
| 141 |
~~~~~~~~~~~~~~~~~~ |
| 142 |
See the `<doc/style-guide.txt>`_ file. |
| 143 |
|
| 144 |
Patches should be sent to the Crossfire patch tracker on SourceForge: |
| 145 |
http://sourceforge.net/p/crossfire/patches/ |
| 146 |
|
| 147 |
Copyright |
| 148 |
--------- |
| 149 |
:: |
| 150 |
|
| 151 |
Copyright (c) 2000, 2006 Mark Wedel |
| 152 |
Copyright (c) 1992 Frank Tore Johansen |
| 153 |
|
| 154 |
This program is free software; you can redistribute it and/or modify it |
| 155 |
under the terms of the GNU General Public License as published by the Free |
| 156 |
Software Foundation; either version 2 of the License, or (at your option) |
| 157 |
any later version. |
| 158 |
|
| 159 |
This program is distributed in the hope that it will be useful, but |
| 160 |
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 161 |
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 162 |
for more details. |
| 163 |
|
| 164 |
You should have received a copy of the GNU General Public License along |
| 165 |
with this program; if not, write to the Free Software Foundation, Inc., |
| 166 |
675 Mass Ave, Cambridge, MA 02139, USA. |
| 167 |
|
| 168 |
The author can be reached via e-mail to [email protected] |
| 169 |
|
| 170 |
See `<COPYING>`_ for more details. |