Re: (mapping script) 3kingdoms Mapper
Posted: Mon Sep 26, 2022 8:16 pm
So I have been fiddling with this to try to make it work, so far the script will not follow the movement after using "tmap follow" and when I try to move by double clicking on the map I get the following error:
When I check if the function itself does return a value it does return it
I have done the various solution provided in previous posts like setting the ISO 8859-1 and changing the ASCII sign to
In addition to the above I have also made a change to the aset for simpler matching as follows, essentially removing the "reset+" :
If anyone has an idea how to solve this please do share.
One important note to mention is that i am trying to make this work in conjunction with a cmud map I have imported with the cmud import package
Code: Select all
object: <> function:<doSpeedWalk>
<getRoomExits: bad argument #1 type (roomID as number expected, got nil!)>
Code: Select all
lua getRoomExits(380)
{
east = 382,
north = 381,
south = 413,
west = 379
}
Code: Select all
string.char(167)
Code: Select all
sendSocket("aset room_short higreen\n")
sendSocket("aset room_short_suff ¡\n")
sendSocket("aset room_long brown\n")
sendSocket("aset room_exits yellow\n")
sendSocket("aset room_exits_suff §)\n")
One important note to mention is that i am trying to make this work in conjunction with a cmud map I have imported with the cmud import package