-
-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Requests] New hooks to API
#741
Comments
API
API
Hooks
|
Event on exit and enter from box. For example there is touch events, but not exit. Exit and enter usually implemented in plugins using think event or tasks. Not that I need it so hard, already have those in plugins. Just a good suggestion i guess. |
I think you mean to a |
can you also add |
Added, thank you! |
Could this be useful in any way? https://github.com/s1lentq/ReGameDLL_CS/blob/master/regamedll/pm_shared/pm_shared.cpp#L1496 |
I think he was refering to "when we get out from a touch", like, we are in a buyzone, we permanently "Touch" it, but he wants a hook to detect when we stop touching it (like once we move outside from it). But that's out of "default hooks we already have", as there is no "pfnUnTouch"! PS: |
Added new hooks to list |
Agree with |
DispatchTouch & DispatchUse: No need. |
Why are these hooks unnecessarily? |
About Dispatch*, I slightly mistaken, they can be useful only to detect a call from "dllfunc(DLLFunc_<Touch|Use>, ...)" or the other standalone natives (fake_touch, entity_use, force_use), since the Metamod's hooks (usable via AMX's VexdUM or AMXX's Engine/Fakemeta) will not be triggerred. About new hooks, I basically like to see new ones, more to upgrade my own module ReAPI since I have not more power for now on "that I am working", and also for distracting. But, to be honest, and, regarding that I am coding & my further plans, I do not care to see new hooks added, except when a hook is not "memhackable properly" (case for ReHLDS), but ReGameDLL_CS does not have such issue for almost all so. Maybe "CBasePlayer::IsArmored", more to be able to modify (remove) the "arms armor" to be realistic (CS has armor protection on arms while bullets-proof vests do not have). But a CVar with flags (abcdefg) for each bodypart could do the job too. |
Edited new hooks list. |
Could you add Thanks in advance |
Added on the list, thank you! |
@ShadowsAdi I suggest you to reorder list by alphabetical order. Also, you can add CBasePlayer::CheckTimeBasedDamage |
Added on list, thank you! |
CBasePlayer::ThrowWeapon: Kind of duplicate of "CBasePlayer::DropPlayerItem", & never used too, you can remove it from your list, the code itself could even be removed from the DLL. |
@ShadowsAdi It will be more easy to port an existing plugin to ReAPI with PM_Duck hook. Some examples: Fast Duck |
Hello,
In this
Issue
topic, you can request any new hook you want to see implemented in the future releases.Regards, Adi.
The text was updated successfully, but these errors were encountered: