Hi there,
I've been getting warnings such as:
14:18:58.010 - [ WARNING ] > [OpenSpace] The supertile 'Item not up to spec ( name : sf_barOC id : 114)
' referenced by the inventory item 'I114' was not found
I was wondering if there is an exception or boolean that I can get in code to verify whether the map/inventory/library is valid, so that I can do something about it if it isn't.
Thanks!
Map or Inventory/Library problems
This warning is originated in the OpenSpace server-side extension. It seems something is wrong in the .lib and .inv files. In fact the supertile (defined in the lib file) belonging to the inventory item (defined in the inv file) can't be found. You probably have exported a new version of the inv file, without exporting the new lib file.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Thanks for the demystification! :)
Is there any way to get notified of this error in code though? The library/client comes from different server, and it'd be nice to know when this has occurred so I can send a message back to the server that serves the client/library, or some such.
I notice that the client receives the following message, for instance: [ RECEIVED ]: {"t":"xt","b":{"r":-1,"o":{"err":"The supertile 'Item not up to spec ( name : sf_barOC id : 114)\n' referenced by the inventory item 'I114' was not found","_cmd":"_os_invErr"}}}, (len: 177)
Is there a way I can listen in on this message as well from another extension?
Is there any way to get notified of this error in code though? The library/client comes from different server, and it'd be nice to know when this has occurred so I can send a message back to the server that serves the client/library, or some such.
I notice that the client receives the following message, for instance: [ RECEIVED ]: {"t":"xt","b":{"r":-1,"o":{"err":"The supertile 'Item not up to spec ( name : sf_barOC id : 114)\n' referenced by the inventory item 'I114' was not found","_cmd":"_os_invErr"}}}, (len: 177)
Is there a way I can listen in on this message as well from another extension?