File: README

package info (click to toggle)
crossfire 1.71.0+dfsg1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 28,076 kB
  • sloc: ansic: 85,126; sh: 11,978; perl: 2,659; lex: 2,044; makefile: 1,271
file content (187 lines) | stat: -rw-r--r-- 7,064 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
Crossfire Server User Guide
===========================
Crossfire Development Team <crossfire@metalforge.org>
1.71.0, April 2014
:numbered:
:toc:

NOTE: This README is written for those who wish to run their own server. It is
not necessary to install the server in order to play Crossfire.

Introduction
------------
What is Crossfire?
~~~~~~~~~~~~~~~~~~
Crossfire is a free, open-source, cooperative multi-player RPG and adventure
game. Since its initial release, Crossfire has grown to encompass over 150
monsters, 3000 areas to explore, an elaborate magic system, 13 races, 15
character classes, and many powerful artifacts scattered far and wide. Set
in a fantastical medieval world, it blends the style of Gauntlet, NetHack,
Moria, and Angband.

Installation
------------
System Requirements
~~~~~~~~~~~~~~~~~~~
Crossfire should run on any machine with an ANSI C compiler installed. To
date, it has been known to work on Linux, BSD, Windows, Solaris, and Mac.

In order to build the server, a copy of the game archetypes must be unpacked
or linked in the "lib/arch" directory. This can be deleted once the build is
finished, but keeping a copy around won't hurt. Perl is required to generate
the final archetype files, but is not needed after the build is complete.

In order to run the server, a copy of the game maps is also required.

In addition, there are a number of optional dependencies that make the game
even more fun. These include:

* Support for dynamically loaded libraries. Most modern operating systems
should have it. This is needed for server plugins.

* Python 2.4 or later - this is needed for the Crossfire Python plugin
(CFPython) and is *highly* recommended. Most maps, quests, and NPCs will
not work without it.

* SQLite3 - for cflogger and cfnewspaper. These plugins are still under
development and aren't very useful at the moment.

* Check - for unit tests. This is required for plugin developers, but mostly
useless to normal users.

Compiling
~~~~~~~~~
IMPORTANT: This section is out of date. Don't rely on it.

Crossfire has been known to compile on a wide variety of systems.  It should
compile on most all ANSI C and POSIX compliant systems.

To get directions on compilation under Unix/Linux, read the INSTALL file.
For Windows: Someone with Windows: please fill this in.

Step-by-step compilation guide:
http://wiki.metalforge.net/doku.php/crossfire_compile_guide

Running Crossfire
-----------------
IMPORTANT: This section is out of date. Don't rely on it.

Crossfire runs on a client/server model.  You will also need the client to
play.  You can either connect to a server someone else has set up, or run
your own server and connect to that.  The client package has information for
connecting to servers.

To run your own server, you need to make the crossfire binaries and install
them, and then run the crossfire-server program.  This creates a server
that you and other people can connect to.  The map files must be downloaded
and installed for the server to run properly.  They should be unpacked in
the '$(TARGET)/share/crossfire' directory - after unpacking, you should have a
'$(TARGET)/share/crossfire/maps' directory.  Alternatively, maps in that
location may be a sym-link that points to a different folder.

Hosting a Public Server
~~~~~~~~~~~~~~~~~~~~~~~
If you plan to run a long term server, you should use one of the scripts
provided that will re-run crossfire if it dies for some reason.

How to host a public server:
http://wiki.metalforge.net/doku.php/serverhosting:hosting_a_crossfire_server

Getting Help
------------
Website
~~~~~~~
Official Website:
http://crossfire.real-time.com/

Crossfire Wiki:
http://wiki.metalforge.net/doku.php

SourceForge Downloads Page:
http://sourceforge.net/projects/crossfire/files/

IRC
~~~
It's possible to link up with a small community of Crossfire players and
developers on irc.freenode.net in the #crossfire channel. Though activity
waxes and wanes, it's often possible to get live help there.

Mailing Lists
~~~~~~~~~~~~~
For the latest subscription for crossfire mailing lists, go to:
http://crossfire.real-time.com/mailinglists/index.html

There you can subscribe/unsubscribe any of the mailing lists.  Links to
archives of the mailing lists can be found there, as well as at:
http://gmane.org/find.php?list=crossfire

Contributing
------------
Reporting Bugs
~~~~~~~~~~~~~~
First, check the INSTALL file for common problems, and see if yours is
mentioned.

Bugs should be filed in the Crossfire bug tracker on SourceForge:
http://sourceforge.net/p/crossfire/bugs/

When reporting bugs, make sure you include the following:

* If you have a sourceforge login, make sure you are logged in.  This way,
    if there are questions about the bug, you will be notified about the
    request for more information.
* What version of crossfire did you use?
* What type of computer did you use (CPU type)
* What is the version of the OS?
* What compiler (and its version) did you use (ie, gcc, icc, etc)?
* Which flags did you give it?
* If the bug happens when compiling crossfire, send an EXACT copy of the
    compiler line, as well as the errors it puts out.  Sending bugs of the
    sort 'it failed with a line like ...' doesn't help at all.
* If you are using any of the plugins, what version(s) of Python and SQLite
    do you have installed?
* If the bug happened while running crossfire:
  - Include any output before to the bug.
  - Give a description of what you did before the bug occurred.  The better
      detailed the description, the better chance we have of figuring out
      where the bug happened, or how we can recreate the bug.
  - If possible, a stack trace from gdb (or other debugger) is very helpful.

The more information provided, the better chance of the bug being fixed in
a timely fashion.

Further debugging information can be found at
http://crossfire.real-time.com/debugging_tips.html

Submitting Patches
~~~~~~~~~~~~~~~~~~
See the doc/programming_guide file.

Patches should be sent to the Crossfire patch tracker on SourceForge:
http://sourceforge.net/p/crossfire/patches/

Copyright
---------

Don't get scared by the below, it's included just for "safety" reasons 8)
(Don't want anyone to start selling the game)
----
Copyright (c) 2000, 2006 Mark Wedel
Copyright (c) 1992 Frank Tore Johansen

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.

The author can be reached via e-mail to crossfire-devel@real-time.com
----