Why will it not work on 2speced? is it a new chooseoption or something? can I still get the old one somehow?
Why will it not work on 2speced? is it a new chooseoption or something? can I still get the old one somehow?
Can you better explain what you mean?
What is the text you are trying to click?
Got a screenshot of it or can you just tell us what it says?
here is the section of my script
and it moves the mouse and right clicks the bank, but it just says script succedfully compiled and stops. it doesnt choose quickly.Code:if(FindColorTolerance(x,y,Bank,0,1,516,340,2)) then Mouse(x,y,1,1,False); Wait(300) ChooseOption('quickly');
Try using ChooseOptionMultiEx
SCAR Code:ChooseOptionMultiEx(['xami'],'player',ClickLeft);
function ChooseOptionMultiEx(Texts: TStringArray; TextType: String; Action: fnct_ActionOptions): Boolean;
By: Wizzup?, Nava2, and N1ke!
Description: Finds Popup menu, then clicks on it.
Will look for the first string first and so on.
It will search for the Text Type you input valid arguments are
'action', 'player': The white text
'npc': The yellow text
'object': The cyan text
'all': Searches for all colors of text.
Will default to 'all'.
bank is wrong. Needs to be one of these:
Depends on color of the textaction', 'player': The white text
'npc': The yellow text
'object': The cyan text
'all': Searches for all colors of text.
Lol don't confuse people YoHoJo
Just don't use the whole word quickly and/or use regular multi
ChooseOption('uick');
ChooseOptionMulti(['quick', 'uick', 'uic']);
You're not running SCAR 3.23 latest rev and/or SRL open dev are you? -.-
If that's so, then he'll need the old fonts as well...
Which I doubt he found.
If he's on a private server, then why doesn't he make a bitmap of the 'quickly' and use FindBitmap(); That's backwards compatible right?.. I think that would be the only usable option.. PM me if you need help making that bitmap.
Back to scripting.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
SCAR Code:program Crafting2speced;
{.include srl/srl.scar}
Const
Bank = 5863813;
Login= 5464393;
var
x,y,optionbmp : integer; // Declared optionbmp to use later on.
// You should follow the tutorial and go to the part where bitmaps are explained
// here: [url]http://www.villavu.com/forum/showthread.php?t=49089[/url]. Then declare
procedure AccessBank;
// Declare your bitmap here and name it optionbmp.
// This will not compile, but it will look like this:
optionbmp:= BitmapFromString(15, 12, 'beNpTl9FWJwEd2zGVJ' +
'MXEq6ebYggX0wRMQWQuVjZBBbhsRBbB6hc8ppHkQUwbSYhuAG8mot' +
'0=');
// Try making the bitmap as small as possible to reduce loading time.
begin // with FindBitmap to make it backwards compatible
if(FindColorTolerance(x,y,Bank,0,1,516,340,2)) then
Mouse(x,y,1,1,False);
Wait(300+random(200))
if FindBitmapTolerance(optionbmp,x,y,10) then // This will look for your
Mouse(x,y,0,0,true); // bitmap on the rs screen
wait(400+random(500))
writeln('Succesfully quickly opened your bank!');
end else
writeln('Couldnt find a banker, stopping.)'
End;
begin // IDK what you do in your mainloop, but I'm assuming that
SetupSRL; // it does what you want it to do :P.
Mouse(259, 13,1,1,true)
wait(300)
Mouse(676, 535,1,1,true)
Wait(300)
Mouse(706, 276,1,1,true)
AccessBank;
end.
Follow the instructions on http://www.villavu.com/forum/showthread.php?t=49089 regarding bitmaps and replace my bitmap code with the one you get dropped in your debug box. Then compile and run. It should work unless you messed something up :P.
Good luck![]()
Back to scripting.

Just make a small dtm of a part of that text.


Actually bitmaps are faster since a scar release(dunno which).
As far as I know.

I don't think so you see :
DTMs are simply x amount of points from a determined point (main point) at specefic locations of specefic colors.
Example :
x = main point
y = subpoints
While DTMs are just that, which is light since its only a few points, DTMs are manymanymany points :Code:y y y x y y y
yyyyyyyyyyyyyyyy
yyyyyyxxxxyyyyyy
yyyyxxyyyyxxyyyy
yyyxxxyyyyxxxyyy
yyyyxxyyyyxxyyyy
yyyyyyxxxxyyyyyy
yyyyyyyyyyyyyyyy
And all can be of different colors to specificate and locations.

It's not about how big they are.
And I know how they look like/work but thx for the explanation.
Also it really depends on how many points(for dtm)/how big bitmap you are using.
But usually bitmaps are faster if they are well made.
Someone how is sure please enlighten me!
Last edited by Sabzi; 12-17-2009 at 08:35 PM.
2Speced is a private server.
Woot woot.
Bitmaps are no more than 2-4 milliseconds faster than DTM's. I had a script that tested the difference.
~Camo
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
There are currently 1 users browsing this thread. (0 members and 1 guests)