Runtime Error Help: in Developer Help
|
|
Code:
jrAutoStopTourney() if(jrtournament) world<<output("<center><font size=2><font color=red><b><center>The tournament entry has now ended.","Tournyow") world<<output("<font size=1><font color=red><b>The following people are in the tournament:","Tournyow") for(var/mob/PC/M in world)if(M.jrtourny)world<<output("[M]","Tournyow") if(jrEntries.len<=1&&jrWinners.len<1) world<<output("<center><font size=2><font color=#5f9ea0>Not enough players, tournament cancelled.","Tournyow") for(var/mob/PC/C in world) if(jrEntries.Find(C)) var/amount=125 amount=125 C<<"<font color=gray>Loser reward: You've been granted 125 levels for just participating the Junior Tournament, [C]!" jrEntries.Remove(C) spawn(70)if(C) while(amount>0) if(!C)return C.exp=C.tnl C.Level_Up() amount-=1 sleep(0.155) jrKILLTOURNY() return jrTournament_AI()
|
Runtime erros which shows about 15 times which eventually crashes game.
runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) usr: null src: KillaNinja (/mob/PC) call stack: KillaNinja (/mob/PC): Level Up() jrAutoStopTourney()
|
Other RunTime thats shows and crashes sever.(shows about 25 more times)
runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max proc name: Level Up (/mob/proc/Level_Up) runtime error: Cannot read null.ki_max
|
Problem description: My sever keeps crashing can someone help ?
|