ok thanks oneshout :)
Thanks for the fast reply. Do you mind showing me how I would write that out?Quote:
Scan through all agents via GetMaxAgents(), then check each one with DllStructGetData($agent, "PlayerNumber") for the Model ID
Yes,Quote:
is there a working mount qinkai farm?
[Only registered and activated users can see links. Click Here To Register...]Quote:
how do i run the bot, when i download it, i cannot start anything up? do i need some kind of bot client?
[Only registered and activated users can see links. Click Here To Register...] can be a good alternative too ;)Quote:
[Only registered and activated users can see links. Click Here To Register...]
Install. Open bot with that. Enjoy.
Something like this, not testedQuote:
Thanks for the fast reply. Do you mind showing me how I would write that out?
Also if it's easier to target by enemy level or unique name that would work for me too.
Func TargetEnemyX()
For $i = 0 To GetMaxAgents()
Local $agent = GetAgentByID($i)
If DllStructGetData($agent, "PlayerNumber") = EnemyXModelID Then
ChangeTarget($agent)
EndIf
Next
EndFunc
Many thanks!Quote:
Something like this, not tested
Code:Func TargetEnemyX() For $i = 0 To GetMaxAgents() Local $agent = GetAgentByID($i) If DllStructGetData($agent, "PlayerNumber") = EnemyXModelID Then ChangeTarget($agent) EndIf Next EndFunc
Quote:
Many thanks!
Could you also make it target the closest enemy (of the predefined model ID)?
It currently targets the enemy furthest away.
Either target the closest enemy to me, or closest to a set of coordinates would work.
You've been a big help mate. Would you recommend any guide to learn this kind of stuff?
I'll send an armbrace your way if you want to pm me your ign ;)
Func TargetEnemyX()
Local $closest = 0
For $i = 0 To GetMaxAgents()
Local $agent = GetAgentByID($i)
If DllStructGetData($agent, "PlayerNumber") = EnemyXModelID Then
If $closest = 0 Then
$closest = $agent
Else
If GetDistance(GetAgentByID(-2), $agent) < GetDistance(GetAgentByID(-2), $closest) Then
$closest = $agent
EndIf
EndIf
Next
ChangeTarget($closest)
EndFunc
Works like a charm thanks. One last thing to ask of you I promise.Quote:
There isn't a guide or something like that, the most is just basic programming stuff. Look at the existing bots, learn the api. The most part is just learning by doing.Code:Func TargetEnemyX() Local $closest = 0 For $i = 0 To GetMaxAgents() Local $agent = GetAgentByID($i) If DllStructGetData($agent, "PlayerNumber") = EnemyXModelID Then If $closest = 0 Then $closest = $agent Else If GetDistance(GetAgentByID(-2), $agent) < GetDistance(GetAgentByID(-2), $closest) Then $closest = $agent EndIf EndIf Next ChangeTarget($closest) EndFunc
Tips :Quote:
- GWA2 updated for the good PerformAction on DropBundle function
- If "Use Légion stone" check, it's only for lvl 3 (don't need to spend points for 2 easy first lvl; feel free to activate it in script if you want it anyway)
Exemple Build used :Quote:
- Bot need cupcake in inventory to light braziers
- Mod 20% dmg VS zombies help here (my character and all casters heroes got it)
Tips :Quote:
- GWA2 updated for the good PerformAction on DropBundle function
- Some adjustments about torch
Exemple Build used :Quote:
- Bot need cupcake in inventory to light braziers
- You need a run skill on slot 8
Hey oneshout, the BDS bot is not made by me, i have a private one :)Quote:
Shard Of Oor BDS bot by n0futur3's and updated by NiliyaFlamme / Oneshout
Skin to farm : Bone Dragon Staff
[Only registered and activated users can see links. Click Here To Register...]
Update :
Tips :Code:- GWA2 updated for the good PerformAction on DropBundle function - If "Use Légion stone" check, it's only for lvl 3 (don't need to spend points for 2 easy first lvl; feel free to activate it in script if you want it anyway)
Exemple Build used :Code:- Bot need cupcake in inventory to light braziers - Mod 20% dmg VS zombies help here (my character and all casters heroes got it)
************************************************** ************
Ravens Point v2 - NM - Release by Underavelvetmoon updated by The Oldy / Oneshout
Skin to farm : Eaglecrest Axe
[Only registered and activated users can see links. Click Here To Register...]
Update :
Tips :Code:- GWA2 updated for the good PerformAction on DropBundle function - Some adjustments about torch
Exemple Build used :Code:- Bot need cupcake in inventory to light braziers - You need a run skill on slot 8