-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add one more option to handle order without reordering plugin lists #18
Comments
Right now we can't handle which one hooked function value gonna be returned or overrided. metamod-p/metamod/api_hook.cpp Line 383 in cd4f10b
As you can see there's only check against MRES ret stuff. For example: Plugin 2 hooking CmdStart_Post or something like that Plugin 3 hooking CmdStart_Post or something like that |
e.g. SET_META_PRIORITY(99) and then plugins which are settting priority to 0 or 10 or 98 or 97 and etc gonna be skipped at reassigning state. Also if you can add more MRES_ types, for example MRES_BREAK_POST, for breaking post calling, MRES_BREAK_ORIG_POST for breaking original call and post call, Btw i suggest to add another one value instead filling up MRES_ stuff. But they must be very well designed so that we can flex them the way we want, for example, we can use bitsums to prevent the next pre call, next post call, call POST at all, call POST and origin at all. (im not talking about prevent calling origin due mres_supercede already exists) |
@jkivilin can u take look? |
No description provided.
The text was updated successfully, but these errors were encountered: