sprintf error back

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

sprintf error back

#1 Post by extremeuser » Tue Apr 20, 2010 7:03 pm

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: sprintf error back

#2 Post by Administrator » Tue Apr 20, 2010 7:28 pm

Probably would help if you actually included the error, don't you think?

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: sprintf error back

#3 Post by extremeuser » Tue Apr 20, 2010 10:07 pm

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

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: sprintf error back

#4 Post by Administrator » Tue Apr 20, 2010 11:01 pm

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.

extremeuser
Posts: 57
Joined: Wed Jul 01, 2009 12:52 am

Re: sprintf error back

#5 Post by extremeuser » Tue Apr 20, 2010 11:21 pm

glad you know all that stuff :) it worked for that char, thanks. I make sure i won't update for a bit so doesn't overwrite it lol.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests