ID:141206
 
My game keeps crashing. I know it calls for constant proc checks due to the combat system. I cannot find the thing that is causing it to crash. Debug isn't catching it. It causes dream daemon to crash also. Anyway to find out how it is crashing?
Profile is your best chance. Look for infinite/sleepless loops and stuff.
In response to Ruben7
This is about after 4 mins of profiling:

                                     Profile results (total time)
Proc Name Self CPU Total CPU Real Time Calls
-------------------------------------------------- --------- --------- --------- ---------
/turf/SnakeWay/Clouds/Enter 0.000 0.000 0.000 15
/turf/Character_Creation/Load/Click 0.000 0.063 0.922 1
/sound/New 0.000 0.000 0.000 2
/proc/isint 0.000 0.000 0.000 324
/proc/comma 0.000 0.000 0.000 324
/proc/CheckBan 0.015 0.015 0.015 1
/mob/Stat 0.000 0.000 0.000 108
/mob/Read 0.000 0.031 0.031 1
/mob/proc/Skill_Learn 0.000 0.000 0.000 1
/mob/proc/sample_report 0.016 0.016 0.016 1
/mob/proc/Random_Movement 0.015 0.255 0.000 472
/mob/proc/Guest 0.000 0.000 0.000 2
/mob/proc/GM 0.000 0.000 0.000 1
/mob/proc/Affects 0.000 0.000 0.000 1
/mob/other/choosing_character/proc/ChooseCharacter 0.000 0.063 0.922 1
/mob/other/choosing_character/proc/CharacterList 0.032 0.032 0.032 1
/mob/other/choosing_character/Login 0.000 0.000 0.000 1
/mob/Move 0.000 0.000 0.000 473
/mob/Logout 0.000 0.000 0.000 1
/mob/Login 0.000 0.031 0.031 1
/client/proc/LoadMob 0.000 0.031 0.031 1
/atom/proc/Bumped 0.000 0.000 0.000 18
/atom/movable/Bump 0.000 0.000 0.000 18


I suspect that Random_Movement is causing it to crash.
In response to Rikishi
Actually I think it could be this:

                                  Profile results (total time)
Proc Name Self CPU Total CPU Real Time Calls
-------------------------------------------- --------- --------- --------- ---------
/mob/monsters/proc/Ai 60.890 60.951 -1750259456.000 1
In response to Rikishi
Holy... 60 cpu in 1 call. Fix it.
In response to Ruben7
How did you do that check? Wouldn't mind knowing how to do that.
In response to Howey
Howey wrote:
How did you do that check? Wouldn't mind knowing how to do that.

You have to define debug, then go to options and hit the profile button.