Commit Graph
5 Commits
Author SHA1 Message Date
Rain dbec0b165c Neotokyo: Add "SetOwnerEntity" gamedata (#2126)
This adds game support for `SetOwnerEntity`, `SetEntityCollisionGroup`.
2024-03-21 00:11:59 +00:00
Rain 9fa7421122 Update gamedata for Dystopia (#2080)
Add the offsets for OnTakeDamage and OnTakeDamage_Alive for the game Dystopia, for Linux and Windows platforms. This change adds game support for the SDKHook_OnTakeDamage, and its variants.
2023-11-07 13:20:45 +00:00
Rain 8938a29904 Ignore chat triggers for interactive ban reason (#2067)
* Ignore chat triggers for interactive ban reason

If the admin types a chat trigger for a command while BaseBans is
waiting for them to type a ban reason, don't treat that message as the
ban reason.

This fixes a problem where the admin decides to cancel their ban with
"!abortban", "/abortban" etc, but ends up accidentally banning the
player with the ban reason "!abortban" (or by attempting to access any
other command via a chat trigger before typing the ban reason).

* Optimize

Check if we're actually waiting for chat reason before calling the native
2023-10-16 19:43:00 +02:00
Rain 0656696251 Neotokyo: Add gamedata for LookupEntityAttachment & GetEntityAttachment (#2049)
Add the "LookupAttachment" and "GetAttachment" signature and offsets for
Neotokyo, which adds game support for the SM LookupEntityAttachment and
GetEntityAttachment natives.
2023-09-25 22:19:47 +00:00
Rain 51bba0b894 Fix incorrect behaviour in SDKHooks_DropWeapon's "bypassHooks" parameter (#1877) 2022-12-27 19:31:02 +00:00