SRL Archive - Help and Support

New Guild Miner


Ranger135xp

2007-12-02 18:24:54

hi everyone, long time no chat.

if you look in my sig, you see the first banner for the guild miner I never released. It worked fantastically for me when I had it.

Nowadays, with the new SRL 4 and SCAR being up-to-date and RS changing it's framework, my miner sadly does not work anymore.

Today, I decided to make a new one, which is also compatible with SS, and actually for SS only. I was waiting for SS to come back onto the cheating scene.

Now, I have made this guild miner, based off of the framework of my last one, and the gas finding is 100%. I only need a couple things though.

I need help on how to register my script in SRL and adding the stats updating functions to the script. So if any of you awsum scripters would help me, I would love to share this script with all members.

thanx again

Harry

2007-12-02 18:32:22

Here I got this awesome Stats tut. http://www.villavu.com/forum/showthread.php?t=11113?t=12413

Ranger135xp

2007-12-02 19:26:33

thanks, i'll check it out when i can.

i have another problem.

the script used to use DTM3Flag(); but that was deleted.
in the new DTMFlag(), the dtm is of the TinegerArray type.

how do i set this up so it searches for all 3 dtms then?
this is what i have:

var Bankers:TintegerArray;

Bankers[0]:=FB1;
Bankers[1]:=FB2;
Bankers[2]:=FB3;
begin
FFlag(1);
DTMFlag(xb,yb,Bankers,True);
FFlag(3);
end;
Players[CurrentPlayer].loc:='Falador';
end;
FB1-3 are the DTMs of the bankers.
This method i have there doesnt work, it gives me an "Out of Range" error

I also noticed that FindBitmapsProgressiveTol(x,y,MapOres,118,0,5,587,41,705) does the same thing with where the old 5 bitmaps used to go, now u have to use a TintegerArray type. that one did not work either ;)

Special Ed

2007-12-03 18:09:25

From: Ranger135xp
thanks, i'll check it out when i can.

i have another problem.

the script used to use DTM3Flag(); but that was deleted.
in the new DTMFlag(), the dtm is of the TinegerArray type.

how do i set this up so it searches for all 3 dtms then?
this is what i have:

var Bankers:TintegerArray;

Bankers[0]:=FB1;
Bankers[1]:=FB2;
Bankers[2]:=FB3;
begin
FFlag(1);
DTMFlag(xb,yb,Bankers,True);
FFlag(3);
end;
Players[CurrentPlayer].loc:='Falador';
end;
FB1-3 are the DTMs of the bankers.
This method i have there doesnt work, it gives me an "Out of Range" error

I also noticed that FindBitmapsProgressiveTol(x,y,MapOres,118,0,5,587,41,705) does the same thing with where the old 5 bitmaps used to go, now u have to use a TintegerArray type. that one did not work either ;)


  for i:= 0 to 2 do
begin
FFlag(1);
if(DTMFlag(xb,yb,Bankers[i],True))then Break;
end;
Players[CurrentPlayer].Loc:= 'Falador';

Is that what you want, it took look for all three and then when it finds one it will click it and move on? Also the FFlag after DTMFlag won't do anything xD