From no-reply_wiki at cross-fire.org Thu Apr 7 17:17:37 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Thu, 07 Apr 2016 17:17:37 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: crossfire_traffic In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/07 17:17 User : leaf Edit Summary: Traffic for March 2016 @@ -4,8 +4,12 @@ Please put most recent on bottom for month. Unless specified otherwise, changes are in [[trunk]] only. ===== 2016 ===== + ==== March 2016 ==== + * Fix broken exit from Butakis' Elite Training Tower, Entrance (lake_country/RETower/tower0) to world map (r20232) + * Bug #815: Make barrels (indoor/barrel.arc) so they can not be picked up by players (r20234) + ==== February 2016 ==== * Fixed unreachable dialog in Scorn IPO (r20218) * Various grammar fixes in Dicks house (r20219) * Fixed typos and tiles in Greyshield maps (r20220) IP-Address : 63.170.91.101 Hostname : gatekeeper-2.real-time.com Old Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/crossfire_traffic?rev=1457503650 New Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/crossfire_traffic -- This mail was generated by DokuWiki at http://wiki.cross-fire.org/dokuwiki/ From no-reply_wiki at cross-fire.org Mon Apr 18 03:22:24 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Mon, 18 Apr 2016 03:22:24 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: server:server_compiling In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/18 03:22 User : saru Edit Summary: Some installs wont set permissions correctly and need reminding that /usr/games/crossfire is owned by . @@ -211,9 +211,8 @@ ==== LAUNCH ==== - Once the server has been successfully built (aka compiled), you need to launch the Crossfire Server application Double check that you are in the correct directory which is the server directory @@ -227,8 +226,12 @@ Your file directory path should look like this: $ pwd /home//server.svn/server + + Just before launching it is worth while just to make sure all the permissions are correct for the server. If not, the server will not be able to write and characters will not be saved. To do so re-run: + + $ sudo chown -R . /usr/games/crossfire/ Run this command to launch the server: $ ./crossfire-server & IP-Address : 150.101.166.83 Hostname : ppp166-83.static.internode.on.net Old Revision: http://wiki.metalforge.net/dokuwiki/doku.php/server:server_compiling?rev=1410418454 New Revision: http://wiki.metalforge.net/dokuwiki/doku.php/server:server_compiling -- This mail was generated by DokuWiki at http://wiki.metalforge.net/dokuwiki/ From no-reply_wiki at cross-fire.org Mon Apr 18 06:43:21 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Mon, 18 Apr 2016 06:43:21 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: server:server_compiling In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/18 06:43 User : saru Edit Summary: [LAUNCH] @@ -236,8 +236,12 @@ $ ./crossfire-server & What that command will do is run the Crossfire server and return you back to bash or shell prompt + + This is the same as running it from your install directory which is typically /usr/games/crossfire/: + + $ /usr/games/crossfire/bin/crossfire-server & === failure to launch === If crossfire-server is unable to locate the maps file it may be because the chown command didn't work. You may see an error like: IP-Address : 59.167.121.117 Hostname : ppp59-167-121-117.static.internode.on.net Old Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:server_compiling?rev=1460967743 New Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:server_compiling -- This mail was generated by DokuWiki at http://wiki.cross-fire.org/dokuwiki/ From no-reply_wiki at cross-fire.org Mon Apr 18 07:03:40 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Mon, 18 Apr 2016 07:03:40 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: server:hosting In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/18 07:03 User : saru Edit Summary: Added a lot more detail to the crossloop entry including how-tos for linux @@ -97,25 +97,48 @@ * FIXME: More information on how to do this is probably desirable === Crossloop === + One weakness of the crossfire-server binary is that any fatal error will result in your server going offline. To avoid lengthy delays whilst attending to other less important work, most server hosts choose to run the crossloop script. This handy script will restart the server if a crash occurs and create handy log files in the directory of your choosing. Crossloop is usually located within the server install directory (e.g. for linux /usr/games/crossfire/bin/). - * crossloop (//prefix///bin/crossloop) can be used to automatically restart crossfire if the program crashes. - * It stores the core files in the current directory, so this should be run from the directory you want to store those core files. + Please note: * crossloop.web is similar to crossloop, but also e-mails a stack trace and makes data available on the web. To use, some variables at the top of the file need to be changed. Note that make install will overwrite this file, so you will want to make a copy of it. * The script files assume that the core file will just be called **core**. If the name is different, eg, core.//pid//, crossloop will not be able to properly save the core files (but the fact that the name is fairly unique does mean it is less likely they will be overwritten) - * To start, do 'cd somedir; nohup /path/to/crossloop &' - note that different shells may nohup by default - somedir is where you want all the core files to be. For example: - $ cd crossloop_dump/; nohup /usr/games/crossfire/bin/crossloop & + ==Linux instructions== + To start crossloop create a folder for the log files: + $ mkdir crossloop_dump - * This does not start the crossfire server in case of OS reboot. Crossfire does not include a script that does this, but generally, it is not hard to write one - just make sure it su's to the appropriate user before running. - * FIXME - core dumps from crashes - * FIXME - using Munin (http://munin-monitoring.org/) for monitoring and tacking server resources, more of a server host or administration benefit - * Have an automated and remote backup of player files and unique map files in case of hardware failure, data corruption or accident - * All crossfire files are text, so generally easy to back up and restore - * Since files are text, one can even attempt to repair damaged/corrupted files. + Change directory to crossloop_dump + $ cd crossloop_dump + + You can now run crossloop simply by: + + $ nohup /usr/games/crossfire/bin/crossloop & + + You can check that the server is running by running ps aux: + + $ ps aux|grep cross + + You should see something like: + + username 1069 0.0 0.0 13696 2360 pts/40 S+ 21:53 0:00 grep --color=auto cross + username 32126 0.0 0.0 4476 708 pts/39 S 21:37 0:00 /bin/sh /usr/games/crossfire/bin/crossloop + username 32129 0.6 0.0 284264 26240 pts/39 Sl 21:37 0:05 /usr/games/crossfire/bin/crossfire-server -d -tmpdir /tmp/crossfire -log /tmp/crossfire/crossfire-2016-04-18-21:37.log + + + ==Start crossloop on reboot== + Crossloop does not of itself provide a means of starting crossfire upon a system reboot. Due to power failures and other uncontrolled reboots it is generally wise to include this in your system start-up to avoid server downtime. just make sure it su's to the appropriate user before running. + + ==Linux instructions== + FIXME explain how to create init.d entry. + + ==Other helpful automation considerations== + - Have an automated and remote backup of player files and unique map files in case of hardware failure, data corruption or accident + - All crossfire files are text, so generally easy to back up and restore. Since files are text, one can even attempt to repair damaged/corrupted files. + - Consider using Munin (http://munin-monitoring.org/) for monitoring and tacking server resources, more of a server host or administration benefit ==== Social Management ==== === General Tips === If you want to attract players and build a community on your server - your server will need to be reliable, which means: * Available on a consistent basis IP-Address : 59.167.121.117 Hostname : ppp59-167-121-117.static.internode.on.net Old Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:hosting?rev=1411896011 New Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:hosting -- This mail was generated by DokuWiki at http://wiki.cross-fire.org/dokuwiki/ From no-reply_wiki at cross-fire.org Mon Apr 18 07:05:37 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Mon, 18 Apr 2016 07:05:37 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: server:hosting In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/18 07:05 User : saru Edit Summary: [Server Settings] @@ -114,9 +114,10 @@ $ cd crossloop_dump You can now run crossloop simply by: - $ nohup /usr/games/crossfire/bin/crossloop & + + $ nohup /usr/games/crossfire/bin/crossloop You can check that the server is running by running ps aux: $ ps aux|grep cross IP-Address : 59.167.121.117 Hostname : ppp59-167-121-117.static.internode.on.net Old Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:hosting?rev=1460981020 New Revision: http://wiki.cross-fire.org/dokuwiki/doku.php/server:hosting -- This mail was generated by DokuWiki at http://wiki.cross-fire.org/dokuwiki/ From no-reply_wiki at cross-fire.org Mon Apr 18 21:32:37 2016 From: no-reply_wiki at cross-fire.org (no-reply_wiki at cross-fire.org) Date: Mon, 18 Apr 2016 21:32:37 -0500 Subject: [Crossfire-wiki] [Crossfire Wiki] page changed: server:hosting In-Reply-To: Message-ID: A page in your DokuWiki was added or changed. Here are the details: Date : 2016/04/18 21:32 User : saru Edit Summary: Added a section on where account and player data is stored so that server hosts can archive it @@ -52,8 +52,15 @@ * Edit and update the Server News file - players like to know about new maps, bug fixes, special events, etc. (filename news) * Look over the settings (filename settings) * The default settings file will work just fine, and is most supported * The file controls many aspects of play - permadeath or not, number of starting stat points, etc. + + === Players accounts === + Player account information is stored in the /var directory (on linux this is usually /usr/games/crossfire/var/crossfire/). + * The account file in the var directory includes account name and password information. + * The accounts file is linked to each player file in the file with the same name stored in /account + * Each player file is stored within the directory /players + * You will need to back up each of these in order to be able to keep an archive for your players. It is generally a good idea to set up an automatic archiving script such that if something gets broken any account or player may be recovered. === DM account === * All servers should ensure that a DM account is setup and accessible * DM accounts are managed via the dm_file usually located in @@ -138,8 +145,9 @@ ==Other helpful automation considerations== - Have an automated and remote backup of player files and unique map files in case of hardware failure, data corruption or accident - All crossfire files are text, so generally easy to back up and restore. Since files are text, one can even attempt to repair damaged/corrupted files. - Consider using Munin (http://munin-monitoring.org/) for monitoring and tacking server resources, more of a server host or administration benefit + ==== Social Management ==== === General Tips === If you want to attract players and build a community on your server - your server will need to be reliable, which means: * Available on a consistent basis IP-Address : 150.101.166.83 Hostname : ppp166-83.static.internode.on.net Old Revision: http://wiki.metalforge.net/dokuwiki/doku.php/server:hosting?rev=1460981137 New Revision: http://wiki.metalforge.net/dokuwiki/doku.php/server:hosting -- This mail was generated by DokuWiki at http://wiki.metalforge.net/dokuwiki/