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.
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.
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.
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.
;~
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.
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(-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)
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
Which Func UseSkillEx are you using ? this from main script or from GWA2 ?
Quote:
Originally Posted by oneshout
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
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
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