Save-Point
Map Problem - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Map Problem (/thread-2905.html)



Map Problem - Yin - 04-21-2009

Even in a new game, my map gives me an error on line 274 on the default game_character script. Undefined method for '*'. I just finished this map and it's irritating me that every other map of mine works. At first I though it was conflicting with custom scripts, but when I pasted it into a new project, it still gave me that error. So yeah, I've been troubleshooting.
Line 274 of game_character is
return z + $game_map.priorities[@tile_id] * 32
Can anyone help me fix this?
I really don't know what is wrong. Here is the map in a new project.
http://www.sendspace.com/file/2m1w90
Thanks to anyone who can help.


[Resolved] Map Problem - EJlol - 04-21-2009

The following events are using a tile as a Graphic that does not excist anymore in the tileset (because you changed the tileset to a smaller tileset?):
Code:
(id,  x,  y)
76, 11, 66
77, 11, 65
78, 11, 64
79, 11, 63
80,  5, 12
81,  5, 13
82,  5, 14
83,  5, 15
99, 19, 67
100, 19, 66
101, 18, 66
102, 18, 67
103, 18, 68
104, 46, 59
105, 46, 58
106, 45, 58
107, 45, 59
108, 45, 60

Either delete them, or select a correct graphic for them.


[Resolved] Map Problem - Yin - 04-21-2009

Events? Hmm.... Let me try to change them, but it was working fine earlier. And I don't think I changed anything. Thanks. I was using the default desert exterior tileset.
EDIT:
I think I see the problem! I copied and pasted a tile event from another map so I can have a passability of x on an invisible event. But I would never have noticed that if you didn't point that out. Thanks EJlol. I'm changing them now then I'll post the results. But woah, how'd you figure that out?

It worked! Thanks again!


[Resolved] Map Problem - EJlol - 04-22-2009

I just added some debug info in the script. :P
And your welcome.