ID:149244
 
Hello everyone. I believe I have a major problem. Sometimes when people play my game, it crashes all of a sudden. Does anyone know what could cause this? (by the way, I have world/loop_checks = 0, if that helps)

(edit) Could this just be a problem with the peoples Dream Seeker? (/edit)

InSaNiTy
Insanity wrote:
Hello everyone. I believe I have a major problem. Sometimes when people play my game, it crashes all of a sudden. Does anyone know what could cause this? (by the way, I have world/loop_checks = 0, if that helps)

(edit) Could this just be a problem with the peoples Dream Seeker? (/edit)

InSaNiTy


This happens to me ALOT. It has to do with saving. I can't host my game often becuase it will crash and burn, crash and burn baby!
Setting loop checks to 0 usally means you have a loop that runs too last, and setting it to 0 silences the error but as it says in the reference, it will more than likely cause a crash.
In response to Nadrew
But what if I want a proc to loop? Such as this:

Example:

mob
verb
Rest()
if(usr.sleep == 1)
usr.sleep = 0
usr << "You wake up!!"
else
usr.sleep = 1
usr.sleepproc()

mob
proc
sleepproc()
if(usr.sleep == 1)
view(6) << "[usr.name]: ZzZzZ"
sleep(50)
usr.sleepproc()
else
..()