ID:142709
 
Code:
world
New()
spawn for()
if(sec >= 6 && wave == 0)
else
sec-= 1
sleep(10)
if(door <= 0)
world << "You have lost Rebooting server!"
Reboot()


Problem description:
some where in here it causes my game to crash... I have no idea why but I will try to decipher the errort since I can't copy and paste it.
Tue Mar 25 18:49:56 2008
World opened on network port 5774
Welcome BYONG!(4.0 Beta Vershion 412.977)
Infinite look 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: New(/world/New)
source file :protection.dm,8
usr:null
src:
call stack:
:New()

Please help o.O

well you overwrote world New() you might wanna ..() that sucker. AS THE FIRST ITEM TOO lol.
That error generally means you've got a loop running with an exit condition that is never reached (or doesn't exist), and no sleep(). Your problem is the second: it's not sleeping if src >= 6 && wave == 0. Because that's the case, and the loop does nothing to change it, it starts eating up resources until BYOND shuts it down.