Vaettir Bot V0.2

10/31/2020 14:22 Restia Ashdoll#46
Quote:
Originally Posted by riceprot94 View Post
Hello people,

can someone explain me how i can Edit the Script that the Bot does not pick up Blue and Purple Items?

Thanks in advance :)
Rightclick - Edit script - Ctrl + F --> Search for the "Func CanPickup" change the Return True to Return False for blue & purpel rarity
12/19/2020 21:09 riceprot94#47
Hello People,

i downloaded the new GWA2 and GWA Headers and now when wanted to un the bot, it gave me an error.

I tried the v 0.1 and the v 0.3 version. In both cases there are problems with the following line:

Line 610
PickUpLoot ()
^ERROR

Error: Unknown function name.


Anyone can give me an advice how to fix that?

Thanks in advance :handsdown:
12/19/2020 21:34 lemoutondu10#48
I got this function from another bot, try to copy it into your file. It might not be optimal but worked for me in the feather bot

Func PickUpLoot()
If GetMapLoading() == 2 Then Disconnected()
Local $lMe
Local $lBlockedTimer
Local $lBlockedCount = 0
Local $lItemExists = True
For $i = 1 To GetMaxAgents()
If GetMapLoading() == 2 Then Disconnected()
$lMe = GetAgentByID(-2)
If DllStructGetData($lMe, 'HP') <= 0.0 Then Return
$lAgent = GetAgentByID($i)
If Not GetIsMovable($lAgent) Then ContinueLoop
If Not GetCanPickUp($lAgent) Then ContinueLoop
$lItem = GetItemByAgentID($i)
If CanPickUp($lItem) Then
Do
If GetMapLoading() == 2 Then Disconnected()
If $lBlockedCount > 2 Then UseSkillEx(6,-2)
PickUpItem($lItem)
Sleep(GetPing())
Do
Sleep(100)
$lMe = GetAgentByID(-2)
Until DllStructGetData($lMe, 'MoveX') == 0 And DllStructGetData($lMe, 'MoveY') == 0
$lBlockedTimer = TimerInit()
Do
Sleep(3)
$lItemExists = IsDllStruct(GetAgentByID($i))
Until Not $lItemExists Or TimerDiff($lBlockedTimer) > Random(5000, 7500, 1)
If $lItemExists Then $lBlockedCount += 1
Until Not $lItemExists Or $lBlockedCount > 5
EndIf
Next
EndFunc


EDIT: how can i put it into a "code" template?
12/20/2020 01:03 phat34#49
"[\code]...code here...[\/code]" like so...

without the back slashes after the "[" on both or go advanced and there is a button!
12/20/2020 09:53 riceprot94#50
Quote:
Originally Posted by lemoutondu10 View Post
I got this function from another bot, try to copy it into your file. It might not be optimal but worked for me in the feather bot

Func PickUpLoot()
If GetMapLoading() == 2 Then Disconnected()
Local $lMe
Local $lBlockedTimer
Local $lBlockedCount = 0
Local $lItemExists = True
For $i = 1 To GetMaxAgents()
If GetMapLoading() == 2 Then Disconnected()
$lMe = GetAgentByID(-2)
If DllStructGetData($lMe, 'HP') <= 0.0 Then Return
$lAgent = GetAgentByID($i)
If Not GetIsMovable($lAgent) Then ContinueLoop
If Not GetCanPickUp($lAgent) Then ContinueLoop
$lItem = GetItemByAgentID($i)
If CanPickUp($lItem) Then
Do
If GetMapLoading() == 2 Then Disconnected()
If $lBlockedCount > 2 Then UseSkillEx(6,-2)
PickUpItem($lItem)
Sleep(GetPing())
Do
Sleep(100)
$lMe = GetAgentByID(-2)
Until DllStructGetData($lMe, 'MoveX') == 0 And DllStructGetData($lMe, 'MoveY') == 0
$lBlockedTimer = TimerInit()
Do
Sleep(3)
$lItemExists = IsDllStruct(GetAgentByID($i))
Until Not $lItemExists Or TimerDiff($lBlockedTimer) > Random(5000, 7500, 1)
If $lItemExists Then $lBlockedCount += 1
Until Not $lItemExists Or $lBlockedCount > 5
EndIf
Next
EndFunc


EDIT: how can i put it into a "code" template?

Tyvm! - It seems to be working now. Have a good day mate :) :handsdown:
12/21/2020 09:03 *JuMpEr#51
hi Guys
When I start the bot (V0.3) my game crashes :mad:
Has anyone fixed that yet?

Merry Christmas everyone!
12/21/2020 12:15 Retlaw123#52
My Game also crashes and my tries to fix new headers also leads to crachs.

Can someone please upload a working vaetir bot? Many Thanks! :)
03/24/2021 15:02 BobGreez#53
hello. anyway to have it just pickup Glacial Stones, mes tomes, and event items, nothing else and not sell or put in bank? i just want it to fill my inventory and than stop
03/24/2021 16:41 FriendlyFarmer#54
Quote:
Originally Posted by BobGreez View Post
hello. anyway to have it just pickup Glacial Stones, mes tomes, and event items, nothing else and not sell or put in bank? i just want it to fill my inventory and than stop
Sure, just change the CanPickup function (or function with a similar name) to return true, only for said items.

Then look for the place where it checks for available bagspace, probably something like CountEmptySlots. Comment out the inventory management, then tell the bot to stop running, so something like $botRunning = false.
03/24/2021 18:10 BobGreez#55
also what does "store Golds" mean?
03/24/2021 20:04 Restia Ashdoll#56
Quote:
Originally Posted by BobGreez View Post
also what does "store Golds" mean?
put golden weapons in the chest?


but why do you ask here instead of ctrl + f search in the script what is in the function? like thats a 2min work and at best you learn something lel

03/25/2021 16:24 BobGreez#57
idk how coding works.
is the gold to chest all golds or rare ones?
03/25/2021 17:01 Restia Ashdoll#58
Quote:
Originally Posted by BobGreez View Post
idk how coding works.
is the gold to chest all golds or rare ones?
i just answered this question with my first sentence
03/25/2021 17:41 n0futur3#59
Quote:
Originally Posted by BobGreez View Post
idk how coding works.
is the gold to chest all golds or rare ones?
Then maybe you should learn to code before you try to bot.
04/06/2021 12:39 necrodaemon93#60
Hello. I would like to try out v0.3 but It crashes. Can anyone help me please to fix that?
Cheers <3