What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

A few questions

creativextent

New Member
Joined
Aug 18, 2012
Messages
85
Reaction score
0
Just a few questions.

How can i tell DB to wait until a party member joins.
How can i make DB aware if my party member clicks an NPC to turn in a quest ( no reward from him until he quits speaking ) and have bot leave game once the text appears?

Then how to tell the bot to wait until my party member leaves game.


Thanks for the help in advance!
 
If I'm correct in assuming that you're needing this for a certain un-intended method of gameplay, I would suggest something simpler like AutoIT.
On another note, such methods are not a great subject for the DB forums.
 
Last edited:
To make the bot wait for another player, you can see if the other player always has the same ActorID, this isn't something I've ever looked into because never needed to. If it is though you can use the following:

Code:
<While condition="not ActorExistsAt(ACTORIDHERE, ZetaDia.Me.Position.X, ZetaDia.Me.Position.Y, ZetaDia.Me.Position.Z, 100)">
</While>

That basically means that, while an ActorID does not exist around you of 100 yards, to enter that loop, but the loop is empty. So it will just stay in an empty loop until the ActorID exists then continue with the script.

To make special things happen when a quest happens, you can use this:

Code:
<If condition="IsActiveQuest(QUESTIDHERE) and IsActiveQuestStep(STEPIDHERE)">
<LeaveGame reason="Put some reason here." />
</If>

Get the QuestID of the quest you are wanting with the step, once the quest is on that step then it will leave the game.


The stuff you need to change is in all caps explaining what needs to go there. Hope this helps.
 
To make the bot wait for another player, you can see if the other player always has the same ActorID, this isn't something I've ever looked into because never needed to. If it is though you can use the following:

Code:
<While condition="not ActorExistsAt(ACTORIDHERE, ZetaDia.Me.Position.X, ZetaDia.Me.Position.Y, ZetaDia.Me.Position.Z, 100)">
</While>

That basically means that, while an ActorID does not exist around you of 100 yards, to enter that loop, but the loop is empty. So it will just stay in an empty loop until the ActorID exists then continue with the script.

To make special things happen when a quest happens, you can use this:

Code:
<If condition="IsActiveQuest(QUESTIDHERE) and IsActiveQuestStep(STEPIDHERE)">
<LeaveGame reason="Put some reason here." />
</If>

Get the QuestID of the quest you are wanting with the step, once the quest is on that step then it will leave the game.


The stuff you need to change is in all caps explaining what needs to go there. Hope this helps.


Thanks for the reply.

The first one of checking if the actor exist doesnt help. i need it to check if another player has started the speech of a quest. ( clicking the npc and the npc is speaking ).
The second one of checking the step doesnt help as well. If the quest is completed then my game fails.

While this character is standing there, i need it to detect when an npc has started their speech from a quest.
 
If I'm correct in assuming that you're needing this for a certain un-intended method of gameplay, I would suggest something simpler like AutoIT.
On another note, such methods are not a great subject for the DB forums.

All methods are a great subject on a bot forums.
 
I'm pretty sure that the guidelines for the buddy forums states that we're not supposed to talk exploits :)
 
Back
Top