ss13-daedalus / daedalus

A custom SS13 fork.
GNU General Public License v3.0
14 stars 7 forks source link

New traitor runtime errors #74

Open dopeghoti opened 12 years ago

dopeghoti commented 12 years ago
runtime error: Objective picking failed. Pick_index was 21.
proc name: PickObjectiveFromList (/proc/PickObjectiveFromList)
  source file: proc.dm,839
  usr: null
  src: null
  call stack:
PickObjectiveFromList(/list (/list))
SelectObjectives("Inspector", /datum/mind (/datum/mind), 0)
traitor (/datum/game_mode/traitor): forge traitor objectives(/datum/mind (/datum/mind))
traitor (/datum/game_mode/traitor): post setup()
/datum/controller/game_ticker (/datum/controller/game_ticker): setup()

runtime error: Cannot read null.points
proc name: SelectObjectives (/proc/SelectObjectives)
  source file: proc.dm,871
  usr: null
  src: null
  call stack:
SelectObjectives("Inspector", /datum/mind (/datum/mind), 0)
traitor (/datum/game_mode/traitor): forge traitor objectives(/datum/mind (/datum/mind))
traitor (/datum/game_mode/traitor): post setup()
/datum/controller/game_ticker (/datum/controller/game_ticker): setup()

Might be more fallout from my creative alternative role names.

thvortex commented 12 years ago

That looks like #58 all over again. I'll have to add code to the PickObjectiveFromList() and pickweight() to dump out the objectivesArray that is passed in and to see random number gets picked in pickweight.

ghost commented 12 years ago

Yeah, I'll be rewriting that crap soonish. I was sleepy and really shouldn't've been coding when I wrote it.

ghost commented 12 years ago

This is fixed on Bay12. You could probably just overwrite the old file with the new, and repair any compilation errors that pop up.