Skip to content

Commit

Permalink
Fix (parts of) CS:GO gamedata (#656)
Browse files Browse the repository at this point in the history
* Fix SDKTools gamedata (thanks to Rodya)

* Fix CStrike Linux gamedata

* Fix keys

* Fix keys #2

* Adjust Windows offsets as well

* Update CommitSuicide (from Bara)
  • Loading branch information
awillinger authored and asherkin committed Aug 18, 2017
1 parent 902cae5 commit cb83a30
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions gamedata/sdktools.games/engine.csgo.txt
Expand Up @@ -219,9 +219,9 @@
{
"GiveNamedItem"
{
"windows" "449"
"linux" "450"
"mac" "450"
"windows" "450"
"linux" "451"
"mac" "451"
}
"RemovePlayerItem"
{
Expand Down Expand Up @@ -255,9 +255,9 @@
}
"CommitSuicide"
{
"windows" "499"
"linux" "499"
"mac" "499"
"windows" "500"
"linux" "500"
"mac" "500"
}
"GetVelocity"
{
Expand Down Expand Up @@ -297,15 +297,15 @@
}
"PlayerRunCmd"
{
"windows" "469"
"linux" "470"
"mac" "470"
"windows" "470"
"linux" "471"
"mac" "471"
}
"GiveAmmo"
{
"windows" "275"
"linux" "276"
"mac" "276"
"windows" "276"
"linux" "277"
"mac" "277"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions gamedata/sm-cstrike.games/game.csgo.txt
Expand Up @@ -58,7 +58,7 @@
"CCSPlayerInventoryOffset"
{
"windows" "55"
"linux" "87"
"linux" "97"
"mac" "109"
}
"GetItemInLoadout"
Expand Down Expand Up @@ -97,7 +97,7 @@
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x7C\x01\x00\x00\x53\x56\x57\x6A\x00"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x9C\x01\x00\x00\x0F\xB6\x55\x14"
"linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\x75\xF8\x8B\x75\x08"
}
"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM (kept for backcompat with old SM versions)
{
Expand Down

2 comments on commit cb83a30

@ramonberrutti
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Working perfect!

@druni
Copy link

@druni druni commented on cb83a30 Aug 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you sourcemod team!

Please sign in to comment.