problem with the transport

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
supermario
Posts: 31
Joined: Tue Apr 09, 2013 12:15 pm

problem with the transport

#1 Post 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
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: problem with the transport

#2 Post by rock5 »

What code does the waypoints use to teleport? What exactly is the error message?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
supermario
Posts: 31
Joined: Tue Apr 09, 2013 12:15 pm

Re: problem with the transport

#3 Post 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).
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: problem with the transport

#4 Post by Ego95 »

Change in line 162 of your userfunction_worldtraveler

Code: Select all

string.gfind
to

Code: Select all

string.gmatch
.

AlterEgo95
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: problem with the transport

#5 Post 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
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
supermario
Posts: 31
Joined: Tue Apr 09, 2013 12:15 pm

Re: problem with the transport

#6 Post 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
User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: problem with the transport

#7 Post 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
supermario
Posts: 31
Joined: Tue Apr 09, 2013 12:15 pm

Re: problem with the transport

#8 Post 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:)
Post Reply