Non Agressive Look.
mob
proc
NonAggresiveLook()
var/mob/usr/M
while(src)
if(M in oview(5))
if(M.name in src.killlist)
walk_to(src,M,1,4)
if(M in oview(1))
step_towards(src,M)
else
for(M in view(src))
break
sleep(5)
spawn(2)
NonAggresiveLook()
Mob Code:
mob/Alcadia
greydemon
name = "Delathrin"
// Icon and stats etc.etc.
New()
.=..()
spawn(1)
NonAggresiveLook()
Runtime Error:
runtime error: Out of resources!
proc name: NonAggresiveLook (/mob/proc/NonAggresiveLook)
usr: 11 (/mob/Alcadia/greydemon)
src: 11 (/mob/Alcadia/greydemon)
call stack:
11 (/mob/Alcadia/greydemon): NonAggresiveLook()
11 (/mob/Alcadia/greydemon): New(Grass (73,6,1) (/turf/ground/Grass))
Problem description:
This never used to happen. I don't know why it's decided to do this now, but I'm getting spammed the hell out with that runtime error to the point where DreamSeeker suppresses it. Also, the Mob AI doesn't work anymore either. Heeelp!
Hehe, Cheers!
~Sinyc.