http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
Read this tutorial before u start scripting http://villavu.com/forum/showthread.php?t=58935
Explains the basic of pascal very well! (and what ya need to know to script)
Creds to DannyRS for this wonderful sig!
I have done like twice..
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
Simba Code:[Error] C:\Simba\Includes\SRL-OSR/SRL/core/text.simba(805:13): Unknown identifier 'UpChars07' at line 804
Compiling failed.
I did that now i get this error grrrrrrr
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
ok sorry my bad
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
FindColorsSpiralTolerance(MSCX, MSCY, TPA, YourColorHere, MSX1, MSY1, MSX2, MSY2, Tolerance);
how "safe" would you say it is clicking on an NPC's head every time? im trying to find a reliable solution to replace my
Simba Code:if FindObjCustom(jx, jy, ['omp', 'tition'], [judgecolor1, judgecolor2, judgecolor3], 5) then
begin
MMouse(jx,jy,0,0);
if IsUpTextMultiCustom(['omp', 'tition']) then
begin
ClickMouse2(mouse_left); //talk-to
judgefindtimer := 0;
writeln('');
DrawCustomPaint('Starting Competition', IntToStr(competitionsplayedcount), FloatToStr(expgained), IntToStr(ticketsgained), IntToStr(ctw), TimeRunning, FloatToStr(expperhour));
end;
end;
*jx,jy is MSCX,MSCY*
so it stops missclicking and attacking the nearby NPC's with the same colors- which i dont get why it does because the uptext doesnt match, only the color
View my OSR Script Repository!
Botted to max
Guides: How to Report Bugs to the Scripter
~~~~ Moved to Java. Currently Lurking ~~~~
adjust tolerance?
http://www.youtube.com/user/YoHoJoSRL
Good scripting guides on youtube
Formerly known as (djcheater)
View my OSR Script Repository!
Botted to max
Guides: How to Report Bugs to the Scripter
~~~~ Moved to Java. Currently Lurking ~~~~
Is it possible to use more colours?
Edit: nice tutorial + repped
Nice tutorial, @Nemesis3X!
However, I noticed that SetToleranceSpeed2Modifiers() was missing from the code's - only ColorToleranceSpeed() (which is SetColorToleranceSpeed() in Simba) was set.
Looks like Nemesis3X has been inactive for months though, so it might take a while to get this tutorial updated/fixd. :\
Anyone know what my problem is here? When I run the script trying to teleport for rune mysteries, the mouse moves very slow and when it touches the head of Aubury, it just stops the script and doesn't right click.
program TestTeleport;
{$DEFINE SMART8}
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
Function FindAuburyAndTele: Boolean;
Var
TPAA: T2DPointArray;
TPA: TPointArray;
CTS, I, Retry: Integer;
X, Y: Integer;
Begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 11908799, MSX1, MSY1, MSX2, MSY2, 7);
ColorToleranceSpeed(CTS);
TPAA := TPAToATPAEx(TPA, 5, 5);
SortATPASize(TPAA, True);
For I := 0 To High(TPAA) Do
If GetArrayLength(TPAA[i]) > 5 Then
Begin
repeat
inc(Retry);
MiddleTPAEx(TPAA[i], x, y);
MMouse(X, Y, 3, 3);
if (IsUpTextMultiCustom(['ubury'])) then
Begin
Result := True;
GetMousePos(X, Y);
mouse(x, y, 3, 3, false);
wait(100 + random(200));
ChooseOption('elep');
wait(5000 + random(1000));
Break;
End;
until (Retry = 7);
Break;
end;
end;
begin
FindAuburyAndTele
end.
Also how do I insert a simba code so the text is better?
FindAuburyAndTeleTest.simba
I got this same thing when trying to run a script that wasn't mine but I found a thread that fixes this.
http://villavu.com/forum/showthread.php?t=99577
Umm... I don't use the "ActivateClient;" but it opens up a new client each time. It's probably from the smart8. Here's what I use:
FindAuburyAndTeleTest.simba
There are currently 1 users browsing this thread. (0 members and 1 guests)