SRL Archive - Discussions and Debates

SRL 3.7 stuff it?


rkroxpunk

2007-04-30 10:21:19

Well I have my walking script which was working absolutely sweet and then I installed SRL 3.7. It does 8 RW procedures before it starts looking for the ore and atm it only does 4 of them. No matter what I add it only does 4 of them and screws the script royally.

procedure BankToMine;
var TempMouse: integer;
begin
Activateclient;
wait(1000 + random(300));
if not (LoggedIn) then Exit;
TempMouse := MouseSpeed
mousespeed := 7 + random(3)
makecompass('N');
HighestAngle;
wait(500 + random(750))
Setrun(false);
gametab(4);
MouseSpeed := TempMouse;
Roadcolor := FindRoadColor;
wait(500 + random(200));
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
Roadcolor := FindRoadColor;
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 39, 72, 70, -1, 0);
wait(2000+random(800))
fflag(0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 78, 100, 66, -1, 0);
fflag(0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 168, 131, 62, -1, 0);
wait(1700+random(800))
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 195, 145, 58, -1, 0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 191, 157, 62,-1, 0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 189, 153, 58, -1, 0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 188, 139, 60, -1, 0);
if not (FindMMColor(x, y, RoadColor)) then RoadColor := FindRoadColor;
RadialRoadWalk(RoadColor, 195, 148, 60, -1, 0);
FFlag(0)
If FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2) Then
begin
Mouse(x, y, -1, 0, true)
FFlag(0)
SetRun(true)
Exit;
end;
if (not FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2)) Then
begin
RadialRoadWalk(RoadColor, 196, 148, 50, -1, 0);
If FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2) Then
begin
Mouse(x, y, -1, 0, true)
FFlag(0)
SetRun(true)
Exit;
end;
if (not FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2)) Then
begin
RadialRoadWalk(RoadColor, 196, 130, 40, -1, 0);
If FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2) Then
begin
Mouse(x, y, -1, 0, true)
FFlag(0)
SetRun(true)
Gametab(4)
Exit;
if (not FindColorSpiral(x, y, RockColor, MMX1, MMY1, MMX2, MMY2)) Then
begin
Logout;
Exit;
end;
end;
end;
end;
end;

EDIT: Confirmed I just ran it with SRL 3.6 installed and it worked like a charm so what memo did I miss. What procedures aren't working in here?

ub3r |<1||3r*1337*

2007-04-30 16:33:05

Try taking out the procedure(s) that you need in 3.6, and put it in your own script.

tarajunky

2007-04-30 17:43:23

One of the bug fixes in 3.7 was to update the MMCX and MMCY values. This probably altered the measurements out from the center of the minimap used by RRW.

This may be the cause. Try changing the MMCX and MMCY in Globals.scar to match 3.6 and see if it fixes it.

rkroxpunk

2007-04-30 20:08:59

hmm ok thx will try but wouldn't that mean everyone else would have to edit there globals file? and Im assuming u mean change MMx1 MMy1 etc.

Smartzkid

2007-04-30 20:17:34

Nope…

MMCX and MMCY are what was changed. Not MMX1, MMY1, MMX2, MMY2

rkroxpunk

2007-04-30 21:16:19

oh MM centre point right? I don't even use that….but I'll check 3.7 to see if it's something dif now

Boreas

2007-04-30 22:28:07

Fixed mmcy from 86 to 83


RRW uses 84, so IDK.

Wanted

2007-05-01 16:04:25

  Roadcolor := FindRoadColor;


Could it have something to do with that?

rkroxpunk

2007-05-02 22:50:59

err what's wrong with that??

Pentti

2007-05-03 04:18:36

RadialRoadWalk doesn't work for me either in SRL 3.7.
I reinstalled SRL 3.6 and now it works.

rkroxpunk

2007-05-03 08:12:40

*sigh* any idea if the devs no about this and if they are fixing it?

WT-Fakawi

2007-05-03 08:27:25

From: rkroxpunk
*sigh* any idea if the devs no about this and if they are fixing it?


SRL 3.7 was designed for SCAR 2.03. It is in fact the last SRL for SCAR 2.03.

We are currently working on a new SRL for DIVI

rkroxpunk

2007-05-03 10:38:55

mmmm I know that but wondering if you're fixing the RW thingy? btw any idea how long till 4.0? I can't wait….except for all the updating i'll have to do :s