Installation

From GunGame5 Documentation

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
# Restart your server, or load GunGame 5.1 by typing this rcon command in your client console:<pre>rcon es_load gungame51</pre>
# Restart your server, or load GunGame 5.1 by typing this rcon command in your client console:<pre>rcon es_load gungame51</pre>
## When GunGame 5.1 is loaded for the first time, it will generate configuration files in '''../cfg/gungame51/'''
## When GunGame 5.1 is loaded for the first time, it will generate configuration files in '''../cfg/gungame51/'''
 +
# Edit the newly appeared configuration files in '''../cfg/gungame51/''' to your likings
# Edit the newly appeared configuration files in '''../cfg/gungame51/''' to your likings
## This file can be used to load any GunGame specific server settings: <pre>/cfg/gungame51/gg_server.cfg</pre>
## This file can be used to load any GunGame specific server settings: <pre>/cfg/gungame51/gg_server.cfg</pre>
Line 15: Line 16:
==Known Issues==
==Known Issues==
 +
# If you are having issues getting GunGame51 to load properly in your autoexec.cfg:
 +
## Add the 2 following commands (in this order) at the very top of your autoexec.cfg: <pre>sv_allow_wait_command 1</pre> <pre>stuffcmds</pre>
 +
## If you are still unable to get it to load, move '''es_load gungame51''' to the very bottom of your server.cfg
# The current version of EventScripts has a small error that will cause GunGame51 to not load properly:
# The current version of EventScripts has a small error that will cause GunGame51 to not load properly:
## Navigate to your servers '''../addons/eventscripts/_libs/python/cfglib.py''' file
## Navigate to your servers '''../addons/eventscripts/_libs/python/cfglib.py''' file
## Find the following line inside that file (line 106): <pre>      es.mexec(self.cfgpath.replace(self.gamedir, '', 1))</pre>
## Find the following line inside that file (line 106): <pre>      es.mexec(self.cfgpath.replace(self.gamedir, '', 1))</pre>
## Change that line to: <pre>      es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))</pre>
## Change that line to: <pre>      es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))</pre>
-
## You must restart your server after making this change
+
## '''You must restart your server after making this change'''

Revision as of 19:58, 16 November 2010

Prerequisites

Instructions

  1. Extract the zip file for GunGame5.1
  2. Upload the extracted contents to your server's game directory
    For Counter-Strike: Source this would be orangebox/cstrike
  3. Add
    es_load gungame51
    on a new line in your ../cfg/autoexec.cfg file. You may create this file if it does not exist.
  4. Restart your server, or load GunGame 5.1 by typing this rcon command in your client console:
    rcon es_load gungame51
    1. When GunGame 5.1 is loaded for the first time, it will generate configuration files in ../cfg/gungame51/
  1. Edit the newly appeared configuration files in ../cfg/gungame51/ to your likings
    1. This file can be used to load any GunGame specific server settings:
      /cfg/gungame51/gg_server.cfg
    2. This folder will contain all the cfg files for turbo, deathmatch, knife pro, ect:
      /cfg/gungame51/included_addon_configs
  2. Restart your server after editing the new cfg files, or reload gungame51 by typing this rcon command into your client console:
    rcon es_reload gungame51

Known Issues

  1. If you are having issues getting GunGame51 to load properly in your autoexec.cfg:
    1. Add the 2 following commands (in this order) at the very top of your autoexec.cfg:
      sv_allow_wait_command 1
      stuffcmds
    2. If you are still unable to get it to load, move es_load gungame51 to the very bottom of your server.cfg
  2. The current version of EventScripts has a small error that will cause GunGame51 to not load properly:
    1. Navigate to your servers ../addons/eventscripts/_libs/python/cfglib.py file
    2. Find the following line inside that file (line 106):
            es.mexec(self.cfgpath.replace(self.gamedir, '', 1))
    3. Change that line to:
            es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))
    4. You must restart your server after making this change
Personal tools