| Posted: September 14th, 2007, 12:07 pm |
|
nightcrawler72
|
|
I been trying to get this right, I'm using an older version of XUfish program..works fine btw,
But I'm fishing in Sea Serpant Grotto w Lu'Shang and Shrimp lure.
I can get all the regular fish just fine, but I'm having a problem getting the one's that con a monster ie: Grimmonite's
I have the weight of the fish in the script but do to the fact it con a monster it drops it.... if i change the script to True on advfish it will catch everything including monsters and I dont want that.....Can anyone give me an idea what I'm missing? The script I'm using is below:
' Include variables declaration
XUScriptHost.ImportScript("xufish\fisher_variables.vbs")
scriptTimeInterval = 180
' Declare events
function onChangeZone
' Beep
if not scriptPaused then
ForcePause
Win32API.XUBeep 750,1000
end if
end function
function onStateChange
' Do nothing
end function
function onScriptTimeInterval
' Logout
waitForUser
ForcePause
doKeyboardCommand("/logout")
end function
function onMonsterCheck
' Do nothing
end function
function onNoBait
' Logout
waitForUser
ForcePause
doKeyboardCommand("/logout")
ForcePause
end function
function testFish(stamina, allowedStamina)
testFish = ((stamina >= allowedStamina * 0.955) and (stamina <= allowedStamina * 1.075))
end function
function doBiteAdv(stamina, isheavy, difficulty)
if isheavy then
doBiteAdv = false
else
doBiteAdv = testFish(stamina, 400) or testFish(stamina, 500) or testFish(stamina, 560) or testFish(stamina, 620) or testFish(stamina, 1190) or testFish(stamina, 1290)
end if
end function
' Include and start main script
XUScriptHost.ImportScript("xufish\fisher.vbs")
onBiteAdv = "doBiteAdv"
runFisher
|
|