Skip to content

Commit

Permalink
Fix CSGO Update crash (11/19/2019) (#1125)
Browse files Browse the repository at this point in the history
* Fix CSGO Update crash (11/19/2019)

We know what happened when Valve do something big.
Not tested on Linux

* Fix RoundRespawn on Windows

* Fix TerminateRound on Linux x86

* Comment out Linux x64 part of TerminateRound

Better leave blank here.

(cherry picked from commit bef8562)
  • Loading branch information
PerfectLaugh authored and psychonic committed Nov 19, 2019
1 parent 8c380e4 commit e135eff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions gamedata/sdktools.games/engine.csgo.txt
Expand Up @@ -244,10 +244,10 @@
{
"GiveNamedItem"
{
"windows" "456"
"linux" "457"
"linux64" "457"
"mac64" "457"
"windows" "457"
"linux" "458"
"linux64" "458"
"mac64" "458"
}
"RemovePlayerItem"
{
Expand Down Expand Up @@ -286,10 +286,10 @@
}
"CommitSuicide"
{
"windows" "506"
"linux" "506"
"linux64" "506"
"mac64" "506"
"windows" "507"
"linux" "507"
"linux64" "507"
"mac64" "507"
}
"GetVelocity"
{
Expand Down Expand Up @@ -335,10 +335,10 @@
}
"PlayerRunCmd"
{
"windows" "476"
"linux" "477"
"linux64" "477"
"mac64" "477"
"windows" "477"
"linux" "478"
"linux64" "478"
"mac64" "478"
}
"GiveAmmo"
{
Expand Down
6 changes: 3 additions & 3 deletions gamedata/sm-cstrike.games/game.csgo.txt
Expand Up @@ -107,7 +107,7 @@
"RoundRespawn"
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x0C\x53\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\x8B\x01"
"windows" "\x55\x8B\xEC\x83\xEC\x0C\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01"
"linux" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x4C\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x89\x04\x24"
"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x18\x4C\x8B\x25\x85\x17\xB4\x00"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x54\x53\x48\x83\xEC\x10\x49\x89\xFC\x4C\x8D\x3D\xD7\xB9\x90\x00"
Expand Down Expand Up @@ -140,8 +140,8 @@
{
"library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x8B\xD9\xF3\x0F\x2A\x2A\x2A\x2A\x56\x57\x89\x2A\x2A\x2A\x83\xBB"
"linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\xBC\x00\x00\x00\x8B\x7D\x08\x8B\x9F"
"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x41\x54\x53\x48\x81\xEC\x98\x00\x00\x00\x89\xB5\x68\xFF\xFF\xFF"
"linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\xBC\x00\x00\x00\x8B\x7D\x08\x8B\x87\xB4\x0B\x00\x00"
//"linux64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x41\x54\x53\x48\x81\xEC\x98\x00\x00\x00\x89\xB5\x68\xFF\xFF\xFF"
"mac64" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x08\x01\x00\x00\x41\x89\xF6"
}
//In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s.
Expand Down

0 comments on commit e135eff

Please sign in to comment.