Page 1 of 1
sprintf error back
Posted: Tue Apr 20, 2010 7:03 pm
by extremeuser
have deleted folder, done SVN update etc, still getting it. Deleted macro.bsd, still get it. One of my other chars doesnt get it tho, weird
Re: sprintf error back
Posted: Tue Apr 20, 2010 7:28 pm
by Administrator
Probably would help if you actually included the error, don't you think?
Re: sprintf error back
Posted: Tue Apr 20, 2010 10:07 pm
by extremeuser
thought 'springf' error would be enough.
full error then
bot.lua:608: bad argument #1 to 'sprintf' (got nil)
I checked hotkeys, all seem ok
Re: sprintf error back
Posted: Tue Apr 20, 2010 11:01 pm
by Administrator
Looks to me like an error updating one or more files. Go to that line (608) and you'll see this:
Code: Select all
wpnum = wp.wpnum;--__RPL.CurrentWaypoint;
cprintf(cli.green, language[13], wpnum, wp.X, wp.Z); -- Moving to returnpath waypoint
else
wp = __WPL:getNextWaypoint();
wpnum = wp.wpnum;--__WPL.CurrentWaypoint;
You can remove the "wp.wpnum;--" from those two lines and that should work around it.
Re: sprintf error back
Posted: Tue Apr 20, 2010 11:21 pm
by extremeuser
glad you know all that stuff
![Smile :)](./images/smilies/icon_e_smile.gif)
it worked for that char, thanks. I make sure i won't update for a bit so doesn't overwrite it lol.