PDA

View Full Version : Defuse Kit Bug on sm 1.7+


456
09-18-2015, 05:22
Hello ppl.
This bug is crazy.

Meta version 1.10.7-dev
sm version 1.7.3-dev5253
CSS:DM Latest Git Stable Version

i am have this problem https://forums.alliedmods.net/showthread.php?t=259910
in cssdm.equip -> Defuse kit for bots off -> Defuse Kit for players off = Defuse kit falls on die
need fix for cssdm.
stupid Defuse kit spam...

imsirius
09-18-2015, 10:27
Hello ppl.
This bug is crazy.

Meta version 1.10.7-dev
sm version 1.7.3-dev5253
CSS:DM Latest Git Stable Version

i am have this problem https://forums.alliedmods.net/showthread.php?t=259910
in cssdm.equip -> Defuse kit for bots off -> Defuse Kit for players off = Defuse kit falls on die
need fix for cssdm.
stupid Defuse kit spam...

Yeah, we've started to see the same thing.

Dr!fter
09-18-2015, 11:25
What game? Or should i guess? Ill guess CS:GO, and CS:GO has a cvar to give defuse kits, turn it off.

zloy911
09-18-2015, 17:11
CS:S sourcemod-1.7.3-git5255-linux
http://6.firepic.org/6/images/2015-09/19/k0v01kin81i4.png

Dr!fter
09-18-2015, 19:21
Make sure your cssdm gamedata is updated, works fine for me.

zloy911
09-19-2015, 01:27
On other servers the same.
cssdm-2.1.6-git225-linux.tar

/* Do not edit this file unless you know what you are doing! */
"Games"
{
"csgo"
{
/* FFA patch bytes */
"Keys"
{
"LagCompPatch_Windows" "\xEB"
"LagCompPatch_Linux" "\x90\x90\x90\x90\x90\x90"

"TakeDmgPatch1_Windows" "\xEB"
"TakeDmgPatch1_Linux" "\x90\x90\x90\x90\x90\x90"

"TakeDmgPatch2_Windows" "\xEB"
"TakeDmgPatch2_Linux" "\x90\x90\x90\x90\x90\x90"

"CalcDomRevPatch_Windows" "\x90\x90\x90\x90\x90\x90"
"CalcDomRevPatch_Linux" "\x90\x90"
}
"Offsets"
{
/* Patch offsets for FFA */
"LagCompPatch"
{
"windows" "57"
"linux" "47"
}
"TakeDmgPatch1"
{
"windows" "373"
"linux" "1013"
}
"TakeDmgPatch2"
{
"windows" "4069"
"linux" "6509"
}
/* Offset into gamerules constructor - bogo value linux/mac */
"g_pGameRules"
{
"windows" "49"
"linux" "1"
}
/* Virtual indexes */
"IPointsForKill"
{
"windows" "81"
"linux" "82"
}
"Weapon_GetSlot"
{
"windows" "288"
"linux" "289"
}
"RemoveAllItems"
{
"windows" "384"
"linux" "385"
}
"GiveAmmo"
{
"windows" "274"
"linux" "275"
}
/* Next _two_ are detour byte "save" counts */
"DropWeaponsPatch"
{
"windows" "6"
"linux" "6"
}
"CSWeaponDropPatch"
{
"windows" "6"
"linux" "6"
}
"CalcDomRevPatch"
{
"windows" "86"
"linux" "111"
}
}
"Signatures"
{
"UTIL_Remove"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x45\x2A\x85\xC0\x74\x2A\x83\ xC0\x2A\x50"
"linux" "@_Z11UTIL_RemoveP11CBaseEntity"
}
"RoundRespawn"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\x8B\x0D\ x2A\x2A\x2A\x2A\x57\x8B\x01\xFF\x50\x2A\x83"
"linux" "@_ZN9CCSPlayer12RoundRespawnEv"
}
"OnTakeDamage"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF0\x81\xEC\x2A\x2A\x00\ x00\x56\x57\x8B\xF9\x89\x2A\x2A\x2A\x80\xBF\x 2A\x2A\x2A\x2A\x00"
"linux" "@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageI nfo"
}
"WantsLagComp"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x10\x56\x57\x8B\xF9\x8B\ x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x 75"
"linux" "@_ZNK11CBasePlayer28WantsLagCompensationOnEnt ityEPK11CBaseEntityPK8CUserCmdPK7CBitVecILi20 48EE"
}
"CGameRules"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\x2A\x2A\x2A\ x2A\x53\x56\x57\x8B\xD9\x68\x2A\x2A\x2A\x2A\x 89\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xA1"
"linux" "@g_pGameRules"
}
//ValveBiped.Bip01_R_Hand
"CSWeaponDrop"
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\ x2A\x53\x8B\x5D\x08\x56\x57\x6A\x00\x68"
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWe apon6Vectorb"
}
"DropWeapons"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x56\ x8B\xF1\x57\x6A\x00\x68\x2A\x2A\x2A\x2A\x8B\x 06"
"linux" "@_ZN9CCSPlayer11DropWeaponsEbb"
}
"CalcDominationAndRevenge"
{
"library" "server"
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\xB9\x2A\x2A\ x2A\x2A\xFF\x50\x34\x85\xC0"
"linux" "@_ZN12CCSGameStats24CalcDominationAndRevengeE P9CCSPlayerS1_Pi"
}
}
}
"cstrike"
{
/* FFA patch bytes */
"Keys"
{
"LagCompPatch_Windows" "\xEB"
"LagCompPatch_Linux" "\x90\x90\x90\x90\x90\x90"
"LagCompPatch_Mac" "\x90\x90\x90\x90\x90\x90"

"TakeDmgPatch1_Windows" "\xEB"
"TakeDmgPatch1_Linux" "\x90\x90\x90\x90\x90\x90"
"TakeDmgPatch1_Mac" "\x90\x90\x90\x90\x90\x90"

"TakeDmgPatch2_Windows" "\xEB"
"TakeDmgPatch2_Linux" "\x90\x90\x90\x90\x90\x90"
"TakeDmgPatch2_Mac" "\x90\x90\x90\x90\x90\x90"

"CalcDomRevPatch_Windows" "\x90\x90\x90\x90\x90\x90"
"CalcDomRevPatch_Linux" "\x90\x90"
"CalcDomRevPatch_Mac" "\x90\x90\x90\x90\x90\x90"
}
"Offsets"
{
/* Patch offsets for FFA */
"LagCompPatch"
{
"windows" "46"
"linux" "31"
"mac" "32"
}
"TakeDmgPatch1"
{
"windows" "828"
"linux" "564"
"mac" "746"
}
"TakeDmgPatch2"
{
"windows" "828"
"linux" "564"
"mac" "746"
}
/* Offset into gamerules constructor - bogo value linux/mac */
"g_pGameRules"
{
"windows" "5"
"linux" "1"
"mac" "1"
}
/* Virtual indexes */
"IPointsForKill"
{
"windows" "80"
"linux" "81"
"mac" "81"
}
"Weapon_GetSlot"
{
"windows" "268"
"linux" "269"
"mac" "269"
}
"RemoveAllItems"
{
"windows" "342"
"linux" "343"
"mac" "343"
}
"GiveAmmo"
{
"windows" "252"
"linux" "253"
"mac" "253"
}
/* Next _two_ are detour byte "save" counts */
"DropWeaponsPatch"
{
"windows" "6"
"linux" "6"
"mac" "6"
}
"CSWeaponDropPatch"
{
"windows" "9"
"linux" "6"
"mac" "6"
}
"CalcDomRevPatch"
{
"windows" "65"
"linux" "96"
"mac" "86"
}
}
"Signatures"
{
"UTIL_Remove"
{
"library" "server"
"windows" "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\x57\ xE8\x2A\x2A\x2A\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x 57\x56"
"linux" "@_Z11UTIL_RemoveP11CBaseEntity"
"mac" "@_Z11UTIL_RemoveP11CBaseEntity"
}
"RoundRespawn"
{
"library" "server"
"windows" "\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\ x10\x8B"
"linux" "@_ZN9CCSPlayer12RoundRespawnEv"
"mac" "@_ZN9CCSPlayer12RoundRespawnEv"
}
"OnTakeDamage"
{
"library" "server"
"windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x56\x89\ x4D\xFC\x8B\x45\x2A\x50\x8D\x8D\x2A\x2A\x2A\x 2A\xE8"
"linux" "@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageI nfo"
"mac" "@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageI nfo"
}
"WantsLagComp"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x10\xA1\x2A\x2A\x2A\x2A\ x56\x8B\xF1\x57"
"linux" "@_ZNK11CBasePlayer28WantsLagCompensationOnEnt ityEPKS_PK8CUserCmdPK7CBitVecILi2048EE"
"mac" "@_ZNK11CBasePlayer28WantsLagCompensationOnEnt ityEPKS_PK8CUserCmdPK7CBitVecILi2048EE"
}
"CGameRules"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\ x74\x07"
"linux" "@g_pGameRules"
"mac" "@g_pGameRules"
}
"CSWeaponDrop"
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x01\x00\x00\x89\x4D\ xFC\xC6\x45\x2A\x2A\x8B\x4D\x2A\xE8\x2A\x2A\x 2A\x2A\x0F\xB6\xC0"
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWe aponbb"
"mac" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWe aponbb"
}
"DropWeapons"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x89\x4D\x2A\xC7\x45\ x2A\x00\x00\x00\x00\xEB\x2A\x8B\x45\x2A\x83\x C0\x01\x89\x45\x2A\x83"
"linux" "@_ZN9CCSPlayer11DropWeaponsEbb"
"mac" "@_ZN9CCSPlayer11DropWeaponsEbb"
}
"CalcDominationAndRevenge"
{
"library" "server"
"windows" "\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x89\x4D\ xFC\x83\x78\x30\x00\x0F\x85\x2A\x2A\x2A\x2A\x 57\x8B"
"linux" "@_ZN12CCSGameStats24CalcDominationAndRevengeE P9CCSPlayerS1_Pi"
"mac" "@_ZN12CCSGameStats24CalcDominationAndRevengeE P9CCSPlayerS1_Pi"
}
}
}
}

456
09-19-2015, 05:51
CS:S Server
I am updated gamedata, but not fix it

update SM to 1.8 dev = not fix defuse kit bug

Need work sm 1.6 =\

456
09-19-2015, 05:53
bots on sever = spam defuse kit. Need fix it !!!!!

Dr!fter
09-19-2015, 09:05
[SM] Listing 22 plugins:
01 "Sound Commands" (1.7.3-dev+5255) by AlliedModders LLC
02 "Client Preferences" (1.7.3-dev+5255) by AlliedModders LLC
03 "Basic Ban Commands" (1.7.3-dev+5255) by AlliedModders LLC
04 "Basic Votes" (1.7.3-dev+5255) by AlliedModders LLC
05 "Anti-Flood" (1.7.3-dev+5255) by AlliedModders LLC
06 "Admin File Reader" (1.7.3-dev+5255) by AlliedModders LLC
07 "Fun Commands" (1.7.3-dev+5255) by AlliedModders LLC
08 "CS:S DM Preset Spawns" (2.1.6-dev) by AlliedModders LLC
09 "CS:S DM Bot Quotas" (2.1.6-dev) by AlliedModders LLC
10 "CS:S DM Spawn Protection" (2.1.6-dev) by AlliedModders LLC
11 "CS:S DM Equipment" (2.1.6-dev) by AlliedModders LLC
12 "CS:S DM Basics" (2.1.6-dev) by AlliedModders LLC
13 "Admin Help" (1.7.3-dev+5255) by AlliedModders LLC
14 "Basic Commands" (1.7.3-dev+5255) by AlliedModders LLC
15 "Basic Comm Control" (1.7.3-dev+5255) by AlliedModders LLC
16 "Nextmap" (1.7.3-dev+5255) by AlliedModders LLC
17 "Player Commands" (1.7.3-dev+5255) by AlliedModders LLC
18 "Admin Menu" (1.7.3-dev+5255) by AlliedModders LLC
19 "Basic Chat" (1.7.3-dev+5255) by AlliedModders LLC
20 "Reserved Slots" (1.7.3-dev+5255) by AlliedModders LLC
21 "Fun Votes" (1.7.3-dev+5255) by AlliedModders LLC
22 "Basic Info Triggers" (1.7.3-dev+5255) by AlliedModders LLC

sm exts list
[SM] Displaying 9 extensions:
[01] Automatic Updater (1.7.3-dev+5255): Updates SourceMod gamedata files
[02] Webternet (1.7.3-dev+5255): Extension for interacting with URLs
[03] CS Tools (1.7.3-dev+5255): CS extended functionality
[04] BinTools (1.7.3-dev+5255): Low-level C/C++ Calling API
[05] SDK Tools (1.7.3-dev+5255): Source SDK Tools
[06] Client Preferences (1.7.3-dev+5255): Saves client preference settings
[07] SQLite (1.7.3-dev+5255): SQLite Driver
[08] Top Menus (1.7.3-dev+5255): Creates sorted nested menus
[09] CS:S DM (2.1.6-dev): Deathmatch for CS:S



"Equipment"
{
"Settings"
{
// Allow clients to say "guns" to restore their menu.
// This is disabled if the menu isn't drawn.
//
"guns_command" "yes"
}

//
// Enable or disable menus here.
// For the primary and secondary gun menus, you can use:
// "no" - Completely disable the menus
// "yes" - Enable the menus
// "random" - Pick a random weapon from the menus automatically for players
//
"Menus"
{
// Primary gun menu
"primary" "yes"

// Secondary gun menu
"secondary" "yes"

// Normal CS:S buy menu/commands
// If enabled, the main equipment menu will be disabled.
"buy" "no"
}

//
// Automatic things to give on spawn.
//
"AutoItems"
{
// Health amount to give (0 to use default from game/other plugin)
"health" "100"

// Armor amount to give
"armor" "100"

// Whether to give a helmet. If you want to disable armor, you must
// set this to "no" as well as setting armor to 0.
"helmet" "yes"

// Number of flashbangs to give
"flashbangs" "0"

// Whether to give a smoke grenade
"smokegrenade" "no"

// Whether to give an HE grenade
"hegrenade" "no"

// Whether to give defusekits to CTs
"defusekits" "no"

// Whether to give nightvision
"nightvision" "yes"

//CS:GO Items

//Whether to give a decoy grenade
"decoy" "no"

//Whether to give a taser
"taser" "yes"
}

//
// Items listed here will be automatically given to bots.
// If multiple weapons exist from one category (primary/secondary),
// then a random item will be chosen from that category. If the same
// weapon is added more than once, it increases its chances of being
// picked. No more than 32 weapons can be added to either the secondary
// or the primary pool.
//
"BotItems"
{
"weapon" "ak47"
"weapon" "m4a1"
"weapon" "awp"
"weapon" "galilar"
"weapon" "galil"
"weapon" "aug"
"weapon" "deagle"
"health" "100"
"armor" "100"
"helmet" "yes"
"flashbangs" "0"
"smokegrenade" "no"
"hegrenade" "no"
"defusekits" "no"
"decoy" "no"
"taser" "yes"
}

//
// If no items exist, the menu will be skipped.
// If only one item exists, the menu will be skipped
// and players will receive the item automatically.
//
"SecondaryMenu"
{
"weapon" "hkp2000"
"weapon" "usp"
"weapon" "glock"
"weapon" "deagle"
"weapon" "p250"
"weapon" "p228"
"weapon" "elite"
"weapon" "fiveseven"
"weapon" "tec9"
}

//
// If no items exist, the menu will be skipped.
// If only one item exists, the menu will be skipped
// and players will receive the item automatically.
//
"PrimaryMenu"
{
"weapon" "m4a1"
"weapon" "ak47"
"weapon" "awp"
"weapon" "ssg08"
"weapon" "scout"
"weapon" "sg556"
"weapon" "sg552"
"weapon" "galilar"
"weapon" "galil"
"weapon" "famas"
"weapon" "scar20"
"weapon" "sg550"
"weapon" "aug"
"weapon" "m249"
"weapon" "g3sg1"
"weapon" "ump45"
"weapon" "mp7"
"weapon" "mp5navy"
"weapon" "nova"
"weapon" "m3"
"weapon" "xm1014"
"weapon" "mp9"
"weapon" "tmp"
"weapon" "mac10"
"weapon" "p90"
"weapon" "bizon"
"weapon" "sawedoff"
"weapon" "mag7"
"weapon" "negev"
}
}

Fresh linux install, with latest MM 1.10.6 and SM 1.7.3-dev+5255 and cssdm 2.1.6-git225. Works fine for me no defuse kits.

zloy911
09-19-2015, 10:32
// Whether to give defusekits to CTs
"defusekits" "no"

Place a yes or check.

Dr!fter
09-19-2015, 10:34
So you give defuse kits?

zloy911
09-19-2015, 12:18
Yes, but they must drop after the death of the player, but they remain on the map.
P.S. Game mode with a bomb

Dr!fter
09-19-2015, 15:12
should be fixed in the latest snapshot of cssdm

zloy911
09-19-2015, 17:32
Thank you, it works.