map.appendpin(x,y)
Posted: Sat Jan 17, 2009 9:20 am
This method when used in other realm then britannia can work wrong.
For example:
Treasure is located in x 4000 y2000
when the method is used on a map in britannia realm than its ok
if a map is in ilshenar then the pin is not added (out of range?)
Script fix:
create map in britannia realm, append a pin, move to player (my treasures are only in britannia, but if somebody has multimap.rle customed for ilshenar then... has to fix it for ilsh)
to fix it... add a realm parameter to this method to determine a range of x and y for a realm (i think now it`s who.realm given for the map)
For example:
Treasure is located in x 4000 y2000
when the method is used on a map in britannia realm than its ok
if a map is in ilshenar then the pin is not added (out of range?)
Script fix:
create map in britannia realm, append a pin, move to player (my treasures are only in britannia, but if somebody has multimap.rle customed for ilshenar then... has to fix it for ilsh)
to fix it... add a realm parameter to this method to determine a range of x and y for a realm (i think now it`s who.realm given for the map)