GW Working Bots 2019!

07/04/2019 01:12 IsThIsWoRtHaNyThInG#1081
Quote:
Originally Posted by NiliyaFlamme View Post
you do not need a quest for it, I use it without a quest and make enough Plants
So update on the Dragon Moss bot after trying it out. it appears to go out and glitch out at the first set of wardens. it acts like it gets stuck. just jumps around in the same spot until it dies.

any ideas why it is doing this? :o

also is there a specific shield set i should use?

Thanks Niliya :)


Edit: Issue solved... you do infact need the mission, A new escort, in order for this to work proper. otherwise there are no moss's spawned. only wardens. that was my issue.
07/04/2019 03:27 jsteele#1082
Tried my hand at updating the ministerial commendation bot posted by whitewidow1

[Only registered and activated users can see links. Click Here To Register...]

It appears to have basic functionality and at least picks up the commendations so it's good enough for me.

- Haven't tested the sell/storage functions
- Disable rendering doesn't work at the moment
- Had to comment out some of the shields and items that can be picked up for now.
- It was using the old PickUpLoot function instead of PickUpItem, added that into GWA2.
- IsRecharged function added.

A/W build: OwFTQ1a+X6qovgnYH0l5AKXMAAA

Make sure hero 1 has Martyr in first slot and heal party (OwUUMym+SIOqk76KZTXR+I9gMAA), assuming you can use whatever team build you want.

I'll keep working on this.
07/04/2019 07:11 oneshout#1083
Quote:
Originally Posted by jsteele View Post
Tried my hand at updating the ministerial commendation bot posted by whitewidow1

[Only registered and activated users can see links. Click Here To Register...]

It appears to have basic functionality and at least picks up the commendations so it's good enough for me.

- Haven't tested the sell/storage functions
- Disable rendering doesn't work at the moment
- Had to comment out some of the shields and items that can be picked up for now.
- It was using the old PickUpLoot function instead of PickUpItem, added that into GWA2.
- IsRecharged function added.

A/W build: OwFTQ1a+X6qovgnYH0l5AKXMAAA

Make sure hero 1 has Martyr in first slot and heal party (OwUUMym+SIOqk76KZTXR+I9gMAA), assuming you can use whatever team build you want.

I'll keep working on this.
It missing one of the most important thing : You need the 18th quest of the winds of change storyline called "[Only registered and activated users can see links. Click Here To Register...]" or bot will don't work at all ;)
07/04/2019 08:27 Bad Head Trip#1084
just wondering if there may be a soup and salad bot out there?! Outdated even.

Thx in advance
07/04/2019 08:44 oneshout#1085
Quote:
Originally Posted by Bad Head Trip View Post
just wondering if there may be a soup and salad bot out there?! Outdated even.

Thx in advance
Outdated but seem working if you update headers and GWA2 as usual ;)
PS: Iboga farm seem to have some problems...

[Only registered and activated users can see links. Click Here To Register...] by rusco95
07/04/2019 12:25 wolf_of_the_north#1086
Quote:
Originally Posted by NiliyaFlamme View Post
if you want to write a completely new bot you need the gwa2 and haders that is so to say your text and your new bot is then a teaching book what you can fill with it, how exactly everything works I can not write everything in a post xD

Hey thanks for your reply,
maybe someone here, who has some time could just answer some basic questions to get me going:

1.) how do i load the gw client, so that the script gets access and can perform actions

2.) then i can use the MoveTo(X,Y) function, but what does the "Do" command do?
07/04/2019 13:24 NiliyaFlamme#1087
Quote:
Originally Posted by wolf_of_the_north View Post
Hey thanks for your reply,
maybe someone here, who has some time could just answer some basic questions to get me going:

1.) how do i load the gw client, so that the script gets access and can perform actions

2.) then i can use the MoveTo(X,Y) function, but what does the "Do" command do?
1. u load th gw clieant via "GWA2""Initialize(WinGetProcess("Guild Wars"))"

2. The "Do" function means so much that he should do something until something is done.

here's an example

07/04/2019 15:59 Bad Head Trip#1088
Quote:
Originally Posted by oneshout View Post
Outdated but seem working if you update headers and GWA2 as usual ;)
PS: Iboga farm seem to have some problems...

[Only registered and activated users can see links. Click Here To Register...] by rusco95

Updated headers had to delete a few repeating functions....doesnt seem to pick up skale fins...im going to try and fix it myself...im a newb to coding so any help would be greatly appreciated.....

it only picks up gold, whats a func that i can add to make sure it picks up skale fins??
07/04/2019 16:20 oneshout#1089
Quote:
Originally Posted by Bad Head Trip View Post
Updated headers had to delete a few repeating functions....doesnt seem to pick up skale fins...im going to try and fix it myself...im a newb to coding so any help would be greatly appreciated
don't disable/delete the "special" canpickup function in the main script, disable the function in GWA2 ;)
PS : To disable a function, select all part of the function you don't want, Ctrl+q (add ";" for each lines so it disable the function)

In Derv Farmer 2.5.au3 TO KEEP
Quote:
Func CanPickUp($aItem)
Local $lModelID = DllStructGetData(($aItem), 'ModelID')
If ($lModelID == $ITEM_ID_SKALEFINS) then
$nbSoup += 1
GUICtrlSetData($stSoup, $nbSoup)
logFile("Collecting Skale Fin")
Return True
ElseIf ($lModelID == 19185) then
$nbKabob += 1
GUICtrlSetData($stKabob, $nbKabob)
logFile("Collecting Drake Flesh")
Return True
ElseIf ($lModelID == 19183) Then
$nbIboga += 1
GUICtrlSetData($stIboga, $nbIboga)
logFile("Collecting Iboga Petal")
Return True
Else
Return False
EndIf
EndFunc ;==>CanPickUp
In GWA2.au3 DISABLE
Quote:
Func CanPickUp($aitem)
$m = DllStructGetData($aitem, 'ModelID')
$r = GetRarity($aitem)
If $m == 835 Or $m == 933 Or $m == 921 Or $m == 28434 Or $m == 30855 Or $m = 2511 Then
Return True
ElseIf $r = 2624 Then
Return True
ElseIf $m = 146 Or $m = 22751 Then ;Dyes/Lockpicks
Return True
ElseIf $m > 21785 And $m < 21806 Then ;Elite/Normal Tomes
Return True
ElseIf $m = 22191 OR $m = 22190 Then
Return True
ElseIf $m=476 Then
Return True
ElseIf $m=929 Then
Return True
ElseIf $m = 930 Then ;Ecto
Return True
ElseIf $m = 938 Then ;Sapphire
Return True
ElseIf $m = 937 Then ;Ruby
Return True
ElseIf $m = 5882 Then ;Fantom key
Return True
ElseIf $m = 474 Then
Return True
Else
Return False
EndIf
EndFunc ;==>CanPickUp
07/04/2019 16:40 Bad Head Trip#1090
Quote:
Originally Posted by oneshout View Post
don't disable/delete the "special" canpickup function in the main script, disable the function in GWA2 ;)
PS : To disable a function, select all part of the function you don't want, Ctrl+q (add ";" for each lines so it disable the function)

In Derv Farmer 2.5.au3 TO KEEP


In GWA2.au3 DISABLE
Ive done this but still get duplicate Functions error in Main Script...do i disable the ones in main script or GWA2?

Now it doesnt pick up anything sighs...
07/04/2019 17:01 NiliyaFlamme#1091
Quote:
Originally Posted by Bad Head Trip View Post
Ive done this but still get duplicate Functions error in Main Script...do i disable the ones in main script or GWA2?

Now it doesnt pick up anything sighs...

try this bot i have make a little hot fix test it 5 runs and he pick up skale fins
07/04/2019 18:30 oneshout#1092
Quote:
Originally Posted by NiliyaFlamme View Post
try this bot i have make a little hot fix test it 5 runs and he pick up skale fins
have you take a look at the iboga part ? don't know how to fix it...build is loaded, pickup function work but the bot stop mostly on the second iboga and get stuck...i cannot find the bug :confused:
07/04/2019 18:48 Bad Head Trip#1093
Quote:
Originally Posted by NiliyaFlamme View Post
try this bot i have make a little hot fix test it 5 runs and he pick up skale fins
Thank you very much!!!!
07/04/2019 19:11 NiliyaFlamme#1094
Quote:
Originally Posted by oneshout View Post
have you take a look at the iboga part ? don't know how to fix it...build is loaded, pickup function work but the bot stop mostly on the second iboga and get stuck...i cannot find the bug :confused:
ye i have see this i think this part have to make new , this part is rly buggy
can u test the kabob part i cant caus my derv is not in this city xD

Quote:
Originally Posted by wolf_of_the_north View Post
Thanks mate,
i am trying to leave Seitung Harbor (just to figure things out).
So far i got to the point where i dont get error messages anymore, but nothing else happens either:
Code:
#include-once
#include "GWA2_Headers.au3"
#include <WindowsConstants.au3>
#include "GWA2.au3"

Func main()
   Initialize(WinGetProcess("Guild Wars"))
   EnterArea
EndFunc


Func EnterArea()
   Do
		MoveTo(17171,17331)
		PingSleep()
		Move(16800,17500)
		Sleep(5000)
		WaitForLoad()
	Until GetMapID() <> $LL
EndFunc
looks funny but to handle the bot u have to make a GUI (u can make it with Koda(FormDeinger) )
if this finish u have to make some globals, includes, eventmodes , than u have to make a eventhandler function and after this u need a "while", the while is for the bot that he can start your main function; move (xx,yy) etc
07/04/2019 20:33 wolf_of_the_north#1095
Quote:
Originally Posted by NiliyaFlamme View Post
1. u load th gw clieant via "GWA2""Initialize(WinGetProcess("Guild Wars"))"

2. The "Do" function means so much that he should do something until something is done.

here's an example

Thanks for the help.
I am trying to program a simple function that lets me leave seitung harbor.
But i am getting a parsing error with the line that injects into the client:

Code:
#include-once
#include "GWA2_Headers.au3"
#include <WindowsConstants.au3>
#include "GWA2.au3"

Func main()
   Initialize(WinGetProcess("Guild Wars")
   EnterArea
EndFunc

Func EnterArea()
   Do
		MoveTo(17171,17331)
		PingSleep()
		Move(16800,17500)
		Sleep(5000)
		WaitForLoad()
	Until GetMapID() == 196
 EndFunc

 main()
Quote:
Originally Posted by NiliyaFlamme View Post
ye i have see this i think this part have to make new , this part is rly buggy
can u test the kabob part i cant caus my derv is not in this city xD



looks funny but to handle the bot u have to make a GUI (u can make it with Koda(FormDeinger) )
if this finish u have to make some globals, includes, eventmodes , than u have to make a eventhandler function and after this u need a "while", the while is for the bot that he can start your main function; move (xx,yy) etc
Thanks again fro your tipps, i found my problem. I was being an idiot ;)
If you don't mind I will come back to ask a question now and then, when I get stuck :)