Mam problem z plikiem "gungame.config" nie czyta mi od jakiegos czasu, niedawno wszystko jeszcze dobrze dziala. Wgrywam na nowo pliki gungame nic nie pomaga. Nie wiem o co chodzi kompletnie
I have a problem with the file "gungame.config" does not read me from some time, recently everything else works well. I replay the gungame files nothing helps. I do not know what is complete
1. I want to start the server with all plugins disabled through command (not unloading), by typing gg_disable in the server.cfg. But it does not work, still starts Gungame on server launch.
2. Okey, so I have to find another way. Maybe if I unload all plugins, then make a gungame.cfg to quickly load all gungame plugins by a simple exec command. This works, but we spawn with no weapons at level 1.
There are some more issues I've discovered, but these are the ones that are stopping me right now.
1. I want to start the server with all plugins disabled through command (not unloading), by typing gg_disable in the server.cfg. But it does not work, still starts Gungame on server launch.
2. Okey, so I have to find another way. Maybe if I unload all plugins, then make a gungame.cfg to quickly load all gungame plugins by a simple exec command. This works, but we spawn with no weapons at level 1.
There are some more issues I've discovered, but these are the ones that are stopping me right now.
Did you check the value of "Enabled" in the first section of cfg/gungame/css/gungame.config.txt ? (or csgo/gungame.config.txt ...)
You can set it to 0 here. However, I thought gungame maps were detected automatically.
For an exec file, remember to add mp_restartgame 1 as the last line of it.
Personnally I also have an error log saying: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
I thought it would stop after the fix offered here, but my last error logs are only 1 month ago.
But I know I set up all correctly (see below), and I have the default weaponinfo.txt which actually contains the weapon_index for prop_physics_multiplayer, so I don't see why I have this log.
Spoiler
gungame.equip.txt (only added awp and g3sg1, so I didn't exceed the 25 limit):
Code:
"GunGame.Weapon"
{
"WeaponOrder"
{
/**
* Weapon Choices:
* There are a total of 64 levels by default. (To change this value you can edit the gungame_const.inc
* to change the maximum allowed level of the game by changing the define MAX_LEVEL)
*
* There are a total of 25 usable killing weapons for GunGame.
* By default weapon order only 23 levels and uses 23 out of 25 of the usable killing weapons.
*
* WARNING:
* DO NOT SKIP LEVELS in any config for WeaponOrder.
* ie .. Only have level 1 to 3 and skip 4 and use 5 to level 23.
* DO NOT SKIP LEVELS
*
* HandGuns:
* glock, usp, p228, deagle, fiveseven, elite
*
* Shotguns:
* m3, xm1014
*
* Sub Machine Guns:
* tmp, mac10, mp5navy, ump45, p90
*
* Rifles:
* galil, famas, ak47, scout, m4a1, sg552,
* aug, m249, awp
*
* Automatic Rifles:
* sg550, g3sg1
*
* Machine Gun:
* m249
*
* Other:
* knife, hegrenade
*/
"1" "glock"
"2" "usp"
"3" "p228"
"4" "deagle"
"5" "fiveseven"
"6" "elite"
"7" "m3"
"8" "xm1014"
"9" "tmp"
"10" "mac10"
"11" "mp5navy"
"12" "ump45"
"13" "p90"
"14" "galil"
"15" "famas"
"16" "ak47"
"17" "scout"
"18" "m4a1"
"19" "sg552"
"20" "aug"
"21" "m249"
"22" "awp"
"23" "g3sg1"
"24" "hegrenade"
"25" "knife"
/**
* If RandomWeaponOrder is enabled, keep this levels unchanged.
* Use comma as a delimiter, do not use whitespace characters - only digits are allowed.
* Please keep this config line after levels list and before RandomWeaponOrder.
*
* "22,23" - keep knife and nade levels on defined levels
* "23" - keep knife level on defined level
* "" - randomize all levels
*/
"RandomWeaponReserveLevels" "24,25"
/**
* This will take the weapons in the WeaponOrder and randomize all the weapons order.
* Please keep this config line after levels list and after RandomWeaponReserveLevels.
*/
"RandomWeaponOrder" "1"
}
"MultipleKillsPerLevel"
{
/**
* This is for custom kills per level will override default (MinKillsPerWeapon).
* Leave value at 0 if you do not want to override the default value.
*
* Example:
*
* For level 1 they must get 10 kills before they can level up.
* "1" "10"
* "2" "5"
* and so on.
*
* Or you can set kills per level for a perticular level.
* "1" "10"
* "3" "5"
* "5" "2"
* etc.
*
* Kills will count across all rounds so that you don't have to get them in one round.
*
*
*/
"24" "1"
"25" "1"
}
}
I am running a GunGame in CSS on a personal GameServers server. GunGame works well, but for some reason, the game ends after Level 21. It never lets me get to Level 22 or above. I updated my gungame.equip.txt file to have 25 levels, as shown below:
Spoiler
Code:
"GunGame.Weapon"
{
"WeaponOrder"
{
/**
* Weapon Choices:
* There are a total of 64 levels by default. (To change this value you can edit the gungame_const.inc
* to change the maximum allowed level of the game by changing the define MAX_LEVEL)
*
* There are a total of 25 usable killing weapons for GunGame.
* By default weapon order only 23 levels and uses 23 out of 25 of the usable killing weapons.
*
* WARNING:
* DO NOT SKIP LEVELS in any config for WeaponOrder.
* ie .. Only have level 1 to 3 and skip 4 and use 5 to level 23.
* DO NOT SKIP LEVELS
*
* HandGuns:
* glock, usp, p228, deagle, fiveseven, elite
*
* Shotguns:
* m3, xm1014
*
* Sub Machine Guns:
* tmp, mac10, mp5navy, ump45, p90
*
* Rifles:
* galil, famas, ak47, scout, m4a1, sg552,
* aug, m249, awp
*
* Automatic Rifles:
* sg550, g3sg1
*
* Machine Gun:
* m249
*
* Other:
* knife, hegrenade
*/
"1" "glock"
"2" "usp"
"3" "p228"
"4" "deagle"
"5" "fiveseven"
"6" "elite"
"7" "m3"
"8" "xm1014"
"9" "tmp"
"10" "mac10"
"11" "mp5navy"
"12" "ump45"
"13" "p90"
"14" "galil"
"15" "famas"
"16" "ak47"
"17" "scout"
"18" "m4a1"
"19" "sg552"
"20" "aug"
"21" "m249"
"22" "awp"
"23" "g3sg1"
"24" "knife"
"25" "hegrenade"
/**
* If RandomWeaponOrder is enabled, keep this levels unchanged.
* Use comma as a delimiter, do not use whitespace characters - only digits are allowed.
* Please keep this config line after levels list and before RandomWeaponOrder.
*
* "22,23" - keep knife and nade levels on defined levels
* "23" - keep knife level on defined level
* "" - randomize all levels
*/
"RandomWeaponReserveLevels" ""
/**
* This will take the weapons in the WeaponOrder and randomize all the weapons order.
* Please keep this config line after levels list and after RandomWeaponReserveLevels.
*/
"RandomWeaponOrder" "0"
}
"MultipleKillsPerLevel"
{
/**
* This is for custom kills per level will override default (MinKillsPerWeapon).
* Leave value at 0 if you do not want to override the default value.
*
* Example:
*
* For level 1 they must get 10 kills before they can level up.
* "1" "10"
* "2" "5"
* and so on.
*
* Or you can set kills per level for a perticular level.
* "1" "10"
* "3" "5"
* "5" "2"
* etc.
*
* Kills will count across all rounds so that you don't have to get them in one round.
*
*
*/
"24" "1"
"25" "1"
}
}
My gungame.config.txt file looks like this:
Spoiler
Code:
"GunGame.Config"
{
"Config"
{
/* ===== [1. GUNGAME MAIN CONFIG] ===== */
/* ----- [1.1. main] ----- */
/* Enables/Disables GunGame Mod */
"Enabled" "1"
/**
* Do not fast switch on level up for this weapons.
*
* Comma-separated list
* of weapon names from gungame.equip.txt.
*
* Options:
* "hegrenade" - Enabled for hegrenade
* "hegrenade,taser" - Enabled for hegrenade and taser
* "taser,hegrenade,molotov,incgrenade" - Default value
* "" - Disabled
*/
"FastSwitchSkipWeapons" "hegrenade"
/**
* Switch weapon without delays after level up.
*
* Options:
* 1 - Enabled.
* 0 - Disabled.
*/
"FastSwitchOnLevelUp" "0"
/**
* Switch weapon without delays when player changes weapon by himself.
*
* SDK Hooks (sdkhooks) is required to use this option.
*
* Options:
* 1 - Enabled.
* 0 - Disabled.
*/
"FastSwitchOnChangeWeapon" "0"
/**
* Freeze players after win.
*
* Options:
* 1 - Freeze players.
* 0 - Do not freeze players.
*/
"WinnerFreezePlayers" "1"
/**
* Winner effects.
*
* Options:
* 0 - Freeze players.
* 1 - Make players fly.
*/
"WinnerEffect" "0"
/**
* Delay before end of multiplayer game after gungame win.
*
* Options:
* 0 - Disabled.
* 1-N - Number of seconds.
*/
"EndGameDelay" "0"
/**
* Multiply sound effects volume.
*
* In CS:GO the volume is too low.
* You can up the volume with this multiplier.
*
* Options:
* 0-1 - Do not multiply
* 2-5 - Multiply by defined number of times
*/
"MultiplySoundVolume" "0"
/**
* Block weapon switch if killer leveled up with knife
*
* You need SDK Hooks (sdkhooks) if you want to set it to "1"
*
* Options:
* 1 - Block weapon switch
* 0 - Do not block weapon switch
*/
"BlockWeaponSwitchIfKnife" "0"
/**
* Block weapon switch if you get next hegrenade
* after previous hegrenade explode or after getting extra nade.
*
* You need SDK Hooks (sdkhooks) if you want to set it to "1"
*
* Options:
* 1 - Block weapon switch
* 0 - Do not block weapon switch
*/
"BlockWeaponSwitchOnNade" "0"
/**
* Show players level message in hint box instead of chat.
* If enabled then multikill chat messages will be shown
* in hint box too (requres "MultiKillChat" "1").
*/
"ShowSpawnMsgInHintBox" "1"
/**
* Show leader level info in hint box
* (requires "ShowSpawnMsgInHintBox" to be "1")
*/
"ShowLeaderInHintBox" "1"
/* Show leader's weapon name in chat with leading message */
"ShowLeaderWeapon" "1"
/**
* Strip dead players weapon
*
* Options:
* 0 - Disabled (default)
* 1 - Enabled for alive and dead players (alive players can not drop guns)
* 2 - Enabled for dead players only (alive players can drop guns)
*/
"StripDeadPlayersWeapon" "1"
/* Show levels in scoreboard */
"LevelsInScoreboard" "1"
/**
* When shows levels in scoreboard it will
* clear deaths (requires "LevelsInScoreboard" "1")
*/
"ScoreboardClearDeaths" "1"
/* Restore level on player reconnect */
"RestoreLevelOnReconnect" "1"
/* Allow level up after round end */
"AllowLevelUpAfterRoundEnd" "1"
/* Show multikill hints in chat */
"MultiKillChat" "1"
/* Set sv_alltalk 1 after player win */
"AlltalkOnWin" "1"
/* Start voting if leader level is less maximum level by this value */
"VoteLevelLessWeaponCount" "0"
/* Display a join message, popup giving players instructions on how to play */
"JoinMessage" "0"
/**
* Level down playr if they kill themself by WorldSpawn Suicide.
* 0 - Disable
* 1..N - Levels to loose
*/
"WorldspawnSuicide" "1"
/**
* Level down players if they use the "kill" command
* 0 - Disable
* 1..N - Levels to loose
*/
"CommitSuicide" "1"
/* How many levels they can gain in 1 round (0 - disabled) */
"MaxLevelPerRound" "0"
/* Turbo Mode: give next level weapon on level up */
"TurboMode" "1"
/* Knife Elite force them to only have a knife after they level up.
They will get a normal weapon again next round */
"KnifeElite" "0"
/**
* How many kills they need to with the weapon to get the next level
* Kills will count across all rounds so that you don't have to get them in one round.
*/
"MinKillsPerLevel" "2"
/**
* Enabled friendly fire automatically when a player reaches hegrenade level.
*
* When nobody on nade level, than switches friendly fire back.
* This does not affect EnableFriendlyFireLevel and EnableFriendlyFireLevel is not requered to be enabled.
* See also FriendlyFireOnOff.
*
* 0 - Disabled
* 1 - Enable friendly fire on nade level.
*/
"AutoFriendlyFire" "0"
/**
* FFA DM mode.
*
* If you are using CSS:DM with FFA mode enabled,
* then you should set this variable to "1".
*
* 0 - Disabled
* 1 - Enabled
*/
"FFA" "0"
/**
* Enable friendly fire on defined level.
*
* This does not affect AutoFriendlyFire and AutoFriendlyFire is not requered to be 1.
* See also FriendlyFireOnOff.
*
* 0 - Disabled.
* 1..N - enable friendly fire on defined level.
*/
"EnableFriendlyFireLevel" "0"
/**
* What to do with friendly fire when EnableFriendlyFireLevel is not 0 and leader reaches EnableFriendlyFireLevel
* or AutoFriendlyFire is 1 and someone reaches nade level.
*
* 1 - Enable friendy fire
* 0 - Disable friendy fire
*/
"FriendlyFireOnOff" "0"
/**
* Disable rtv on defined level. 0 - disabled.
*/
"DisableRtvLevel" "0"
/**
* If this option is enabled, than player can level up by killing with prop_physics.
* For example with fuel barrels etc.
*
* 1 - Enabled
* 0 - Disabled
*/
"CanLevelUpWithPhysics" "1"
/**
* Use "CanLevelUpWithPhysics" option when player is on grenade level.
*
* 1 - Enabled
* 0 - Disabled
*/
"CanLevelUpWithPhysicsOnGrenade" "0"
/**
* Use "CanLevelUpWithPhysics" option when player is on knife level.
*
* 1 - Enabled
* 0 - Disabled
*/
"CanLevelUpWithPhysicsOnKnife" "0"
/**
* If this option is enabled, than player can level up by killing with nade at any time.
* For example there are maps having grenades on them leaved by the author.
*
* 1 - Enabled
* 0 - Disabled
*/
"CanLevelUpWithMapNades" "0"
/**
* Use "CanLevelUpWithMapNades" option when player is on knife level.
*
* 1 - Enabled
* 0 - Disabled
*/
"CanLevelUpWithNadeOnKnife" "0"
/**
* Prevent players from using kill command.
*/
"SelfKillProtection" "1"
/**
* Change game description.
*
* Requires SDK Hooks (sdkhooks).
*
* "{version}" will be changed to plugin version.
*
* Options:
* "" = Option disabled.
*/
"GameDesc" "GunGame:SM {version}"
/* ----- [1.2. knifepro] ----- */
/* Turn Knife Pro allow stealing a player level by killing them with a knife */
"KnifePro" "1"
/* Enables Knife Pro when a player is on hegrenade level */
"KnifeProHE" "0"
/* The minimum level that a player must be at before another player can knife steal from. Requires KnifePro on */
"KnifeProMinLevel" "0"
/* If enabled then knife kill will also affect points */
"KnifeProRecalcPoints" "0"
/**
* Maximum level difference between players to allow steal level
* 0 - Disabled
* 1..N - Level difference between killer and victim
*/
"KnifeProMaxDiff" "0"
/**
* Disable level down on knifepro.
*
* 1 - Level down disabled
* 0 - Level down enabled
*/
"DisableLevelDown" "0"
/* ----- [1.3. objectives] ----- */
/* Give x number of level by completing the bomb planting/defusing objectives.
* Amount giving base on the value setting.
*/
"ObjectiveBonus" "0"
/* Enables objective bonus on last level */
"ObjectiveBonusWin" "0"
/**
* Gives objective bonus on exploding the bomb instead of planting
* 0 - bonus on planting
* 1 - bonus on exploding
*/
"ObjectiveBonusExplode" "0"
/* Remove objectives from map. 0 = Disabled, 1 = BOMB, 2 = HOSTAGE, 3 = BOTH*/
"RemoveObjectives" "3"
/* ----- [1.4. handicap] ----- */
/**
* Maximum level that handicap can give.
* 0 - Disable restriction
* 1..N - Max level
*/
"MaxHandicapLevel" "0"
/* Substract handicap level by this value */
"HandicapLevelSubstract" "0"
/**
* Gives joining players the avg/min level of all other players when they join late.
* 0 - Disable
* 1 - Avg level
* 2 - Min level
*/
"HandicapMode" "2"
/**
* Allow players in the top rank to receive a handicap with the rest of the players.
*
* Handicap must also be turned on above for this to work.
* See also "HandicapTopRank" to set rank limit for tp rank.
*
* 0 - Do not give handicap to the top rank players.
* 1 - Give handicap to all players.
*/
"TopRankHandicap" "1"
/**
* Gives handicap level automaticaly every defined number of seconds.
* This only works for players that is on very minimum level from
* all the players.
* Handicap must also be turned on for this to work.
*/
"HandicapUpdate" "0"
/**
* Give handicap not more then given number of times per map.
* 0 - disabled
*/
"HandicapTimesPerMap" "0"
/**
* Do not give handicap to the top rank players.
*
* See also "TopRankHandicap" to allow all players to receive handicap.
*
* 0 - Give handicap to all players.
* N - Do not give handicap for the first N players.
*/
"HandicapTopRank" "0"
/**
* Use spectator's levels to calculate handicap level.
*
* 0 - Handicap does not count levels of spectators.
* 1 - Handicap counts levels of spectators.
*/
"HandicapUseSpectators" "0"
/* ----- [1.5. equip] ----- */
/* Auto reload current level weapon on kill */
"ReloadWeapon" "1"
/* Give player armor on spawn */
"ArmorKevlar" "1"
"ArmorHelmet" "1"
/* Remove additional ammo in bonus weapon on the nade level */
"RemoveBonusWeaponAmmo" "0"
/**
* If remove additional ammo in bonus weapon on the nade level is enabled, then give that bullets count.
*
* 0 - default clip size
* 1-N - number of bullets
*/
"BonusWeaponAmmo" "50"
/**
* This gives the player a weapon with 50 bullets on nade level.
* Example:
* "NadeBonus" "glock" - gives glock
* "NadeBonus" "deagle" - gives deagle
* "NadeBonus" "" - feature disabled
*/
"NadeBonus" "p228"
/* Gives a smoke grenade on nade level */
"NadeSmoke" "0"
/* Gives a Flash grenade on nade level */
"NadeFlash" "0"
/* Gives a smoke grenade on knife level */
"KnifeSmoke" "0"
/* Gives a Flash grenade on knife level */
"KnifeFlash" "0"
/**
* Gives an extra hegrenade to the player if they get a kill
*
* 0 - Disable
* 1 - Enable
* 2 - Enable only for knife kills
*/
"ExtraNade" "1"
/* Gives unlimited hegrenades to the player if he is on nage level */
"UnlimitedNades" "0"
/**
* Enable UnlimitedNades depending on the number of players in team.
*
* If UnlimitedNades is off and the number of players in one team less or
* equal to UnlimitedNadesMinPlayers then enable UnlimitedNades.
* When it will be more players on both teams, turn UnlimitedNades back to off.
*
* 0 - Disable
* 1 and above - Minimum number of players in each team for UnlimitedNames to be on.
*/
"UnlimitedNadesMinPlayers" "0"
/**
* Number of nades on the nade level.
*
* This option is disabled
* if less then 2.
*/
"NumberOfNades" "0"
/* ----- [1.6. multi level] ----- */
/* Multi Level Bonus */
"MultiLevelBonus" "1"
/* Enable God Mode when multi leveled */
"MultiLevelBonusGodMode" "0"
/**
* Custom speed and gravity value multiplier for multi level bonus.
* 0 - Disabled
*/
"MultiLevelBonusGravity" "0.5"
"MultiLevelBonusSpeed" "1.5"
/* Miltilevel visual effect */
"MultiLevelEffect" "1"
/* How much levels is needed to get bonus */
"MultiLevelAmount" "3"
/**
* Type of the multi level effect.
*
* 1 - Old effect.
* 2 - New effect (default).
*/
"MultilevelEffectType" "2"
/* ----- [1.7. warmup] ----- */
/* Enables Warmup Round*/
"WarmupEnabled" "1"
/* Warmup time length */
"WarmupTimeLength" "25"
/**
* Give random weapon on warmup.
* If you are using WarmupRandomWeaponMode, you can nou use WarmupNades or WarmupWeapon.
*
* 0 - Disable
* 1 - Random weapon every map
* 2 - Random weapon every round
* 3 - Random weapon every spawn
*/
"WarmupRandomWeaponMode" "0"
/**
* Gives unlimited hegrenades to the player if warmup is enabled.
* If you are using WarmupRandomWeaponMode, you can nou use WarmupNades or WarmupWeapon.
*/
"WarmupNades" "1"
/**
* Weapon for warmup.
* If you are using WarmupRandomWeaponMode, you can nou use WarmupNades or WarmupWeapon.
*/
"WarmupWeapon" ""
/* ===== [2. GUNGAME TK CONFIG] ===== */
/**
* How much levels to loose after TK
* 0 - Disable
* 1..N - Levels to loose
*/
"TkLooseLevel" "0"
/* ===== [3. GUNGAME AFK CONFIG] ===== */
/* Enables or disables built in Afk management system */
"AfkManagement" "1"
/* Kick player on x number of afk deaths. */
"AfkDeaths" "3"
/**
* What action to deal with the player when the maximum is reach?
* 0 = Nothing, 1 = Kick, 2 = Move to spectate,
*/
"AfkAction" "2"
/* Reload current weapon on afk kill. */
"AfkReload" "1"
/* ===== [4. GUNGAME STATS CONFIG] ===== */
/**
* Prune player from player win database after numbers of days if they
* havn't been in the server in awhile. This occur during map change.
* It it recommended that you set a value to this setting. Over time as
* the player win database get filled up. It can cause long map changes.
* 0 = off otherwise the value is the number of days.
*/
"Prune" "400"
/* ===== [5. GUNGAME DISPLAY WINNER CONFIG] ===== */
/* Display winner in MOTD window. */
"DisplayWinnerMotd" "1"
/* URL to display in MOTD window. */
"DisplayWinnerUrl" ""
/* Show player rank on win in chat */
"ShowPlayerRankOnWin" "1"
/**
* If player wins on bot, then dont add win in stats.
*
* 0 - Add win into stats.
* 1 - Don't add win into stats.
*/
"DontAddWinsOnBot" "1"
/* ===== [6. GUNGAME BOTS CONFIG] ===== */
/**
* Dont use bots levels for handicap calculation.
* Dont give handicap level to bots too.
*/
"HandicapSkipBots" "1"
/* Can bots win the game otherwise when they reach the last weapon and nothing will happen */
"BotsCanWinGame" "1"
/* Allow level up by killing a bot with knife */
"AllowLevelUpByKnifeBot" "1"
/* Allow level up by killing a bot with hegrenade */
"AllowLevelUpByExplodeBot" "1"
/* Allow level up by killing a bot with knife if there is no other human */
"AllowLevelUpByKnifeBotIfNoHuman" "1"
/* Allow level up by killing a bot with hegrenade if there is no other human */
"AllowLevelUpByExplodeBotIfNoHuman" "1"
}
"Sounds"
{
"IntroSound" "music/gungame/gungame2.mp3"
"KnifeLevel" "music/gungame/knife_level.mp3"
"NadeLevel" "music/gungame/nade_level.mp3"
"LevelSteal" "music/gungame/smb3_1-up.mp3"
"LevelUp" "music/gungame/smb3_powerup.mp3"
"LevelDown" "music/gungame/smb3_powerdown.mp3"
"Triple" "music/gungame/smb_star.mp3"
"Autoff" "music/gungame/smb_warning2.mp3"
"MultiKill" "music/gungame/multikill.mp3" // (Ñ) VALVE
/* Put each song filename in this list seperated by commas */
"Winner" "gungame/winner-sounds/winner.mp3, gungame/winner-sounds/winner-1.mp3, gungame/winner-sounds/winner-2.mp3, gungame/winner-sounds/winner-3.mp3, gungame/winner-sounds/winner-4.mp3, gungame/winner-sounds/winner-5.mp3, gungame/winner-sounds/winner-6.mp3, gungame/winner-sounds/winner-7.mp3, gungame/winner-sounds/winner-8.mp3, gungame/winner-sounds/winner-9.mp3, gungame/winner-sounds/winner-10.mp3, gungame/winner-sounds/winner-11.mp3, gungame/winner-sounds/winner-12.mp3, gungame/winner-sounds/winner-13.mp3, gungame/winner-sounds/winner-14.mp3, gungame/winner-sounds/winner-15.mp3, gungame/winner-sounds/winner-16.mp3, gungame/winner-sounds/winner-17.mp3, gungame/winner-sounds/winner-18.mp3, gungame/winner-sounds/winner-19.mp3, gungame/winner-sounds/winner-20.mp3, gungame/winner-sounds/winner-21.mp3, gungame/winner-sounds/winner-22.mp3, gungame/winner-sounds/winner-23.mp3, gungame/winner-sounds/winner-24.mp3, gungame/winner-sounds/winner-25.mp3, gungame/winner-sounds/winner-26.mp3, gungame/winner-sounds/winner-27.mp3, gungame/winner-sounds/winner-28.mp3, gungame/winner-sounds/winner-29.mp3, gungame/winner-sounds/winner-30.mp3, gungame/winner-sounds/winner-31.mp3, gungame/winner-sounds/winner-32.mp3, gungame/winner-sounds/winner-33.mp3, gungame/winner-sounds/winner-34.mp3, gungame/winner-sounds/winner-35.mp3, gungame/winner-sounds/winner-36.mp3, gungame/winner-sounds/winner-37.mp3, gungame/winner-sounds/winner-38.mp3, gungame/winner-sounds/winner-39.mp3, gungame/winner-sounds/winner-40.mp3, gungame/winner-sounds/winner-41.mp3, gungame/winner-sounds/winner-42.mp3, gungame/winner-sounds/winner-43.mp3, gungame/winner-sounds/winner-44.mp3, gungame/winner-sounds/winner-45.mp3, gungame/winner-sounds/winner-46.mp3, gungame/winner-sounds/winner-47.mp3" // (Ñ) VALVE
"WarmupTimerSound" "music/gungame/timer.mp3" // (Ñ) VALVE
}
}
Has anyone else had this problem? Is there a way for me to fix it somewhere? I looked at my default max levels in the gungame_const.inc file, and it is 64... I don't know what is triggering a game win after Level 21. Thanks!
Can you use multiple "winner" round end songs seperated by commas in CS:GO? The mp3's are all converted properly but when I try adding multiples no winner sound plays. When I just use one of them it works fine. This is how I'm doing it:
This is what I have in my server, and it seems to work. I have 48 different song bits, and the game automatically chooses one at random to play at the end of the round. It should work. Hope that helps!
I have a gungame in css, I configured everything gungame.config + gungame.equip as I wanted it, on the official maps the sounds work against once I put a maps gg, unofficial appr ect the sounds do not do not work anymore?
//// gungame_stats.sp
//
// gungame_stats/sql.sp(403) : warning 219: local variable "File" shadows a variable at a preceding level
// Code size: 30224 bytes
// Data size: 10064 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 56672 bytes
//
// 1 Warning.
//
// Compilation Time: 0.37 sec
// ----------------------------------------
cod:
PHP Code:
// non-threaded
public Action:_CmdImportDb(client, args)
{
decl String:File[PLATFORM_MAX_PATH]; // Line 403
BuildPath(Path_SM, File, sizeof(File), "data/gungame/playerdata.txt");
if ( !FileExists(File) )
{
ReplyToCommand(client, "[GunGame] playerdata.txt does not exists to be imported.");
return Plugin_Handled;
}
new Handle:KvGunGame = CreateKeyValues("gg_PlayerData", BLANK, BLANK);
FileToKeyValues(KvGunGame, File);
/* Go to first SubKey */
if ( !KvGotoFirstSubKey(KvGunGame) )
{
ReplyToCommand(client, "[GunGame] You have no player data to import.");
return Plugin_Handled;
}
// SavePlayerData
SQL_LockDatabase(g_DbConnection);
#if defined SQL_DEBUG
LogError("[DEBUG-SQL] %s", query);
#endif
if ( !SQL_FastQuery(g_DbConnection, query) )
{
SQL_GetError(g_DbConnection, error, sizeof(error));
LogError("Could not save player (error: %s)", error);
SQL_UnlockDatabase(g_DbConnection);
ReplyToCommand(client, "[GunGame] Import finished with sql error");
CloseHandle(KvGunGame);
return Plugin_Handled;
}
SQL_UnlockDatabase(g_DbConnection);
}
while(KvGotoNextKey(KvGunGame));
CloseHandle(KvGunGame);
/* Reload the players wins in memory */
for ( new i = 1; i <= MaxClients; i++ )
{
if ( IsClientAuthorized(i) )
{
GetClientAuthId(i, AuthId_Steam2, Auth, sizeof(Auth));
RetrieveKeyValues(i, Auth);
}
}
ReplyToCommand(client, "[GunGame] Import of player data completed. Please run gg_rebuild to update the top rank.");
I am trying to run a gungame deathmatch server and I am having a ton of issues. roundtime is 1 minutes for some reason, even though I have it set on 0. sometimes the server just changed maps for no reason, right after warmup or in the middle of a game, I have timlimit set to 120 now and its still doing it, I had it set to 0 before and it was doing it there also. seems like nothing wants to work, every time I get something right 3 other things go wrong.
3/01/2018 - 21:41:18: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:42:47: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:44:21: [gungame_sdkhooks.smx] [GunGame] Weapon index for "prop_physics_multiplayer" not found.
L 03/01/2018 - 21:46:07