This has been around for years!
I remember doing this to players, I don't think it's possible to catch players doing this without a heavy weight plugin.
At first I thought a ray cast would work but there's a proper gap there and a raycast will go straight through.
The best way would be to...
Pretty sure it tries 3 times to connect to a server (3 different methods), If all 3 fail then most likely the server has something wrong like a port might not be port forwarded or server is down / restarting / stopping etc
Just realised the above code will not stop wall looting,
You'll need to cast a ray at the players eyes and see if anything is in between the player and the object.
(Would add this myself but I can't get test the ray atm)
Give this a shot, Save as AntiWallLoot.py
Will block any type of looting more than 10m away
(Not tested code)
import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite
class AntiWallLoot:
def On_LootUse(self, LootStartEvent):
Distance =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.