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!

[Orderbot] Ground targeting mode

hkme

Member
Joined
May 12, 2014
Messages
197
Hi I am writing my beast tribe profile but stuck somewhere.
There is an keyitem, when you use it will turn on ground targeting mode and you are supposed to shot on an object. I have all the ids but does the bot support this action?

This is what i tried:
<UseItem NpcIds="2003294,2003295,2003296,2003297" ItemId="2001187" Target="Core.Target.Location" QuestId="66821" StepId="1" XYZ="155.7738, -24.33624, -462.4521" Radius="75" />
which does not work, only entered targeting mode and stand there.
 
good question :S

if the tag doesn't support location, you may be able use a composite with doaction(type keyitem, location)
 
Try:

Code:
DoActionLocation(string actionName, Vector3 targetLocation);

or

DoActionLocation(uint actionId, Vector3 targetLocation);

or

DoActionLocation(ActionType actionType, uint actionId, Vector3 targetLocation);

I'm assuming Orderbot supports these, dunno for sure.
 
Last edited:
Try:

Code:
DoActionLocation(string actionName, Vector3 targetLocation);

or

DoActionLocation(uint actionId, Vector3 targetLocation);

or

DoActionLocation(ActionType actionType, uint actionId, Vector3 targetLocation);

I'm assuming Orderbot supports these, dunno for sure.

for the type keyitem call, the actionid would be the itemid right?

from the API it looks like useitem can contain a composite but you might need to just use a runcode
 
This I'd be interested in too. Sadly my knowledge of code is somewhat virgin. I did note that Mastahg has put in the runcode command for orderbot, but without a working example (his example was double dutch to me). I can't even begin to fathom how to use it correctly, it would however be of great use. especially in these types of quest. I would've thought:

Code:
DoActionLocation(
	ActionType actionType,
	uint actionId,
	Vector3 targetLocation

would be of appropriate use, but without how to use said command within the run command of a profile, I can't even try :p.
 
I asked about this in the other thread. I need a quest that I can get to so I can test it my self so it can be implemented.
 
I asked about this in the other thread. I need a quest that I can get to so I can test it my self so it can be implemented.

do you mean the doactionlocation keyitem or the tag, or both?

Code:
<Profile>
    <Name>DoActionLocation</Name>
    <KillRadius>50</KillRadius>
    <Order>
    <RunCode Name="DoActLoc"/>
    </Order>
    <CodeChunks>
    <CodeChunk Name="DoActLoc">
    <![CDATA[ 
    Actionmanager.DoActionLocation(ActionType.KeyItem,2001187, Core.Target.Location);
        ]]>
    </CodeChunk>
    </CodeChunks>
</Profile>

Should this work as long as you check range and set core.Target as the intended target?
 
Looks great to me. However I abandoned that quest to accept next day of dailies quest. Hopefully it will pop this quest soon so i could test it.
Currently I have these two quest stuck on the same ground targeting mode,
66821 Moxia's Magnum Opus
66816 No Root for You
 
Okay finally I got this quest again, tried DoActionLocation and it works, thank you!
 
Back
Top