ID:264928
 
Code:
mob/Move(NewLoc,Dir)
var/slow = 0
var/obj/spell/Darkness/Gravity_Well/G = /obj/spell/Darkness/Gravity_Well
if(locate(G) in view()) //this one here was the marked line
for(G.in view())
if(G.owner == src) return ..(NewLoc,Dir)
else
walk_to(src,G,0,3)
return ..(NewLoc,Dir)
if(src.guardbrake)
return
if(src.is_struck)
return 0
for(var/X in src.ailements)
if(X == "Slow")
slow = 1
if(X == "Freeze" || X == "Paralysis" || X == "Stun" || X == "Sleep")
return 0
if(confused)
var/list/Turfs=list()
for(var/turf/T in view(1,src))
Turfs+=T
Turfs-=NewLoc
NewLoc=pick(Turfs)
Dir=get_dir(loc,NewLoc)
if(slow)
spawn(4)
..(NewLoc,Dir)
else
..(NewLoc,Dir)


Problem description:
I have never seen this runtime error before and searching the forums yeilds no results. What in the world does this mean? Besides the obvious, I mean.

runtime error: Out of resources!
proc name: Move (/mob/Move)
source file: The Elemental Stone.dm,2581
usr: Sacred Scion Guard (/mob/guard)
src: Sacred Scion Guard (/mob/guard)
call stack:
Sacred Scion Guard (/mob/guard): Move(Bridges (35,173,2) (/turf/Bridges), 4)
Sacred Scion Guard (/mob/guard): WalkAround()
Sacred Scion Guard (/mob/guard): WalkAround()
Load Lists()
: New()

I only got it one time. The code up there is associated with the line.
Are you sure you didn't run out of memory?
view() returns list, if you're near datum limit it might cause problem, maybe...
I'm not sure about list limits, maybe you have too many objects and they don't fit in the list?

Maybe this will help you:
http://www.byond.com/developer/ forum/?id=653194&display=1#653194