Dream Seeker and Dream Daemon appear to be inconsistent in outputting a runtime error. Namely, Dream Seeker reports the correct error, while Dream Daemon reports an error with an entirely unrelated, previously functioning piece of code.
Numbered Steps to Reproduce Problem:
I tried to write a simpler test case for this, but I couldn't reproduce it there. Instead, I've packaged the source code that I initially received the strange error in.
Code Snippet (if applicable) to Reproduce Problem:
// My simple test case.
mob/Login()
..()
var obj/o = new (src)
del o
o.name = "test"
Expected Results:
Dream Seeker reports, as intended:
runtime error: Cannot modify null.name.
proc name: Login (/player/Login)
source file: main.dm,41
usr: (src)
src: LordAndrew (/player)
src.loc: the tileset (1,1,1) (/tileset)
call stack:
LordAndrew (/player): Login()
Actual Results:
Dream Daemon reports...?:
runtime error: invalid object type 14:0
proc name: TakeDamage (/mob/proc/TakeDamage)
source file: main.dm,124
usr: LordAndrew (/player)
src: world
usr.loc: the tileset (1,1,1) (/tileset)
call stack:
world: TakeDamage(Cannot modify null.name. (/exception))
LordAndrew (/player): Login()
When does the problem NOT occur?
When ran through Dream Seeker, the runtime error is reported correctly.
Something is definitely not right here.