scripts no longer supports pascal. install the aerolib includes..
Printable View
My updater seems to be looking in http://pastebin.com/raw.php?i=y8cVqgJr for the latest version but the paste at that page is removed.
Is my updater looking in the wrong spot or should I go somewhere else for the newest script?
thanks
The bot currently gets stuck waiting to fish
Im getting a hooks error;
Error: Duplicate declaration "Client_LoopCycle" at line 131
Compiling failed
Anyone got a clue?
[20:10:22:979] [Reflection] [Warn] TReflectWidget is Null @ .GetBounds
Any ideas on this?
Make sure; your zoom level is default; you have set the realizable features to it default screen. which is a small screen as it has always been.
Some are saying this is a script error; whereas i have resolved this in every case by adjusting everything to default.
while your at it. brightness should be set to the brightest it can be in the rs settings
The script was working earlier today. Now I am pulling this error.
Error: Unknown declaration "StatChars" at line 119. not sure what went wrong.
EDIT: I don't know how. It fixed itself.Code:{
=========
Debugging
=========
}
{*******************************************************************************
Procedure debugBitmap(Bmp: Integer);
By: Cazax
Description: Shows a bitmap in the debug image window.
*******************************************************************************}
procedure debugBitmap(Bmp: Integer);
var
W, H: Integer;
begin
try
GetBitmapSize(Bmp, W, H);
DisplayDebugImgWindow(W, H);
DrawBitmapDebugImg(Bmp);
except
Writeln('Error in DebugBitmap');
end;
end;
{*******************************************************************************
function debugTPA(Points: TPointArray; BmpName: string): Boolean;
By: Wizzup?
Description: Shows an image of the Debug screen, plotting colors over the points
stored in Points TPA. If a name is specified, an image will be saved to that path.
*******************************************************************************}
function debugTPA(Points: TPointArray; BmpName: string): Boolean;
var
Bmp: integer;
Box : TBox;
TempTPA : TPointArray;
begin
Box := GetTPABounds(Points);
Bmp := BitmapFromClient(Box.x1,Box.y1,Box.x2,Box.y2);
TempTPA := CopyTPA(Points);
OffsetTPA(TempTPA,Point(-box.x1,-box.y1));
DrawTPABitmap(Bmp,TempTPA,clRed);
DisplayDebugImgWindow(box.x2-Box.x1 + 1, box.y2-box.y1 + 1);
DrawBitmapDebugImg(Bmp);
if bmpname <> '' then
SaveBitmap(Bmp, ScriptPath + BmpName + '.bmp');
FreeBitmap(Bmp);
Result := True;
end;
{*******************************************************************************
function debugATPA(aPoints: array of TPointArray; BmpName: string): Boolean;
By: Wizzup
Description: Shows an image of the client, plotting each TPA of the 2D point
array aPoints. Each TPA is a different color. If a name is
specified, an image will be saved.
*******************************************************************************}
function debugATPA(aPoints: T2DPointArray; BmpName: string): Boolean;
var
Width, Height, ClientBMP: Integer;
ATPA : T2DPointArray;
Box : TBox;
begin
result := false;
if length(aPoints) = 0 then
exit;
Box := GetATPABounds(aPoints);
Width := box.x2 - box.x1 + 1;
Height := box.y2 - box.y1 + 1;
DisplayDebugImgWindow(Width, Height);
ClientBMP := BitmapFromClient(box.x1,box.y1,box.x2,box.y2);
ATPA := CopyATPA(aPoints);
OffsetATPA(ATPA,point(-box.x1,-box.y1));
DrawATPABitmap(ClientBMP,ATPA);
DrawBitmapDebugImg(ClientBMP);
if BmpName <> '' then
SaveBitmap(ClientBMP, ScriptPath + BmpName + '.bmp');
FreeBitmap(ClientBMP);
Result := True;
end;
{*******************************************************************************
procedure debugATPABounds(aPoints: Array Of TPointArray);
By: Wizzup?, lordsaturn, & caused
Description: Shows an image of the client, plotting each TPA's bounds as a box
of different colour per TPA. If a name is specified, an image
will be saved.
*******************************************************************************}
procedure debugATPABounds(aPoints: array Of TPointArray);
var
Width, Height, ClientBMP, I: Integer;
B, Box: TBox;
BoxColors : TIntegerArray;
SelColor: Integer;
x,y : integer;
BMP : Integer;
begin
Box := GetATPABounds(aPoints);
Width := Box.X2 + 5;
Height := Box.Y2 + 5;
DisplayDebugImgWindow(Width, Height);
BoxColors := [clRed, clBlue, clBlack, clGreen, clYellow];
ClientBMP := BitmapFromClient(0,0,width-1,height-1);
for i:= 0 to high(aPoints) do
begin
SelColor := BoxColors[Random(length(Boxcolors))];
B := getTPABounds(aPoints[i]);
for x := B.x1 to B.x2 do
begin
FastSetPixel(ClientBMP, x, b.y1, selColor);
FastSetPixel(ClientBMP, x, B.y2, selColor);
end;
for y := B.y1 to B.y2 do
begin
FastSetPixel(ClientBMP, B.x1, y, selColor);
FastSetPixel(ClientBMP, B.x2, y, selColor);
end;
BMP := BitmapFromText(inttostr(i),StatChars);
FastReplaceColor(bmp,clblack,clyellow);
FastReplaceColor(bmp,clwhite,clblack);
SetTransparentColor(bmp,clYellow);
FastDrawTransparent(B.x1 + 2, b.y1 + 2, bmp,clientbmp);
FreeBitmap(BMP);
end;
DrawBitmapDebugImg(clientBMP);
FreeBitmap(ClientBmp);
end;
procedure debugBoxes(Boxes: Array of TBox);
var
i : Integer;
atpa : T2DPointArray;
begin
setLength(atpa, length(Boxes));
for i:=0 to high(Boxes) do
atpa[i] := TPAFromBox(Boxes[i]);
debugATPABounds(atpa);
end;
Const
WT_INTERNAL = 0;
WT_CORE = 1;
WT_SCRIPT = 2;
WT_RANDOM = 3;
procedure warn(Message: String; WarnType: Integer);
var
s : String;
begin
case WarnType of
WT_INTERNAL : s := 'INTERNAL';
WT_CORE : s := 'AL';
WT_SCRIPT : s := 'SCRIPT';
WT_RANDOM : s := 'RANDOM';
end;
Writeln('['+s+'] '+Message);
end;
procedure AL_InitMessage(_valM, _valS: extended);
var
s : String;
begin
Writeln('[=================================]');
Writeln('| < Aero|Library > |');
Writeln('| ---------------- |');
WriteLn('|' + centerStringEx('Version : '+toStr(_valM), 33, ' ') + '|');
WriteLn('|' + centerStringEx('Revision : '+toStr(_valS), 33, ' ') + '|');
Writeln('[=================================]');
end;
How do I set this to default? As it is not default anymore.
Attachment 26815
The first outline; right click default..
the second outline - make sure it is on the fixed screen setting.
not sure why my post got ignored but whatever, i have this problem and it still persists after i updated everything, it will randomly do this
i need some help, since an runescape update iv been getting the following messages when i leave my bot running,:
Saving Proggy to: C:\Users\Shiloh\Desktop\ineedbot's AIO Fisher proggy 0.png Time Running: 1 Hours, 20 Minutes and 25 Seconds
Stats: Committing too fast; shame on you!
Successfully sent status to stats server. 1 Hours, 30 Minutes and 20 Seconds
Successfully sent status to stats server. 1 Hours, 37 Minutes and 5 Seconds
Successfully sent status to stats server. 1 Hours, 43 Minutes and 11 Seconds
Successfully sent status to stats server. 1 Hours, 48 Minutes and 46 Seconds
No fishing XP gained in 10 minutes. Time Running: 1 Hours, 52 Minutes and 34 Seconds
No accounts left!
Not a good account 0... Next one. 1 Hours, 52 Minutes and 38 Seconds
No accounts left!
and that "not a good account" message just repeats itself all night long, rather annoying. whats more annoying is iv checked for all updates and replaced aerolib folder. still no luck. and i have no idea why its doing it, my character always seems to be at the cooking range in catherby when it happens. any help would be appreciated.
Script doesn't compile when I press run, it worked fine for the past month :(
Double post sorry
Sorry I should've been more specific, seems to be an access violation, however, files are in the same location they've always been. Just suddenly stopped working.
Loaded Font UpChars07_s
Loaded Font UpCharsEx
Loaded Font XPChars
Loaded Font UpChars_s
Error: Access violation
Compiling failed.
Tried doing fly fishing at Barb village...first, bank walking is broken. It clicks inside the ruins/building and makes the walk double the time to the bank and is a little obvious. Second, tried to cook and fish and it was stuck on looking for a place to light the fire and i had to stop the script.
Not sure if anyone else is having this issue, but at Catherby, fishing sharks, the script loops the "Going to fish..." function. Its almost like its not recognizing that its already fishing. Other than that the script works fine. It just continually clicks the fishing spot to fish. I'm quite new to scripting so I cant figure out the loop issue. Anyone with advice or a fix would be much appreciated :}
EDIT: Never mind, the script is completely unusable at this point, as all the wait times are messed up. I managed to kind of fix the wait time for fishing by adding a sleep function after the "Going to fish.." but I switched to the fishing guild and when the script went to cook said fish, it wouldnt wait long enough to finish and would attempt to click a raw fish to cook again resulting in the eating of a cooked fish. Im not experienced enough to resolve this issue. I just hope ineedbot can fix this as this was one of my absolute favorite and most used scripts :/
Can't get the script to work, I've been trying to fix it for over 5 hours. I've reinstalled, restarted, searched and couldn't find the answer.
Any help would be great!Quote:
Loading extension C:\Simba\Extensions\associate.sex
Extension Disabled - Did not compile
[Error] (14:3): Duplicate identifier 'TCharArray' at line 14
Loading extension C:\Simba\Extensions\extension.sex
Extension Enabled
Extensions Updater Enabled!
Loading extension C:\Simba\Extensions\srl.sex
Extension Enabled
SRL Updater Enabled!
SPS Updater Enabled!
Plugins Updater Enabled!
Loaded Font BigChars
Loaded Font CharsNPC
Loaded Font CharsNPC07
Loaded Font CharsTrade
Loaded Font CharsTrade07
Loaded Font FriendChars
Loaded Font LoginChars
Loaded Font MouseoverChars
Loaded Font SmallChars
Loaded Font SmallChars07
Loaded Font SmallCharsNS
Loaded Font StatChars
Loaded Font StatChars07
Loaded Font UpChars
Loaded Font UpChars07
Loaded Font UpChars07_s
Loaded Font UpCharsEx
Simba news:
Simba "Zealous Bugger" 1.1.0 has been released!
You can read all about it here[1], or head over to
the Github release page[2]
SRL-6 will remain backwards compatible with Simba 1.0 for some time, but we
encourage everyone to upgrade to the latest and greatest!
In a few days Simba 1.1.0 (version 1100) will also appear in the auto
updater.
If there are bugs, please - as always - let us know. We'll do our best to
fix them for you!
As always, see you on our homepage; https://villavu.com
Hakuna Matata!
[1] https://villavu.com/forum/showthread.php?t=110430
[2] https://github.com/MerlijnWajer/Simb...ag/simba-1.1.0
Loaded Font XPChars
Loaded Font UpChars_s
Error: Unknown declaration "SSLSocket" at line 621
Compiling failed.
Remember that fix you did for scripts that try and load the ProSocks plugin twice? Well for scripts like this one that don't use two includes that need the ProSocks plugin and just use reflection you have to undo that edit.
Refer to here: https://villavu.com/forum/showthread.php?t=114083
Also, next time search, these solutions are relatively easy to find.
Thanks, got it working. I found a similar page which told me to replace the text and make an INC file to prevent it from running twice and I wasn't able to figure it out.
Just a question, is there anyway to bot and type at the same time? I figure that would probably be the best anti ban in the world.
Edited. Silly me and my tired brain, sorry about the wasted post. :)
Running your Woodcutting script fine on Smart, but when i try to play your fishing one this occurs:
[AL] Initiating AeroLib...
[AL] Checking version...
[AL] Currently up to date.
[AL] Loaded 2 MSObjects.
[AL] Best world found: 10
[AL] Error while finding default Java, searching for Java...
[AL] SMART cannot spawn client
[17:27:24:865] [] [Status] All cached references free'd from memory
Successfully executed.
The error is looping at the moment.
[AL] Initiating AeroLib...
[AL] Checking version...
[AL] There's a minor update available for AeroLib.
[AL] Updating AeroLib...
[AL] Successfully updated AeroLib, please restart the script.
[10:53:57:230] [] [Status] All cached references free'd from memory
Successfully executed.
I restart and it tells me the same thing. Restarting the computer didn't fix it.
i have posted this 3 times and no response im going to keep reposting it, ignoring is not going to help.
having a problem with auto fisher in catherby cooking range. it just stays there like its lost trying to cook a raw fish, specifically a raw shark.
after it gets butthurt from a few minutes of not doing anything but getting stuck in that loop here is the message it displays it gets stuck in this loop for a long time as you can see ...11 hours. sometimes goes longer and thats the first time i have seen the message at the end maybe it will help
Not a good account 0... Next one. 11 Hours, 49 Minutes and 19 Seconds
No accounts left!
Not a good account 0... Next one. 11 Hours, 49 Minutes and 19 Seconds
No accounts left!
Not a good account 0... Next one. 11 Hours, 49 Minutes and 19 Seconds
No accounts left!
Not a good account 0... Next one. 11 Hours, 49 Minutes and 19 Seconds
No accounts left!
No accounts left!
No accounts left!
No accounts left!
ERROR comes from a non-existing file (!addDelayedCode)
Error: Out of memory at line 115
Execution failed.
The following DTMs were not freed: [0]
The following bitmaps were not freed: [0, 1, 2, 3]
can we do something about this now?
Hmm.. To speak like that to somebody who has spent a lot of time to provide something to the community for free, seems a little backwards. It doesn't matter if he chooses to help or not help you with your problem, it is not his responsibility to do that, he is still contributing a lot to this community..
ok well when i posted this the first 3 times nobody said the updater needed to be redownloaded, it was never mentioned. its working fine now thank you however, i do have a minor error and its no big deal and the script starts up anyways eventually but takes a little bit longer...was wondering if you knew how to fix this :
[AL] Initiating AeroLib...
[AL] Checking version...
[AL] Currently up to date.
[AL] Loaded 2 MSObjects.
[AL] Best world found: 54
[AL] Error while finding default Java, searching for Java...
and i know for sure now everything is up to date. it eventually starts smart but it opens up 2 windows instead of one, any suggestions?
sorry, can you explain what you mean by fixing the [AL][Reflection] ineedbot's functions.simba" not found at line 6 by updating to the same folder?
Hey there, thanks for this awesome script, been using it for quite some time now. Just one question in regards to an issue I've been facing lately. While fishing in the Fishing Guild, occasionally on my way back to the bank my character will randomly walk behind the actual bank itself and get stuck. Sometimes it happens in minutes, sometimes hours. If this is an issue with the fishing guild's location itself, what would be a good alternative fishing spot?
Attachment 26913
Made some modifications to it...Such as breaking and world hoping and sleeping. But good solid base code. Can run until runescape updates. Also I think im using your version 3.2?
Hello, I am just trying to edit your script a little for my own use, Im new to programming and would like some feedback. What I am trying to do is, fish a inventory of salmon (therefore dropping the trout) before I bank.
Would this work:
if I inserted it^ into the correct location? I'm not really sure if .Drop() would even work, I've been trying to get it to work, ill continue to try :)Code:procedure DropTrout;
var
Trout: TReflectInvItem;
begin
repeat
Trout.Find('Trout');
Trout.Drop();
until(Trout.Find('Trout')=False);
end;
Or use something along the lines of
Im trying to work out how you did it in your script but holy heck its complex, this must have taken you some brainpower to write!Code:mouseBox(tB, mouse_right);
Reflect.Text.ChooseOption('Drop', 2500);
Also, how would I go about randomising the walking path a little? It seems very botlike when I play (I have high ping so I pause between walks) :(
Thanks for the great script!
why this doing this when i go fishing karamja [17:25:42:531] [Script] [Status] Not enough coins left. if i have over 100k it doest fish it doing that always then logging out.
[17:28:31:718] [Script] [Status] Be sure to start near the fishing spot or deposit box...
[AL] Failed to connect to RuneScape item id: 375
[AL] Failed to connect to RuneScape item id: 367
[17:28:34:781] [Script] [Status] Saved Proggy to: C:\Documents and Settings\*********\My Documents\*******\ineedbot's AIO Fisher proggy 3.png
[17:28:37:359] [Script] [Status] Not enough coins left.