GW Working Bots 2020

06/07/2020 20:00 phat34#541
Set a flag variable with a delay when first skill triggered... same for second, then you know when u can use third... or read some post as someone posted this code not too long ago -- possibly earlier in this thread even...
06/07/2020 20:55 Aimcorp#542
Quote:
Originally Posted by phat34 View Post
Set a flag variable with a delay when first skill triggered... same for second, then you know when u can use third... or read some post as someone posted this code not too long ago -- possibly earlier in this thread even...
or you just check for the mainhand, offhand, dualattacks ^^
06/07/2020 21:00 phat34#543
- - or just spam them in order lol?
^ ^ ^
06/07/2020 21:01 Aimcorp#544
but thats a pretty ugly solution :(
06/07/2020 21:37 smiley232#545
Quote:
Originally Posted by Air.Fox View Post
Anyone know how to check if offhand and dual attacks are ready to be used through gwa2?
maybe this will help you: [Only registered and activated users can see links. Click Here To Register...]
06/07/2020 21:47 Aimcorp#546
Code:
Func GetDaggerStatus($aAgent)
	If IsDllStruct($aAgent) = 0 Then $aAgent = GetAgentByID($aAgent)
	Return (DllStructGetData($aAgent, 'LastStrike'))
EndFunc
Thats what i used until now
06/08/2020 02:11 phat34#547
Quote:
Originally Posted by Aimcorp View Post
but thats a pretty ugly solution :(
haha I was kidding...
06/08/2020 02:20 Brook Barrera#548
Quote:
Originally Posted by catalan66 View Post
Have an issue with Niliya Vaettir Bot

Bot work very well, but sometimes when Travel at Eye of the North, selle items, Travel Map to longeye and doesnt restart.

Work only for one "run"

Any ideas?

edit : doesn't pick up mesmer tomes too ?

Thanks
Same here. After it finishes selling it goes to Longeye and just sits there.

I'm willing to pay/tip someone that can give me a working Vaettir bot that can both store golds, and then sell them once full. <3
06/08/2020 02:21 phat34#549
Quote:
Originally Posted by Aimcorp View Post
Code:
Func GetDaggerStatus($aAgent)
	If IsDllStruct($aAgent) = 0 Then $aAgent = GetAgentByID($aAgent)
	Return (DllStructGetData($aAgent, 'LastStrike'))
EndFunc
Thats what i used until now
This should still work ok... Just call the above function with...

Code:
Local $lLastStrike
$lLastStrike = GetDaggerStatus(GetAgentByID(GetMyID()))
06/08/2020 09:06 smiley232#550
Quote:
Originally Posted by phat34 View Post
This should still work ok... Just call the above function with...
Code:
Local $lLastStrike
$lLastStrike = GetDaggerStatus(GetAgentByID(GetMyID()))
Shouldn't you call it with your target's AgentID instead of your own one?
i.e.: TargetNearestEnemy() -> Sleep() -> GetDaggerStatus(-1)
06/08/2020 12:05 Aimcorp#551
@[Only registered and activated users can see links. Click Here To Register...] yes, my daggerstatus function works like "GetDaggerStatus($target)"
and it just returns a number between 0 and 3 and you can base your fight func off that
Edit: A simple function that just daggerspams the lowes enemy in range would look like:
Code:
Func DaggerLowest()
   $target = GetLowestEnemyToAgent(-2)
   if GetDaggerStatus($target) = 1  Then
	
	  UseSkillEx($ff, $target)
   ElseIf GetDaggerStatus($target) = 2 Then
	
	  UseSkillEx($db, $target)
   ElseIf (GetDaggerStatus($target) = 0 or GetDaggerStatus($target) = 3) Then
	
   UseskillEx($js, $target)

   EndIf
EndFunc
06/08/2020 21:43 Air.Fox#552
Quote:
Originally Posted by Aimcorp View Post
@[Only registered and activated users can see links. Click Here To Register...] yes, my daggerstatus function works like "GetDaggerStatus($target)"
and it just returns a number between 0 and 3 and you can base your fight func off that
Edit: A simple function that just daggerspams the lowes enemy in range would look like:
Code:
Func DaggerLowest()
   $target = GetLowestEnemyToAgent(-2)
   if GetDaggerStatus($target) = 1  Then
	
	  UseSkillEx($ff, $target)
   ElseIf GetDaggerStatus($target) = 2 Then
	
	  UseSkillEx($db, $target)
   ElseIf (GetDaggerStatus($target) = 0 or GetDaggerStatus($target) = 3) Then
	
   UseskillEx($js, $target)

   EndIf
EndFunc
Works perfectly, thank you!
06/09/2020 03:24 Akiroisback#553
Hello guys, since one of our members posted his collection of old broken bots, I'm working on making some Up to date.
Here is the Bo Farming bot !
Requirements :
Faction + HM + Minister Cho estate coop mission
The build I use ATM : OwFi0xjMRA5wwwcwEnJ6p/8WCA
You need to add some heroes, that can heal togo and Yijo mostly
(I use :
hero 1 : Owkj4wQopO+sqPel67S6i74aMA
Hero 2 : OACjAyhDJPYTnp17xFOhmWzLGA
Hero 3 : OAhjUwGYoOLV0QVoqKNncU7LGA)

You can take any heroes it's an easy mission but you'll need to modify the file if you change your build.
Change the 3 fonctions depending on your build :
$intSkillEnergy : tell the energy each skill needs
$intSkillAdrenaline : tell the adrenaline each skill needs
$intSkillCastTime : tell each time your skill needs to be casted. Add more time to be sure next skill will be used on time (ex : skill says 1/4, tell 1,5)

Hope it's cool, I've been chasing this one for years ( fixed it today dropped 4 Bo staff but they were only shit, hope you have more luck.) It takes between 7 to 10mn/run and can make up to 3golds a run. They, of course, are all uninscriptable.

If you have some unupdated bots since years, I can take a look at it for you !

Have fun

EDIT : If your connection drops out, it will reconnect but it will block as it thinks it's the beggining of the mission I need some more time to work on this
06/09/2020 03:32 phat34#554
Not sure cause I don't use it.... but in that case you can use..

Code:
Local $lLastStrike
$lLastStrike = GetDaggerStatus(GetCurrentTarget())
seems like you guys had it and like I had said it was in previous post... just trying to get people to think for themselves and study the different functions available to them that allow people to come up with many ways to accomplish the same goals.
06/09/2020 21:24 Santa Clauz#555
Giving this thread a bump.