Register for your free account! | Forgot your password?

You last visited: Today at 10:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement
Bitcoin Dice Game


Vaettir Bot V0.2

Discussion on Vaettir Bot V0.2 within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Lightbulb Vaettir Bot [2020]

Quote:
Originally Posted by PinkMusen View Post
I can't explain, but I've been modifying the vaettir v4.1 by gigi with fixes here and there.

Enjoy
Hi Folks,

Thought I'd share my updates to the Vaettir bot, credit to the creator gigi and PinkMusen for working on this.

There's a few things I had initially noticed when using this bot, the one that struck me the most however was the fact the bot was trying to cast skills like Shroud, Way of Perf, Channeling and Arcane Echo while Shadow Form was nearing expiration. This would ultimately end up in the bot dying, either en route or during the kill sequence.

Version 0.2 Information

Version 0.3 [Current]

- Updated GUI to include additional options plus statistics
- Storage option implemented, functions retrofitted from the ChestBot
- Disable looting option for survivor only/ or point farming
- Fixed the initialize function, it no longer freezes when a client isn't detected.
- Tweaked the safety net before the kill sequence a little more lenient, it will skip the pause timer if SF has been cast within the last 10 seconds.
- General tidy up the code and function names


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

Anniversary Shield with "Like A Rolling Stone"

Assassins
Skills: OwVSI4PP8Id2BkAiAvpLBTA
Attached Files
File Type: zip vaettir-v0.2.zip (60.6 KB, 19 views)
File Type: zip Vaettir-v0.3.zip (61.6 KB, 69 views)



deroni93 is offline  
Thanks
6 Users
Old 06/20/2020, 13:31   #2
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Couple things I had forgot to mention;

The script now checks to see if you are already in Jaga Moraine when it starts, you wouldn't want to port back to Longeyes if you're already there..

Line 393 - Inventory() function call, I had commented out for testing, you will also need to uncomment this if you want to farm items.


deroni93 is offline  
Old 06/20/2020, 22:36   #3
 
elite*gold: 0
Join Date: Sep 2014
Posts: 308
Received Thanks: 97
no need to credit gigi - as he had nothing to do with the original vaettir bot and just edited it for use with his now unsupported and not working api that made even more of a mess of the communities multiple api - 1000 versions needing sorting issues... at least he pushed the idea to increase speed, and save memory by using pointers, but; with the way things have changed with processor speeds and over the abundance of memory resources available, this matters even less now - - - just saying

-thanxs for the file deroni93*
phat34 is offline  
Old 06/21/2020, 12:36   #4
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Quote:
Originally Posted by phat34 View Post
no need to credit gigi - as he had nothing to do with the original vaettir bot and just edited it for use with his now unsupported and not working api that made even more of a mess of the communities multiple api - 1000 versions needing sorting issues... at least he pushed the idea to increase speed, and save memory by using pointers, but; with the way things have changed with processor speeds and over the abundance of memory resources available, this matters even less now - - - just saying

-thanxs for the file deroni93*
Fair enough, I'm never sure who made the originals.

The code was not too bad to begin with, it just seems like the small and plentiful chances of failure could break the bot after hours and hours of playing.

Out of interest, what other API's are available? I'm only aware of GWCA++ which I have yet to explore.


deroni93 is offline  
Old 06/23/2020, 02:04   #5
 
elite*gold: 0
Join Date: Mar 2020
Posts: 35
Received Thanks: 12
thank you!

is there any other modification to the eficiency of the farm you've implemented other than the sf security? i have my own version so i am implementing the sf fix manually

thanks
ooklaba is offline  
Old 06/23/2020, 08:29   #6
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Quote:
Originally Posted by ooklaba View Post
thank you!

is there any other modification to the eficiency of the farm you've implemented other than the sf security? i have my own version so i am implementing the sf fix manually

thanks
Nope, nothing else note worthy for sure.
deroni93 is offline  
Old 06/23/2020, 15:20   #7
 
elite*gold: 470
Join Date: Jun 2015
Posts: 324
Received Thanks: 119
Quote:
Originally Posted by deroni93 View Post
If you are planning to use this for farming items, remove the semicolon on line 578 -> ;PickUpLoot()

Hi Folks,

Thought I'd share my updates to the Vaettir bot, credit to the creator gigi and PinkMusen for working on this.

There's a few things I had initially noticed when using this bot, the one that struck me the most however was the fact the bot was trying to cast skills like Shroud, Way of Perf, Channeling and Arcane Echo while Shadow Form was nearing expiration. This would ultimately end up in the bot dying, either en route or during the kill sequence.

This is an excerpt from the StayAlive function;

Code:
If IsRecharged($shroud) Then
	If $lSpellCastCount > 0 And DllStructGetData(GetEffect($SKILL_ID_SHROUD), "SkillID") == 0 Then
		UseSkillEx($shroud)
	ElseIf DllStructGetData($lMe, "HP") < 0.6 Then
		UseSkillEx($shroud)
	ElseIf $lAdjCount > 20 Then
		UseSkillEx($shroud)
	EndIf
EndIf
Evidently the code doesn't care if Shadow Form is expiring, it will just cycle through all the maintained skills and try and cast Shadow Form in-between.

The simplest solution to this is to add a condition based on the remaining skill duration of Shadow Form, such as if Shadow Form is near expiration, don't bother casting the other maintenance skills.

Unfortunately functions like GetEffectTimeRemaining appear to be broken (I'm guessing we just need to update those headers.) so I went down a simpler route and made use of a timer.

I've declared a global timer $timer in the head section and whenever Shadow Form is cast the timer is reinitialised

Code:
Func UseSF($lProximityCount)
	If IsRecharged($sf) And $lProximityCount > 0 Then
		UseSkillEx($paradox)
		UseSkillEx($sf)
		$timer = TimerInit()
	EndIf
EndFunc
We can then estimate a point where we wouldn't want to cast maintenance skills, I've gone with a very conservative 15 seconds.

Example
Code:
If IsRecharged($shroud) And TimerDiff($timer) < 15000 Then
	If $lSpellCastCount > 0 And DllStructGetData(GetEffect($SKILL_ID_SHROUD), "SkillID") == 0 Then
		UseSkillEx($shroud)
	ElseIf DllStructGetData($lMe, "HP") < 0.6 Then
			UseSkillEx($shroud)
	ElseIf $lAdjCount > 20 Then
		 UseSkillEx($shroud)
	EndIf
EndIf
Akin to the above, I was also bothered by the pre-kill sequence, it would just walk to the final position and start casting Arcane Echo followed by Wastrels.

Instead I've dialled in a do until loop which waits for SF to be cast

Code:
	;Out("Blocking enemies in spot")
	MoveAggroing(12920, -17032, 30)
	MoveAggroing(12847, -17136, 30)
	MoveAggroing(12720, -17222, 30)
	WaitFor(300)
	MoveAggroing(12617, -17273, 30)
	WaitFor(300)
	MoveAggroing(12518, -17305, 20)
	WaitFor(300)
	MoveAggroing(12445, -17327, 10)


   ;Avoids a rare-ish occurence where the bot starts the kill sequence just before SF runs out. Most noticeable on non assassin primary professions.
   Out("Waiting for Shadow Form")
   Local $lDeadlock_2 = TimerInit()
   $sfTime = TimerDiff($timer)
   Out($sfTime)
   Do
	  WaitFor(100)
	  If GetIsDead(-2) = 1 Then Return
   Until (TimerDiff($timer)) < $sfTime Or (TimerDiff($lDeadlock_2) > 20000)

   UseSF(True)
   Out("Shadow Form casted")

   Kill()
I left this running over night on my Mesmer, woke up to 155 runs and 1 fail. Pretty happy with it considering it got me Legendary Survivor without breaking a sweat.

I'm going to take a stab and say the one death was related to the Wastrels spam in the Kill() function, it also does not care if SF is near expiration.



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

Anniversary Shield with "Like A Rolling Stone"

Peace


Second test results 195:0

Any chance it can be edited so the bot stores gold unids etc. in storage?
I Am Polywag is offline  
Old 06/24/2020, 12:09   #8
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Quote:
Originally Posted by I Am Polywag View Post
Any chance it can be edited so the bot stores gold unids etc. in storage?
I can make that work, in fact I've just stapled on the gold storing function from the ChestBot, it looks cleaner.

I'll have a play and update the bot if it all looks good

Edit:

I'm considering adding a loot option for whites/blues + salvaging

Version 0.3 is now up, if someone wouldn't mind could they give it a go and post some results. I won't be able to test this properly until the weekend.
deroni93 is offline  
Old 06/25/2020, 09:46   #9
 
elite*gold: 0
Join Date: Apr 2017
Posts: 21
Received Thanks: 13
Quote:
Originally Posted by deroni93 View Post
Version 0.3 is now up, if someone wouldn't mind could they give it a go and post some results. I won't be able to test this properly until the weekend.
I'll give it a go and edit my post here after a day.

edit:

50 x 5
100% no fails. the ui looks clean. even stores glacials after a stack. beautiful work thank you for the update! i am going to look into adding the festival drops (6/27) to the UI and maybe getting the gross platinum to reflect all gold received from selling to merch too.
3ampoke is offline  
Thanks
1 User
Old 06/29/2020, 13:14   #10
 
elite*gold: 0
Join Date: Mar 2011
Posts: 407
Received Thanks: 55
Is it possible to play it with assa too?
Gint0nic is offline  
Old 06/29/2020, 14:50   #11
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Quote:
Originally Posted by Gint0nic View Post
Is it possible to play it with assa too?
Yes it should work even better with an Assassin as long as you use the same skill-bar (and in the same order). The only thing I didn't do was scale the timings based on attribute points, so it may be overly conservative with casting Shadow Form.

I must admit I haven't used this bot for anything other than rep farming + survivor on my Mesmer, once I get around to using this for profit I may add some more advanced features i.e. salvaging whites and stones.
deroni93 is offline  
Old 06/29/2020, 22:53   #12
 
elite*gold: 470
Join Date: Jun 2015
Posts: 324
Received Thanks: 119
Quote:
Originally Posted by deroni93 View Post
I can make that work, in fact I've just stapled on the gold storing function from the ChestBot, it looks cleaner.

I'll have a play and update the bot if it all looks good

Edit:

I'm considering adding a loot option for whites/blues + salvaging

Version 0.3 is now up, if someone wouldn't mind could they give it a go and post some results. I won't be able to test this properly until the weekend.
I'll give v0.3 a go now

Do you have the recommended build?
I Am Polywag is offline  
Old 06/30/2020, 07:38   #13
 
elite*gold: 0
Join Date: Feb 2016
Posts: 43
Received Thanks: 32
Quote:
Originally Posted by I Am Polywag View Post
I'll give v0.3 a go now

Do you have the recommended build?
Mesmer: OQdUAQROqPP8Id2BkAiAvpLBTAA / Sin: OwVUI2h5lPP8Id2BkAiAvpLBTAA
deroni93 is offline  
Old 07/01/2020, 04:56   #14
 
elite*gold: 0
Join Date: Jun 2018
Posts: 3
Received Thanks: 0
I went OwVUI4h5vPO8Id2BkAiAvpLBTAA for sin. Used +1+3 in shadow arts so it hits 12. Only done around 20 runs on 0.3 but no fails. got the 20 enchant spear w +5 energy, and +10AR to earth shield.
jaredk9231 is offline  
Old 07/01/2020, 09:33   #15
 
elite*gold: 470
Join Date: Jun 2015
Posts: 324
Received Thanks: 119
Quote:
Originally Posted by deroni93 View Post
Mesmer: OQdUAQROqPP8Id2BkAiAvpLBTAA / Sin: OwVUI2h5lPP8Id2BkAiAvpLBTAA
Any chance you can make it pick up gold items only?


I Am Polywag is offline  
Reply

Tags
farm, mesmer, survivor, vaettir



« Nicholas The Traveller - Farm Thread | GW Working Bots 2020 »

Similar Threads Similar Threads
[Buying] Vaettir Bot, LDoA bot
06/25/2017 - Guild Wars Trading - 2 Replies
Hello e*pvpers! I would like to buy good vaettir bot which have : *mode for identify golds or store golds in depo, * salvage white,blue and purple items, lodestones and store materials in depo after full iventory etc, * salvage after run in Bjora Marches and after he go to farm more. * pick only black and white dye * pick event items * selling items to merchant (golds )
[Selling] Presearing Bot(s) + Vaettir Farm Bot
07/12/2016 - Guild Wars Trading - 14 Replies
CLOSE Please
WTS Vaettir Bot [Vbot]
07/14/2011 - Guild Wars Trading - 40 Replies
English hello guys :D Here I would like to sell my self-made Vaettir Bot (Vbot) The bot is very safe , stable and I offer a good support. As Payment I accept Ectos and Paypal. The price is 30 ectos for the bot +1 charcter. If you want to run this bot on more than 1 charcter then you have to pay 10 ectos extra for every char. For example: You want to run 4 charcters. Then you have to pay 30 ectos for the bot+1char and 30ectos extra (10 for every char)
Vaettir Bot...NEED HELP beim coden
11/22/2008 - General Coding - 1 Replies
Skillung ist: 1. Glyphe der Schnelligkeit 2.Tödliches Paradoxon 3.Schattenform 4.Ich bin Unaufhaltbar 8.Rückkehr Der bot startet vor den bjora sümpfen Gegenstandanvisieren liegt auf "ö" und Gegenstand ablegen auf "b"



All times are GMT +2. The time now is 10:21.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2020 elitepvpers All Rights Reserved.