|
You last visited: Today at 16:02
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.
01/19/2021, 19:03
|
#1426
|
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
|
Quote:
Originally Posted by Restia Ashdoll
Easy way to find where an error happens is to add outputs
in most of the bots the function for that is Out("")
So you can put a few outs after inbetween the func to see when the error happens
Out("Start using hero skills")
Out("Hero Skills used/worked")
Out("Command Heros")
Out("Command Worked")
etc. and see what gets not displayed is probably the issue
you can narrow that down
on the other hand you can also just debugg
|
Thank you for the advice I think I found the problem
this function is broke
Func PrepareToFight()
Local $lDunkoro, $lTahlkora, $lMiku, $lZhed
Local $lDeadLock, $lDeadLock2
$lDunkoro = GetAgentByName($dunkoro)
$lTahlkora = GetAgentByName($tahlkora)
$lMiku = GetAgentByName($miku)
UseHeroSkill(4, 1)
Sleep(2000)
UseHeroSkill(4, 8, $lDunkoro)
Sleep(3500)
UseHeroSkill(4, 8, $lTahlkora)
Sleep(3500)
UseHeroSkill(4, 8, $lMiku)
Sleep(3500)
CommandAll(-5536, -4765)
CommandHero(1, -5399, -4965)
CommandHero(2, -5877, -4479)
CommandHero(3, -5669, -4640)
|
|
|
01/19/2021, 19:18
|
#1427
|
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
|
Quote:
Originally Posted by Razerb
Thank you for the advice I think I found the problem
this function is broke
Func PrepareToFight()
Local $lDunkoro, $lTahlkora, $lMiku, $lZhed
Local $lDeadLock, $lDeadLock2
$lDunkoro = GetAgentByName($dunkoro)
$lTahlkora = GetAgentByName($tahlkora)
$lMiku = GetAgentByName($miku)
UseHeroSkill(4, 1)
Sleep(2000)
UseHeroSkill(4, 8, $lDunkoro)
Sleep(3500)
UseHeroSkill(4, 8, $lTahlkora)
Sleep(3500)
UseHeroSkill(4, 8, $lMiku)
Sleep(3500)
CommandAll(-5536, -4765)
CommandHero(1, -5399, -4965)
CommandHero(2, -5877, -4479)
CommandHero(3, -5669, -4640)
|
as far as i am aware getagendbynameis not working since a few years go by ID
|
|
|
01/19/2021, 20:43
|
#1428
|
elite*gold: 0
Join Date: Dec 2016
Posts: 116
Received Thanks: 66
|
Quote:
Originally Posted by Restia Ashdoll
as far as i am aware getagendbynameis not working since a few years go by ID
|
its 99% the getagentbyname() function. all bots i know do it in a different way
|
|
|
01/20/2021, 00:31
|
#1429
|
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 320
|
|
|
|
01/20/2021, 05:56
|
#1430
|
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
|
Quote:
Originally Posted by DerMoench14
|
So in my *** ^^
thank you all for your advice and your time.
|
|
|
01/20/2021, 09:02
|
#1431
|
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
|
Quote:
Originally Posted by Razerb
So in my *** ^^
thank you all for your advice and your time.
|
try this approach
Code:
$lMiku = GetAgentbyID(58)
should work for Miku - can read ID's out with toolbox
|
|
|
01/20/2021, 17:52
|
#1432
|
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
|
Quote:
Originally Posted by Restia Ashdoll
try this approach
Code:
$lMiku = GetAgentbyID(58)
should work for Miku - can read ID's out with toolbox
|
A big thank you to all of you it works perfectly now. <3
@ @ @
|
|
|
01/20/2021, 19:11
|
#1433
|
elite*gold: 0
Join Date: Dec 2012
Posts: 14
Received Thanks: 3
|
Quote:
Originally Posted by bob31450
hi everyone, I have a problem I managed to make mantid farm of 2019 work, it works very well in one detail, it picks up everything except the celestial weapons ^^
does anyone have an idea?
|
You need to remove the ;~ between line 710 and 737.
In the 2019 version i downloaded, it only pick up celestial shield.
What build do you use? The one in the file seems messy
|
|
|
01/20/2021, 19:24
|
#1434
|
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
|
Quote:
Originally Posted by melodida
You need to remove the ;~ between line 710 and 737.
In the 2019 version i downloaded, it only pick up celestial shield.
What build do you use? The one in the file seems messy
|
OgcUYxr2lPPInDoOD3JcgOhuJIA
|
|
|
01/20/2021, 20:21
|
#1435
|
elite*gold: 0
Join Date: Dec 2020
Posts: 13
Received Thanks: 3
|
Quote:
Originally Posted by Amaliax
Hey guys, i'm trying to fix the Kilroy bot, but he crashes while taking the quest, i updated the quest ID with
Global Const $FORNIS_QUEST = 358
&
Global Const $FIRST_DIALOG = 0x85
so i have this :
Func TakeQuest()
Do
Out("Taking quest")
GoNearestNPCToCoords(17341, -4796)
RndSleep(600)
AcceptQuest($FORNIS_QUEST)
RndSleep(2000)
GoNPC(GetNearestNPCToCoords(17341, -4796))
RndSleep(2000)
Dialog($FIRST_DIALOG)
WaitForLoad()
RndSleep(600)
If (GetMapID() == 548) Then
GoToTown()
WaitForLoad()
EndIf
Until GetMapID() = $MAP_ID_FORNISINSTANCE
EndFunc
guess that's where the problem is, but i can't find out what makes him crash, i think it should work
thanks for your help
|
Use this:
Code:
Func TakeQuest()
Do
Out("Taking quest")
GoNearestNPCToCoords(17320, -4900)
RndSleep(250)
Dialog(0x835803)
RndSleep(250)
Dialog(0x835801)
RndSleep(1000)
GoNPC(GetNearestNPCToCoords(17320, -4900))
RndSleep(1000)
Dialog(0x85)
WaitForLoad()
RndSleep(250)
If (GetMapID() == 548) Then
GoToTown()
WaitForLoad()
EndIf
Until GetMapID() = $MAP_ID_FORNISINSTANCE
EndFunc
Also I dont know whats wrong with the killroy bot but if you're crashing try having toolbox active and it fixes it somehow.
|
|
|
01/20/2021, 20:51
|
#1436
|
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
|
Quote:
Originally Posted by Ray133
Use this:
Code:
Func TakeQuest()
Do
Out("Taking quest")
GoNearestNPCToCoords(17320, -4900)
RndSleep(250)
Dialog(0x835803)
RndSleep(250)
Dialog(0x835801)
RndSleep(1000)
GoNPC(GetNearestNPCToCoords(17320, -4900))
RndSleep(1000)
Dialog(0x85)
WaitForLoad()
RndSleep(250)
If (GetMapID() == 548) Then
GoToTown()
WaitForLoad()
EndIf
Until GetMapID() = $MAP_ID_FORNISINSTANCE
EndFunc
Also I dont know whats wrong with the killroy bot but if you're crashing try having toolbox active and it fixes it somehow.
|
Toolbox usually causes crashes with bots currently tbh - if gw continuasly crashes its outdated headers
|
|
|
01/20/2021, 20:58
|
#1437
|
elite*gold: 0
Join Date: Dec 2020
Posts: 13
Received Thanks: 3
|
Quote:
Originally Posted by Restia Ashdoll
Toolbox usually causes crashes with bots currently tbh - if gw continuasly crashes its outdated headers
|
I know, Killroy is the exception for me tho.
I just quickly fixed the killroy without really looking into it just to get it working for a night for leg surv.
All my headers are up to date and can only run it with toolbox active.
I only changed some quest/dialog ids and the district travel functions since they were broken.
It's weird it works with toolbox active for me and cant be bothered to look into it tbh :P its a bot you wont be running 24/7 anyway.
|
|
|
01/20/2021, 22:53
|
#1438
|
elite*gold: 0
Join Date: May 2017
Posts: 2
Received Thanks: 0
|
Thanks everyone who is taking the time to help unpack the code and provide people with working hacks for free
|
|
|
01/21/2021, 05:29
|
#1439
|
elite*gold: 0
Join Date: Jul 2012
Posts: 16
Received Thanks: 3
|
Quote:
Originally Posted by melodida
You need to remove the ;~ between line 710 and 737.
In the 2019 version i downloaded, it only pick up celestial shield.
What build do you use? The one in the file seems messy
|
thanks i am watching this tonight. the build is exactly the one Restia Ashdoll sent
|
|
|
01/22/2021, 11:02
|
#1440
|
elite*gold: 0
Join Date: Dec 2014
Posts: 5
Received Thanks: 0
|
Quote:
Originally Posted by Ray133
Use this:
Code:
Func TakeQuest()
Do
Out("Taking quest")
GoNearestNPCToCoords(17320, -4900)
RndSleep(250)
Dialog(0x835803)
RndSleep(250)
Dialog(0x835801)
RndSleep(1000)
GoNPC(GetNearestNPCToCoords(17320, -4900))
RndSleep(1000)
Dialog(0x85)
WaitForLoad()
RndSleep(250)
If (GetMapID() == 548) Then
GoToTown()
WaitForLoad()
EndIf
Until GetMapID() = $MAP_ID_FORNISINSTANCE
EndFunc
Also I dont know whats wrong with the killroy bot but if you're crashing try having toolbox active and it fixes it somehow.
|
Thanks a lot, it works perfectly now
|
|
|
All times are GMT +2. The time now is 16:02.
|
|