[2022/2023] Guild Wars working bots

04/24/2024 13:28 AlienMan9696#736
Quote:
Originally Posted by pgpavel View Post
hey guys,

i got a working raptor bot, but he doesnt not pick up the Delicious Cakes. Can u help me with inserting this item in the list?

; Event Items
Local $AgedDwarvenAle = GetItemCountInventory(24593)
Local $AgedHuntersAle = GetItemCountInventory(31145)
Local $BattleIslandIcedTea = GetItemCountInventory(36682)
Local $BirthdayCupcake = GetItemCountInventory(22269)
Local $CandyCaneShards = GetItemCountInventory(556)
Local $GoldenEgg = GetItemCountInventory(22752)
Local $Grog = GetItemCountInventory(30855)
Local $HoneyCombs = GetItemCountInventory(26784)
Local $KrytanBrandy = GetItemCountInventory(35124)
Local $PartyBeacon = GetItemCountInventory(36683)
Local $PumpkinPies = GetItemCountInventory(28436)
Local $SpikedEggnog = GetItemCountInventory(6366)
Local $TrickOrTreats = GetItemCountInventory(28434)
Local $VictoryToken = GetItemCountInventory(18345)
Local $WayfarerMark = GetItemCountInventory(37765)


this is what the bot picks up. So i guess, i need the Itemnumber?

Thank you!
Global Const $MODEL_ID_DELICIOUS_CAKE = 36681
Global Const $MODEL_ID_ICED_TEA = 36682
Global Const $MODEL_ID_PARTY_BEACON = 36683

Here you go, for all three :)
04/24/2024 20:17 pgpavel#737
where do i have to add anything in the script to pick that up?
I tried some stuff but he still does not pick the cakes.
04/24/2024 21:21 t7tcrusher#738
Quote:
Originally Posted by pgpavel View Post
where do i have to add anything in the script to pick that up?
I tried some stuff but he still does not pick the cakes.
If you add the script you are using as an attachment, one of us can easyly help you by changing it for you.

You can also find the next function and look at how the delicious cake was implemented and add that to your script (just the line with delicious cake, the function is allready in your code)
click SPOILER to see

04/24/2024 22:08 pgpavel#739
this is the script the bot is using:

04/25/2024 04:08 Hammertime18#740
Quote:
Originally Posted by Hiking Corey View Post
Hello all, here is a snippet of the code in which section the occurring error is found.

Code:
		#Region LDoA2_10 - quest management
Func LDoACheck_QuestCompleted() ;Checks if Charr at the Door is completed (Returns True or False) based on number of mobs remaining in explorable zone
	If (GetCountInRangeOfAgent($lMe, $DistanceSpirit, $UnitTypeEnemy, $TypeUnit) < 1) Then
;~ 		logFile("")
		logFile("All charrs have been killed.")
		LDoA_GoGetQuest()
		Return False
	Else
		Return True
	EndIf
EndFunc

Func _LDoACheck_QuestCompleted() ; Check if "Charr at the Gate"(46) quest is at reward state (Returns True if yes, else returns False)
	Local $lMessage = False
;~ 	logFile("LoggedIn: "&GetLoggedIn())
;~ 	logFile("LoggedIn Address: 0x"&Hex(GetScannedAddress('ScanLoggedIn', 0x6FE3),8))
;~ 	logFile("$mLoggedIn: "&$mLoggedIn)
	While GetLoggedIn() <> 1
		If $lMessage = False Then
;~ 			logFile("")
			logFile("Waiting, we don't seem to LoggedIn")
			$lMessage = True
		EndIf
		Sleep(1000)
	WEnd
	While GetMapLoading() == 2
		PingSleep(1000)
	WEnd
	Local $lQuestState = DllStructGetData(GetQuestByID($QUEST_ID_Charr_at_the_Gate), 'LogState')
;~		logFile("Quest State: "&$lQuestState)
Does anything initially seem wrong? I have Charr At The Gate and is not completed.

Code:
[21:38] Playing Status: online.
[21:38] Starting Run.
[21:38] Waiting, we don't seem to LoggedIn
The bot is recognizing that I am online, but then says not logged in. I'm kind of confused what it is trying to tell me and why, since it mentioning online status.

Could this be a GWA2 file problem? When I swap the files for this bot, it tends to stop working. Thank you for any help!
This is the Omnifarm presearing. I replaced the GWA2 and headers the 11-20 works but still couldn't get the 2-10 to work.
04/25/2024 10:30 t7tcrusher#741
Quote:
Originally Posted by pgpavel View Post
this is the script the bot is using:
I have attached the edited script for your conveniance and if you click on SPOILER you can see what I did in the code ;)


It would have been nicer if I added it to :
Global $Array_pscon[40]=[910, 5585, 6366, 6375, 22190, 24593, 28435, 30855, 31145, 35124, 36682, 6376, 21809, 21810, 21813, 36683, 21492, 21812, 22269, 22644, 22752, 28436,15837, 21490, 30648, 31020, 6370, 21488, 21489, 22191, 26784, 28433, 5656, 18345, 21491, 37765, 21833, 28433, 28434, 27035]

If I had done that, then it would look like this :
Global $Array_pscon[41]=[910, 5585, 6366, 6375, 22190, 24593, 28435, 30855, 31145, 35124, 36682, 6376, 21809, 21810, 21813, 36683, 21492, 21812, 22269, 22644, 22752, 28436,15837, 21490, 30648, 31020, 6370, 21488, 21489, 22191, 26784, 28433, 5656, 18345, 21491, 37765, 21833, 28433, 28434, 27035, 36681] ; added 36681 (delicious cake) and counted 1 extra at $Array_pscon[41]

But the way I did it now, is more clear for you to see. Hope it makes sense for you
(I wrongly named the file vaettir, but should be raptor ofcourse)
04/27/2024 10:58 Hiking Corey#742
Quote:
Originally Posted by Hammertime18 View Post
This is the Omnifarm presearing. I replaced the GWA2 and headers the 11-20 works but still couldn't get the 2-10 to work.
I'm out of ideas myself. I tried running AutoIt as admin, compatibility mode, etc. nothing seems to make a difference.
04/27/2024 23:49 Scythe X#743
Quote:
Originally Posted by Hammertime18 View Post
This is the Omnifarm presearing. I replaced the GWA2 and headers the 11-20 works but still couldn't get the 2-10 to work.
Are you making sure you manually level your character to level 2, and what specifically is happening that is making it unusable? I can take a look at the issue if you want.
04/28/2024 03:57 Hiking Corey#744
Quote:
Originally Posted by Scythe X View Post
Are you making sure you manually level your character to level 2, and what specifically is happening that is making it unusable? I can take a look at the issue if you want.
This keeps happening with the 2-10 function and worked fine before.
Code:
Waiting, we don't seem to LoggedIn
I have tried a multitude of options, and Hammer tried a few ways as well.
04/28/2024 05:38 Scythe X#745
Well, I tried replacing the memoryread address for the ScannedLoggedIn from an older version that works to no avail, and I could try to dig deeper and might later. For now, Ill link to my older post that has a version that works for me. It is the [April 2023] version that you should try.

[Only registered and activated users can see links. Click Here To Register...]

I am not sure what the newer version(2.4.1.3) has that makes it such a larger file size, as I don't really play pre searing too much and haven't looked.
04/28/2024 08:23 Relajado#746
Hey, unfortunately the search didn't give me any information.
Does anyone know if there is a working JQ Bot

Many thanks in advance
04/28/2024 10:31 Hiking Corey#747
Quote:
Originally Posted by Scythe X View Post
Well, I tried replacing the memoryread address for the ScannedLoggedIn from an older version that works to no avail, and I could try to dig deeper and might later. For now, Ill link to my older post that has a version that works for me. It is the [April 2023] version that you should try.

[Only registered and activated users can see links. Click Here To Register...]

I am not sure what the newer version(2.4.1.3) has that makes it such a larger file size, as I don't really play pre searing too much and haven't looked.
Wow... it was only a matter of using that newer version. Thank you!
04/28/2024 20:12 Scythe X#748
Quote:
Originally Posted by Hiking Corey View Post
... it was only a matter of using that newer version. ...
Well, it is actually the older version that is working for 2-10, so it may be missing optimizations or other features that the newer one may have. I am not sure.

Also, I just updated my bot if anyone interested in trying it. I update every week or so. Its a side project.

Edit: I: just got home from my dayjob; bot shows 22 deaths 99 vaettir ball kills, 6hours 50min runtime. lol
I also forgot to reenable using cupcakes for hp(i was testing some stuff), ill reupload 5.5 with it enabled, sorry about that ...
04/30/2024 02:53 Olddadz#749
vaettir all this junk is aggrevating ive tried removing alcohol ect trying to just keep like pie , cupcakes, apples , tots , tokens most important stuff any ideals how to fix this ?
04/30/2024 03:10 Scythe X#750
What was the question?