Red dot stays at tuna when it's going to find range, freezes
Red dot stays at tuna when it's going to find range, freezes
well then, If I may give you a suggestion. I think heavenGuard has a Al Kharid cooking script, it's more of an AIO Kharid script, but check it out I'm sure you won't be disappointed.
It's only for small fish and is fishing/cooking, no ideas to why yours isn't working? dot doesn't search for range or nothing. just clicks the tuna and stops.
edit: Tried to disable SMART, pressed range, cooked a few, enabled SMART again and then it went to bank, deposited, withdrew and got stuck at the tuna (while standing at range).
Last edited by keff; 09-03-2010 at 03:12 PM.
I'll look into it.
hmm must be how much randomness I have on the tiles. I'm sure if I moved the tile to walk to back one it wouldn't walk behind the range at all. I'll make a calibration function or something when I get the time. Shouldn't be hard to solve.
Would be really great, got 125k fish to cook :>
Sup Blumblebee, i <3 the fact you re-directed them to me xD, but reading some comments, I want them to use your script since its more of a specialized cooker, Made by a more specialized scripter ^^.
Maybe you can do something with this.
Obviously its not coded really good [Im trying to learn as much as I can, and I know how that code can be modified greatly], but its a method I use in my script to find a range. You can just take the concept and use it at your will ^^ Idk, I think it still works, but w/e. Its there if you want it ^^. <3 u buddy.Simba Code:{*******************************************************************************
Function FindRange(var Range.X, Range.Y : Integer) : Boolean;
Description: Uses TPA's to find a cooking range. Results True if the range was
found and saves the X and Y coordinates of the range to var
Range.X and Range.Y.
*******************************************************************************}
function FindRange(var X, Y : Integer) : Boolean;
var
A : Integer;
RangeTPA : TPointArray;
RangeATPA : T2DPointArray;
RangeBox : TBox;
begin
if not LoggedIn then Exit;
if FlagPresent then Flag else Wait(RandomRange(200, 1000));
FindColorsSpiralTolerance(MSCX, MSCY, RangeTPA, 1845439, MSX1, MSY1, MSX2, MSY2, 10);
if Length(RangeTPA) < 3 then
begin
Srl_Warn('FindRange', 'Range [Color] not found...', 0);
Exit;
end;
RangeATPA := SplitTPAEx(RangeTPA, 1, 10);
{if debugg then DebugATPABounds(RangeATPA);}
for A := 0 to High(RangeATPA) do
begin
RangeBox := GetTPABounds(RangeATPA[A]);
if (((RangeBox.X2 - RangeBox.X1) >= 7) and ((RangeBox.X2 - RangeBox.X1) <= 25)) and
(((RangeBox.Y2 - RangeBox.Y1) >= 4) and ((RangeBox.Y2 - RangeBox.Y1) <= 25)) then
begin
MiddleTPAEx(RangeATPA[A], X, Y);
{Debug('[Found the Range] Range width = '+IntToStr((RangeBox.X2 - RangeBox.X1))+', Range height = '+IntToStr((RangeBox.Y2 - RangeBox.Y1)));}
Result := True;
Exit;
end;
end;
Srl_Warn('FindRange', 'Range not found...', 0);
end;
Last edited by Heavenguard; 09-04-2010 at 03:20 AM.
Don't Troll, Don't Fight, Just keep the Respect
Status : Offline
Feel free to re-make my scripts ;D
Community Member
thanks heavenGuard. I have come to the conclusion that I have made 1 of 2 errors in my script (considering I'm drunk I'm surethat it's an obvious answer)
1. I have made the area size to small
2. The range tile has shifted slightly (highly unlikely) and I need a readjustment.
Regardless I'll look into fixing the issues my script currently possesses through complexity of the function, most of the functions in the script are quite simple.
I guess i figured this to be the Thread i found the script i was having trouble with and found that.. this would be relevant. I simply forgot to change video mode over to FIXED. Thank you for telling me to look over my settings.
Last edited by null; 09-07-2010 at 12:43 AM.
Still works
Stopped manually because this player has been botting all day. Time to relax!!!
Progress Report:/ \ | v0.05 Al-Kharid Cook : 01:24:05 | |---------------------------------------------------------------------------------------------------| | Player | Type | Time | Active | Cooked | Loads | Levels | |--------------|------------|------------|--------------|--------------|-------------|--------------| | ****** | Lobster | 02:20:14 | True | 868 | 31 | 0 | |______________|____________|____________|______________|______________|_____________|______________| | Total | N/A | 01:24:05 | 1\1 | 868 | 31 | 0 | |---------------------------------------------------------------------------------------------------| \_________________________________________________________________________________________________/
wow I can't believe this still works haha. Thanks for the progress report
Dude this works!! Good script
cool! Gratz
are you still updating this script or is it outdated?
EDIT: What is the ref file for?
Last edited by doublex8; 10-20-2010 at 04:51 AM.
The script would just run to the range and then stand there,
updated the range color seemed to do the trick.
COLOR_MS_RANGE = 1647797;
That worked for me.
finding the range is ok, I get stuck at the bank with a full inv of cooked food telling me that it couldn't withdraw food. I don't know much about scripting and I am trying to learn but throwing this out there, is there a way to add a failsafe that when this happens and it logs u out that it will log u back in, deposit your inventory, and continue?
New option for cooking is up, if you'd care to update, that would be great
EDIT: Interface update*
Last edited by Zyt3x; 11-03-2010 at 08:26 PM.
whats this new option?
I mean.. Interface update :P
lol o i thought you meant a new cooking script or something :P
Progress Report:_________________________________________________________________________________________________ / \ | v0.05 Al-Kharid Cook : 00:23:41 | |---------------------------------------------------------------------------------------------------| | Player | Type | Time | Active | Cooked | Loads | Levels | |--------------|------------|------------|--------------|--------------|-------------|--------------| | ************ | | 00:23:41 | True | 364 | 13 | 10 | |______________|____________|____________|______________|______________|_____________|______________| | Total | N/A | 00:23:41 | 1\1 | 364 | 13 | 10 | |---------------------------------------------------------------------------------------------------| \_________________________________________________________________________________________________/
It did bug up before, and thought I used all the food, I hadn't, ran it a second time, and I got all of that...the first time it stoped after 84, without issue...
Current Script Project
Pot of flour gatherer - 95% done
Can't get Simba to work? Click here for a tutorial
There are currently 1 users browsing this thread. (0 members and 1 guests)