GW Working Bots 2020

09/24/2021 13:11 Restia Ashdoll#2101
Quote:
Originally Posted by Blind995 View Post
Any tips on how to work around the Outpost Map ID and the Explorable Map ID being the same number?
You can go via the Regiontype to check whether it is any kind of arena, outpost, etc..
09/24/2021 13:17 Macbeth01#2102
I've tried two different DOA bots, both for Ranger but one is giving error in a particular function (GetSkillbarSkillRecharge($sf)) and the other one has a "strange" template bar (OQJUAGBbXcRAA3UAArMHHQH0l0kA, got here: [Only registered and activated users can see links. Click Here To Register...])

Can someone help me with 2 scripts?
09/24/2021 13:42 Restia Ashdoll#2103
Quote:
Originally Posted by Macbeth01 View Post
I've tried two different DOA bots, both for Ranger but one is giving error in a particular function (GetSkillbarSkillRecharge($sf)) and the other one has a "strange" template bar (OQJUAGBbXcRAA3UAArMHHQH0l0kA, got here: [Only registered and activated users can see links. Click Here To Register...])

Can someone help me with 2 scripts?
The Build is not strange at all - maybe inform yourself how the farm works before you want to run a bot ...

--> regarding the other error - if you just tell us it's an error how should be help you it could be several different e.g. missing func, missing constant, wrong buildup of the func in general, illigal statements etc.

if you want real help you might wanna get somewhat specific - regarding most errors there are already explanations given here.
09/24/2021 14:25 Blind995#2104
Quote:
Originally Posted by Restia Ashdoll View Post
You can go via the Regiontype to check whether it is any kind of arena, outpost, etc..
Do you have an example of how this would look?

Searched through other bots but cant see it being used anywhere
09/24/2021 15:09 Macbeth01#2105
Quote:
Originally Posted by Restia Ashdoll View Post
The Build is not strange at all - maybe inform yourself how the farm works before you want to run a bot ...
Thanks, I gave a look on pvx wiki, but i didn't find anything related to Mesmer-DOA farming. I will try that build.

Quote:
Originally Posted by Restia Ashdoll View Post
--> regarding the other error - if you just tell us it's an error how should be help you it could be several different e.g. missing func, missing constant, wrong buildup of the func in general, illigal statements etc.

if you want real help you might wanna get somewhat specific - regarding most errors there are already explanations given here.
I downloaded the code and used the recent GWA2/Headers (a combo that is working with other scripts). Script is running, but i'm experiencing problems with this particular function (that didn't change between original GWA2 and updated one):

Code:
;~ Description: Returns the recharge time remaining of an equipped skill in milliseconds.
Func GetSkillbarSkillRecharge($aSkillSlot, $aHeroNumber = 0)
	Local $lTimestamp = DllStructGetData(GetSkillbar($aHeroNumber), 'Recharge' & $aSkillSlot)
	If $lTimestamp == 0 Then Return 0
	Return $lTimestamp - GetSkillTimer()
EndFunc   ;==>GetSkillbarSkillRecharge
The error I receive is: "Incorrect number of parameters in function call."

The script is recalling the function this way:

Code:
If GetSkillbarSkillRecharge($sf) < 500 Then UseSkill($sf) ; Out("ReCast For SF !!!")
(Plus there is another problem with Hero Monk, the script is moving him while Margonites are around so he dies badly)
09/24/2021 16:12 lalilu11#2106
sorry to ask again but i still found no solution.
how can i target a boss in a group?

i tried to search with GetCurrentTargetID() but its not working very well.

solved... found function in gw2 -.-
09/27/2021 10:17 Macbeth01#2107
I'm experiencing a problem with Byzzr bot for Monk/Necro 55hp

The script is running to the spot, casting Awaken the Blood on himself but it's not targetting the boss. This is the part of the script related to targetting:

$Byzzr = GetAgentByName("Byzzr Wingmender")
Out("Byzzr Wingmender")
ChangeTarget($Byzzr)

$Byzzr has been declared in the beginning of the script as Global

The message i receive is "Invalid Spell Target". How can i get ID of Byzzr instead of Name? Maybe that's the problem (i'm using a working GWA2/Headers set, in fact the GUI is loading and the running/self targeting part are working)
09/27/2021 10:25 lalilu11#2108
Quote:
Originally Posted by Macbeth01 View Post
I'm experiencing a problem with Byzzr bot for Monk/Necro 55hp

The script is running to the spot, casting Awaken the Blood on himself but it's not targetting the boss. This is the part of the script related to targetting:

$Byzzr = GetAgentByName("Byzzr Wingmender")
Out("Byzzr Wingmender")
ChangeTarget($Byzzr)

$Byzzr has been declared in the beginning of the script as Global

The message i receive is "Invalid Spell Target". How can i get ID of Byzzr instead of Name? Maybe that's the problem (i'm using a working GWA2/Headers set, in fact the GUI is loading and the running/self targeting part are working)
try this:

; search for boss
TargetNearestEnemy()
While (Not GetIsBoss(GetAgentByID(GetCurrentTargetID())))
TargetNextEnemy()
Sleep(500)
WEnd
09/27/2021 10:29 Macbeth01#2109
Quote:
Originally Posted by lalilu11 View Post
try this:

; search for boss
TargetNearestEnemy()
While (Not GetIsBoss(GetAgentByID(GetCurrentTargetID())))
TargetNextEnemy()
Sleep(500)
WEnd
I will try. Entire script is based on Byzzr costant, how do i "insert" the Byzzr target into that costant?
09/27/2021 10:30 lalilu11#2110
Quote:
Originally Posted by Macbeth01 View Post
I will try. Entire script is based on Byzzr costant, how do i "insert" the Byzzr target into that costant?
upload the bot i will edit
09/27/2021 10:44 Macbeth01#2111
This is the bot with working GWA2/Headers (but not targetting)
09/27/2021 11:01 Restia Ashdoll#2112
Quote:
Originally Posted by Blind995 View Post
Do you have an example of how this would look?

Searched through other bots but cant see it being used anywhere
its no given function in the current gwa2 i guess so you have to write it yourself - should be pretty easy since it's giving with the toolbox code
09/27/2021 11:24 lalilu11#2113
test
09/27/2021 12:38 Macbeth01#2114
It's working fine, i'm going to analyze your code to see how you modified it!

I think i need to improve the casting part, it keep on spamming Scourge Healing instead of Necrosis
09/27/2021 19:19 LamaChoco#2115
Looking for help clearing games out of obs, don't seem to find out do it from gwca