Rusty Items
#1
Posted 04 February 2004 - 08:29 PM
I'm trying to make my own rusty item drop code (my script gave me like 10 rusty items for 10 stacks of bastore)
And yes I did program my own fishing script... except for the autosort.... stupid thing with its double up crazyness
#2
Posted 04 February 2004 - 08:31 PM
#3
Posted 04 February 2004 - 10:22 PM
#4
Posted 04 February 2004 - 10:30 PM
Now for that rusty item drop.... i'm off!
#5
Posted 04 February 2004 - 10:35 PM
What is the command for and IF: THEN statement in this language?
And how do I set the pixel's color as a variable?
Is it like this:
IF PIXEL {250x120} = 52365982 THEN LET rusty = 1?
that's qbasic commands at least.... what's auto it's?
#6
Posted 04 February 2004 - 11:56 PM
But how can i get a screen shot of a rusty item???
Don't you have to close all boxes to take a screen shot?
#7
Guest_cylaris_*
Posted 05 February 2004 - 01:05 AM
#8
Posted 05 February 2004 - 01:28 AM
#10
Posted 05 February 2004 - 03:32 PM
#11
Posted 05 February 2004 - 03:41 PM
#12
Posted 05 February 2004 - 04:16 PM
MAKES SURE YOUR SCREENSHOTS are BMP. not jpgs. the colors are different because of the compression. with bmp, you get the right colors.
#13
Posted 05 February 2004 - 05:06 PM
#14
Guest_Rpbot_*
Posted 05 February 2004 - 05:44 PM
I'll go in game, fish for a 1/2 hour or so, and take screenies of the various results. Exit the game, rename the files to something like "fish on hook.bmp", "caught nothing.bmp", "Caught Rusty Item", things of that nature.
I'm also working on a Rusty Item deletion script to add to my customized version of Ealric's excellent script. Annoying thing is, there is no really solid green color being used for the item, so I'm using just the white characters in the Rusty Item line. No biggie, should work fine.
Rpbot
#15
Posted 05 February 2004 - 09:36 PM
ok so my plan is to detect when it says "obtained: Rusty whatever" by checking for the R in rusty (i'm not fishing for any fish that start with R)
then once it sees that it will go into the inventory, go to the last item on the list, drop that item, then exit/sort
But the problem is I can't move down in the menu
I tried {RIGHT} and {DOWN} and even "L" but none of them work... its like the autosort all over again...
So i thought... well lets get creative and use the mouse to scroll down....
That didn't work at all... whenever i try using the mouse it always goes to the upper left corner, and stays there until it starts clicking...
Here's my mouse command: MouseClick("left", 193, 236, 5);
any ideas?
#16
Posted 05 February 2004 - 10:03 PM
Look at the following code and see if you can implement it into yours. Also note that the PixelGetColor information may need to be adjusted to your particular set-up.
AutoitSetOption("SendKeyDelay", 225);
Send ("^i");open inventory using Compact Keyboard config
Send ("{right}");
Sleep (0125);
Send ("{right}");
Sleep (0125);
Send ("{right}");
Sleep (0125);
Send ("{right}");
Sleep (0125);
Send ("{right}");
Sleep (0125);
Do
If PixelGetColor(38,225) = 16777215 AND PixelGetColor(45,221) = 16777215 AND PixelGetColor(58,224) = 16777215 AND PixelGetColor(75,230) = 16777215 Then
Send ("{enter}");
Sleep (0125);
Send ("{down}");
Sleep (0125);
Send ("{enter}");
Sleep (0125);
Send ("{up}");
Sleep (0125);
Send ("{enter}");
Sleep (0125);
Send ("{ESCAPE}");exits menu
Send ("{ESCAPE}");exits menu
Endif
Edited by dervish, 05 February 2004 - 10:11 PM.
#17
Posted 05 February 2004 - 10:08 PM
#18
Posted 05 February 2004 - 10:15 PM
The only thing that every caused that problem for me is when I was using a transparent background. Go to Config > Windows and change your windows to a non-transparent background, like #2 or #4. Hope this helps!
#19
Posted 05 February 2004 - 10:22 PM
I'm not positive that my coordinates are correct, but I do know that they aren't in the corner
I tried running what you suggested, and it opened the inventory, then nothing...
The curser didn't move at all
#20
Posted 05 February 2004 - 10:23 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




