Reload Animation Fix
1 Attachment(s)
Description:
This plugin fixes a glitch when your weapon reload animation isn't shown, even though you are currently reloading your weapon. Also this plugin fixes shotgun reload resume glitch, when you are deploying m3 or xm1014. And when shotgun is deployed while having 0 bullets, reload animation is always accurate. Last, but not least, when spectating a person who has deagle, you don't get deploy or reload animation when you shouldn't. Requires: FakeMeta HamSandWich Additional info: Tested in Counter-Strike 1.6 with amxmodx 1.8.2 (dev build hg21). If you want to execute and test this bug, buy an automatic weapon (mp5, ak47, m4a1..), with 2 backup clips, fire one clip until you hit reload, then once reload is done, start firing second clip, until you reach 0 ammunition and start reload again - that's when animation glitch happens. There are more scenarios when this bug happens, however this plugin should fix all of them. Warnings: Animations are client-side, therefor there may be firing animation issue just when reload ended for people who are playing with high ping and are holding attack button at that moment. Credits: Thanks to FOUTA for requesting this bug-fix. Change-Log: * 1.1 - Fixed: When deploying shotguns they don't resume previous reload. - Fixed: When switching to shotgun with 0 bullets, reload animation is always accurate. - Fixed: Shotguns lost their reload-stop animations. - Removed: No need to fix main glitch for shotguns - they don't have this bug anyway. * 1.0 - First release. |
Re: Reload Animation Fix
Code:
-> Code:
|
Re: Reload Animation Fix
My method requires less CPU usage, while still remaining readable.
|
Re: Reload Animation Fix
Thank you for sharing MPNumB and very good job.
You were given some credit on the website too: http://gamerone.net/showthread.php?tid=792 I have noticed this bug a lot and it is good to see a fix congratulations. |
Re: Reload Animation Fix
Quote:
|
Re: Reload Animation Fix
Quote:
|
Re: Reload Animation Fix
Generally a bad idea to cache alive players status because switch plugins easily mess up your plugin.
Also, if you keep it, you can directly pass g_iAlive in the macro since it is the only variable you use. |
Re: Reload Animation Fix
Quote:
--- Updated to 1.1 Fixed: When deploying shotguns they don't resume previous reload. Fixed: When switching to shotgun with 0 bullets, reload animation is always accurate. Fixed: Shotguns lost their reload-stop animations. Removed: No need to fix main glitch for shotguns - they don't have this bug anyway. |
Re: Reload Animation Fix
awesome work mpnumb :D
thanks for taking some time and make this plugin... :D |
Re: Reload Animation Fix
For example a plugin that would switch a player from Ts to Spectator, your plugin could think he is still alive.
Just saying that PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 02:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.