#Anti Ghost Peek

7 messages · Page 1 of 1 (latest)

stable swift
#

I'm tired of those ghost peekers ruining the server

i just finished a really clean system to fix it once and for all using ColAndreas and Pawn.RakNet
basically, it stops people from exploiting weapon/camera offsets to shoot from behind cover while they are 100% hidden.

real-time detection via Aim Sync & uses ColAndreas raycasting

https://streamable.com/zwub5q

winter mulch
#

i can't imagine how much resources would be used for a massive player

stable swift
#

fair point but honestly it barely uses any resources. colandreas is c++ and uses bullet physics(http://bulletphysics.org/) so a single raycast is basically nothing for the cpu, way faster than normal samp functions. also it only triggers when an aim sync packet hits the server, so im not looping through everyone every frame or using some heavy timer. shit is super lightweight and wont lag even with 500+ players shooting at once

#

pawn math is slow as hell for this kind of stuff. instead of making the script do thousands of calculations, i just call one raycast from the plugin. colandreas is c++ so it handles that shit in like microseconds. all the heavy lifting for collisions happens inside the plugin anyway, so pawn vm doesn't even feel it. it wont touch the server tickrate even if everyone starts blasting at once

winter mulch
#

cool

sudden yew
#

Any release planned?

stable swift
# sudden yew Any release planned?

nah yeah i’m planning to release it

just wanna clean it up first and make it proper “plug & play” so people don’t struggle with it. gonna wrap everything into a single include, make sure it’s fully compatible with common hooks (YSI, pawn.raknet hooks, etc.) and remove any messy/debug stuff

also thinking about adding a few config options so server owners can tweak sensitivity / behavior depending on their gamemode
once that’s done i’ll drop it publicly