Installation

From GunGame5 Documentation

(Difference between revisions)
Jump to: navigation, search
 
(25 intermediate revisions not shown)
Line 1: Line 1:
 +
__TOC__
 +
==Prerequisites==
==Prerequisites==
 +
Please see our [http://forums.gungame.net/screencasts/gg_download_screencast_2/gg_download_screencast_2.html screencast] for [http://forums.gungame.net/screencasts/gg_download_screencast_2/gg_download_screencast_2.html downloading required files] for GunGame.
 +
* [http://forums.eventscripts.com/viewtopic.php?f=128&t=40765 EventScripts (The latest revision)]
* [http://forums.eventscripts.com/viewtopic.php?f=128&t=40765 EventScripts (The latest revision)]
-
* [http://forums.eventscripts.com/viewtopic.php?f=81&t=29657 Source Python Extensions (The latest revision)]
+
* [http://forums.eventscripts.com/viewtopic.php?f=125&t=46657 Source Python Extensions (The latest revision)] - Make sure to follow the Installation instructions!!!
==Instructions==
==Instructions==
# Extract the [http://addons.eventscripts.com/addons/download/gungame51 zip file for GunGame5.1]
# Extract the [http://addons.eventscripts.com/addons/download/gungame51 zip file for GunGame5.1]
-
# Upload the extracted contents to your server's game directory<br />For Counter-Strike: Source this would be '''orangebox/cstrike'''
+
# Upload the extracted contents to your server's game directory<br />For Counter-Strike: Source this would be '''../cstrike'''
# Add<pre>es_load gungame51</pre>on a new line in your '''../cfg/autoexec.cfg''' file. You may create this file if it does not exist.
# Add<pre>es_load gungame51</pre>on a new line in your '''../cfg/autoexec.cfg''' file. You may create this file if it does not exist.
# 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>
-
## This folder will contain all the cfg files for turbo, deathmatch, knife pro, ect: <pre>/cfg/gungame51/included_addon_configs</pre>  
+
#* This folder will contain all the cfg files for turbo, deathmatch, knife pro, ect: <pre>/cfg/gungame51/included_addon_configs</pre>  
 +
#* '''<span style="color:red">Note:</span> For a more detailed outline of all the configuration files see the [[cfg/gungame51|GunGame51 Configuration]] page.'''
# Restart your server after editing the new cfg files, or reload gungame51 by typing this rcon command into your client console:<pre>rcon es_reload gungame51</pre>
# Restart your server after editing the new cfg files, or reload gungame51 by typing this rcon command into your client console:<pre>rcon es_reload gungame51</pre>
==Known Issues==
==Known Issues==
-
# If you are having issues getting GunGame51 to load properly in your autoexec.cfg:
+
<ol><li> If you are having issues getting GunGame51 to load properly in your autoexec.cfg:<br />
-
## Add the following commands (in this order) at the very top of your autoexec.cfg:
+
<ul> Add the following commands (in this order) at the very top of your autoexec.cfg:<pre>sv_allow_wait_command 1
-
<pre>
+
stuffcmds</pre>
-
sv_allow_wait_command 1
+
* If you are still unable to get it to load, move '''es_load gungame51''' to the very bottom of your server.cfg
-
stuffcmds
+
* If you still cannot get it to load, try using '''es_delayed 3 es_load gungame51''' (at the bottom of your server.cfg)</ul></li><br />
-
</pre>
+
<li> If you are having issues with certain aspects of GunGame51 since the February 22nd CS:S update, most notably not getting a knife on non-knife levels and the game not ending on gg_win, download and install the following addon:<br />http://forums.eventscripts.com/viewtopic.php?f=27&t=42620<br />
-
## If you are still unable to get it to load, move '''es_load gungame51''' to the very bottom of your server.cfg
+
'''<span style="color:red">* Note:</span> <span style="color:blue"> as of version</span> <span style="color:green">5.1.515</span><span style="color:blue">, this fix is no longer needed. This functionality was written directly into GunGame51 itself to avoid flooding the forums with the same issues that this addon fixes.</span>'''</li></ol>
-
## If you still cannot get it to load, try using '''es_delayed 3 es_load gungame51''' (at the bottom of your server.cfg)
+
-
# 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
+
-
## 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>
+
-
## '''You must restart your server after making this change'''
+

Current revision as of 18:35, 9 July 2013

Contents


Prerequisites

Please see our screencast for downloading required files for GunGame.

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 ../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
    • When GunGame 5.1 is loaded for the first time, it will generate configuration files in ../cfg/gungame51/
  5. Edit the newly appeared configuration files in ../cfg/gungame51/ to your likings
    • This file can be used to load any GunGame specific server settings:
      /cfg/gungame51/gg_server.cfg
    • This folder will contain all the cfg files for turbo, deathmatch, knife pro, ect:
      /cfg/gungame51/included_addon_configs
    • Note: For a more detailed outline of all the configuration files see the GunGame51 Configuration page.
  6. 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:
      Add the following commands (in this order) at the very top of your autoexec.cfg:
      sv_allow_wait_command 1
      stuffcmds
      • If you are still unable to get it to load, move es_load gungame51 to the very bottom of your server.cfg
      • If you still cannot get it to load, try using es_delayed 3 es_load gungame51 (at the bottom of your server.cfg)

  2. If you are having issues with certain aspects of GunGame51 since the February 22nd CS:S update, most notably not getting a knife on non-knife levels and the game not ending on gg_win, download and install the following addon:
    http://forums.eventscripts.com/viewtopic.php?f=27&t=42620
    * Note: as of version 5.1.515, this fix is no longer needed. This functionality was written directly into GunGame51 itself to avoid flooding the forums with the same issues that this addon fixes.
Personal tools