Its probably a simple code change but everytime i edit the line i think is the right 1 it fails.
im looking at the latest "Vaettir-v0.3" code i just want it to pick up eggs and nothing else xD i had an event item only version but even with the new headers and addeding #include headers into the text doesnt work so had to use this 1 but as stated i cant see or i dont know how do add in the code pickup event items only, i have all the items codes etc but dont wanna fluff up xD
I have tried editing line 609 pick up loot for vaettir bot with new gwa2 and headers but unable to get it to actually pick up loot and zone. Bot does not crash but just wont pick up loot. I fi manually pick up loot and zone then rezone bot continues. Tried copying data from old gwa2 and also old bot code but does not change. Any help?
you fix this yet?
if not i have the function you need
;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
I think that he is looking for a vaettir-bot, just like me <3
There is many vaettir farm bots posted in the past and they are working after making a few changes that takes up to 30min even for an beginner to autoit. People above already posted solutions to fix GWA2 and Headers. Use a search button.. I even posted in the past how to fix character scan function. You can add this one as well. Also uK_Cooki3 posted the right function for Func PickUpLoot() copy and paste it to either GWA2 or your bot script.
Are you sure it does work?
Because when I try to let my bots salvage mats from weapons I get the same GW crash that happened to me when the salvage patterns where outdated from the dec 2020 update.
In my old GWA2 I only changed the parts around ScanAgentBase and ScanChangeTargetFunction and left the old salvage patterns (see below), which worked fine for me until this last April 7 update. Also changed the headers obviously.
Also I tried with the GWA2's provided here by Maltram and strecky - which have different salvage patterns - but got the same result, does not work.
Salvage patterns that worked for me until April 7:
Are you sure it does work?
Because when I try to let my bots salvage mats from weapons I get the same GW crash that happened to me when the salvage patterns where outdated from the dec 2020 update.
In my old GWA2 I only changed the parts around ScanAgentBase and ScanChangeTargetFunction and left the old salvage patterns (see below), which worked fine for me until this last April 7 update. Also changed the headers obviously.
Also I tried with the GWA2's provided here by Maltram and strecky - which have different salvage patterns - but got the same result, does not work.
Salvage patterns that worked for me until April 7:
When I was saying "Yes it does", I wanted to say "yes salvage patterns have changed".
Salvage functionnality is indeed broken. I am actually trying to fix it but I am struggling really hard with advanced tools like Immunity or x32dbg to dig into it...
I hope it is only a pattern thing and not an assembly thing (push, mov, xor, etc...) or it will certainly be even harder for me to fix anything.
About values being different in the GWA2 from matram, it is because his GWA2 is dated from 2 breaking update ago on the salvage part.
By any chance if @ is reading this : I would gladdly take some insight from you about how to use x32dbg. For now, I am relying on as well but still struggling. Thanks a lot.
Are thing update for any chest bot? I try to ressurect my pongmey valley, but i only get to results, when he running and when about to open locked chest, getting crashed
I tried it, but my vaettir bot still crahs after starting. I was waiting a long time for the easter egg hunt to max my chest title. Can someone please help me by uploading a working Vaettir bot with the new headers?
@ As posted above i have spent a while trying to edit the vaettir, both o.3v and nyila version. v0.3 works till you pick up look function line 609 which i have tried editing and swapping out other scripts but no avail. nyila version wont run stops at line 439 again i changed things but still no luck. Any pointers?
@ As posted above i have spent a while trying to edit the vaettir, both o.3v and nyila version. v0.3 works till you pick up look function line 609 which i have tried editing and swapping out other scripts but no avail. nyila version wont run stops at line 439 again i changed things but still no luck. Any pointers?
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.
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!
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?