Page 1 of 1

Some Question/problem XUfish

Posted: March 19th, 2005, 3:32 am
by nathinette
Hello all ,

1)i have try to find post with P4 problem for Xufish but i can't find it ,someone can tell me , why the bot dont go to left(with rod) when i caught a fish? thx

2)i use fisher_windurstcarp with relog , like that
' Include variables declaration
XUScriptHost.ImportScript("xufish\fisher_variables.vbs")

scriptTimeInterval = 50

' 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
' Relog
waitForUser
doKeyboardCommand("/logout")
Sleep 45000
PressKey(VirtualKey.VK_ENTER)
Sleep 15000
PressKey(VirtualKey.VK_ENTER)
Sleep 15000
PressKey(VirtualKey.VK_ENTER)
Sleep 20000
end function

function onMonsterCheck
' Do nothing
end function

function onNoBait
ForcePause
end function

function doBite
Dim w
w = getFishWeight(serviceObject)
' 920 = gold carp
' 620 = tricolored carp
' 460 = moat carp
doBite = ((w = 920) or (w = 460))
end function


' Include and start main script
XUScriptHost.ImportScript("xufish\fisher.vbs")
onBite = "doBite"
runFisher
but when bot relog , he select my first charactere , but is not the fisher :) i have added this line , but dont work

function onScriptTimeInterval
' Relog
waitForUser
doKeyboardCommand("/logout")
Sleep 45000
PressKey(VirtualKey.VK_ENTER)
Sleep 15000
PressKey(VirtualKey.VK_DOWN)
Sleep 15000

PressKey(VirtualKey.VK_ENTER)
Sleep 15000
PressKey(VirtualKey.VK_ENTER)
Sleep 20000
end function

someone can tell me if is good?

3) Sabiki rig is good for fish moat carp , or always insect ball?

ps: sorry for my english i am french.

thx

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 3:43 am
by asl18fs
[quote="nathinette";p="59273"]1)i have try to find post with P4 problem for Xufish but i can't find it ,someone can tell me , why the bot dont go to left(with rod) when i caught a fish? thx[/quote]It's in the XUFish 3 Documentation sticky up above.
[quote="nathinette";p="59273"]2)i use fisher_windurstcarp with relog , like that

...

someone can tell me if is good?[/quote]Use VirtualKey.VK_K instead.
[quote="nathinette";p="59273"]3) Sabiki rig is good for fish moat carp , or always insect ball?[/quote]Only decent bait for moat carp is Little Worms and Insect Balls, sabiki rigs can't catch them at all, nor can rogue rig.
I'd advise you to read up on fishing on titanictus.com or lisaarndt.com before asking fishing related questions.

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 3:50 am
by nathinette
thx , i read now ...

for fish , i am stupid , i forget look on Register to unlock hidden link

very thx.

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 4:10 am
by nathinette
i have try this
function onScriptTimeInterval
' Relog
waitForUser
doKeyboardCommand("/logout")
Sleep 45000
PressKey(VirtualKey.VK_ENTER)
Sleep 10000
PressKey(VirtualKey.VK_K)
Sleep 10000
PressKey(VirtualKey.VK_ENTER)
Sleep 10000
PressKey(VirtualKey.VK_ENTER)
Sleep 15000
end function
but dont work , always select first chars

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 4:14 am
by asl18fs
Did you enable compact keyboard?

Anyway, if you read the documentation there's a safer way to select the second character detailed there.

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 4:24 am
by nathinette
yes compact keyboard always , i use xufish since 19 may 2004 :) and my girlfriend 14 september 2004 , always compact....

i try set process...

i am busy with documentation...

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 4:39 pm
by nathinette
oki i have try this
' Include variables declaration
XUScriptHost.ImportScript("xufish\fisher_variables.vbs")

scriptTimeInterval = 50

' 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
' Relog
waitForUser
doKeyboardCommand("/logout")
Sleep 45000
PressKey(VirtualKey.VK_ENTER)
Sleep 15000
MouseMove (855),(655)
Sleep 200
LMouseDown (855),(655)
Sleep 200
LMouseUp (855),(655)
Sleep 800
PressKey(VirtualKey.VK_ENTER) ' Is this needed?
Sleep 15000
PressKey(VirtualKey.VK_ENTER)
Sleep 20000
end function

function onMonsterCheck
' Do nothing
end function

function onNoBait
ForcePause
end function

function doBite
Dim w
w = getFishWeight(serviceObject)
' 920 = gold carp
' 620 = tricolored carp
' 460 = moat carp
doBite = (w = 460)
end function


' Include and start main script
XUScriptHost.ImportScript("xufish\fisher.vbs")
onBite = "doBite"
runFisher
and it work perfectly :)

but no my problem is when i fish , bot dont work coorectly look at this

Register to unlock hidden link

Register to unlock hidden link

Register to unlock hidden link

here is my config...

Register to unlock hidden link

i have uncheck the cpu in box
Register to unlock hidden link

but my girlfriend have p4 2.7 but not this option in process tab , and she have the same problem

i have read the doc...but i dont know what is my problem...

help me please...

Re: Some Question/problem XUfish

Posted: March 19th, 2005, 5:21 pm
by asl18fs
Try going into Control Panel -> Regional and Language Options -> Languages.
In this dialog change your default keyboard layout to english (United States).

Once that is done restart your computer and try again.

Re: Some Question/problem XUfish

Posted: March 20th, 2005, 1:41 am
by nathinette
its working ; but i dont want let my keyboard in qwerty , can i change the left key in script? and where is it?

thx asl18fs

Re: Some Question/problem XUfish

Posted: March 20th, 2005, 2:01 am
by asl18fs
You need to update these functions in fisher_functions.vbs:

Code: Register to unlock hidden link

function PressLeft( pressIT )'Added by WyvernX for 2.23.05 Patch
	if (pressIT = true) then
		KeyDown(VirtualKey.VK_A)
	else
		KeyUp(VirtualKey.VK_A)
	end if
end function

function PressRight( pressIT )'Added by WyvernX for 2.23.05 Patch
	if (pressIT = true) then
		KeyDown(VirtualKey.VK_D)
	else
		KeyUp(VirtualKey.VK_D)
	end if
end function
I have NO IDEA how to fix it though. ;)

Re: Some Question/problem XUfish

Posted: March 20th, 2005, 5:17 am
by nathinette
haaaa i have changed VirtualKey.VK_A bye VirtualKey.VK_Q and it works :D :)

my pb with Xu is finish for this time , big thx at you

and very sorry for my english i am french