GunGame Frequently Asked Questions

General

It doesn't work. Help!
To best be able to help you, you must provide a little more information. What exactly does not work? Does Eventscripts work?(see the install instructions below) Does ES_Tools work?(see the install instructions below) Are you running a dedicated server? Is it Windows or Linux? What version number are you running for: Eventscripts? ES_Tools? GunGame? (do not say "The latest", give actual version numbers) Do you have any other scripts or plugins installed? Have you tried disabling them first? Can you duplicate this problem all the time, or does it happen at random? Be descriptive! The more information you provide, the better your help will be. Post config files as an attachment, please.
Top

How do I install Eventscripts?
Eventscripts is very easy to install. There are no configuration files or setup files to edit or install. Just unzip it into your /cstrike/ directory and restart your server. You can also watch a video tutorial by Mattie himself here. After your server restarts, login to your server, goto the console, and type rcon eventscripts_ver to make sure it is running. It should return the version number.
Top

How do I install ES_Tools?
ES_Tools is also very easy to install. First, download it here. Unzip it into your /cstrike/ directory. Edit the es_tools.cfg file located in your /cstrike/cfg directory. You should turn all the features off, unless you are sure you need them for another script. Restart your server, and login to it. Type rcon est_version in your server console, and it should return the version you have installed.
Top

How do I install the GunGame?
After you have verified you have Eventscripts and ES_Tools installed and working on your server, download and unzip the GunGame into your cstrike directory. Edit the config file located in /cstrike/cfg/gungame to your liking. Then, to run it on your server all the time, just add es_load gungame4 to your autoexec.cfg file. (use gungame3 for version 3). If you want to turn it on and off via map config files, then do the same in each map.cfg that you want it on. Make sure you tell the GunGame how you are starting it in the GunGame config. (This is for version 4 only) Make sure your gungame directory and all subdirectories are NOT set to READ ONLY on your server's file system. chmod 755 for Linux.
Top

I want to have 3 kills to level up, but have it so the grenade level only required 1 kill, and the knife level required 2.
This can easily be done through the configuration file of both versions of Gun Game. Each version has an option in its config to set the number of levels required to level up. This will make every level, excluding nade and knife, take x number of kills with the weapon to get past it. To set the # of kills for knife and nade levels, in the config you can also set the order of the levels to a custom order. You set a weapon to have more than one level. For the example question, make two knife levels by simply adding 'knife' to your weapon order twice.
Top

How do I run GunGame on a per map basis?
Gun Game isn't recommended to load and unload during gameplay and map changes. It may cause some problems or not work 100%.. at the same time, it has been heard of several people doing this with little to no problems. If it doesn't work fully, its most likely to be the sounds that aren't fully functional. It will still be stable and its core features shouldn't be affected. To get it to load only on certain maps: in your server directory create a location cstrike/maps/cfg. In there you can place individual map config files for what you want to do on that map. If you don't have a cfg file for a map, here is what you can do: Lets say your mapcycle was:
de_dust2
gg_fy_funtimes
gg_knas_speedcastle
de_aztec
You want gun game to come up on funtimes and speedcastle as well as low grav on speedcastle. So open notepad and put this into it: es_load gungame3 go to file, save as, make sure you set the file type to all and save it as gg_fy_funtimes.cfg Place this in your cstrike/maps/cfg directory on the server. Now in another new file add:
es_load gungame3
sv_gravity 400
and save it the same way as gg_knas_speedcastle.cfg and place it in the directory. This will ensure gungame is loaded (even if switched to on vote instead of mapcycle) and change the gravity for that map. Now for one more.. this one should contain: es_unload gungame3 and be saved the same way as de_aztec.cfg. You should make one of these for all non-gungame maps if you choose to do so.
Top

Deathmatch Addon

Why does nobody respawn when they die?
The Deathmatch Addon requires ES_Tools to function properly. ES_Tools handles player respawning, and it removes idle weapons and ragdolls to keep the game from lagging.
Top

How do I add spawnpoints to a map?
There are 2 ways to do this. If you have an Authorization Service such as basic_auth or group_auth installed and setup correctly, anyone with #admin level access can add spawnpoints by joining the server, and typing dm_add in chat. If you do not have an Authorization Service setup, you can use the console dm_add command to add spawnpoints if you have rcon access.
Top

How do I delete spawnpoints from a map?
You can delete spawnpoints recursively by typing dm_del in chat if you are using an Authorization Service, or you can use the console dm_del command. If you want to delete all the custom spawnpoints for the current map, use dm_del #all. Note: Version 3 users need to use dm_del all
Top

How do I see what spawnpoints I have already added to a map?
You can view where each spawnpoint location is by typing dm_show in chat if you are using an Authorization Service, or you can use the console dm_show command. A blue sprite will appear in the game at each spawnpoint location for 10 seconds. This is only visible to whoever invoked the command. Note: Version 3 users must use dm_print in console.
Top

How do I convert my v3.4 spawnpoints to version 4?
Version 4 includes a converter called gg_converter. In your autoexec.cfg file, add es_load gungame4/addons/gg_converter after you load GunGame4. It is entirely automatic, and will make your old spawnpoints work with version 4.
Top

Can I use CSS:DM or another Deathmatch plugin instead of the GunGame Deathmatch addon?
Yes, you can use any deathmatch plugin you like. Just make sure you disable the GunGame Deathmatch Addon in your GunGame config file (version 4) or the config block in es_gungame3.txt (version 3).
Top

Can I edit the custom spawnpoint database directly?
Yes, you can manually edit the spawnpoint database files, but not while the server is running. You must unload the GunGame or shut your server down before editing any database files manually.
Top

Top10, Level, & Weapon List Windows

I cannot see the popup window in the game. Why?
Version 3 requires that you load the popup script for the menus to work. This should be auto loaded by the GunGame as long as the script exists in cstrike/addons/eventscripts/popup. Version 4 includes its own script to handle menu creation and handling. If you do not see the popup at all in the game, make sure popup is loaded on your server if you are running version 3.
Top

When I win, my Top10 database is not getting updated.
The Top10 database, and all other GunGame databases, require that the gungame directory has read and write permissions applied to it. In Windows, you will probably have to contact the system administrator to have write permissions added. On Linux, chmod the directory and subdirectories to 755. If you try to open any database files while the GunGame is running, you can corrupt the database file. The only way to fix this is to disable GunGame, delete the file, and restart the GunGame. All previous winners will be lost.
Top

Sounds

Some or all sounds do not work
First of all, the GunGame can only force download the sounds to clients if they join the server AFTER the GunGame has been loaded. If you load the GunGame using map config files, or through some other method like voting, players already connected will not get the sounds until the map changes. Make sure the sound files are playable by the Source engine by putting them into your sounds directory and typing play in your console. If the sound does not play, then the engine cannot play it. You can find more help for sounds on the Valve developer wiki. If the sounds do play for you, then make sure they are loaded on your game server in the proper directories and if you use a fast download server, it has to be in the correct location there as well.
Top

Voting

Voting does not work!
Make sure you have the voting enabled in your config file. If you have Mani installed on your server, you must use Mani to control your voting. Visit Mani's website for instructions on his voting setup. For Eventscripts, make sure the file you selected for vote control is not empty and does not contain anything but map names. No comments!
Top
cron