[2021] Guild Wars Working Bots

06/27/2022 12:44 borotroth#376
Quote:
Originally Posted by deroni93 View Post
Version 3.3.14.5 works reliably for me.
That did it, thanks! Trying to get back into GW and botting and I was prepared to have to try to fix bots but couldn't even get that far xD
06/27/2022 13:31 deroni93#377
A few minor crash fixes

- Storing unidentified gold items is working. Partial rewrite of the function so it actually checks the sizes of your bag slots before storing.
- Removed all calls of 'Out()' from common functions

I've been using the bot for a few titles on an alt, everything except the norn option has worked thus far. It seems the Varajar fells vanquish has buggered up coordinates, so that needs a rewrite.
07/01/2022 08:27 ForgottenRelic#378
Okay, so I have a little bit of a problem and would like some direction on getting help rather than just asking for solution.

I am working on updating a script and noticed I am getting a GW error report crash screen after I try to accept quest from NPC. I am not getting a error from autoit, but an error from GW. I have located the function of talking to NPC and getting quest but I believe that there is a problem with accepting the quest.

Func TakeQuest()
AdlibRegister("HeroBuff", 5000)
AdlibRegister("CheckPartyDead", 2000)
$DeadOnTheRun = 0
Local $CrewmemberShandra = GetNearestNPCToAgent(-2) ;GetAgentByName("Crewmember Shandra")
If $bCanContinue = True Then
Out("Taking Quest")
if $DeadOnTheRun = 0 then GoToNearestNPCToCoords(11981, -17857)
Sleep(500)
if $DeadOnTheRun = 0 then AcceptQuest($LostSouls)
Sleep(500)
EndIf
AdlibRegister("HeroBuff", 5000)
AdlibRegister("CheckPartyDead", 2000)
EndFunc
07/02/2022 01:30 moneyvsmoney#379
accept quest function is likely crashing at that point

In gwa2
Func AcceptQuest($aQuestID)
Return SendPacket(0x8, $HEADER_QUEST_ACCEPT, '0x008' & Hex($aQuestID, 3) & '01')
EndFunc ;==>AcceptQuest

in headers file
Global Const $HEADER_QUEST_ACCEPT = 0x39 ;Accepts a quest from the NPC
make sure both are correct
07/04/2022 23:38 Kibeth_1#380
I've found a minor error in the Borreal Chest bot. If it finds a second chest and it drops a skill tome, it won't be picked up. Sadly, I'm not really versed in programming, so I've no idea how to change that...If someone has a bot/code, that circumvents that error, please share :)
07/18/2022 09:21 Kai194#381
A couple of days back I made myself a simple kamadan trade bot, (buys items, spams chat with different trade lines with set interval), was wondering if there’s any advanced kamadan trading bot available publicly or privately? Appreciate any responses
07/22/2022 05:19 GreyGoblin#382
I really like the use of pre-cons for the bot. I was wondering how hard it would be to incorporate your pre-cons and attacking function into the OmniFarmer bot. I am new to making bots so I'm not sure how difficult that might be.
07/22/2022 05:31 ForgottenRelic#383
I have been working on a few small updates on some old scripts that I have found laying around here. I am fully testing the OmniFarmer Pre-searing one before I release it. All credits go out to the original writers / updaters. Also have a problem with the PickUp Function on the Kabob Farmer, will upload script in a little while for some help with it.
07/24/2022 15:29 pgpavel#384
OmniFarmer Pre-Searing does not work for me for few reasons...tellin me errors about the Spells im using which i dont understand...
07/26/2022 13:21 dimitree6#385
Hello,
Anyone got a pcon bot ?
07/28/2022 11:05 MasterChief1996#386
Quote:
Originally Posted by AndaraX42 View Post
use that last vaettir salvage bot. he'd produce a lot of iron.
Mind Sharing which Version you Took ?
The last Vaettir LSR Version i got from the Forum is stuck at Identifying Items.
I tired to find why, but so far no success.

Edit: Looks Like the Call "SendPacket(0xC, $HEADER_ITEM_ID, $lIDKit, $lItemID)" isnt registered by GW at the end of the run
07/29/2022 06:28 ForgottenRelic#387
Okay someone please explain this one to me before I lose all my hair....

Func UseSkillEx($aSkillSlot, $aTarget = -2, $aTimeout = 5200)
If GetIsCasting($aAgent) = False Then
If $IsHealerPrimary == True Then $aTimeout = 2500
Local $tDeadlock = TimerInit()
Local $TargetID = GetAgentID($aTarget)
If $TargetID <= 0 Then Return
If GetIsDead($aTarget) Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
ChangeTarget($aTarget)

UseSkill($aSkillSlot, $aTarget)

Do
Sleep(50)
If GetIsDead($aTarget) == 1 Then Return
If GetIsDead() == 1 Then Return
If GetAgentID($aTarget) <= 0 Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
Until GetSkillbarSkillRecharge($aSkillSlot) <> 0 Or TimerDiff($tDeadlock) > $aTimeout
If TimerDiff($tDeadlock) > $aTimeout Then $Skill_FAILED = $aSkillSlot
If $aSkillSlot > 1 Then RndSleep(50)
EndIf
EndFunc ;==>UseSkillEx

Error : Variable Used without being declared.

The variable is GetIsCasting($Agent) but why is it saying it's not being declared?
07/29/2022 12:06 Waka.Waka#388
well because its NOT declared.

Func GetIsCasting($aAgent)
If IsDllStruct($aAgent) = 0 Then $aAgent = GetAgentByID($aAgent)
Return DllStructGetData($aAgent, 'Skill') <> 0
EndFunc ;==>GetIsCasting

you are missing this function in your script
07/31/2022 21:20 RiflemanX#389
Quote:
Originally Posted by ForgottenRelic View Post
Okay someone please explain this one to me before I lose all my hair....

Func UseSkillEx($aSkillSlot, $aTarget = -2, $aTimeout = 5200)
If GetIsCasting($aAgent) = False Then
If $IsHealerPrimary == True Then $aTimeout = 2500
Local $tDeadlock = TimerInit()
Local $TargetID = GetAgentID($aTarget)
If $TargetID <= 0 Then Return
If GetIsDead($aTarget) Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
ChangeTarget($aTarget)

UseSkill($aSkillSlot, $aTarget)

Do
Sleep(50)
If GetIsDead($aTarget) == 1 Then Return
If GetIsDead() == 1 Then Return
If GetAgentID($aTarget) <= 0 Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
Until GetSkillbarSkillRecharge($aSkillSlot) <> 0 Or TimerDiff($tDeadlock) > $aTimeout
If TimerDiff($tDeadlock) > $aTimeout Then $Skill_FAILED = $aSkillSlot
If $aSkillSlot > 1 Then RndSleep(50)
EndIf
EndFunc ;==>UseSkillEx

Error : Variable Used without being declared.

The variable is GetIsCasting($Agent) but why is it saying it's not being declared?

GetIsCasting($Agent) is actually your function. If you are getting an error on the line then check for $Agent.

Check to ensure you have the function listed above by Waka Waka (Check to ensure you have the function listed above by Waka Waka: Func GetIsCasting($aAgent) and make sure $Agent and $aAgent are correctly declared or combined.
08/04/2022 12:22 kev1978#390
For the CoF bot. What armour do i need for this to work best