Raised This Month: $51 Target: $400
 12% 

Stuck Bug / Ducked Ladder Bugs Fixes


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   Arkshine (91)
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 03-27-2011 , 20:25   Stuck Bug / Ducked Ladder Bugs Fixes
Reply With Quote #1

Description:
This plugin is designed to fix three types of bugs. First one can get you permanently stuck between two curved surfaces when in fact you should be able to move there. Second bug simply doesn't allow you to move in expected direction - when you are ducked on ground and trying to move upwards the ladder, it doesn't allow you to. Third one forces you to emit a step sound when moving away from ladder while being ducked. For examples of how this bugs work and/or how plugin handles them, please check demos what are attached below (note: demos are recorded in Counter-Strike 1.6 game in de_dust2 and cs_assault maps).


Requires:
Orpheu
Orpheu PM Functions Pack


Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.2 (dev build hg21).


Notes:
This is my first plugin what needs such a powerful module as Orpheu in order to work. Any feedback on this subject is welcome.


Warnings:
Forum and web compilers don't have support for Orpheu module. So when compiling this plugin non locally, compiler may and most probably will result in code errors and/or plugin failure once installed on the server. Simply install Orpheu module and compile plugin locally to avoid problems.


Credits:
Special thanks to kzmod.com. If not thanks to them, I wouldn't start using Orpheu module, and wouldn't discover all the possibilities what it unlocks.


Change-Log:

* 1.1
- Added: Bug fix for too high speed when moving away from ladder.
- Changed: Renamed plugin from "Stuck Bug Fix" to "Stuck Bug / Ducked Ladder Bugs Fixes".
- Changed: Slight CPU improvement for ladder fix.
- Changed: Attached better demo examples.

* 1.0
- First release.
Attached Files
File Type: zip cstrike_demo_examples.zip (462.6 KB, 973 views)
File Type: sma Get Plugin or Get Source (stuck_bug_ducked_ladder_bugs_fixes.sma - 2565 views - 6.5 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 04-23-2011 at 18:15.
MPNumB is offline
Send a message via Skype™ to MPNumB
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-27-2011 , 20:30   Re: Stuck Bug Fix
Reply With Quote #2

Very impressive work.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 03-28-2011 , 11:10   Re: Stuck Bug Fix
Reply With Quote #3

Nice job there.
__________________
xPaw is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-28-2011 , 12:27   Re: Stuck Bug Fix
Reply With Quote #4

OMG, readable code !!
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 03-28-2011 , 16:31   Re: Stuck Bug Fix
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
OMG, readable code !!
Not everybody is a good scripters. :<


PS: Very good fix the one with the ladder. Was pretty annoying when play hns... even though I quit
__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
Rossonero
Senior Member
Join Date: Mar 2009
Location: Location
Old 03-28-2011 , 16:52   Re: Stuck Bug Fix
Reply With Quote #6

MPNumB,
One of the nicest guys around here, great works.
Might I suggest to fill in other bug fixes? to make a plugin to fix some more, like the spawn bug fix

and create one to stop defusing bugs from taking place, defusing through walls, boxes, etc
__________________
signature
Rossonero is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-28-2011 , 17:40   Re: Stuck Bug Fix
Reply With Quote #7

Quote:
Originally Posted by Rossonero View Post
and create one to stop defusing bugs from taking place, defusing through walls, boxes, etc
Has been done I think.
bibu is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 03-28-2011 , 20:32   Re: Stuck Bug Fix
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
OMG, readable code !!
Don't get used to it. P.S. I think I figured out what plugins what I made are readable and unreadable for you - the more complex system plugin has, the harder it is for you to read.

Quote:
Originally Posted by Rossonero View Post
MPNumB,
One of the nicest guys around here, great works.
Might I suggest to fill in other bug fixes? to make a plugin to fix some more, like the spawn bug fix

and create one to stop defusing bugs from taking place, defusing through walls, boxes, etc
Quote:
Originally Posted by bibu View Post
Has been done I think.
Thanks, and yes. I have made a plugin some time ago called "No use through walls" what blocks using objects through walls (including defusing through walls).

Spawn bug? You mean when 2 people spawn in the same place and one of them dies? Fix is simple - map spawn editor (add more spawns).

P.S. I must confess that this plugin (Stuck Bug Fix) fixes only listed bugs. There still are glitches in maps when you can get stuck simply by ducking or unducking in various places - I have no idea on how to fix those ones. I am talking not about bugs what mapper didn't thought of, but bugs where invisible not intended surfaces are created, due to various vertex bugs (one is in de_nuke CT spawn on right wall when running from huge spawn door all the way to the building - you'll see it if you'll try; you can pass that place while being ducked at any vertical position, but if you are standing you are blocked; some bugs however have it other way around, so ducking gets you permanently stuck, and I really have no idea how to fix those ones, cause trying to execute movement traces doesn't help [traces were tested by fakemeta, orpheu doesn't yet has support for needed variable types to execute some functions what also include PM_PlayerTrace - spend about 5 hours with Arksine right now trying to figure it out, he's a really nice and patient guy]).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 03-28-2011 at 20:51.
MPNumB is offline
Send a message via Skype™ to MPNumB
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2011 , 05:39   Re: Stuck Bug Fix
Reply With Quote #9

To detect/fix if you are stucked you can try to play with PM_CheckStuck().
__________________

Last edited by Arkshine; 03-29-2011 at 05:47.
Arkshine is offline
Rossonero
Senior Member
Join Date: Mar 2009
Location: Location
Old 03-29-2011 , 10:37   Re: Stuck Bug Fix
Reply With Quote #10

geez, thanks bibu, MPNumB
__________________
signature
Rossonero is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode