GW Working Bots 2020

06/30/2020 16:32 3ampoke#631
Quote:
Originally Posted by catalan66 View Post
Hello, i use Gwmultilaunch, on 3 accounts.

Work perfectly, 3 games in the same time. But i can't bot with the 3. Only 2 are found on character name, and every bot i try is the same thing.

Anyone has an idea ?
i would recommend moving away from multilaunch as i don't think its updated any longer. however, gw launcher is worked on by the same dude who does gw toolbox. this is what i use and i never have the problem you mention doing 5x. [Only registered and activated users can see links. Click Here To Register...]
06/30/2020 17:30 Cold23#632
Quote:
Originally Posted by lemoutondu10 View Post
Are there some faction of eotn title points bot?
the vaettir bot collects norn points.

Quote:
Originally Posted by Edgrala View Post
Thanks guys for your replies :)

Does any of you mind to explain me what his the purpose of the GWA2 ? Where to have it (an update one as @[Only registered and activated users can see links. Click Here To Register...] recommended) and how to use it ?
(Since i'm a passiv user that just extract and launch bots and want to know just a bit better, I have others bots that "don't work" but maybe solve this GWA2 problem should fix it ; like the rollerbeettle one)
from my understanding:

- you basically have three au3 files
- first, you have GWA2 which is a highlevel framework which provides highlevel functions to control the guild wars client
- second, there is a GWA2_Headers file, separated from GWA2. it contains hard-coded values which GWA2 needs to work. guild wars updates may change internal adresses etc, so that headers file needs updating as well.
- finally, a bot file which may have a single routine/purpose to farm/bot/whatever. the creator used GWA2 functions in this file to program the bots' behavior on a very high level (easy-to-read)
- normally you put all three files in the same directory, but you can check the idea of the author in the bot file:

Code:
#include "GWA2_Headers.au3"
#include "GWA2.au3"
these lines are to be found in most bots and say that the logic of the files GWA2_Headers.au3 and GWA2.au3 is imported when this bot script is started. since it doesnt state any other path like "GWAfiles/GWA2.au3" (the GWA2 file is supposed to be in the directory GWAfiles) or "../GWA2.au3" (the GWA2 file is supposed to be in the directory above the folder this script is), it asks for GWA2 and the header file to be in the same directory as the bot script.
06/30/2020 22:56 sadosan#633
I guess you meant GWA2 is lowlevel and the bot script highlevel ?
07/01/2020 00:35 logicdoor#634
Quote:
Originally Posted by Edgrala View Post
Thanks guys for your replies :)

Does any of you mind to explain me what his the purpose of the GWA2 ? Where to have it (an update one as @[Only registered and activated users can see links. Click Here To Register...] recommended) and how to use it ?
(Since i'm a passiv user that just extract and launch bots and want to know just a bit better, I have others bots that "don't work" but maybe solve this GWA2 problem should fix it ; like the rollerbeettle one)
You can use mine, it is all in one (functions + headers) and it is updated with latest fixes, including salvage and GetEffectRemaining() functions.

Also updated abandon quest vs. my previous headers, I had forgotten to update it a few posts back.
07/01/2020 11:58 PoloOne1992#635
Hey,
Someone got a working CoF bot?
07/02/2020 02:36 Air.Fox#636
Quote:
Originally Posted by logicdoor View Post
You can use mine, it is all in one (functions + headers) and it is updated with latest fixes, including salvage and GetEffectRemaining() functions.

Also updated abandon quest vs. my previous headers, I had forgotten to update it a few posts back.
Thanks very much for this, salvage works perfect. Could not get GetEffectTimeRemaining($aEffect) to work though, are you sure it's fixed?
07/02/2020 12:20 Yoshikawa91#637
Quote:
Originally Posted by Air.Fox View Post
Thanks very much for this, salvage works perfect. Could not get GetEffectTimeRemaining($aEffect) to work though, are you sure it's fixed?
There were some undeclared variables in his code (missing some Local keyword).

Here is the fix :
Code:
;~ Description: Returns time remaining before an effect expires, in milliseconds.
Func GetEffectTimeRemaining($aEffect)
    Local $lTimestamp;
	Local $lDuration;
	If IsArray($aEffect) Then Return 0
    If $aEffect = 0 Then Return 0
    If IsPtr($aEffect) <> 0 Then
        $lTimestamp = MemoryRead($aEffect + 20, 'long')
        $lDuration = MemoryRead($aEffect + 16, 'float')
    ElseIf IsDllStruct($aEffect) <> 0 Then
        $lTimestamp = DllStructGetData($aEffect, 'TimeStamp')
        $lDuration = DllStructGetData($aEffect, 'Duration')
    Else
        Local $lPtr = GetSkillEffectPtr($aEffect)
        If $lPtr = 0 Then Return 0
        $lTimestamp = MemoryRead($lPtr + 20, 'long')
        $lDuration = MemoryRead($lPtr + 16, 'float')
    EndIf
    Local $lReturn = $lDuration * 1000 - (GetSkillTimer() - $lTimestamp)
    Return $lReturn
EndFunc   ;==>GetEffectTimeRemaining

Func GetSkillEffectPtr($aSkillID, $aHeroNumber = 0, $aHeroID = GetHeroID($aHeroNumber))
    Local $lOffset[4] = [0, 24, 44, 1296]
    Local $lCount = MemoryReadPtr($mBasePointer, $lOffset)
    ReDim $lOffset[5]
    $lOffset[3] = 1288
    Local $lBuffer
    For $i = 0 To $lCount[1] - 1
        $lOffset[4] = 36 * $i
        $lBuffer = MemoryReadPtr($mBasePointer, $lOffset)
        If $lBuffer[1] = $aHeroID Then
            $lOffset[4] = 28 + 36 * $i
            Local $lEffectCount = MemoryReadPtr($mBasePointer, $lOffset)
            $lOffset[4] = 20 + 36 * $i
            Local $lEffectStructAddress = MemoryReadPtr($mBasePointer, $lOffset, 'ptr')
            For $j = 0 To $lEffectCount[1] - 1
                Local $lEffectSkillID = MemoryRead($lEffectStructAddress[1] + 24 * $j, 'long')
                If $lEffectSkillID = $aSkillID Then Return Ptr($lEffectStructAddress[1] + 24 * $j)
            Next
        EndIf
    Next
EndFunc   ;==>GetSkillEffectPtr

;~ Description: Returns the timestamp used for effects and skills (milliseconds).
Func GetSkillTimer()
    Static Local $lExeStart = MemoryRead($mSkillTimer, 'dword')
    Local $lTickCount = DllCall($mKernelHandle, 'dword', 'GetTickCount')[0]
    Return Int($lTickCount + $lExeStart, 1)
EndFunc   ;==>GetSkillTimer
07/03/2020 18:20 OriginsEXE#638
Anyone have working EOTN Rep farmer for this coming double pt week?
07/03/2020 20:37 Edgrala#639
@[Only registered and activated users can see links. Click Here To Register...] => There's this message [Only registered and activated users can see links. Click Here To Register...]

I just replaced the original GWA2 in your froggy.rar and got this.
07/03/2020 22:44 spartanfbj#640
[Only registered and activated users can see links. Click Here To Register...]

Taking some inspiration from @[Only registered and activated users can see links. Click Here To Register...]'s [Only registered and activated users can see links. Click Here To Register...], I wanted to start one for 2020. Apologies if I link to posts from non-creators, these were generally the most up to date uploads in this thread that were reported working at the time.

Earlier in this thread, @[Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] of working uploads on 5/7. Shoutout for that, thank you!

I've marked bots as untested for now unless I've personally tested them or get up to date feedback that they're working.

Feel free to PM me if:

I've credited the wrong person
If you know if any of these are working or not
There's a script that isn't on the list


--GWA2 Information--

06.30.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by logicdoor
-------2020 Bots-------
06.08.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Akiroisback
06.10.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by list comprehension
06.01.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by ottam
06.05.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by maril15, updated GWA2 by martyn12444
05.25.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Aimcorp
05.22.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Aimcorp
05.14.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by RiflemanX
05.12.2020 - WORKING - [Only registered and activated users can see links. Click Here To Register...] by RiflemanX
05.13.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by n0futur3
05.08.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Restia Ashdoll
05.02.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by NiliyaFlamme
05.04.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Restia Ashdoll
05.01.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by NiliyaFlamme
05.01.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by Restia Ashdoll
05.02.2020 - UNTESTED - [Only registered and activated users can see links. Click Here To Register...] by NiliyaFlamme, updates by jokai93
04.30.2020 - WORKING - [Only registered and activated users can see links. Click Here To Register...] by NiliyaFlamme
04.25.2020 - WORKING - [Only registered and activated users can see links. Click Here To Register...] by maril15, updates by chbec62
--Helpful Resources--

06.18.2020 - [Only registered and activated users can see links. Click Here To Register...] by list comprehension
06.18.2020 - [Only registered and activated users can see links. Click Here To Register...] by cortexio
11.29.2019 - [Only registered and activated users can see links. Click Here To Register...] by logicdoor
07/03/2020 23:37 sadosan#641
Any idea what could cause a Guild wars client crash with the following error:

"*--> Crash <--*
Assertion: !(manualAgentId && !ManagerFindAgent(manualAgentId))"

It randomly crashes, sometimes after 30 minutes, sometimes after 3 hours. Im using the Ritualist ReFeather that I did modify a lot for my use case, but I can't udnerstand what would cause this error.

Any ideas?
07/04/2020 05:50 logicdoor#642
Quote:
Originally Posted by Edgrala View Post
@[Only registered and activated users can see links. Click Here To Register...] => There's this message [Only registered and activated users can see links. Click Here To Register...]

I just replaced the original GWA2 in your froggy.rar and got this.
Did you keep your headers file included?
07/04/2020 20:23 spartanfbj#643
Quote:
Originally Posted by spartanfbj View Post
Updated the collection with some helpful posts across multiple threads on ePvP. PM me if you have anything you think would be useful to include in the lists.
07/05/2020 22:44 Air.Fox#644
Quote:
Originally Posted by sadosan View Post
Any idea what could cause a Guild wars client crash with the following error:

"*--> Crash <--*
Assertion: !(manualAgentId && !ManagerFindAgent(manualAgentId))"

It randomly crashes, sometimes after 30 minutes, sometimes after 3 hours. Im using the Ritualist ReFeather that I did modify a lot for my use case, but I can't udnerstand what would cause this error.

Any ideas?
Code:
!(manualAgentId && !ManagerFindAgent(manualAgentId))
Does not look like autoit syntax, try using the keywords AND and NOT. Otherwise it'll be helpful to look at the entire code to find the error
07/05/2020 22:53 Air.Fox#645
Wanted to post this earlier but life happened.

Farms the first two groups of Jade Brotherhood Warriors in Wajjun Bazaar just outside the Marketplace in HM. Stores unid golds, strips out valuable runes out of armors and sells them in GToB.

Ritualist 330hp build: OAOk4gPaITKjFj4VP0i4V8h+QeA
Equipment exactly as per PVXwiki

Roughly per hour:
Jade Bracelets: 10-15
Gold/Purple/Blue armors: 10-15
XP: 50k

Should be safe enough for survivors if you can prevent network issues.

Also separated out the inventory cleaning into separate script to make it easy portable to other bots.

v1.1 - Added timer to fix getting stuck on weird spawn