From f55f79bf71a8baaf13e818f71c68d9ef91bc916a Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 6 Oct 2023 00:19:19 +0300 Subject: [PATCH] L4D AFK Fix: [L4D(2)] 4+ Survivor AFK Fix (1.2) added. https://forums.alliedmods.net/showthread.php?t=132409?t=132409 Required for MultiSlots: https://forums.alliedmods.net/showthread.php?p=1239544 --- .../addons/sourcemod/gamedata/l4dafkfix.txt | 44 ++++++++++++++++++ .../addons/sourcemod/plugins/l4dafkfix.smx | Bin 0 -> 6547 bytes 2 files changed, 44 insertions(+) create mode 100644 serverfiles/left4dead2/addons/sourcemod/gamedata/l4dafkfix.txt create mode 100644 serverfiles/left4dead2/addons/sourcemod/plugins/l4dafkfix.smx diff --git a/serverfiles/left4dead2/addons/sourcemod/gamedata/l4dafkfix.txt b/serverfiles/left4dead2/addons/sourcemod/gamedata/l4dafkfix.txt new file mode 100644 index 0000000..8340eed --- /dev/null +++ b/serverfiles/left4dead2/addons/sourcemod/gamedata/l4dafkfix.txt @@ -0,0 +1,44 @@ +"Games" +{ + "left4dead" + { + "Signatures" + { + + "SetHumanSpec" + { + "library" "server" + "linux" "@_ZN11SurvivorBot17SetHumanSpectatorEP13CTerrorPlayer" + "windows" "\x53\x8B\xD9\x83\x2A\x2A\x2A\x2A\x2A\x2A\x56\x8D\x2A\x2A\x2A\x2A\x2A\x7E\x07\x5E\x32\xC0\x5B\xC2\x04\x00" + } + + "TakeOverBot" + { + "library" "server" + "linux" "@_ZN13CTerrorPlayer11TakeOverBotEb" + "windows" "\x81\x2A\x2A\x2A\x2A\x2A\x53\x55\x56\x57\x8D\x2A\x2A\x2A\x8B\xF9\x33\xDB\x50" + } + } + } + + "left4dead2" + { + "Signatures" + { + + "SetHumanSpec" + { + "library" "server" + "linux" "@_ZN11SurvivorBot17SetHumanSpectatorEP13CTerrorPlayer" + "windows" "\x53\x56\x8B\xF1\x33\xDB\x39*******\x5E\x32\xC0\x5B" + } + + "TakeOverBot" + { + "library" "server" + "linux" "@_ZN13CTerrorPlayer11TakeOverBotEb" + "windows" "\x81*****\x53\x55\x56\x8D***\x57\x8B\xF1\x33\xDB" + } + } + } +} \ No newline at end of file diff --git a/serverfiles/left4dead2/addons/sourcemod/plugins/l4dafkfix.smx b/serverfiles/left4dead2/addons/sourcemod/plugins/l4dafkfix.smx new file mode 100644 index 0000000000000000000000000000000000000000..2fe5cd6c95fc667b3af15fd409a37a109d5193da GIT binary patch literal 6547 zcmYM2Wn2_Mx5jtrMhOulr34m`?vhx#1pz^NL0G!GL8LoeI#jy55m>rgSm_2~X^^|` zjo0APc1a+L6y003c>)1oAc;vkf>qSS|C06GA``5#6l=&=C+eiUzV0RX`m0DugN zE%^X|mnc_7$q&VOm;iu2im62a058;8mMBg^6+T0`14>0GzC+F7vT(Gt0&rQHxtRgD zoZQXrZ7p2?8$8ThP~c$ZX6s>v0yi_re}~Zj1eWHI|KIsfU~Oyve|dXbhyO!YZ>YJW z{r}e6I#@gYPp7M!i>(7{n%DBN5uqCm*nQ1EFbR75>C3ih7PjygS+bF&R7BXb9FRd{ zwLM4LMn8j$VMkNai;gA^kLx88re}&a-}=Lzp@nss(@PtoIsZ^$3!BepYfhNSAnD$& zniRz}bj=E3i=bLQ9q(v!T%Vaqwj?So-OY1V@Vpv_iSc=!jIL(-uK%6OO8by!_Y~S? zl~tnl`Jst+-$5yzemmhLiB}>d_Zu+K6zk#sC*m|o{P9?RS##>&qhhS$Y!_C3Jj1U< zhj&!v+NG5HZwAQfvt@kh5GP5kJoz2qWl2(wQY9Q%xZHUQ+8Gt>5R@b-gnvp%-cItD zq)H`BqiiVrW|iGfk+u|>1iI2Yi;3HZEhD=|@wJ!zXNjo1sP_|vM_9k;a$nL$P3Fqn zD&;G|U(QFX9$Jo0iQ>|~K+j1Py?k#Yh&vY1@0N8RW)0j=Na23wjj`S8r!lHo3HLfF z*HXXuYfAW!zfqQad(JI(=KyDqD|Twhp)H;VeE+4(rA-|+hdXyd~oG#tg-gW4K zk*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