[2022/2023] Guild Wars working bots

10/24/2023 23:32 ICON007#436
How can i make my bot to pickup trick or treat bags? can someone help me u just looked on this threat but i cant find it.
10/25/2023 18:46 Greg76#437
Quote:
Originally Posted by ICON007 View Post
How can i make my bot to pickup trick or treat bags? can someone help me u just looked on this threat but i cant find it.
Press previous page twice and you will have your answer :)
10/25/2023 21:58 1337Uriel#438
Quote:
Originally Posted by Chuga View Post
Updated the Factions chest running bot.
Updated the Omni bot

latest update - Chest runner bot seems to get an error when stash is full. If anyone can fix that please do, thanks.

error:
Line 532 of ChestRun Pongmei.au3

If Not IdentifyBag($IBag, False, True, $store_golds) Then If Not ^ ERROR

Error: Incorrect number of parameters in function call
im pretty much illiterate to the coding, im curious if someone can/will help me with where to add the usage of a cupcake @ start of each run. ive found these in other scripts, im not sure of placement, or accuracy period. thanks.



;~ Any pcons you want to use during a run
Global $pconsCupcake_slot[2]
Global $useCupcake = True ; set it on true and he use it


;~ Scans your bags for Cupcakes and uses one to make the run faster.
pconsScanInventory()
Sleep(GetPing()+500)
UseCupcake()
Sleep(GetPing()+500)
10/26/2023 08:13 kartyas#439
Hello altough its not a bot (though includes 2) I decided to share my modded GW toolbox where all the exploits (that the devs took out) fully functional.
- /useskill allows to use multiple skills. (as it used to)
- Dialogs window restored to original (can use the taxi to docks cheat again for example)
- Render invisible NPC-s and Minipets on the minimap and also be able to target them. (very useful for EE-ing around or out of stuck to a minipet)
- Open locked chest with the /chest command from render distance
- /follow command (allows to make your alts follow you around. it doesn't attack tho)
- /bjump and /mjump <inventory Model ID> <Model ID> (allows for an easy viper/hos jump from either a Ghost-in-the-Box or a targetable minipet of your choice)
- /killdhuum command (only useful if you play SoS/DB and you wanna go afk during dhuum)

How to use?
- Install latest version of GWToolbox (6.12 as of today)
- Overwrite original GWToolboxdll.dll with the one you just downloaded

[Only registered and activated users can see links. Click Here To Register...]
10/26/2023 17:37 Djanu#440
Anyone have a bot for old ascalon city?
10/27/2023 08:33 Underavelvetmoon#441
Quote:
Originally Posted by 1337Uriel View Post
im pretty much illiterate to the coding, im curious if someone can/will help me with where to add the usage of a cupcake @ start of each run. ive found these in other scripts, im not sure of placement, or accuracy period. thanks.



;~ Any pcons you want to use during a run
Global $pconsCupcake_slot[2]
Global $useCupcake = True ; set it on true and he use it


;~ Scans your bags for Cupcakes and uses one to make the run faster.
pconsScanInventory()
Sleep(GetPing()+500)
UseCupcake()
Sleep(GetPing()+500)
Code:
Func Main()
;Code here
   UseCupcake()
;Code here
EndFunc

Func UseCupcake()
   Local $aBag
   Local $aItem
   Sleep(200)
   For $i = 1 To 4
	  $aBag = GetBag($i)
	  For $j = 1 To DllStructGetData($aBag, "Slots")
		 $aItem = GetItemBySlot($aBag, $j)
		 If DllStructGetData($aItem, "ModelID") == 22269 Then
			UseItem($aItem)
			Return True
		 EndIf
	  Next
   Next
EndFunc
Or if you want to be fancy, just use a general item command and pass it a model ID:

Code:
;For using different drinks depending on what I can easily buy
Func Main()
;code here
   UseDrink(6366) ;Firewater = 2513, Grog = 30855, Spiked Eggnog = 6366
;code here
EndFunc
Func UseDrink($mID)
   Local $aBag
   Local $aItem
   Sleep(200)
   For $i = 1 To 4
	  $aBag = GetBag($i)
	  For $j = 1 To DllStructGetData($aBag, "Slots")
		 $aItem = GetItemBySlot($aBag, $j)
		 If DllStructGetData($aItem, "ModelID") == $mID Then
			UseItem($aItem)
			Return True
		 EndIf
	  Next
   Next
EndFunc
10/27/2023 13:06 1337Uriel#442
Quote:
Originally Posted by Underavelvetmoon View Post
Code:
Func Main()
;Code here
   UseCupcake()
;Code here
EndFunc

Func UseCupcake()
   Local $aBag
   Local $aItem
   Sleep(200)
   For $i = 1 To 4
	  $aBag = GetBag($i)
	  For $j = 1 To DllStructGetData($aBag, "Slots")
		 $aItem = GetItemBySlot($aBag, $j)
		 If DllStructGetData($aItem, "ModelID") == 22269 Then
			UseItem($aItem)
			Return True
		 EndIf
	  Next
   Next
EndFunc
Or if you want to be fancy, just use a general item command and pass it a model ID:

Code:
;For using different drinks depending on what I can easily buy
Func Main()
;code here
   UseDrink(6366) ;Firewater = 2513, Grog = 30855, Spiked Eggnog = 6366
;code here
EndFunc
Func UseDrink($mID)
   Local $aBag
   Local $aItem
   Sleep(200)
   For $i = 1 To 4
	  $aBag = GetBag($i)
	  For $j = 1 To DllStructGetData($aBag, "Slots")
		 $aItem = GetItemBySlot($aBag, $j)
		 If DllStructGetData($aItem, "ModelID") == $mID Then
			UseItem($aItem)
			Return True
		 EndIf
	  Next
   Next
EndFunc
do u mind directing me to the strings to paste this too? <3
10/27/2023 22:43 Touchwise#443
Quote:
Originally Posted by Greg76 View Post
Press previous page twice and you will have your answer :)
Didn't expect to see you around anymore

Can anyone help me out with the checkforchest function I want to open all chests with lockpicks

Can anyone help me out with the checkforchest function I want to open all chests with lockpicks
10/29/2023 11:28 Greg76#444
Quote:
Originally Posted by Mrjambix View Post
Do
$aItem = GetNearestItemToAgent(-2)
$lDistance = @[Only registered and activated users can see links. Click Here To Register...]
$aItemID = DllStructGetData($aItem, 'ID')
$aModelID = DllStructGetData($aItem, 'ModelID')
Did you try with:
Code:
     Do
        $aItem = GetNearestItemToAgent(-2)
        $lDistance = GetDistance($aItem)
        $aItemID = DllStructGetData($aItem, 'ID')
        $aModelID = DllStructGetData($aItem, 'ModelID')
10/29/2023 15:08 Olddadz#445
getting error when he goes to sell can anyone help?
says line 532.
10/29/2023 15:12 CookiesCream#446
hi there! i´m a lit late this year xD
is there a working MadKingQuest Bot anywhere?
10/29/2023 17:13 Greg76#447
Quote:
Originally Posted by Olddadz View Post
getting error when he goes to sell can anyone help?
says line 532.
your IdentifyBag function contains 4 arguments:
$lbag, false, true and store_golds

The error message indicates that the number of arguments is incorrect.

when you look in your gwa2 file, you will find the function IdentifyBag.
You can see that it suggests using 3 arguments
$aBag, $aWhites and $aGolds
And you put 4, so you have one too many.

To go further in understanding the function, I repost it:
Code:
;~ Description: Identifies all items in a bag.
Func IdentifyBag($aBag, $aWhites = False, $aGolds = True)
	Local $lItem
	If Not IsDllStruct($aBag) Then $aBag = GetBag($aBag)
	For $i = 1 To DllStructGetData($aBag, 'Slots')
		$lItem = GetItemBySlot($aBag, $i)
		If DllStructGetData($lItem, 'ID') == 0 Then ContinueLoop
		If GetRarity($lItem) == 2621 And $aWhites == False Then ContinueLoop
		If GetRarity($lItem) == 2624 And $aGolds == False Then ContinueLoop
		IdentifyItem($lItem)
		Sleep(GetPing())
	Next
EndFunc   ;==>IdentifyBag
this function therefore allows you to choose the bag where you want to identify your items and if you want to identify the whites and/or the golds items

the first argument concerns the bags ($aBag).
the second is used if you want to identify the whites items (Put false or true).
the third is used to identify gold items(Put false or true).

So if you want to identify only the gold items in your bag 1 you use it like this:
Code:
IdentifyBag(1, False, True)
if you also want to identify the blanks you replace the 2nd arguments with true
10/29/2023 22:37 Touchwise#448
If anyone can add a deadonrun function in my froggy bot would be perfect and all will have something working perfectly without crashes, etc i fixed all other errors, added opening lock chests etc

biggest problem is when it dies in the zone before second res shrine in the second level then it bugs at the first res shrine.
11/03/2023 01:07 ovakillz#449
hello. is there a script/bot for ToT opening? thank you
11/03/2023 13:49 ک‎ㅌrㅁ#450
Quote:
Originally Posted by ovakillz View Post
hello. is there a script/bot for ToT opening? thank you
Speed Autoclicker