#Need Help :-3
1 messages · Page 1 of 1 (latest)
Can you elaborate more what is anti-crasher?
like, in horion you can activate an crasher it spawns a lot of entitys on illegal positions
[ Illegal Position / Illegal Sound / Self Damage ]
and i need somethin that stop makin the server crashing
my english is really bad, im german
Seems like you are looking for bugs caused by scripts that can crash the game under control?
nop, im looking for an anti cheat to stop the hack "Crasher"
wait
the hack "Crasher" can spawn entities in illegal positions, perform illegal sounds or crash the watchdog, and I need a code against that!
You can stop self damage and illegal position
and how?
If your talking about crashary then you can't prevent it using script API
entityHurt event
okay
and how can i stop illegal pos??
testing for if the damagingEntity is the entity that hit
Illegal positions? So maybe you could test if any entity was spawned there and kill or move the entity to other positions?
and illegal position I think is testing if an entity is at 30mil x 30mil z
on entity spawn??
every few seconds
system.runInterval
okay. but how can ii get the entity coords
^ I don't think this still works
for(const player of world.getPlayers())
okay, i need the entity coords cuz horion spawns a lot of entitys on illegal positions
then do ```js
const {x,y,z} = player.location
if(x > 20000000 || z > 20000000) //code
There's only 1 type of crasher now
type 5
and what do type 5

hmmm
getEntities with minDistance parameter?
Script protections are almostly useless when you meet advanced hackers, that's the difference between programmers and hackers : -(
You can’t stop an entity from taking damage using that event
You can't stop it but if they do then u can kick them
you'll only have to exclude bows