dataviruset / sm-hosties

The ultimate jailbreak plugin for SourceMod
https://forums.alliedmods.net/forumdisplay.php?f=155
GNU General Public License v3.0
29 stars 27 forks source link

New noscope method #17

Closed ghost closed 8 years ago

ghost commented 9 years ago

Removed old code and replaced with a new code (that prevent quick scope)

DorCoMaNdO commented 9 years ago

I think that the FOV fix should be added back just in-case, to fix possible issues.

ghost commented 9 years ago

All FOV change are now outside from LR_NoScope.

data-bomb commented 8 years ago

Is it okay to use FindSendPropOffs in a PreThink hook? It will get called often. Will this method work on CS:S as well?

ghost commented 8 years ago

I see no problems with css (but not tested). And yes, not the best solutions with OnPreThink, but avoid noscope glitch.

data-bomb commented 8 years ago

Does this make it so that they can't zoom for 9999 ticks? Would that last 78 seconds on a 128 tick server? I'm not sure the math works that way but if so then we can save a lot of efficiency by setting this in InitializeLR and resetting it every time they shoot. If someone really waits 78 seconds without shooting and somehow survives then they deserve 1 scoped shot.

ghost commented 8 years ago

After zoom or shooting, is this timer closed then you can scope again. That's a reason why PreThink.

data-bomb commented 8 years ago

https://github.com/dataviruset/sm-hosties/commit/e608d2033848b0960beb334b11293ea1e9ea3d8d proposes the method discussed in the comments earlier to avoid the PreThink method while retaining current checks.