Auto-mapping--is this a bug?

dwn
Maybe someone can help here...

Theere's an error message I keep getting during test play, I suspect it has something to do with auto-mapping because it goes away when auto-maps not enabled, but it is unclear how to fix it?

*** gameplay ***

You are in a Main Street.
You can go northwest, east, north or south.

> south

You are in an Edge of Town.
You can go north or in.

> in
Error running script: Error compiling expression 'room.grid_x - room.grid_parent_offset_x': ArithmeticElement: Operation 'Subtract' is not defined for types 'Object' and 'Double'

You are in a Horse Buggy.
You can see a bell.
You can go out.

Pertex
Yes this seems to be a problem with automapping. Could you append your game file here or post a link to your online game?

dwn
Here's a copy of the game file, as I said when auto-mapping's enabled it returns the error and messes up the map display. I think it's because the automap's trying to draw a room direction over another room with an in/out exit situation...

Alex
I can't open that file to reproduce the bug because it needs ConvLib.aslx - is that something that has been posted here at some point?

Pertex
Alex, you will find this lib in the wiki :lol:
http://quest5.net/wiki/Dynamic_Menus_for_Conversations

Alex
OK I have now reproduced and fixed this.

I have updated CoreGrid.aslx: http://quest.codeplex.com/SourceControl ... be4ea88678

It's not obvious where an "in" or "out" exit should be rendered on the map, so it will default to the same location. I recommend using an exit offset so the room will be drawn somewhere that's not directly on top of where the player came from.

dwn
Alex wrote:OK I have now reproduced and fixed this.

I have updated CoreGrid.aslx: http://quest.codeplex.com/SourceControl ... be4ea88678

It's not obvious where an "in" or "out" exit should be rendered on the map, so it will default to the same location. I recommend using an exit offset so the room will be drawn somewhere that's not directly on top of where the player came from.


Thanks, I'll watch that.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums