|
 FFXIService 2.x now with FishID, Gil, Exp, and more! : Site News - Page 5
|
|
Posted: October 2nd, 2006, 11:18 am
|
|
|
|
unoone
unoone's Reps:
|
Bump - Is there an updated IDL floating around?
|
|
|
|
|
Posted: October 3rd, 2006, 7:30 am
|
|
|
|
sandwhale
sandwhale's Reps:
|
I have a question.
when checking if (w = ID)
what we need to do is add &H0 infront of the ID that shows up in our log file? Or do we need to calculate it in some way?
I notice in the log you did hex(w), how to convert it back?
|
|
|
|
|
Posted: October 3rd, 2006, 12:59 pm
|
|
|
|
pyrolol
Total Posts: 795
Joined: January 11th, 2006, 2:28 pm
pyrolol's Reps: 1
|
Bear in mind all numbers are stored in binary. Eg:
w = 00001111 = 15 = 0xF = &HF
For comparison, you can ignore it. Only time it's an issue is for displaying it, in which case,
w means decimal, Hex(w) means hexadecimal.
|
|
|
|
|
Posted: October 3rd, 2006, 1:37 pm
|
|
|
|
sandwhale
sandwhale's Reps:
|
hmm just trying to figure it out. Since the value stored into log files are hex(w), I suppose that's what my "if" should be comparing right?
if ( hex(w) = 09CBA7 ) then <--- hmm?
|
|
|
|
|
Posted: October 5th, 2006, 1:48 pm
|
|
|
|
unoone
unoone's Reps:
|
Bumpity Bump Bump - Updated IDL please?
/bow
-unoone
|
|
|
|
|
Posted: October 5th, 2006, 2:18 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
IDL?
Please read the FIRST page for a sample of what to use and how to use it.
It shows how to place the hex and how to use it.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: October 5th, 2006, 2:20 pm
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
Oh you mean the other functions, whoops, I forgot all about updating it. Sorry. Give me 24 hours and I'll have a fix out. Gotta patch the eq2 first as its completely broke.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: October 5th, 2006, 2:39 pm
|
|
|
|
sandwhale
sandwhale's Reps:
|
uh well, i did read your first page. didn't find my answer. i just figured it out -_-; what i didn't know was that i need to add &H0 to my hex code. that's all.
w = &H0xxxxxxx
|
|
|
|
|
Posted: October 6th, 2006, 3:51 pm
|
|
|
|
elginx01
elginx01's Reps:
|
It wont cancel when the FishID is incorrect why?
|
|
|
|
|
Posted: October 6th, 2006, 7:50 pm
|
|
Posted: October 6th, 2006, 8:15 pm
|
|
|
|
elginx01
elginx01's Reps:
|
How do I post scripts? It gives me a connection error.
|
|
|
|
|
Posted: October 6th, 2006, 8:28 pm
|
|
|
|
elginx01
elginx01's Reps:
|
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))): function getFishPoleHash(ByRef obj) on error resume next obj.UpdateData getFishPoleHash = obj.FishPoleHash if (Err.Number <> 0) then getFishPoleHash = -1 end if on error goto 0 end function
function onBite Dim w w = getFishPoleHash(serviceObject) 'Get your ID's from the log after you catch one. writeLogLine "Caught something with ID: " & hex(w) if ( w = &H092C1414 ) then 'This is an example of moat carp with a yew fishing pole. onBite = true else Sleep 200 onBite = false end if end function
|
|
|
|
|
Posted: October 7th, 2006, 1:35 am
|
|
|
|
wyvernx
Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
|
elginx01, probably you dont have the onBite function set. Scan down near the bottom of the file for this line:
onBite = "doBite"
and your function should be called doBite NOT onBite.
Try downloading the XUFish files fresh and start from there.
_________________
Use Search first, ask questions later!
|
|
|
|
|
Posted: October 7th, 2006, 8:16 am
|
|
|
|
elginx01
elginx01's Reps:
|
Alrite i got it to work
But is there a way to cancel the fish instead of waiting for it to be out of stamina? Thank You very much
Now it just skipping everything >_< Sorry
|
|
|
|
|
Posted: October 7th, 2006, 10:07 am
|
|
|
|
sandwhale
sandwhale's Reps:
|
it should cancel, not wait until stamina is out...
show your entire script again?
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 21 guests |
|
|
|