Guest AlphaTrimega Posted August 3, 2004 Share Posted August 3, 2004 Well, I'll cut to the chase. There is currently an event going on in Final Fantasy XI wherein you scoop three different kinds of goldfish for different amounts of points. I've been trying to make a script to automate this for me, and I have been mostly successful. The problem comes in when I try to fancy it up. I want it to, after filling up my inventory, log out and display a list, in notepad, of the amount and kinds of goldifsh caught, but for some reason whenever I run it, no fish are added to the total when i run it. Here are the valid parts of the code; $tinygold = 0; $bubbly = 0; $lionhead = 0; If PixelGetColor(104,991) = 10223427 AND PixelGetColor(146,999) = 12255077 AND PixelGetColor(203,1001) = 16777215 Then $tinygold = $tinygold+1; autosort() Sleep(Random(2100,2200)); $event = 1;You caught a tiny goldfish so now autosort, sleep a bit, and finish the event. EndIf If PixelGetColor(105,996) = 10026823 AND PixelGetColor(151,993) = 10223430 AND PixelGetColor(236,1000) = 16777215 Then $bubbly = $bubbly+1; autosort() Sleep(Random(2100,2200)); $event = 1;You caught a black bubble-eye so now autosort, sleep a bit, and finish the event. EndIf If PixelGetColor(43,995) = 16777215 AND PixelGetColor(71,997) = 16777215 AND PixelGetColor(84,995) = 16777215 Then $lionhead = $lionhead+1; autosort() Sleep(Random(2100,2200)); $event = 1;You caught a lionhead so now autosort, sleep a bit, and finish the event. EndIf Run("notepad"); Sleep(2000); Send("Tiny Goldfish: "); Send($tinygold); Send("{ENTER}Black Bubble-Eye: "); Send($bubbly); Send("{ENTER}Lionhead: "); Send($lionhead); Can anyone help me? Link to comment Share on other sites More sharing options...
this-is-me Posted August 3, 2004 Share Posted August 3, 2004 Does it show a 0 under each of the the fish types? Who else would I be? Link to comment Share on other sites More sharing options...
ezzetabi Posted August 3, 2004 Share Posted August 3, 2004 Strange... Is somewhat a contest about who make the best script? Link to comment Share on other sites More sharing options...
Guest AlphaTrimega Posted August 3, 2004 Share Posted August 3, 2004 Yes, it shows a 0 under each of them, so I know it's at least displaying them, but it's just not adding to the total when I catch one. Link to comment Share on other sites More sharing options...
this-is-me Posted August 4, 2004 Share Posted August 4, 2004 Right before the autosort() line, have a msgbox pop up. If the messagebox never pops up, then the if statement is not true. Who else would I be? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now