Skip to content

Commit

Permalink
Update more CS:GO gamedata
Browse files Browse the repository at this point in the history
  • Loading branch information
Drifter321 committed Aug 18, 2017
1 parent b952414 commit fdc8681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gamedata/sdktools.games/engine.csgo.txt
Expand Up @@ -303,9 +303,9 @@
}
"GiveAmmo"
{
"windows" "276"
"linux" "277"
"mac" "277"
"windows" "275"
"linux" "276"
"mac" "276"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions gamedata/sm-cstrike.games/game.csgo.txt
Expand Up @@ -57,7 +57,7 @@
//Offset into HandleCommand_Buy_Internal
"CCSPlayerInventoryOffset"
{
"windows" "55"
"windows" "60"
"linux" "97"
"mac" "109"
}
Expand Down Expand Up @@ -96,7 +96,7 @@
"HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price.
{
"library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x7C\x01\x00\x00\x53\x56\x57\x6A\x00"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x0C\x53\x56\x57\x6A\x01"
"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 Expand Up @@ -151,7 +151,7 @@
"SetClanTag"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x2A\x8D\x81\x5C\x29\x00\x00"
"windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x2A\x8D\x81\x34\x25\x00\x00"
"linux" "\x55\x89\xE5\x83\xEC\x18\x8B\x45\x0C\x85\xC0\x74\x2A\x89\x44\x24\x04\x8B\x45\x08\xC7\x44\x24\x08\x10\x00\x00\x00"
}
// Since it's not possible to make a unique signature for CCSWeaponInfo::GetWeaponInfo, this is instead a signature to a
Expand Down

7 comments on commit fdc8681

@hadesownage
Copy link

Choose a reason for hiding this comment

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

The server is still crashing with sourcemod.

@asherkin
Copy link
Member

Choose a reason for hiding this comment

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

There is still a lot more work to do, be patient.

@amit177
Copy link

Choose a reason for hiding this comment

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

For me the server stopped crashing, but when you join it and try to move, you can't, even with noclip.

@Raphititi
Copy link

Choose a reason for hiding this comment

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

The server still has some random crash when the round start

@Chevalier2016
Copy link

Choose a reason for hiding this comment

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

Can you update the linux portion of "HandleCommand_Buy_Internal"

@amit177
Copy link

Choose a reason for hiding this comment

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

@Chevalier2016 new value for linux is:

\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\ x75\xF8\x8B\x75\x08

@inklesspen1rus
Copy link

Choose a reason for hiding this comment

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

SDKHooks:
"Reload"
{
"windows" "306"
"linux" "312"
"mac" "312"
}

Please sign in to comment.