GW Working Bots 2020

04/12/2021 19:05 MagicTurlte#1801
Quote:
Originally Posted by Ac900 View Post
Add this to Gwa2 or Vaettir v0.3

;Description: Picks Up Loot.
Func PickUpLoot()
Local $lAgent
Local $aitem
Local $lDeadlock
For $i = 1 To GetMaxAgents()
If GetIsDead(-2) Then Return
$lAgent = GetAgentByID($i)
If DllStructGetData($lAgent, 'Type') <> 0x400 Then ContinueLoop
$aitem = GetItemByAgentID($i)
If CanPickUp($aitem) Then
PickUpItem($aitem)
$lDeadlock = TimerInit()
While GetAgentExists($i)
Sleep(100)
If GetIsDead(-2) Then Return
If TimerDiff($lDeadlock) > 10000 Then ExitLoop
WEnd
EndIf
Next
EndFunc

If you get error Unknown function call - it simple means your autoit script calls for a function that does not exist in your autoit files.

Next time that happens, just look in other bots and find the function your missing.

its so simple. every line hat goes like Something() is a call for a fucntion- now autoit will look for a function called something() and do that before next line

func something()
out ("hello world")
EndFunc

in this case the function just wrote hello world in GUI -

Hope this can help...
if your still having problem message me i will help you solve it. :)
I have tried adding these functions in GWA2 and also the bot file and jsut get error line 609 no endfunc even though there is one. Also tried copying from other scripts and still get same message. Someone has posted updated version but would be nice if i could know where i was going wrong as i dont like to leech :)
04/12/2021 19:20 OneStrangeGuy#1802
Looking at common gwa2 files line 609 is the region of patterns i doubt you pasted something there, so i can ipotize that the missing EndFunc is on the Vaettir file and not in the gwa2 one.
04/12/2021 20:04 Restia Ashdoll#1803
Quote:
Originally Posted by MagicTurlte View Post
I have tried adding these functions in GWA2 and also the bot file and jsut get error line 609 no endfunc even though there is one. Also tried copying from other scripts and still get same message. Someone has posted updated version but would be nice if i could know where i was going wrong as i dont like to leech :)
well if you want to know how to solve that you can basicly google the error code.. your function which should start in line 609 is missing an endfunc
at the end to declare it is finished..
04/13/2021 04:17 tunnelrat#1804
Quote:
Originally Posted by moneyvsmoney View Post
This stuff really is easy! Here's to bringing that egg price down! Come on folks, don't just be a leech! If you want something do a little work and research!
Awesome. I have compared these files against the ones I had previously. There was just a few incorrect lines due to how it was worded. Now I'm running into an issue of if one of the bots die, they will resurrect then zone out to Borja Marches and just stand there AFK/idle.

I'm assuming it's somewhere in here, but again.. I'm trying to learn instead of just leech.

--
;~ Description: Wait and stay alive at the same time (like Sleep(..), but without the letting yourself die part)
Func WaitFor($lMs)
If GetIsDead(-2) Then Return
Local $lAgentArray
Local $lTimer = TimerInit()
Do
Sleep(100)
If GetIsDead(-2) Then Return
$lAgentArray = GetAgentArray(0xDB)
StayAlive($lAgentArray)
Until TimerDiff($lTimer) > $lMs
EndFunc
--
04/13/2021 08:22 Restia Ashdoll#1805
Quote:
Originally Posted by tunnelrat View Post
Awesome. I have compared these files against the ones I had previously. There was just a few incorrect lines due to how it was worded. Now I'm running into an issue of if one of the bots die, they will resurrect then zone out to Borja Marches and just stand there AFK/idle.

I'm assuming it's somewhere in here, but again.. I'm trying to learn instead of just leech.

--
;~ Description: Wait and stay alive at the same time (like Sleep(..), but without the letting yourself die part)
Func WaitFor($lMs)
If GetIsDead(-2) Then Return
Local $lAgentArray
Local $lTimer = TimerInit()
Do
Sleep(100)
If GetIsDead(-2) Then Return
$lAgentArray = GetAgentArray(0xDB)
StayAlive($lAgentArray)
Until TimerDiff($lTimer) > $lMs
EndFunc
--
you have a clear description on top of that function..

;~ Description: Wait and stay alive at the same time (like Sleep(..), but without the letting yourself die part)

this has nothing to do with wipe handling ..
04/13/2021 09:34 Wigidy#1806
anyone got an simple rupt bot for ha?
04/13/2021 10:38 phat34#1807
Quote:
Originally Posted by tunnelrat View Post
Awesome. I have compared these files against the ones I had previously. There was just a few incorrect lines due to how it was worded. Now I'm running into an issue of if one of the bots die, they will resurrect then zone out to Borja Marches and just stand there AFK/idle.

I'm assuming it's somewhere in here, but again.. I'm trying to learn instead of just leech.

--
;~ Description: Wait and stay alive at the same time (like Sleep(..), but without the letting yourself die part)
Func WaitFor($lMs)
If GetIsDead(-2) Then Return
Local $lAgentArray
Local $lTimer = TimerInit()
Do
Sleep(100)
If GetIsDead(-2) Then Return
$lAgentArray = GetAgentArray(0xDB)
StayAlive($lAgentArray)
Until TimerDiff($lTimer) > $lMs
EndFunc
--
This line:

$lAgentArray = GetAgentArray(0xDB)

Needs to be before the DO. Just put Local in front of it and delete the other local reference of it!
04/13/2021 11:06 ZaneFromHell#1808
Quote:
Originally Posted by micbar24 View Post
Someone know what i need to do, when i update my chest runner bot and he running untill it comes to open chest, then he crashing
I switch some lines, from new gwa and headers, but this for opening chest, seems like it doesn't work, so my question is, are they updated too?
Same thing for me with Deldrimor farmer, put in new Headers and GWA, fixed some double functions. Bot works fine until it wants to use the Dungeon Lock, which just crashes GW.

EDIT: Fixed with the correct Headers for GoSignPost from couple of pages ago.
04/13/2021 14:17 P@r@m3d!©#1809
Quote:
Originally Posted by Wigidy View Post
anyone got an simple rupt bot for ha?
No, and stop ruining the last bit of fun that this game has to offer for us players.
04/13/2021 17:42 tunnelrat#1810
Quote:
Originally Posted by phat34 View Post
This line:

$lAgentArray = GetAgentArray(0xDB)

Needs to be before the DO. Just put Local in front of it and delete the other local reference of it!
Awesome! Very helpful. Thank you.
04/13/2021 18:13 xNix777#1811
LDoA 11-20 on Omnifarmer is running great with the new headers. Thanks.
04/13/2021 18:42 TacticalWarfare#1812
Quote:
Originally Posted by xNix777 View Post
LDoA 11-20 on Omnifarmer is running great with the new headers. Thanks.
Would you be so kind to upload yours? I updated the headers but didn't get it to work.
04/13/2021 18:56 xNix777#1813
Sure. My process for this was to take the headers from strecky and copy over the omni functions. Haven't tested all modes/functions - just ldoa with survivor.
04/13/2021 19:52 santorio#1814
Quote:
Originally Posted by moneyvsmoney View Post
This stuff really is easy! Here's to bringing that egg price down! Come on folks, don't just be a leech! If you want something do a little work and research!
hey. is the bot you posted for Me/A?

i use this setup:

Skills: OQdUAQROqPP8Id2BkAiAvpLBTAA
Domination 9+1+1
Fast Casting 8+1
Full Blessed, 3 Attunement Runes

Anniversary Shield with "Like A Rolling Stone"

but with a "normal" shield with inscr "Like A Rolling Stone" and +30hp.

but why do i die every run while he pulls right side?
04/13/2021 20:28 Restia Ashdoll#1815
Quote:
Originally Posted by santorio View Post
hey. is the bot you posted for Me/A?

i use this setup:

Skills: OQdUAQROqPP8Id2BkAiAvpLBTAA
Domination 9+1+1
Fast Casting 8+1
Full Blessed, 3 Attunement Runes

Anniversary Shield with "Like A Rolling Stone"

but with a "normal" shield with inscr "Like A Rolling Stone" and +30hp.

but why do i die every run while he pulls right side?
its for assa mesmer