Register for your free account! | Forgot your password?

You last visited: Today at 16:02

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old 01/19/2021, 19:03   #1426
 
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
Quote:
Originally Posted by Restia Ashdoll View Post


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)
Razerb is offline  
Old 01/19/2021, 19:18   #1427
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by Razerb View Post
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
Restia Ashdoll is online now  
Old 01/19/2021, 20:43   #1428
 
Waka.Waka's Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 116
Received Thanks: 66
Quote:
Originally Posted by Restia Ashdoll View Post
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
Waka.Waka is offline  
Thanks
2 Users
Old 01/20/2021, 00:31   #1429
 
elite*gold: 0
Join Date: May 2014
Posts: 269
Received Thanks: 320
Pretty sure it's 100% GetAgentByName() ... afaik noone was able to fix it
DerMoench14 is offline  
Thanks
2 Users
Old 01/20/2021, 05:56   #1430
 
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
Quote:
Originally Posted by DerMoench14 View Post
Pretty sure it's 100% GetAgentByName() ... afaik noone was able to fix it

So in my *** ^^

thank you all for your advice and your time.
Razerb is offline  
Old 01/20/2021, 09:02   #1431
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by Razerb View Post
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
Restia Ashdoll is online now  
Thanks
1 User
Old 01/20/2021, 17:52   #1432
 
elite*gold: 0
Join Date: May 2019
Posts: 31
Received Thanks: 6
Quote:
Originally Posted by Restia Ashdoll View Post
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



@
@
@
Razerb is offline  
Old 01/20/2021, 19:11   #1433
 
elite*gold: 0
Join Date: Dec 2012
Posts: 14
Received Thanks: 3
Quote:
Originally Posted by bob31450 View Post
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
melodida is offline  
Old 01/20/2021, 19:24   #1434
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by melodida View Post
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
Restia Ashdoll is online now  
Thanks
2 Users
Old 01/20/2021, 20:21   #1435
 
Ray133's Avatar
 
elite*gold: 0
Join Date: Dec 2020
Posts: 13
Received Thanks: 3
Quote:
Originally Posted by Amaliax View Post
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.
Ray133 is offline  
Old 01/20/2021, 20:51   #1436
 
Restia Ashdoll's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 305
Received Thanks: 163
Quote:
Originally Posted by Ray133 View Post
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
Restia Ashdoll is online now  
Old 01/20/2021, 20:58   #1437
 
Ray133's Avatar
 
elite*gold: 0
Join Date: Dec 2020
Posts: 13
Received Thanks: 3
Quote:
Originally Posted by Restia Ashdoll View Post
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.
Ray133 is offline  
Old 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
toastbroodjie is offline  
Old 01/21/2021, 05:29   #1439
 
elite*gold: 0
Join Date: Jul 2012
Posts: 16
Received Thanks: 3
Quote:
Originally Posted by melodida View Post
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
bob31450 is offline  
Old 01/22/2021, 11:02   #1440
 
elite*gold: 0
Join Date: Dec 2014
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by Ray133 View Post
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
Amaliax is offline  
Reply


Similar Threads Similar Threads
[WTT] UPlay Anno 2020 Complete Key gegen Anno 1404/Anno 2020 Complete STEAM
08/12/2015 - Steam Trading - 0 Replies
Want to Trade UPlay Anno 2020 Complete Key gegen Anno 1404 oder Anno 2020 Complete STEAM only with Middleman



All times are GMT +2. The time now is 16:02.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.