tmwa icon indicating copy to clipboard operation
tmwa copied to clipboard

Mobs trapped in collision attacked by summons kill server.

Open wushin opened this issue 10 years ago • 4 comments

wushin avatar Sep 20 '15 04:09 wushin

steps to reproduce?

Helianthella avatar Sep 20 '15 04:09 Helianthella

Create spawns enclosed in Collision Player needs to be unreachable due to the creatures being enclosed Player summon mobs that appear inside the collision The summons attack the mobs which in turn attempt to attack the player Pathing just keeps trying even though it will alway fail

wushin avatar Sep 20 '15 05:09 wushin

One solution, is to prevent player spawn monster in a radius > 1 so change the (rbox location (if_then_else (is_in (location caster) (@+ (@ "009-7" (- (script_int caster "$@fightclub_x1") 2) (- (script_int caster "$@fightclub_y1") 2)) (+ (- (script_int caster "$@fightclub_x2") (script_int caster "$@fightclub_x1")) 5) (+ (- (script_int caster "$@fightclub_y2") (script_int caster "$@fightclub_y1")) 5))) 1 2)) by somethings like (rbox location 1) when the player is allow to spawn monster

monwarez avatar Feb 10 '16 17:02 monwarez

@monwarez We are talking about if we intentionally want to spawn mobs within collision, not to avoid it.

If you place too many mobs in an area you can summon into or argo in some way, the mobs freak out and keep trying to calculate path to the player.

wushin avatar Feb 10 '16 17:02 wushin