Skip to content

Commit b90bf9c

Browse files
committed
Update Left4DHooks to 1.162
1 parent 74da94b commit b90bf9c

15 files changed

Lines changed: 1260 additions & 80 deletions

addons/sourcemod/gamedata/left4dhooks.l4d2.txt

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,54 @@
14961496
}
14971497
}
14981498

1499+
"L4DD::CTongue::ActivateAbility"
1500+
{
1501+
"signature" "CTongue::ActivateAbility"
1502+
"callconv" "thiscall"
1503+
"return" "int"
1504+
"this" "entity"
1505+
}
1506+
1507+
"L4DD::CVomit::ActivateAbility"
1508+
{
1509+
"signature" "CVomit::ActivateAbility"
1510+
"callconv" "thiscall"
1511+
"return" "int"
1512+
"this" "entity"
1513+
}
1514+
1515+
"L4DD::CLunge::ActivateAbility"
1516+
{
1517+
"signature" "CLunge::ActivateAbility"
1518+
"callconv" "thiscall"
1519+
"return" "int"
1520+
"this" "entity"
1521+
}
1522+
1523+
"L4DD::CLeap::ActivateAbility"
1524+
{
1525+
"signature" "CLeap::ActivateAbility"
1526+
"callconv" "thiscall"
1527+
"return" "int"
1528+
"this" "entity"
1529+
}
1530+
1531+
"L4DD::CSpitAbility::ActivateAbility"
1532+
{
1533+
"signature" "CSpitAbility::ActivateAbility"
1534+
"callconv" "thiscall"
1535+
"return" "int"
1536+
"this" "entity"
1537+
}
1538+
1539+
"L4DD::CCharge::ActivateAbility"
1540+
{
1541+
"signature" "CCharge::ActivateAbility"
1542+
"callconv" "thiscall"
1543+
"return" "int"
1544+
"this" "entity"
1545+
}
1546+
14991547
"L4DD::CTerrorPlayer::MaterializeFromGhost"
15001548
{
15011549
"signature" "CTerrorPlayer::MaterializeFromGhost"
@@ -2241,6 +2289,13 @@
22412289
"linux" "1160"
22422290
}
22432291

2292+
// ? - Neburai
2293+
"EHandleOffset"
2294+
{
2295+
"windows" "928"
2296+
"linux" "948"
2297+
}
2298+
22442299
"m_rescueCheckTimer"
22452300
{
22462301
"windows" "980"
@@ -2766,6 +2821,11 @@
27662821
"linux" "3148"
27672822
}
27682823

2824+
"CAmmoDef::MaxCarry"
2825+
{
2826+
"linux" "0"
2827+
"windows" "0"
2828+
}
27692829

27702830

27712831
// Animation offsets:
@@ -4931,6 +4991,80 @@
49314991
/* ? ? ? ? ? ? 56 8B F1 8B 06 8B 90 ? ? ? ? FF D2 84 C0 0F ? ? ? ? ? 8B 06 8B 90 ? ? ? ? 8B CE FF D2 84 C0 75 ? 56 E8 ? ? ? ? 8B C8 E8 */
49324992
}
49334993

4994+
/*
4995+
* CTongue::ActivateAbility(CTongue *this)
4996+
*/
4997+
"CTongue::ActivateAbility"
4998+
{
4999+
"library" "server"
5000+
"linux" "@_ZN7CTongue15ActivateAbilityEv"
5001+
"windows" "\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xFF\x2A\x84\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x03\x2A\x8D\x2A\x2A\x2A\x85\x2A\x74\x2A\xC1\x2A\x2A\x39\x2A\x2A\x75\x2A\x8B\x2A\x85\x2A\x74"
5002+
/* ? ? ? ? ? 8B ? ? ? ? ? FF ? 84 ? 74 ? 8B ? ? ? ? ? 83 ? ? 74 ? 8B ? ? ? ? ? 8B ? 81 ? ? ? ? ? 03 ? 8D ? ? ? 85 ? 74 ? C1 ? ? 39 ? ? 75 ? 8B ? 85 ? 74 */
5003+
/* Search: "Tongue took %f damage (was %f/%f)." for "CTongue::OnTongueShot" and XRef to VTable and count up to find target function */
5004+
}
5005+
5006+
/*
5007+
* CVomit::ActivateAbility(CVomit *this)
5008+
*/
5009+
"CVomit::ActivateAbility"
5010+
{
5011+
"library" "server"
5012+
"linux" "@_ZN6CVomit15ActivateAbilityEv"
5013+
"windows" "\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xFF\x2A\x84\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B"
5014+
/* ? ? ? ? ? 8B ? 8B ? 8B ? ? ? ? ? FF ? 84 ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 83 ? ? 0F 84 ? ? ? ? 8B */
5015+
/* "Vomit.Use" */
5016+
}
5017+
5018+
/*
5019+
* CLunge::ActivateAbility(CLunge *this)
5020+
*/
5021+
"CLunge::ActivateAbility"
5022+
{
5023+
"library" "server"
5024+
"linux" "@_ZN6CLunge15ActivateAbilityEv"
5025+
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\x2A\x89\x2A\x2A\x56\x8B\x2A\x80\x2A\x2A\x2A\x2A\x2A\x2A\x57\x75\x2A\x8D\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xD9\x2A\x2A\x2A\x2A\x2A\xD9\x2A\xDF\x2A\xDD\x2A\x72\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xFF\x2A\x84\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x53\x83"
5026+
/* ? ? ? ? ? ? ? ? ? A1 ? ? ? ? 33 ? 89 ? ? 56 8B ? 80 ? ? ? ? ? ? 57 75 ? 8D ? ? ? ? ? E8 ? ? ? ? D9 ? ? ? ? ? D9 ? DF ? DD ? 72 ? 8B ? 8B ? ? ? ? ? 8B ? FF ? 84 ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 53 83 */
5027+
/* Search: "pounce_fail" for "CLunge::IsAbilityReadyToFire" and XRef to VTable, target function should be below */
5028+
}
5029+
5030+
/*
5031+
* CSpitAbility::ActivateAbility(CSpitAbility *this)
5032+
*/
5033+
"CSpitAbility::ActivateAbility"
5034+
{
5035+
"library" "server"
5036+
"linux" "@_ZN12CSpitAbility15ActivateAbilityEv"
5037+
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x03\x2A\x8D\x2A\x2A\x2A\x85\x2A\x0F\x84\x2A\x2A\x2A\x2A\xC1\x2A\x2A\x39\x2A\x2A\x0F\x85\x2A\x2A\x2A\x2A\x57\x8B\x2A\x85\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xFF\x2A\x84\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x6A\x2A\x6A"
5038+
/* ? ? ? ? ? ? ? 8B ? 8B ? ? ? ? ? 83 ? ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 8B ? 81 ? ? ? ? ? 03 ? 8D ? ? ? 85 ? 0F 84 ? ? ? ? C1 ? ? 39 ? ? 0F 85 ? ? ? ? 57 8B ? 85 ? 0F 84 ? ? ? ? 8B ? 8B ? ? ? ? ? 8B ? FF ? 84 ? 0F 84 ? ? ? ? 8B ? 6A ? 6A */
5039+
/* "SpitterZombie.Spit" */
5040+
}
5041+
5042+
/*
5043+
* CLeap::ActivateAbility(CLeap *this)
5044+
*/
5045+
"CLeap::ActivateAbility"
5046+
{
5047+
"library" "server"
5048+
"linux" "@_ZN5CLeap15ActivateAbilityEv"
5049+
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\x2A\x89\x2A\x2A\x56\x8B\x2A\x80\x2A\x2A\x2A\x2A\x2A\x2A\x57\x75\x2A\x8D\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xD9\x2A\x2A\x2A\x2A\x2A\xD9\x2A\xDF\x2A\xDD\x2A\x72\x2A\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\xFF\x2A\x84\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x83\x2A\x2A\x74"
5050+
/* ? ? ? ? ? ? ? ? ? A1 ? ? ? ? 33 ? 89 ? ? 56 8B ? 80 ? ? ? ? ? ? 57 75 ? 8D ? ? ? ? ? E8 ? ? ? ? D9 ? ? ? ? ? D9 ? DF ? DD ? 72 ? 8B ? 8B ? ? ? ? ? 8B ? FF ? 84 ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 83 ? ? 74 */
5051+
/* 1. Search: "JockeyZombie.Ride" for "CTerrorPlayer::OnLeptOnSurvivor" (signature for this already exists in this GameData file) */
5052+
/* 2. XRef function to find "CLeap::OnTouch" */
5053+
/* 3. XRef to VTable, count up to target function */
5054+
}
5055+
5056+
/*
5057+
* CCharge::ActivateAbility(CCharge *this)
5058+
*/
5059+
"CCharge::ActivateAbility"
5060+
{
5061+
"library" "server"
5062+
"linux" "@_ZN7CCharge15ActivateAbilityEv"
5063+
"windows" "\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xFF\x2A\x84\x2A\x0F\x84\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x53\x83"
5064+
/* ? ? ? ? ? 8B ? ? ? ? ? FF ? 84 ? 0F 84 ? ? ? ? 8B ? ? ? ? ? 53 83 */
5065+
/* Search: "chair_charged" for "CCharge::HandleCustomCollision" and XRef to VTable and count up to find target function */
5066+
}
5067+
49345068
/*
49355069
* CTerrorPlayer::OnKnockedDown(CBasePlayer *a1, int a2)
49365070
* Search: "HunterZombie.Pounce.shred". This function contains a sub calling with the param (1).
3.31 KB
Binary file not shown.

0 commit comments

Comments
 (0)