-
Notifications
You must be signed in to change notification settings - Fork 105
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
Issue with Hooking PM_AirMove for changing user air-acceleration. #171
Comments
Hi again! I wanted to update on this issue, as this also occurs when any variable in the MoveVars array is changed to a value that goes against the set server value using a hook chain. An example to the issue, which was rectified after commenting out set_movevar(mv_gravity): https://dev-cs.ru/threads/5426/ This issue doesn't occur with Orpheu+HLDS: https://forums.alliedmods.net/showpost.php?p=1555428&postcount=24 , which deals with this issue using another but similar logic, however it uses a module for hooking/unhooking and orpheu signatures that involve changing binary information, which wouldn't work with ReHLDS. I'd like to hear more about this from you or any other contributors on this project, as it's been around two months since this post, and I think a proper discussion could help you understand the issue more closely to fix it sooner. Thanks and best regards, |
The issue doesn't occur because the plugin sends SVC_NEWMOVEVARS |
Could you work on integrating this into ReAPI so that set_movevar is functional? |
@etojuice @s1lentq Wanted to get back on this issue, I tried integrating the features from Arkshine's plugin into ReAPI, but as expected, it doesn't work. Sending SVC_NEWMOVEVARS with another movevars enum doesn't do anything either. Registering and Unregistering the HookChain didn't work as well. The issue seems to be how ReAPI is dealing with set_movevar, which is causing the massive amounts of chokes. Let me know what you think about this. |
I got linked to this issue. As long as you write the message correctly, it should work. Check romanian-jumpers.com servers where they have working AA toggles (100AA for individual player while I have a working implementation but only for ReGameDLL_CS (C++). Feel free to adapt to AmxModX or whatever.
Note that some of these values are wrong, and also you shouldn't use MSG_ONE because you might overflow reliable channel if things go wrong. I implemented this specifically for single player mode. Here are the correct values as I rip them from a typical KZ demo.
|
Hi s1lentq!
I've been facing issues with hooking PM_AirMove on ReHLDS, as there are clashes occuring with client's and the server's air-acceleration, which seem to cause client misprediction and therefore high amounts of chokes, even with high rate values.
This is the plugin I've been using, that uses this feature:
https://forums.alliedmods.net/showpost.php?p=2540925&postcount=76
I've discussed the issue in fair amount on this thread:
https://forums.alliedmods.net/showthread.php?t=326075
Thanks for assisting me out!
Best regards,
MaNaReaver.
The text was updated successfully, but these errors were encountered: