diff --git a/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.autoload b/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.autoload new file mode 100644 index 0000000..e69de29 diff --git a/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.dll b/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.dll new file mode 100644 index 0000000..e193d59 Binary files /dev/null and b/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.dll differ diff --git a/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.so b/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.so new file mode 100644 index 0000000..1f5fbd3 Binary files /dev/null and b/serverfiles/left4dead2/addons/sourcemod/extensions/l4d2_bugfixes.ext.2.l4d2.so differ diff --git a/serverfiles/left4dead2/addons/sourcemod/gamedata/l4d2_bugfixes.txt b/serverfiles/left4dead2/addons/sourcemod/gamedata/l4d2_bugfixes.txt new file mode 100644 index 0000000..bd0ee13 --- /dev/null +++ b/serverfiles/left4dead2/addons/sourcemod/gamedata/l4d2_bugfixes.txt @@ -0,0 +1,80 @@ +/* created by V10 aka maldersoft, Accelerator & $atanic $pirit */ +"Games" +{ + "left4dead2" + { + "Offsets" + { + "WitchAttackCharaster" + { + "linux" "14" + "windows" "14" + } + + "SurvivorCounters" + { + "linux" "1048" + "windows" "1056" + } + + /* Offset into CDirectorMusicBanks::OnRoundStart */ + "TheDirector" + { + "windows" "12" + } + } + "Signatures" + { + "WitchAttack::WitchAttack" + { + "library" "server" + "linux" "@_ZN11WitchAttackC1EP11CBaseEntity" + "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\xC7\x46\x04\x2A\x2A\x2A\x2A\xC7\x46\x2C\x01\x00\x00\x00\x33\xDB\x33\xC0\x89\x46\x2A\x33\xC9\x89\x4E\x2A\x57\x33\xD2\x89\x56\x2A\x33\xFF\x89\x5E\x2A\x89\x5E\x2A\x89\x5E\x2A\x89\x5E\x2A\x89\x5E\x2A\x89\x5E\x2A\x66\x89\x5E\x2A\x89\x7E\x2A\xC7\x06\x2A\x2A\x2A\x2A\xC7\x46\x04\x2A\x2A\x2A\x2A\x53" + /* 55 8B EC 53 56 8B F1 C7 46 04 ? ? ? ? C7 46 2C 01 00 00 00 33 DB 33 C0 89 46 ? 33 C9 89 4E ? 57 33 D2 89 56 ? 33 FF 89 5E ? 89 5E ? 89 5E ? 89 5E ? 89 5E ? 89 5E ? 66 89 5E ? 89 7E ? C7 06 ? ? ? ? C7 46 04 ? ? ? ? 53 */ + + } + "CCharge::HandleCustomCollision_code" + { + "library" "server" + "linux" "\x0F\x85\x2A\x2A\xFF\xFF\xC6\x84\x2A\x2A\x2A\x2A\x00\x01\xF3\x0F\x58\xC1\xA1\x2A\x2A\x2A\x2A\xF3\x0F\x58\xC2\xF3" + "windows" "\x0F\x85\x2A\x2A\x2A\x00\xC6\x00\x01\x8B\x15\x2A\x2A\x2A\x2A\xF3\x0F\x10\x42\x2A\xF3\x0F\x59\xC0\x0F\x2F\x45\x94\x76" + /* Linux 0F 85 ? ? FF FF C6 84 ? ? ? ? 00 01 F3 0F 58 C1 A1 ? ? ? ? F3 0F 58 C2 F3 */ + /* Windows 0F 85 ? ? ? 00 C6 00 01 8B 15 ? ? ? ? F3 0F 10 42 ? F3 0F 59 C0 0F 2F 45 94 76 */ + } + "CCharge::HandleCustomCollision" + { + "library" "server" + "linux" "@_ZN7CCharge21HandleCustomCollisionEP11CBaseEntityRK6VectorS4_P10CGameTraceP9CMoveData" + "windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x00\x00\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x8B\xD9\x89\x45\x2A\x8B\x83\x2A\x2A\x00\x00\x56\x8B\x75" + /* 55 8B EC 81 EC ? ? 00 00 A1 ? ? ? ? 33 C5 89 45 ? 8B 45 ? 53 8B D9 89 45 ? 8B 83 ? ? 00 00 56 8B 75 */ + } + + "CTerrorGameRules::CalculateSurvivalMultiplier" + { + "library" "server" + "linux" "@_ZN16CTerrorGameRules27CalculateSurvivalMultiplierEb" + "windows" "\x55\x8B\xEC\x83\xEC\x2A\x80\x7D\x2A\x00\x53\x56\x8B\xD9\x0F\x84\x2A\x2A\x00\x00" + /* 55 8B EC 83 EC ? 80 7D ? 00 53 56 8B D9 0F 84 ? ? 00 00 */ + } + "TheDirector" + { + "library" "server" + "linux" "@TheDirector" + } + "DirectorMusicBanks::OnRoundStart" + { + "library" "server" + "windows" "\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x84\xC0\x0F\x85" + /* 55 8B EC 83 EC ? 56 57 8B F9 8B 0D ? ? ? ? E8 ? ? ? ? 84 C0 0F 85 */ + } + "CDirector::AreTeamsFlipped" + { + "library" "server" + "linux" "@_ZNK9CDirector15AreTeamsFlippedEv" + "windows" "\x57\x8B\xF9\xE8\x2A\x2A\x2A\x2A\x84\xC0\x75\x2A\xF7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x00\x56\x74\x2A\xBE" + /* 57 8B F9 E8 ? ? ? ? 84 C0 75 ? F7 05 ? ? ? ? ? ? ? 00 56 74 ? BE */ + } + + } + } +}