it still have some bug it didn't solve the gas problem and also stuck sometime out side the bank
Hope your releasing the new script soon. I now have another problem. After a while it will just be stuck beside the ladder in the mine and says cannot find rock colour.
I had to change this from my old one...?
Well guys since I hardly have time during the Week, I'll try to have a fixed and much better version by Saturday.
Sorry for the Inconvenience.
-Shermanator
Current Project: All In 1 Falador Script - 20% DONE
I will be waiting xD !!
I cant Wait
i know its gana kick ass!
<------------------------------------------------------------------------------>
Shermanators Guild Miner
<------------------------------------------------------------------------------>
Worked For : 1 Hours, 24 Minutes and 52 Seconds
Banked : 10 Loads
Banks per hour : 7
Total Ores Mine : 278
Coal Ores Mined : 200
Total Mith Mined : 78
Randomly Talked : 10 Times
NEW VERSION SHALL BE RELEASED TOMORROW!
STAY TUNED!
Current Project: All In 1 Falador Script - 20% DONE
Oh no! I'm going to die!!!!
Good Luck![]()
gona test right now seeing if it is better then the others
UPDATED TO 1.3!
Take a look
-Shermanator
Current Project: All In 1 Falador Script - 20% DONE
Well lets see here, a good guild miner without reflection. I'm happy!
SCAR Code:dtmMainPoint.x := 614;
dtmMainPoint.y := 92;
dtmMainPoint.AreaSize := 2;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 62965;
dtmMainPoint.Tolerance := 20;
dtmSubPoints[0].x := 614;
dtmSubPoints[0].y := 92;
dtmSubPoints[0].AreaSize := 2;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 62965;
dtmSubPoints[0].Tolerance := 20;
Main point tolerance should be 255 and the color should be a color that supports all colors. Why? Main point basically does nothing BUT it is the point where the mouse clicks on. The SUB POINTS are what's important.
You DDTM is set up wrong for the Bank. See here is the problem. The
'floor' (you called it a house!) is a large area, not to mention OTHER buildings have that color. And another is it can be inaccurate at times (meaning it will click off the bank.
What do i reccommend? Look at my... Oh right never released my guild miner ;p (Not my old one! IT SUCKS! IT was the time when i BEGAN learning.) Anyways, you should use the Bankers (NPCs) in the Mini-Map.
1. They never move.
2. Color never changes.
3. REALLY RELIABLE.
So you can use mine, no need to credit because EVERYONE made it, so no one is really original...
SCAR Code:begin
dtmMainPoint.x := 639;
dtmMainPoint.y := 94;
dtmMainPoint.AreaSize := 0;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 16711423;
dtmMainPoint.Tolerance := 255;
dtmSubPoints[0].x := 639;
dtmSubPoints[0].y := 94;
dtmSubPoints[0].AreaSize := 0;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 16711423;
dtmSubPoints[0].Tolerance := 255;
dtmSubPoints[1].x := 636;
dtmSubPoints[1].y := 103;
dtmSubPoints[1].AreaSize := 2;
dtmSubPoints[1].AreaShape := 0;
dtmSubPoints[1].Color := 195836;
dtmSubPoints[1].Tolerance := 10;
dtmSubPoints[2].x := 645;
dtmSubPoints[2].y := 103;
dtmSubPoints[2].AreaSize := 2;
dtmSubPoints[2].AreaShape := 0;
dtmSubPoints[2].Color := 195836;
dtmSubPoints[2].Tolerance := 10;
dtmSubPoints[3].x := 649;
dtmSubPoints[3].y := 103;
dtmSubPoints[3].AreaSize := 2;
dtmSubPoints[3].AreaShape := 0;
dtmSubPoints[3].Color := 195836;
dtmSubPoints[3].Tolerance := 10;
TempTDTM.MainPoint := dtmMainPoint;
TempTDTM.SubPoints := dtmSubPoints;
Result := AddDTM(TempTDTM);
end;
Study it a little.
Okay lets talk about the Guild. It's full of crowded rocks. YOU can't make a DDTM that can find the exact location of the (EX. Mithril Rocks). The rocks are just so bunched together that the DDTM will find a different location everytime. What do i recommend?...
SCAR Code:RadialRoadWalk(FindRockColor,....)
Thats right! Just keep walking untill your at the end of the guild.
SCAR Code:repeat
RRW(RockColor...);
Flag;
if (GetColor(...) = 6367) then
Break;
until (false);
Be clever. But trust me, this works. And also it wont get laggy.
Ok now lets learn about WHEN to activate a DTM. DTM's or Bitmaps don;t need to be activated at the beginning of the procedure... It can be act. anytime! So...
SCAR Code:DTM:= RoadDTM;
if DtmRotated(DTM, x, y, MMX1, MMY1, MMX2, MMY2)then
begin
MFNF...
end
else
//if it fails
begin
FreeDTM(DTM) //THIS YOU FORGOT~ ALWAYS FREE IT
Do failsafes...
end;
try
FreeDTM..
except
end;
So your wondering, why did you do try and except on freeing a DTM. Because if you ALREADY freed the DTM (Like on the fail safe) and you free it again, SCAR will exit the script and get an ERROR. So thats when
try
except
kicks in. It will try to Free the DTM, if it cant, it does nothing. Got it? So when you Free all the dtm at the end...
SCAR Code:try //add
FreeDTM(TheDTM);
FreeDTM(TheDTM2);
FreeDTM(ToBankDTM);
FreeDTM(ToBankDTM2);
except
end;
A FEW RECOMMENDATIONS:
When walking into the Mine, i recommend doing RRW all the way! Like you can use the Ladder (risky., but short.) or follow the road (accurate but long). DDTM ISNT always the best choice. I mean come on! Look around you RRW will own DDTM any day in a location like that.
Symbols can help you relocate yourself inside the mine, it may also help you to reach the mithril places.
when exiting the mines, RRW with Rock Colors all the way untill you find a ladder color. For example...
SCAR Code:repeat
RRW(FindRockColor)
until FindLadderColor
or GetColor(At the west tip) = black...
Umm.......I dont know, thats it, i hoped you learned alot.
@DeathScytex - Thank you for your imput, I have takenj into consideration most of the stuff you said. As for The not being able to make a DTM of the Mith Rocks, Which is kinda ironic, because thats what I did, And has never clicked some other rock. And about the using the Bankers are VERY RELIABLE, I found that the DTM in FindBank('Feb') often takes something else as the bankers or just doesn't find them at all about 25% of the time. Which is why I made my own DTM and since then, hasn't failed
Yes, I know its the HOUSE color, It is the same as the DTM in FindBank('feb') except that it has a subpoint of the bank floor color so that It won't take something else as the bankers.The 'floor' (you called it a house!) is a large area, not to mention OTHER buildings have that color.
Thank you for your imput!
-Shermanator
Current Project: All In 1 Falador Script - 20% DONE
This willll be my first scar script used in like a year :P
Hope it goes well![]()
Well in my script, i made my Bankers DDTM to find them in a more SPECIFIC area ;p
And, good job!
Just a quick proggie will post a longer one tommorow hopefully, im going to let run over night..
<------------------------------------------------------------------------------>
Worked For : 1 Hours, 21 Minutes and 8 Seconds
Banked : 10 Loads
Banks per hour : 7
Total Ores Mine : 270
Coal Ores Mined : 223
Total Gems : 3
Total Gasses Avoided : 4
Total Mith Mined : 47
Responded : 2 Times
Randomly Talked : 10 Times
Relocated : 5 Times
<--------------------_:^:_Individual Proggies_:^:_----------------------------->
# [-] Status [-] Coal [-] Mith [-] Banks [-] Location
0 True 223 47 10 Bank
<------------------------Please Post PROGGIES!--------------------------------->
Going to bed now so, hopefully good proggie in the morning.. I got a question, does it do a certain amount of loads then relogs?
There are currently 1 users browsing this thread. (0 members and 1 guests)