GW Working Bots 2020

07/19/2020 19:54 Zeus_54#676
Anyone have a working Ministerial Commendation Farm bot?
07/19/2020 20:28 phat34#677
oh... thought that was a private bot?

sooner or later everyone will have them all...
07/19/2020 22:33 Joey87#678
Quote:
Originally Posted by Kamyshin View Post
has disable graphics already been fixed?

I was actually me too asking this question :)
07/20/2020 12:29 ARJ#679
BUMP ((Hello - I would love some coding help (: I just tried the Rit Dust Bot (page 21) and it works great thx for the upload and update.

I would love if it could pick up all whites,blue... I have tried to change some of the numbers under "canpickup" func but i guess its not that simple or i dont have the right numbers.

Is this to big a job for a nub :P ))



Quote:
Originally Posted by ForgottenRelic View Post
I just looked at the dust bot and it's saying that it should already be picking up the whites and blues. Will look into this more in a few.
..

So I'm the only one where this pick up other stuff is not working for? Is it simple to change? (:
07/21/2020 17:49 RiflemanX#680
Quote:
Originally Posted by ARJ View Post
BUMP ((Hello - I would love some coding help (: I just tried the Rit Dust Bot (page 21) and it works great thx for the upload and update.

I would love if it could pick up all whites,blue... I have tried to change some of the numbers under "canpickup" func but i guess its not that simple or i dont have the right numbers.

Is this to big a job for a nub :P ))


So I'm the only one where this pick up other stuff is not working for? Is it simple to change? (:
yes, its a simple change.

There are many ways you can write your loot functions but here is an easy way that I do it.

At the top of the script for the dust farmer add these constants (with your other global constants):

Code:
Global Const $RARITY_Gold = 2624
Global Const $RARITY_Purple = 2626
Global Const $RARITY_Blue = 2623
Global Const $RARITY_White = 2621
Then down below near the bottom where all your functions are located add:

Code:
;~ Description: standard pickup function, only modified to increment a custom counter when taking stuff with a particular ModelID
Func PickUpLoot()
	Local $lAgent
	Local $lItem
	Local $lDeadlock
	For $i = 1 To GetMaxAgents()
		If GetIsDead(-2) Then Return
		$lAgent = GetAgentByID($i)
		If DllStructGetData($lAgent, 'Type') <> 0x400 Then ContinueLoop
		$lItem = GetItemByAgentID($i)
		If CanPickup($lItem) Then
			PickUpItem($lItem)
			$lDeadlock = TimerInit()
			While GetAgentExists($i)
				Sleep(100)
				If GetIsDead(-2) Then Return
				If TimerDiff($lDeadlock) > 10000 Then ExitLoop
			WEnd
		EndIf
	Next
EndFunc   ;==>PickUpLoot

; Checks if should pick up the given item. Returns True or False
Func CanPickUp($aItem)
	Local $lModelID = DllStructGetData(($aItem), 'ModelID')
	Local $aExtraID = DllStructGetData($aItem, "ExtraID")
	Local $lRarity = GetRarity($aItem)
	Local $Requirement = GetItemReq($aItem)
	If (($lModelID == 2511) And (GetGoldCharacter() < 99000)) Then
		Return True	; gold coins (only pick if character has less than 99k in inventory)
	ElseIf ($lModelID == $ITEM_ID_Dyes) Then	; if dye
		If (($aExtraID == $ITEM_ExtraID_BlackDye) Or ($aExtraID == $ITEM_ExtraID_WhiteDye)) Then ; only pick up white and black ones
			Return True
		EndIf
	ElseIf ($lRarity == $RARITY_Gold) Then   ; gold items
		Return True
	ElseIf ($lRarity == $RARITY_Purple) Then ; purple items
		Return True
   ElseIf ($lRarity == $RARITY_Purple) Then  ; purple items
		Return True
    ElseIf ($lRarity == $RARITY_White Then   ; white items
		Return True
	Else
		Return False
	EndIf
EndFunc   ;==>CanPickUp
Finally, go through the code (use search function) and replace PickupItems() with PickUpLoot(). Too easy.
07/22/2020 11:46 LadyAstero#681
Good day, please share the working version of the multi client, Thank you!
07/22/2020 17:24 lemoutondu10#682
It's easily findable in google, search for "gw multi launch"
07/22/2020 22:02 Joey87#683
SOme people have a solution with the function "disable rendering" ?
On my computer it doesn't run. All crash after activate it.

Thx
07/22/2020 23:37 Air.Fox#684
Finally complete a generic pack manager bot. Comes with its own GUI or can be used with other bots through calling individual functions.

How to use:
  • Use Bags: select how many bags should be accessed
  • Store Golds: moves unid golds from bags to storage
  • Get Golds: moves unid golds from storage to bags
  • Identify All: identifies all items in selected bags
  • Sell All: sells all items (excluding special items*)
  • Salvage Runes: salvage all valuable runes from all items
  • Salvage Mats: salvages materials from all items (with exclusions)
  • Deposit Max: deposit all gold
  • Withdraw Max: withdraw 100k
*special items are ones that generally not sold, so ID/salvage kits, runes, books, materials, etc.

Make sure to talk to trader for functions Identify All, Sell All, Salvage Runes, Salvage Mats, so bot can buy id/salvage kits if it runs out.

Bot salvages materials from all items except if they contain a valuable rune/insignia or if the item's modelID is in $DONT_SALVAGE_ARR. Currently it has only some modelID's of items that salvage to wood.

Button in top right initializes the bot and also refreshes for if relogging to different character.

Currently the general function that does a full inventory clear (with storing unid golds and rune salvage) is FullClearAtGToB(). But its very easy to change to different town, just need to replace GTOB mapID, merchant coords and rune trader coords, and should be set.

Finally if using the included GUI, can press {ESC} during any of the functions to abort, in case pressed wrong button.
07/23/2020 02:12 GW Devil#685
anyone have a working fow ranger bot?
07/23/2020 10:46 cue990#686
Hey hey any have the fac echovald shield bot or a bot for low req shields to farm.
Thanks and cheers mates
07/23/2020 22:49 kendor#687
Quote:
Originally Posted by GW Devil View Post
anyone have a working fow ranger bot?
This wasn't loading the GUI anymore so I tried the updated GWA2. Got the GUI back after editing out a few duplicate functions but then crash at Kneel. If anyone can get one of these running again that'd be great.

Uploaded files DO NOT have the updated GWA2 btw. Uploaded before find that update. Sorry
07/23/2020 23:26 dboston#688
Quote:
Originally Posted by Air.Fox View Post
Finally complete a generic pack manager bot. Comes with its own GUI or can be used with other bots through calling individual functions.

How to use:
  • Use Bags: select how many bags should be accessed
  • Store Golds: moves unid golds from bags to storage
  • Get Golds: moves unid golds from storage to bags
  • Identify All: identifies all items in selected bags
  • Sell All: sells all items (excluding special items*)
  • Salvage Runes: salvage all valuable runes from all items
  • Salvage Mats: salvages materials from all items (with exclusions)
  • Deposit Max: deposit all gold
  • Withdraw Max: withdraw 100k
*special items are ones that generally not sold, so ID/salvage kits, runes, books, materials, etc.

Make sure to talk to trader for functions Identify All, Sell All, Salvage Runes, Salvage Mats, so bot can buy id/salvage kits if it runs out.

Bot salvages materials from all items except if they contain a valuable rune/insignia or if the item's modelID is in $DONT_SALVAGE_ARR. Currently it has only some modelID's of items that salvage to wood.

Button in top right initializes the bot and also refreshes for if relogging to different character.

Currently the general function that does a full inventory clear (with storing unid golds and rune salvage) is FullClearAtGToB(). But its very easy to change to different town, just need to replace GTOB mapID, merchant coords and rune trader coords, and should be set.

Finally if using the included GUI, can press {ESC} during any of the functions to abort, in case pressed wrong button.
This is working well for weapon drops - but is there a way to get it to salvage trophy items too?
07/24/2020 09:50 martyn12444#689
Quote:
Originally Posted by GW Devil View Post
anyone have a working fow ranger bot?
Here you go. I'm no coder but I edited this at the last patheon bonus week so it now kneels at Chantry as well as TOA.

Much more useful if you're looking to safely farm (i.e. only kneel in empty districts) as it will actively switch between chantry districts only which are much emptier than TOA.

Also fixed the multiple kneel from the original - only kneels once and works fine.

Again I'm not a coder - anyone can do this with a bit of patience!
07/24/2020 14:24 Air.Fox#690
Quote:
Originally Posted by dboston View Post
This is working well for weapon drops - but is there a way to get it to salvage trophy items too?
Yes, an easy way would be to comment out $TYPE_TROPHY in
Code:
Func ItemIsSpecialType($item)
	Switch DllStructGetData($item, 'Type')
		Case $TYPE_BAG, $TYPE_BUNDLE , $TYPE_RUNE_AND_MOD, $TYPE_USABLE, _
				$TYPE_DYE, $TYPE_CELESTIAL_SIGIL, $TYPE_MATERIAL_AND_ZCOINS, _
				$TYPE_TROPHY_2, $TYPE_KEY, $TYPE_QUEST_ITEM, $TYPE_KIT, _
				$TYPE_TROPHY, $TYPE_SCROLL, $TYPE_PRESENT, $TYPE_MINIPET, _
				$TYPE_BOOKS
			Return True
	EndSwitch
	Return False
EndFunc
But then it would still probably choke if there is more than 1 item in a stack.

I'll try have an update out later today to include that option