bot.lua:416: bad argument #1 to `lower` <string expected,...

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

bot.lua:416: bad argument #1 to `lower` <string expected,...

#1 Post by schwarzepeter » Wed Jan 19, 2011 6:10 am

pls help i got this error after rombot update if i try to start a waypoint file

JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#2 Post by JackBlonder » Wed Jan 19, 2011 6:36 am

You should provide more information.
Do have the current rombot version, updated by SVN?
What are you doing in your waypoint file?

schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#3 Post by schwarzepeter » Wed Jan 19, 2011 6:45 am

svn is updated rombot is ubdated and i using standart waypoin from creatpath

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#4 Post by lisa » Wed Jan 19, 2011 7:56 am

try using SVN revert on your micromacro/scripts/rom folder. I'd say the bot.lua is just not updated or didn't update properly.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#5 Post by schwarzepeter » Wed Jan 19, 2011 4:48 pm

thx lisa the reverd was the right thing ^^ it works now thx

closed pls ^^

schwarzepeter
Posts: 26
Joined: Thu Dec 16, 2010 2:02 am

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#6 Post by schwarzepeter » Thu Jan 20, 2011 4:53 pm

ok sorry only the included waypoints working my own dost work but i created this with creatpath wy i get this error???

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: bot.lua:416: bad argument #1 to `lower` <string expected

#7 Post by lisa » Thu Jan 20, 2011 8:40 pm

If it's just 1 waypoint that is causing issue then need to look into the WP itself, I'd suguest posting the WP in the code tags but you may not want to share your WP. It's up to you.

Looks to me you might be having same issue I have from time to time. string expected but got number or the other way round.
So it would be an issue with using the "" .

Another thing to check is your profile. Only mention of lower I can find in bot.lua is to do with ammo.

Code: Select all

local ammo = string.lower(settings.profile.options.RELOAD_AMMUNITION);
check your profile for this

Code: Select all

		<option name="RELOAD_AMMUNITION" value="false" />	<!-- false|arrow|thrown -->
value needs to be "false" or "arrow" or "thrown"
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests