ID:2370795
 
Resolved
Forgetting the "type" entry for a filter caused a crash.
BYOND Version:512.1424
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 66.0.3359.181
Applies to:Dream Daemon
Status: Resolved (512.1425)

This issue has been resolved.
Descriptive Problem Summary:

I realize the solution to this is to just not do it, but it took me a good hour to track down what was going on.

mob
icon = 'shapes.dmi'
icon_state = "circle-filled"
Login()
.=..()
filters += filter("drop_shadow", x=2, y=2, color="#000")


If you leave out the 'type=' before the type of filter you are creating, the project compiles fine, however when you try to run it, it fails silently. DS never appears, even in task manager. Running in DD seems to load up, but DS fails to connect and DD crashes silently.

Numbered Steps to Reproduce Problem:
1) Be an idiot.

Expected Results:
Either a compiler error or an error message at runtime.

Actual Results:
Silently crashing.

Workarounds:

Don't be an idiot.

Lummox JR resolved issue with message:
Forgetting the "type" entry for a filter caused a crash.

Login to reply.