Skip to content

Commit

Permalink
Update Linux offset & Windows signature (#3)
Browse files Browse the repository at this point in the history
* Update linux function offset

Signed-off-by: Kirin Etheridge <[email protected]>

* Update Windows signature

Signed-off-by: Kirin Etheridge <[email protected]>

* Update Windows offset, use hex instead of int, bump version

Signed-off-by: Kirin Etheridge <[email protected]>

---------

Signed-off-by: Kirin Etheridge <[email protected]>
  • Loading branch information
kir68k authored May 11, 2024
1 parent 44cd18d commit a4ece02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions addons/sourcemod/gamedata/allclass-air-dash.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
"library" "server"
"linux" "@_ZNK9CTFPlayer10CanAirDashEv"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\xF7\x87\x2A\x2A\x00\x00\x00\x00\x04\x00"
"windows" "\x55\x89\xE5\x57\x56\x53\x83\xEC\x1C\x8B\x5D\x2A\x8B\x83\xC0\x1B\x00\x00"
}
}
"Addresses"
Expand All @@ -35,12 +35,12 @@
"linux"
{
"signature" "CTFPlayer::CanAirDash"
"offset" "68" // CTFPlayer::CanAirDash+44
"offset" "0x32"
}
"windows"
{
"signature" "CTFPlayer::CanAirDash"
"offset" "47" // CTFPlayer::CanAirDash+2F
"offset" "0x2B"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/allclass-air-dash.sp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public Plugin myinfo =
name = "[TF2] All-Class Air Dash",
author = "Mikusch",
description = "Enables all classes to perform air dashes (double jumps)",
version = "1.2.0",
version = "1.2.1",
url = "https://github.com/Mikusch/allclass-air-dash"
}

Expand Down

0 comments on commit a4ece02

Please sign in to comment.