What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Getting an error while writing a rep grinding profile.

johnnysauur

New Member
Joined
Jan 23, 2014
Messages
3
I'm working on an updated Magisters' Terrace grind profile. I'm trying to get it to mount and ride to the portal rather than walk, I decided to use a macro that summons a random ground or flying mount depending on location.

The macro is
/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end"

My problem is, honorbuddy throws an error when trying to start the profile,

Starting the bot!
Currently Using BotBase : Questing
Cannot start the bot because the profile cannot be loaded.
'mount' is an unexpected token. Expecting white space. Line 48, position 98.

I've tried everything I can think of to clear it up, but nothing has worked..

Any ideas?
 
Assuming you're running questbot instead of grindbot, the xml would be this:
Code:
[I]<CustomBehavior File="RunMacro" Macro="/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end" />[/I]

Though, technically, you wouldn't do this with a macro though I suppose you're up to whatever you wish.
 
Assuming you're running questbot instead of grindbot, the xml would be this:
Code:
[I]<CustomBehavior File="RunMacro" Macro="/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end" />[/I]

Though, technically, you wouldn't do this with a macro though I suppose you're up to whatever you wish.

Well this is my first profile, how would you do it?

Because I have this in there but it doesn't mount at all.
<CustomBehavior File="ForcedMount" MountType="Ground" />
<CustomBehavior File="NoCombatMoveTo" X="12888.11" Y="-7330.153" Z="65.4873" />
<CustomBehavior File="RunMacro" Macro="/dismount" />t
 
Back
Top