PDA

View Full Version : DoD Rocket Exploit Fix


dodsynthetic
12-07-2008, 11:42 AM
Syn's Rocket Exploit Fix v1.003

This plugin prevents Bazooka/Panzer/Piat ceiling/floor exploits. It works for all maps.

===========================
v1.003 Changes
===========================
- Adjusted ranges to be more accurate and direct hits now kill like normal.

- Use of CVAR pointers for speed improvement.

===========================
v1.002 Changes
===========================
- Added CVAR amx_fix_rockets_above to seperately enable or disable ceiling damage above player damage.

- Added CVAR amx_fix_rockets_below to seperately enable or disable underneath floor damage blocking.

===========================
Features
===========================
- Prevents ceiling/rocket glitching. This reduces damage above head and completely blocks damage to players on top of a floor where a rocket is shot from underneath.

===========================
CVARS
===========================
amx_fix_rockets | 0 = off | 1 = on
- Enables or disables the plugin. Default on.

amx_fix_rockets_above | 0 = off | 1 = on
- Enables or disables the plugin. Default on.

amx_fix_rockets_below | 0 = off | 1 = on
- Enables or disables the plugin. Default on.

===========================
Installation
===========================
- Compile the .sma file | An online compiler can be found here:
http:www.amxmodx.org/webcompiler.cgi
- Copy the compiled .amxx file into your addons\amxmodx\plugins folder
- Add the name of the compiled .amxx to the bottom of your addons\amxmodx\configs\plugins.ini
- Change the map or restart your server to start using the plugin!

Tank
12-07-2008, 12:19 PM
hahaha, you f00ker :D Great job Syn :D I'll try to complete this plugin and I'll put it on the server :D

Dr.G
12-07-2008, 01:38 PM
GJ syns! keep em coming!... however this makes the rocket class totaly unusefull :) its almost the only way to get kills with the zooka :D... but gj anyways!

Tank
12-07-2008, 01:46 PM
I have a few questions though, perhaps I should first try the plugin but...

Does this also block glitches on models? There are a few lose models in avalanche, shooting them results in a blast radius all around the model. For instance axis street near axis first has a concrete piece in the middle of the street. Shooting that one with someone around will def. kill him.

I'll try this plugin out after dinner.

dodsynthetic
12-07-2008, 07:00 PM
It depends on where a player is standing. If the damage area is around the middle of a person, it doesn't reduce or block this area but would be possible to do so.

dodsynthetic
12-07-2008, 07:11 PM
Oh, Dr.G, I could make it so the above head and below feet are separated. That way if you just wanted to fix say the middle cap bridge on saints you could. As is, it takes about 3 rockets to kill a person from ceiling shots on the average ceiling but the closer the ceiling, the more damage it will inflict. I tried to match it to the regular damage radius when firing next to a vertical wall or near a player's feet.

Dr.G
12-07-2008, 07:57 PM
yea maybe that would do it.. overall the zookas should have way more power and maybe reload faster... D-O made a zooka plugin thats pretty insane :D it makes you fires 5 rockets or so in one shot i think it is lol i really like that idea :D

Tank
12-07-2008, 08:03 PM
LOL, Syn's Zooka is even more kick ass :D

overall the zookas should have way more power

May I point in a realistic point of view that the zooka weapons are meant as armor piercing weapons...panzerschreck for example is freely translated armorpiercing. And they were not meant to do a lot of damage upon impact, more once the armor got penetrated.

If you, like me don't give too much about realism, I can't disagree with you :D

dodsynthetic
12-07-2008, 08:10 PM
Haha full auto piat and panzer so far, but the zook is giving me troubles with animations. XD I want to make the rocket launcher have two modes, one for regular rockets and another for what would basically be a grenade launcher XD I'll eventually get to doing it.

diamond-optic
12-08-2008, 02:03 AM
sweet ill be checking this out once i stop being lazy (maybe tomorrow lol)

D-O made a zooka plugin thats pretty insane :D it makes you fires 5 rockets or so in one shot i think it is lol i really like that idea :D

lol well the plugin i was messing with... it just fires as many rockets are there are in the clip as long as you hold the button down.. so if you make the clipsize like 500.. you can just hold the fire button and they will all shoot one after the other which is madness with cl_particlefx turned on lol (tho i found that if you fire say more then 25 really quick it causes most of the server to time out lol).. tho i do need to tweak the delay between shots cause right now if you dont have godmode on you die as well cause a couple of the rockets hit each other as soon as they leave the launcher and blow up in your face lol



but anyway your method for blocking zook glitches is WAYYYY better then the one i messed with a long time ago...

dodsynthetic
12-08-2008, 05:15 AM
Updated. I added CVARS to seperately enable or disable either above ceiling shots and below floor ceiling shots.

diamond-optic
12-19-2008, 09:50 PM
hmm idk if its just me or something.. but i cant get any rocket kills now..

even hitting someone dead on from straight in front of them.. it just explodes but doesnt do any damage

dodsynthetic
12-20-2008, 09:57 AM
Sounds like the ranges need some adjustment. I'll make the necessary changes.

bdjohns
01-15-2009, 06:02 PM
I'm unable to open holes in the walls with one shot anymore. Like on dod_arch. It takes 3 shots or more to blow the upper wall and then 3 or more to blow the wall at the bottom of the stairs. It used to take only one shot. I've run out of ammo before they are both blown. I've turned it off for now. I have notice this on other maps also.
Good mod though, please keep up the good work.

Thanks

dodsynthetic
01-23-2009, 10:16 PM
Highly strange lol. It should only take affect when a player is near the rocket but I will definitely check into it. Been very busy lately. XD

dodsynthetic
02-02-2009, 06:25 PM
New update. Minor enhancements and fixed the no damage issue. The floor check was checking too far from below resulting in regular shots by a player's feet not scoring damage and the above head radius was affecting hits down to about the torso area.

@bdjohns - After playing around the only thing that I could think would cause this problem is if a player was near those breakables. Hopefully with the adjustments it won't be a problem or very little. I tested on several maps with walls and things to break and didn't have any problems. If it still causes problems for you, I can add in a mode to ignore players when they are near breakables.

diamond-optic
03-02-2009, 09:15 PM
im still able to very easily kill ppl thru floors with this

tested it on avalanche @ red room floor and apt floor above the window room at 1st flag

dodsynthetic
03-05-2009, 03:19 AM
Try this and let me know how it works XD I made a change to the detection.

webmaze
04-23-2009, 12:08 AM
hi. it doesnt works yet.

Zeta

dodsynthetic
07-13-2009, 04:47 AM
I've been gone too long. Possibly my detection method just isn't sufficient enough but I will be sure to continue working on it. :D

webmaze
07-20-2009, 01:55 PM
it would be awesome, let us know.

Zeta