ID:2431459
 
Resolved
The overlays, underlays, and verbs lists were not readable from a true appearance value, only from a mutable appearance.
BYOND Version:512
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 72.0.3626.109
Applies to:Dream Daemon
Status: Resolved (512.1465)

This issue has been resolved.
Descriptive Problem Summary:
If I attempt to query the overlays/underlays list on an appearance object (such as from the appearance var or the overlays list of an object) a runtime error occurs
Numbered Steps to Reproduce Problem:
1. get appearance object from like appearance or overlays
2. try to access overlays

Code Snippet (if applicable) to Reproduce Problem:
var/image/I = some_obj.appearance
world.log << "[I.overlays.len]" // runtime error: undefined variable /var/overlays


This does not cause an error

var/image/I = new // actual image object here
world.log << "[I.overlays.len]" // this is fine


Expected Results:
not runtiming

Actual Results:
rutimes

Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?
when its not an actual appearance object

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
create a mutable appearance using the appearance and access the overlays/underlays list using that
Interesting find. I'll get to the bottom of this. It should be something fixable for the next 512 release.
Lummox JR resolved issue with message:
The overlays, underlays, and verbs lists were not readable from a true appearance value, only from a mutable appearance.

Login to reply.