|
You last visited: Today at 07:48
Advertisement
GW Working Bots 2020
Discussion on GW Working Bots 2020 within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.
05/10/2021, 11:34
|
#1891
|
elite*gold: 0
Join Date: Feb 2014
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by DerMoench14
Delete the Space between $ and H.
|
Da ist mir ein Fehler beim Tippen passsiert, was meinst du mit H ?
|
|
|
05/10/2021, 12:41
|
#1892
|
elite*gold: 0
Join Date: Oct 2009
Posts: 25
Received Thanks: 8
|
Quote:
Originally Posted by monsterzone93
Hi Guys,
I always get this message when I start the new GWA2.
"Line 1505 (File" C: \ .... kilroy \ GWA2.au3 "):
Return SendPacket (0x18, $ HEADER_MAP_TRAVEL, $ aMapID,
$ aRegion, $ aDistrict, $ aLanguage, False)
Return SendPacket (0x18, ^ ERROR
Error: Variable used without beeing declared "
I tried to declare the variable, but the game crashes. The command looks like this "Global Const $ HEADER_MAP_TRAVEL = 0x18"
What did I do wrong?
|
Return SendPacket (0x18, $ HEADER_MAP_TRAVEL, $ aMapID,
...........................................^
exakt dort ist ein Leerschritt $HEADER_MAP_TRAVEL muss es heissen
Das meinte DerMoench14
|
|
|
05/10/2021, 16:36
|
#1893
|
elite*gold: 0
Join Date: Feb 2014
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by zer0.de
Return SendPacket (0x18, $ HEADER_MAP_TRAVEL, $ aMapID,
...........................................^
exakt dort ist ein Leerschritt $HEADER_MAP_TRAVEL muss es heissen
Das meinte DerMoench14
|
Wie gesagt da ist mir beim Abbtippen der Lehrzeichen passiert, sonst heißt der ja Global Const $HEADER_MAP_TRAVEL = 0x18
Trotz der Variable stürzt das Spiel ab
|
|
|
05/10/2021, 17:09
|
#1894
|
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 328
|
Header for map travel isn't 0x18 ...
|
|
|
05/10/2021, 17:15
|
#1895
|
elite*gold: 0
Join Date: Feb 2014
Posts: 20
Received Thanks: 0
|
Quote:
Originally Posted by DerMoench14
Header for map travel isn't 0x18 ...
|
How can I find out the travel number ?
|
|
|
05/10/2021, 23:01
|
#1896
|
elite*gold: 0
Join Date: Apr 2018
Posts: 49
Received Thanks: 17
|
@ markgw3
Maybe you use a bad SkillID for Shelter
Yes the func HasEffect written that way already target you, no need to declare a target.
If you want to check effects on heroes you need to modify it a bit.
Test this script, its basic but runs fine.
Code:
If HasEffect(982) = True Then
CurrentAction("Shelter found")
Else
CurrentAction("Shelter NOT found")
EndIf
Sleep(1500)
If HasEffect(911) = True Then
CurrentAction("Union found")
Else
CurrentAction("Union NOT found")
EndIf
Sleep(1500)
If HasEffect(1249) = True Then
CurrentAction("Displacement found")
Else
CurrentAction("Displacement NOT found")
EndIf
Sleep(1500)
|
|
|
05/11/2021, 01:27
|
#1897
|
elite*gold: 0
Join Date: May 2020
Posts: 10
Received Thanks: 0
|
Quote:
Originally Posted by OneStrangeGuy
@ markgw3
Maybe you use a bad SkillID for Shelter
Yes the func HasEffect written that way already target you, no need to declare a target.
If you want to check effects on heroes you need to modify it a bit.
Test this script, its basic but runs fine.
Code:
If HasEffect(982) = True Then
CurrentAction("Shelter found")
Else
CurrentAction("Shelter NOT found")
EndIf
Sleep(1500)
If HasEffect(911) = True Then
CurrentAction("Union found")
Else
CurrentAction("Union NOT found")
EndIf
Sleep(1500)
If HasEffect(1249) = True Then
CurrentAction("Displacement found")
Else
CurrentAction("Displacement NOT found")
EndIf
Sleep(1500)
|
yep definitely bad skill ID, it seems to work now. OK I think I know how to fix it. Thanks for helping me debug.
|
|
|
05/11/2021, 05:35
|
#1898
|
elite*gold: 0
Join Date: Aug 2018
Posts: 21
Received Thanks: 2
|
Anybody know why peacekeepers are spawning in the path for the Dust Farm Rit v1.5? I haven't done any of that content on either of the accounts I'm trying to run it on and there is basically groups everywhere. I know they have to do with WiK questline or the bounties, but I have neither of those quests/activities on these characters.
|
|
|
05/11/2021, 08:23
|
#1899
|
elite*gold: 0
Join Date: May 2020
Posts: 10
Received Thanks: 0
|
Is there a way for me to check if another party member has a buff? I'm making an HR paragon bot that checks if each party member has HR if not, applies it. I am thinking I start with GetParty() then loop through each agent in the array, but IDK if there's a way to GetEffect(hrID) by agent.
|
|
|
05/11/2021, 11:06
|
#1900
|
elite*gold: 0
Join Date: Mar 2018
Posts: 4
Received Thanks: 2
|
Quote:
Originally Posted by snowflavored
Anybody know why peacekeepers are spawning in the path for the Dust Farm Rit v1.5? I haven't done any of that content on either of the accounts I'm trying to run it on and there is basically groups everywhere. I know they have to do with WiK questline or the bounties, but I have neither of those quests/activities on these characters.
|
IIRC, WiK stuff starts spawning as soon as you beat either EotN or Prophecies. To get rid of them, you'll need to beat WiK.
|
|
|
05/11/2021, 21:51
|
#1901
|
elite*gold: 0
Join Date: Apr 2018
Posts: 49
Received Thanks: 17
|
Quote:
Originally Posted by markgw3
Is there a way for me to check if another party member has a buff? I'm making an HR paragon bot that checks if each party member has HR if not, applies it. I am thinking I start with GetParty() then loop through each agent in the array, but IDK if there's a way to GetEffect(hrID) by agent.
|
I use this as helper when i play with my para, i think you can adapt to your needs.
Code:
For $i = 0 To GetHeroCount()
If HasEffect(3431, $i) = False Then UseSkillEx(8, GetHeroID($i)) ; HR skillID = 3431
Sleep (200)
UseSkillEx(5) ; (They're on Fire)
Sleep (10000)
Next
With HasEffect Func modded like this:
Code:
Func HasEffect($aEffectSkillID, $aHeroNumber)
If DllStructGetData(GetEffect($aEffectSkillID, $aHeroNumber), "SkillID") == 0 Then
Return False
Else
Return True
EndIf
EndFunc
|
|
|
05/11/2021, 23:14
|
#1902
|
elite*gold: 0
Join Date: Jan 2020
Posts: 44
Received Thanks: 4
|
Quote:
Originally Posted by OneStrangeGuy
I use this as helper when i play with my para, i think you can adapt to your needs.
Code:
For $i = 0 To GetHeroCount()
If HasEffect(3431, $i) = False Then UseSkillEx(8, GetHeroID($i)) ; HR skillID = 3431
Sleep (200)
UseSkillEx(5) ; (They're on Fire)
Sleep (10000)
Next
With HasEffect Func modded like this:
Code:
Func HasEffect($aEffectSkillID, $aHeroNumber)
If DllStructGetData(GetEffect($aEffectSkillID, $aHeroNumber), "SkillID") == 0 Then
Return False
Else
Return True
EndIf
EndFunc
|
How do you get this to follow your team? Loop it with target party leader or something?
|
|
|
05/11/2021, 23:48
|
#1903
|
elite*gold: 0
Join Date: May 2020
Posts: 10
Received Thanks: 0
|
Quote:
Originally Posted by OneStrangeGuy
I use this as helper when i play with my para, i think you can adapt to your needs.
Code:
For $i = 0 To GetHeroCount()
If HasEffect(3431, $i) = False Then UseSkillEx(8, GetHeroID($i)) ; HR skillID = 3431
Sleep (200)
UseSkillEx(5) ; (They're on Fire)
Sleep (10000)
Next
With HasEffect Func modded like this:
Code:
Func HasEffect($aEffectSkillID, $aHeroNumber)
If DllStructGetData(GetEffect($aEffectSkillID, $aHeroNumber), "SkillID") == 0 Then
Return False
Else
Return True
EndIf
EndFunc
|
Isn't GetHeroCount() only work for if you are the party leader and you are only leading heroes? Not other party members/other party member heroes. I was looking at it more as a support group for the whole party. Do you know what kind of DllStructGetData can I get from an agent to look through their buffs? I could be wrong about the $aHeroNumber, 0 is self -> 1-ith number are heroes or party members/other players? I may have gotten that confused.
|
|
|
05/12/2021, 00:41
|
#1904
|
elite*gold: 0
Join Date: Apr 2018
Posts: 49
Received Thanks: 17
|
Quote:
Originally Posted by OriginsEXE
How do you get this to follow your team? Loop it with target party leader or something?
|
mmm I'm not sure i completely understand your question, my english comprension is average....
Your team are heroes and they stay around you.
So except at the beginning, when it needs time to cast HR on all your heroes, it only cast "They're on fire" to maintain HR and occasionally recast HR if someone lose it.
I use this, to keep me free to do this job when i play alone.
If you want something that runs with real players, i think it's a waste of time. It's almost impossible to keep up HR on a party of players, they move too much.
Quote:
Originally Posted by markgw3
Isn't GetHeroCount() only work for if you are the party leader and you are only leading heroes? Not other party members/other party member heroes. I was looking at it more as a support group for the whole party. Do you know what kind of DllStructGetData can I get from an agent to look through their buffs? I could be wrong about the $aHeroNumber, 0 is self -> 1-ith number are heroes or party members/other players? I may have gotten that confused.
|
Just tested, GetHeroCount() return the right number of heroes of the team even if you are not the party leader or heroes aren't yours. It doesen't detect other pll.
So the script above keeps HR on yourself and on all heroes.
$aHeroNumber=0 target you because the func GetHeroID(0) returns GetMyID()
For real pll i think you need to locate their AgentID and look for the buff.
But now is too late and i need to sleep
|
|
|
05/12/2021, 11:59
|
#1905
|
elite*gold: 0
Join Date: Apr 2014
Posts: 6
Received Thanks: 0
|
Hey guys ,
im back on the game , Someone have JQ bot ?
Thank you !
|
|
|
All times are GMT +1. The time now is 07:48.
|
|