thinking i need update, sometimes a serp will spawn while im moving to a corpse and i dont have fail safe check,
(fish, kill, loot, fish some more, unload bag, cut fish and empty hold, fish some more)
thank you Author: sgazaway for base script, its now extremely customized for my needs
first i added a for loop/ scan journal, for stopped but that slows down script too much,
then i tryed a %chrX / #charposX .. but that did not work because sometimes boat movement slow and takes little more then 1 sec, so changing that will slow script down
now im going with movement trys, seems to fit my need but need to remember sometimes it will left one like 12 times correctly before getting to corpse...
question is ... How would leet coder fix issue professionally and being turbo fast
sub AdjustBoatForLoot
AdjustXAxis:
set %jStart #jIndex
if %moveBoatTrys > 2
{
if %chrPosX = #charposX || %chrPosY = #charposY
{
set %moveBoatTrys 0
return
}
set %moveBoatTrys 0
}
set %chrPosX #charposX
if #CHARPOSX <> ( ( %1 - *ArchangelSerpHunter_serpDist ) + 3 )
{
if #CHARPOSX > ( ( %1 - *ArchangelSerpHunter_serpDist ) + 3 )
{
event macro 1 0 Left One
wait 1s
goto AdjustXAxis
}
else
{
event macro 1 0 Right One
wait 1s
goto AdjustXAxis
}
}
AdjustYAxis:
if %moveBoatTrys > 2
{
if %chrPosX = #charposX || %chrPosY = #charposY
{
set %moveBoatTrys 0
return
}
set %moveBoatTrys 0
}
set %chrPosY #charposY
if #CHARPOSY <> ( %2 - 0 )
{
if #CHARPOSY > ( %2 - 0 )
{
event macro 1 0 Forward One
wait 1s
goto AdjustYAxis
}
else
{
event macro 1 0 Back One
wait 1s
goto AdjustYAxis
}
}
set %moveBoatTrys 0
return
;==================================
; Script Name: Archangel's Serpent Hunter
; Author: sgazaway
; Version: 2.03
; Client Tested with: 6.0.6.1
; EUO version tested with: 1.5.132
; Shard OSI / FS: OSI
; Revision Date: 2/24/2008
; Public Release: 10/26/2004
; Global Variables Used: *ArchangelSerpHunter_*