From 00ed33124677dff54bc0f736533bcef340ccfae2 Mon Sep 17 00:00:00 2001 From: Alfred Llagas <34087316+Psykotikism@users.noreply.github.com> Date: Mon, 18 Jun 2018 03:45:26 -0700 Subject: [PATCH] Add files via upload --- CHANGELOG.md | 6 ++++ .../sourcemod/plugins/gun_damage_booster.smx | Bin 9393 -> 8717 bytes .../sourcemod/scripting/gun_damage_booster.sp | 29 ++++++++++-------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 602656c..1f97a07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Version 5.0 (June 18, 2018) + +1. Bug fixes: + +- Fixed the gdb_enabledgamemodes and gdb_disabledgamemodes convars not working properly. + ## Version 4.5 (June 16, 2018) 1. Bug fixes: diff --git a/addons/sourcemod/plugins/gun_damage_booster.smx b/addons/sourcemod/plugins/gun_damage_booster.smx index c35329dba88de1ad5db48f7be0638bbc86f63fe2..061608c9c2a057ddc11471e15270f895460798ed 100644 GIT binary patch literal 8717 zcmY*dWmHsQw;mX}yCtQ&yHh|yLAoU+h8`q_bm&kT1O^lklt#K!LK-Py=o0B3hC6=i zyLYX-*4giV-o2k^$N6`ThK9jQbTl+VRsev=6#yV?0001jXsF}AzJUh-z(V0oUI3t+ z6aXMV;RJaAKnvw5Q8t6ZQYg=eGJFL9AROg6QI>$h-*5l`0Th)Lr z0BE4_f*t^%gbM%|qA-mq0C0r?09d0ikreFL;nmjw013+bqwFsVGov^H4qmSv z0Rpe>{OkY%Ab)#zR|nt!fB-um6!5h3a}99(5AgWsUfVkhIJvt2FZ2!au=jHRZ`|G0 z^MB+2C;P|u_49G{bp9{N)zirfAmC?*x`UU-tqA=rHT}aXAJX`46_eQ>t34Jolh}0X z_++bCG8-~YOy5hI4+O-TAGuvWYdb}5cQn;etk}Q!AeCysBs74@lq`J{&JuxzGfP3O zYj1weq^yiNx*IHl;5dBpS+pSw?BSU0kD6;nyroyS8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O_k9a6S zr5Z4iX4KAVKCJ7WF9o=9+$ayy&~+`IIpDO?QG@|6CDH?3=(cw^Mzt|O3R@84I!ty< X76klE_nXY2ufGcAiLCSw!SVk9cD+y> diff --git a/addons/sourcemod/scripting/gun_damage_booster.sp b/addons/sourcemod/scripting/gun_damage_booster.sp index cee0757..133c080 100644 --- a/addons/sourcemod/scripting/gun_damage_booster.sp +++ b/addons/sourcemod/scripting/gun_damage_booster.sp @@ -1,8 +1,9 @@ +// Gun Damage Booster #include #include #pragma semicolon 1 #pragma newdecls required -#define GDB_VERSION "4.5" +#define GDB_VERSION "5.0" public Plugin myinfo = { @@ -19,6 +20,7 @@ ConVar g_cvGDBChrome; ConVar g_cvGDBDisabledGameModes; ConVar g_cvGDBEnable; ConVar g_cvGDBEnabledGameModes; +ConVar g_cvGDBGameMode; ConVar g_cvGDBHunting; ConVar g_cvGDBM16; ConVar g_cvGDBM60; @@ -54,6 +56,7 @@ public void OnPluginStart() g_cvGDBDisabledGameModes = CreateConVar("gdb_disabledgamemodes", "", "Disable the Gun Damage Booster in these game modes.\nGame mode limit: 64\nCharacter limit for each game mode: 32\n(Empty: None)\n(Not empty: Disabled in these game modes.)", _, true, 0.0, true, 99999.0); g_cvGDBEnable = CreateConVar("gdb_enable", "1", "Enable the Gun Damage Booster?\n(0: OFF)\n(1: ON)", _, true, 0.0, true, 99999.0); g_cvGDBEnabledGameModes = CreateConVar("gdb_enabledgamemodes", "", "Enable the Gun Damage Booster in these game modes.\nGame mode limit: 64\nCharacter limit for each game mode: 32\n(Empty: None)\n(Not empty: Enabled in these game modes.)", _, true, 0.0, true, 99999.0); + g_cvGDBGameMode = FindConVar("mp_gamemode"); g_cvGDBHunting = CreateConVar("gdb_hunting", "45", "Damage boost for the Hunting Rifle.", _, true, 0.0, true, 99999.0); g_cvGDBM16 = CreateConVar("gdb_m16", "40", "Damage boost for the M16 Assault Rifle.", _, true, 0.0, true, 99999.0); g_cvGDBM60 = CreateConVar("gdb_m60", "45", "Damage boost for the M60 Assault Rifle.", _, true, 0.0, true, 99999.0); @@ -317,26 +320,26 @@ stock bool bIsSurvivor(int client) stock bool bIsSystemValid() { char sGameMode[32]; - char sConVarModes[2049]; - char sModeName[64][32]; - FindConVar("mp_gamemode").GetString(sGameMode, sizeof(sGameMode)); + char sConVarModes[32]; + g_cvGDBGameMode.GetString(sGameMode, sizeof(sGameMode)); + Format(sGameMode, sizeof(sGameMode), ",%s,", sGameMode); g_cvGDBEnabledGameModes.GetString(sConVarModes, sizeof(sConVarModes)); - ExplodeString(sConVarModes, ",", sModeName, sizeof(sModeName), sizeof(sModeName[])); - for (int iMode = 0; iMode < sizeof(sModeName); iMode++) + if (strcmp(sConVarModes, "")) { - if (StrContains(sGameMode, sModeName[iMode], false) != -1 && sModeName[iMode][0] != '\0') + Format(sConVarModes, sizeof(sConVarModes), ",%s,", sConVarModes); + if (StrContains(sConVarModes, sGameMode, false) == -1) { - return true; + return false; } } g_cvGDBDisabledGameModes.GetString(sConVarModes, sizeof(sConVarModes)); - ExplodeString(sConVarModes, ",", sModeName, sizeof(sModeName), sizeof(sModeName[])); - for (int iMode = 0; iMode < sizeof(sModeName); iMode++) + if (strcmp(sConVarModes, "")) { - if (StrContains(sGameMode, sModeName[iMode], false) == -1 && sModeName[iMode][0] != '\0') + Format(sConVarModes, sizeof(sConVarModes), ",%s,", sConVarModes); + if (StrContains(sConVarModes, sGameMode, false) != -1) { - return true; + return false; } } - return false; + return true; } \ No newline at end of file