GW Working Bots 2020

03/15/2020 00:38 ninjamoment#91
@[Only registered and activated users can see links. Click Here To Register...]

Your Header is correct and the Hard Mode switch is right (compared it to my Vaettir bot im using).

I know some of the GWA2 files were having an issue with the actual moveto command. I would recommend making a separate folder and use this GWA2 Version and see if it works. :bandit:
03/15/2020 00:44 jimmytwiggs#92
Quote:
Originally Posted by oneshout View Post
This bot add hero and use hero skills for the run but aren't updated for the moment ;)
your problem is somewhere here :

Code:
While 1
   Global $Me = GetAgentByID(-2)
   Checkmap()
	If $SuccessfulRunCount = 0 Then
		UpdateCounts()
		SwitchMode(1)
		AddHero(17) ;Xandra
		;AddHero(xx) ;Hayda
		StoreBoneDustIron()
		SetUpFastWay()
		DisableHeroSkills()
do the run without the need of hero...
yep just came to that conclusion myself in my previous post, just made an edit to that effect. Will remove all hero usage and try again.

EDIT - anything wrong with this line? crashing here when trying to take asura blessing. i think maybe the npc command isnt triggering the dialog to open, so the dialog command is crashing it.

Code:
Global Const $HEADER_NPC_TALK = 0x3F

GonearestNPCtoCoords(-24259, -5602)
Dialog(0x84)

Func GoNearestNPCToCoords($aX, $aY)
	Local $NPC
	MoveTo($aX, $aY)
	$NPC = GetNearestNPCToCoords($aX, $aY)
	Do
		RndSleep(250)
		GoNPC($NPC)
	Until GetDistance($NPC, -2) < 250
	RndSleep(500)
EndFunc

EDIT EDIT - header needed to be 40, not 3F. trying again now. got it to run into the cave. but it doesnt seem to be proc-ing skills correctly. ill have to look at that.
03/15/2020 17:28 jimmytwiggs#93
Quote:
Originally Posted by jimmytwiggs View Post
yep just came to that conclusion myself in my previous post, just made an edit to that effect. Will remove all hero usage and try again.

EDIT - anything wrong with this line? crashing here when trying to take asura blessing. i think maybe the npc command isnt triggering the dialog to open, so the dialog command is crashing it.

Code:
Global Const $HEADER_NPC_TALK = 0x3F

GonearestNPCtoCoords(-24259, -5602)
Dialog(0x84)

Func GoNearestNPCToCoords($aX, $aY)
	Local $NPC
	MoveTo($aX, $aY)
	$NPC = GetNearestNPCToCoords($aX, $aY)
	Do
		RndSleep(250)
		GoNPC($NPC)
	Until GetDistance($NPC, -2) < 250
	RndSleep(500)
EndFunc

EDIT EDIT - header needed to be 40, not 3F. trying again now. got it to run into the cave. but it doesnt seem to be proc-ing skills correctly. ill have to look at that.

After all of that work, I am not sure if this bot is viable. I let it run 50 times, failed the run every time. Gets into the cave and just doesnt seem to be a good enough build for the run now. Gets slain every time.
03/15/2020 17:33 oneshout#94
Quote:
Originally Posted by jimmytwiggs View Post
After all of that work, I am not sure if this bot is viable. I let it run 50 times, failed the run every time. Gets into the cave and just doesnt seem to be a good enough build for the run now. Gets slain every time.
do you have all requirement for the run ? :

Quote:
;~ Summary: Farms Raptors from Rata Sum with W/N or N/W
;~ _____________________________________
;~
;~ This was tested using a W/N with the folowing info:
;~ This Build: OQQUc2oR1KS0kqM9F5FWC6FrF7gA (I am Unstoppable)
;~ Alt Build OQQUc2oR1KSpFqM9F5FWC6FrF7gA (Dolyak Signet)
;~ Full Sentinals's Insignias
;~ +1 Strength Helm w/ +1 Strength Rune
;~ +50hp Rune
;~ +10 Rune x3
;~ 620 Health
;~ 37 Energy
;~ Sword +5 Energy +30hp
;~ Shield +30hp +10 vs Pierciing ("Through Thick and Thin"") NOTE: Use Q8/16 for best results
;~ GW PvX suggested setup:
;~ Curses 12
;~ Strength 4+1
;~ Tactics 7+1
;~ Swordsmanship 10+1+3
;~ Knight's Insignia.
;~ Sword of Fortitude or Shelter with "I Have the Power!". A "Dance with Death" inscription can be used at high Asura ranks.
;~ Tactics Shield of Fortitude with "Through Thick and Thin". A req. 8 Tactics Shield is preferable.
;~ Superior Vigor Rune and Superior Absorption Rune.
;~ [Only registered and activated users can see links. Click Here To Register...]
03/15/2020 17:37 jimmytwiggs#95
Quote:
Originally Posted by oneshout View Post
do you have all requirement for the run ? :
Most of it, working on that last few pieces to see if thatll do it or not. but it dsoesnt even seem to be coming close atm. will update once i am able to build that out entirely.
03/15/2020 17:41 Snicker23#96
Hello, I'm Using the ReFeather bot and my game crash everytime on the 1st Enemy Group.
any know what the problem is?
03/15/2020 17:52 oneshout#97
Quote:
Originally Posted by Snicker23 View Post
Hello, I'm Using the ReFeather bot and my game crash everytime on the 1st Enemy Group.
any know what the problem is?
Which Func UseSkillEx are you using ? this from main script or from GWA2 ?
03/15/2020 17:58 Snicker23#98
Quote:
Originally Posted by oneshout View Post
Which Func UseSkillEx are you using ? this from main script or from GWA2 ?

I think from the GWA2

PHP Code:
Func UseSkillEx($lSkill$lTgt = -2$aTimeout 3000)
    If 
GetIsDead(-2Then Return
    If 
Not IsRecharged($lSkillThen Return
    
Local $Skill GetSkillByID(GetSkillbarSkillID($lSkill0))
    
Local $Energy StringReplace(StringReplace(StringReplace(StringMid(DllStructGetData($Skill'Unknown4'), 61), 'C''25'), 'B''15'), 'A''10')
    If 
GetEnergy(-2) < $Energy Then Return
    
Local $lAftercast DllStructGetData($Skill'Aftercast')
    
Local $lDeadlock TimerInit()
    
UseSkill($lSkill$lTgt
03/15/2020 18:09 oneshout#99
i hope it's a copy/paste mistake ;)
The complete function :

Code:
Func UseSkillEx($lSkill, $lTgt = -2, $aTimeout = 3000)
	If GetIsDead(-2) Then Return
	If Not IsRecharged($lSkill) Then Return
	Local $Skill = GetSkillByID(GetSkillbarSkillID($lSkill, 0))
	Local $Energy = StringReplace(StringReplace(StringReplace(StringMid(DllStructGetData($Skill, 'Unknown4'), 6, 1), 'C', '25'), 'B', '15'), 'A', '10')
	If GetEnergy(-2) < $Energy Then Return
	Local $lAftercast = DllStructGetData($Skill, 'Aftercast')
	Local $lDeadlock = TimerInit()
	UseSkill($lSkill, $lTgt)
	Do
		Sleep(50)
		If GetIsDead(-2) = 1 Then Return
	Until (Not IsRecharged($lSkill)) Or (TimerDiff($lDeadlock) > $aTimeout)
	Sleep($lAftercast * 1000)
EndFunc   ;==>UseSkillEx
03/15/2020 18:25 Snicker23#100
Quote:
Originally Posted by oneshout View Post
Which Func UseSkillEx are you using ? this from main script or from GWA2 ?
Quote:
Originally Posted by oneshout View Post
i hope it's a copy/paste mistake ;)
The complete function :

Code:
Func UseSkillEx($lSkill, $lTgt = -2, $aTimeout = 3000)
	If GetIsDead(-2) Then Return
	If Not IsRecharged($lSkill) Then Return
	Local $Skill = GetSkillByID(GetSkillbarSkillID($lSkill, 0))
	Local $Energy = StringReplace(StringReplace(StringReplace(StringMid(DllStructGetData($Skill, 'Unknown4'), 6, 1), 'C', '25'), 'B', '15'), 'A', '10')
	If GetEnergy(-2) < $Energy Then Return
	Local $lAftercast = DllStructGetData($Skill, 'Aftercast')
	Local $lDeadlock = TimerInit()
	UseSkill($lSkill, $lTgt)
	Do
		Sleep(50)
		If GetIsDead(-2) = 1 Then Return
	Until (Not IsRecharged($lSkill)) Or (TimerDiff($lDeadlock) > $aTimeout)
	Sleep($lAftercast * 1000)
EndFunc   ;==>UseSkillEx

Yeah sorry, it was a mistake at Copy :S , and allready crash at the 1st enemy group, As soon as I kill 1
03/15/2020 18:32 oneshout#101
Quote:
Originally Posted by Snicker23 View Post
Yeah sorry, it was a mistake at Copy :S , and allready crash at the 1st enemy group, As soon as I kill 1
What the value for your HEADER_ITEM_PICKUP on GWA2 ?
and put in attachment the main file plz
03/15/2020 18:37 Snicker23#102
Quote:
Originally Posted by oneshout View Post
What the value for your HEADER_ITEM_PICKUP on GWA2 ?
and put in attachment the main file plz
PHP Code:
Global Const $HEADER_ITEM_PICKUP 0x46 
03/15/2020 18:41 oneshout#103
Quote:
Originally Posted by Snicker23 View Post
PHP Code:
Global Const $HEADER_ITEM_PICKUP 0x46 
it's the good one but always need the main file to compare with mine ;)
on bottom, on "additional options", clic on manage attachments and put the main file in (ReFeather.au3), not the GWA2 ;)
03/15/2020 18:49 Snicker23#104
Quote:
Originally Posted by oneshout View Post
it's the good one but always need the main file to compare with mine ;)
on bottom, on "additional options", clic on manage attachments and put the main file in (ReFeather.au3), not the GWA2 ;)

yes, I found it, sorry :D
03/15/2020 18:53 oneshout#105
Quote:
Originally Posted by Snicker23 View Post
yes, I found it, sorry :D
But you put the GWA2 again :D ... don't need it, just the main file... again
Just need to edit your post and change the file