ID:176293
 
Ok I don't think this is good news for me but anyone know how I could fix this?


Out of memory. <------Fix This?
runtime error: cannot append to list
proc name: Rbattle (/mob/proc/Rbattle)
source file: RandomCombat.dm,51
usr: Codesterz (/mob/mob)
src: Codesterz (/mob/mob)
call stack:
Codesterz (/mob/mob): Rbattle(null, Fly (/mob/monsters/Monster0), null, null, null, null)
Battle Grass (95,17,4) (/turf/Battle_Grass): Entered(Codesterz (/mob/mob), Battle Grass (95,18,4) (/turf/Battle_Grass))
Free up some memory, you're using something that is killing your computer's resources, it's not BYOND's fault, it's your fault.
In response to Nadrew
All I had open was Dream Maker and Seeker for testing my game.
In response to Codesterz
Apprently there's something else running that you don't see, check your close program menu (Ctrl+Alt+Del once).
In response to Nadrew
I've closed up everything I could. Made a backup for my game then deleted just about everything I could in the game. I deleted the On Screen Inventory, half of the maps, taken out all the music, deleted, some of the battle grounds. I have done everything and still the same problem.
In response to Nadrew
Nadrew wrote:
Free up some memory, you're using something that is killing your computer's resources, it's not BYOND's fault, it's your fault.

I suspect the real problem is his game. It is possible, just difficult, to use up too much memory in a game. It looks like misuse of lists could do this, or an infinite loop that's filling up a list.

Lummox JR
In response to Lummox JR
I had originally got this error.

Infinite loop suspected--switching proc to background.
If it is not an infinite loop, either do 'set background=1' or set world.loop_checks=0.
proc name: Rbattle (/mob/proc/Rbattle)
usr: Codesterz (/mob/mob)
src: Codesterz (/mob/mob)
call stack:
Codesterz (/mob/mob): Rbattle(null, Fly (/mob/monsters/Monster0), null, null, null, null)
Battle Grass (95,18,4) (/turf/Battle_Grass): Entered(Codesterz (/mob/mob), Battle Grass (95,19,4) (/turf/Battle_Grass))
Codesterz (/client): South()

When I did world.loop_checks=0 I list of errors popped up when the monsters tried to attack.

Then when I did set background=1 I ran into that out of memory problem. And that first error all of a sudden started up for no reaon at all. I wasn't even touching the battle system at the time just the Inventory system.
Maybe this info could help you out a bit.
In response to Codesterz
That explains it. Your loop is doing the same thing over and over and over as fast as it can, and thus is taking all your system's processing power. Fix the infinite loop.
In response to Garthor
How?
In response to Codesterz
By stopping it looping on itself repeatedly, of course.
In response to Crispy
There's nothing in the code making that happen. Just some bug tht started for no apparent reason.
In response to Codesterz
...Which means that you don't see the reason. Show us the proc that was giving you the inifinite loop error.
In response to Garthor
when I do the world.loop_checks=0 this is the error I get.


runtime error: Cannot write to world.loop_checks.
proc name: Rbattle (/mob/proc/Rbattle)
usr: Codesterz (/mob/mob)
src: Codesterz (/mob/mob)
call stack:
Codesterz (/mob/mob): Rbattle(null, Fly (/mob/monsters/Monster0), null, null, null, null)
Battle Grass (95,18,4) (/turf/Battle_Grass): Entered(Codesterz (/mob/mob), Battle Grass (95,19,4) (/turf/Battle_Grass))
Codesterz (/client): South()
In response to Codesterz
Show us the Rbattle proc.