Page 1 of 1
problem with the transport
Posted: Mon May 13, 2013 7:03 am
by supermario
Hello everyone,
I post this for one problem I have all the time.
I have test several script from waypoint section but everytime one transport is present (snoop) i have one error (a nil value).
i have installed the userfunctions teleport, teleporter, worldtraveller and gotoportal but the problem is not solved.
can anyone help me to solve this issue?
thank in advance
Re: problem with the transport
Posted: Mon May 13, 2013 7:48 am
by rock5
What code does the waypoints use to teleport? What exactly is the error message?
Re: problem with the transport
Posted: Mon May 13, 2013 8:10 am
by supermario
example, event spring script, start from logar and at snoop,I have the following error:
script/rom/userfuncions/userfunction_worldtraveller.lua:160:attempt to call "gfind" (a nil value).
Re: problem with the transport
Posted: Mon May 13, 2013 9:37 am
by Ego95
Change in line 162 of your userfunction_worldtraveler
to
.
AlterEgo95
Re: problem with the transport
Posted: Mon May 13, 2013 9:40 am
by rock5
Like AlterEgo95 said.
It's because "gfind" has been deprecated in lua 5.2 which is what Micromacro 1.03 uses. NoobBotter should update his userfunction. You could also make use of the bot function "getTEXT" by changing the "TEXT" function in the worldtraveller userfunction to
Code: Select all
function TEXT(string)
local option = optionstrings[string]
if not option then
error("option missing from option table: "..string)
end
return getTEXT(option)
end
Re: problem with the transport
Posted: Mon May 13, 2013 2:14 pm
by supermario
Ok, thank this issue is solved.
not important but in script spring festival, when bot start to kill the tortoise the client sistematically crash.
thank for the help
Re: problem with the transport
Posted: Tue May 14, 2013 8:13 am
by Ego95
It crashed every time I used it too. Don't know why. But this event is so easy and fast to do, that I don't need to bot it.
AlterEgo95
Re: problem with the transport
Posted: Tue May 14, 2013 12:23 pm
by supermario
AlterEgo95 wrote:It crashed every time I used it too. Don't know why. But this event is so easy and fast to do, that I don't need to bot it.
AlterEgo95
Agree:)