'sprintf' error

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

'sprintf' error

#1 Post by Mushroomstamp »

When switching to a repair waypoint, I was getting something like;
rom\functions.lua:953: Bad argument #3 to 'sprintf' <got nil>

Code: Select all

	<onLoad>
	changeProfileOption("INV_AUTOSELL_NOSELL_DURA", 150)	
	changeProfileOption("INV_AUTOSELL_NOSELL_STAT", XII)
	</onLoad>
Deleting the stat line fixed it, but I'm hoping someone can tell me why?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: 'sprintf' error

#2 Post by rock5 »

Try,

Code: Select all

changeProfileOption("INV_AUTOSELL_NOSELL_STAT"," XII")
  • 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
Post Reply