Sign in to follow this  
Followers 0
Guest AlphaTrimega

Goldfish Scooping

5 posts in this topic

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:

Share this post


Link to post
Share on other sites



Does it show a 0 under each of the the fish types?


Who else would I be?

Share this post


Link to post
Share on other sites

Strange... Is somewhat a contest about who make the best script?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
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
Sign in to follow this  
Followers 0