Jump to content

Goldfish Scooping


Guest AlphaTrimega
 Share

Recommended Posts

Guest AlphaTrimega

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? :ph34r:

Link to comment
Share on other sites

Guest AlphaTrimega

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...