bot.lua:416: bad argument #1 to `lower` <string expected,...
-
- Posts: 26
- Joined: Thu Dec 16, 2010 2:02 am
bot.lua:416: bad argument #1 to `lower` <string expected,...
pls help i got this error after rombot update if i try to start a waypoint file
-
- Posts: 99
- Joined: Sat Dec 18, 2010 6:55 am
Re: bot.lua:416: bad argument #1 to `lower` <string expected
You should provide more information.
Do have the current rombot version, updated by SVN?
What are you doing in your waypoint file?
Do have the current rombot version, updated by SVN?
What are you doing in your waypoint file?
-
- Posts: 26
- Joined: Thu Dec 16, 2010 2:02 am
Re: bot.lua:416: bad argument #1 to `lower` <string expected
svn is updated rombot is ubdated and i using standart waypoin from creatpath
Re: bot.lua:416: bad argument #1 to `lower` <string expected
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 26
- Joined: Thu Dec 16, 2010 2:02 am
Re: bot.lua:416: bad argument #1 to `lower` <string expected
thx lisa the reverd was the right thing ^^ it works now thx
closed pls ^^
closed pls ^^
-
- Posts: 26
- Joined: Thu Dec 16, 2010 2:02 am
Re: bot.lua:416: bad argument #1 to `lower` <string expected
ok sorry only the included waypoints working my own dost work but i created this with creatpath wy i get this error???
Re: bot.lua:416: bad argument #1 to `lower` <string expected
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.
check your profile for this
value needs to be "false" or "arrow" or "thrown"
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);
Code: Select all
<option name="RELOAD_AMMUNITION" value="false" /> <!-- false|arrow|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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests