PowerMiner by pups v2.0
It's better than Wizzup?'s:p
Same setup as in Wizzup?'s script.
Run it only on "solid" rocks if you want it to act perfect ;)
(I suggest copper at Varrok East mine :))
leader
2006-06-06 15:49:30
I will try it out.
Basketben
2006-06-06 16:11:21
I just tried it, i found the only problem when mining iron is that when there was an ore on the ground my mouse would just hover over that ore, and would not realise it was not a rock. But when there were not ores on the ground it worked great.
mike2055
2006-06-06 16:30:42
I'm going to test this in a second for your but I expect great things.:D
A quick update, thanks to mike2055 for feedback.
shaunthasheep
2006-06-06 17:28:39
u should overhaul your guild miner. unless u dont have it. my laptops hardrive fail a day ago. and i still had it from kaitnieks . :mad:
mike2055
2006-06-06 17:41:27
I'm pretty sure i still have it :cool:
Krazy_Meerkat
2006-06-06 17:42:18
Just took a quick peek, script looks great :)
Don't quite agree with all of your standards, but I'm glad to see it's a small script which still packs a punch ;)
WT-Fakawi
2006-06-06 17:53:26
Haha. Yes, yes! Thats the way to do it. Clean code. I like that. No fooling around. Straightforward good clean old Russian Powermining. :D I bet there isnt a faster one around. Hopefully it wont get you banned though…..
Great code to study people!
Damn, cant find any criticism about this one. :D Erm…, Aaah, yes, one thing, pfew, but thats nothing really:
Replace Players[CurrentPlayer].Integer3 :=GetSkillLevel('mining'); with Players[CurrentPlayer].level[15]:=GetSkillLevel('mining');
But then again.. three lines below you do a GetAllLevels. So you already have it.
I like the way you handle NextPlayer. Never though about that fast FindPickHeadColor check. I will definately copy that :D
Hm…
That's not what I'm proud of :D
Did you run it? :) The point is I managed to trace the rock position thus gasfinding working perfect and detecting the moment when it's mined ;)
WhiteShadow
2006-06-06 18:20:12
Awesome functions. :)
WT-Fakawi
2006-06-06 18:25:44
No I didnt run it, but I can read your logic :D Your code makes perfect sense to me. But now I will run it and see…
Avaphi
2006-06-06 20:42:42
Ok this script is awesome !… Only time and progress reports will tell if it is better then wizzups.
Wizzup?
2006-06-07 16:05:21
Looks good,
Also, piv's gas still work…and I included piv gas
Rencuz
2006-06-08 09:32:46
I have 1 problem why my rs compu lagg when i run this script?
Wizzup?
2006-06-08 09:58:18
[sarcasm]I guess most of our comps are just too slow for pups' creations. :p [/sarcasm]
Try selecting a RuneScape window, and use the setup Wisely.
Also….
result := false;
Line 154, Aswell as line 132, Didn't you know that, whenever you start a function the result is automatically set to false? ;)
[sarcasm]I guess most of our comps are just too slow for pups' creations. [/sarcasm]
Well, that seems to be true because I'm making stuff for myself and I'm not limited with computer specification:D
Looks very nice. :)
I will have to try this sometime.
ub3r |<1||3r*1337*
2006-06-10 19:01:46
hey, if you are so good at this stuff(you are), mabye you could make a perfect gas finder in a plug in? that would make me have a yellow face looking like this —>:)
Also, i want to make plugins too. Teach me how to use Delphi 7!(i have it) and i'll grow 3 yellow faces!!! —–>:):):)
Go read plugin example…
Gas finder is perfect allready, by the way…
Wizzup, didn't you know that uninitialized variables is bad style?;)
ub3r |<1||3r*1337*
2006-06-10 21:48:43
Ok, here is the best progress report i got, until rick turpentine came up, it did nothing so i had to help it… and after that, it did nothing for a complete 5 minutes
***********************************************
Ores Mined and Dropped : 236
Worked for 36 Minutes and 54 Seconds
***********************************************
***********************************************
another report…
***********************************************
Ores Mined and Dropped : 299
Worked for 52 Minutes and 19 Seconds
***********************************************
EDIT: ok… here is the ' perfect ' gas finder report…
0% change.
0% change.
0% change.
0% change.
0% change.
0% change.
0% change.
0% change.
0% change.
0% change.
25% change.
32% change.
47% change.
36% change.
47% change.
31% change.
65% change.
49% change.
40% change.
41% change.
6% change.
0% change.
0% change.
0% change.
0% change.
0% change.
[B]133% change.[/B]
Successfully executed
it found the gas (133%) but then, IT DID NOTHING TO HELP IT!!!!!!!!!!!!!!!!! its like it actually wants to destroy my pickaxe…
renegadeandy
2006-06-13 13:17:28
yes! my script works for around 5 minutes average before a random event nails me and transports me darnit - will this script or a new powerminer with anti randoms be created?
Wizzup?
2006-06-13 14:38:29
From: renegadeandy
yes! my script works for around 5 minutes average before a random event nails me and transports me darnit - will this script or a new powerminer with anti randoms be created?
It already exists. Try my Powerminer.
Lorax
2006-06-14 18:31:55
I'm sorry that I'm so late for this thread.
You said something about tracking the rocks position.
In what matter of way. I read your script thus not finding any tracking part.
I would be pleased if you could pinpoint that section to me.
repeat
if FlagPresent then
t := GetSystemTime;
[b] x := dx;
y := dy;[/b]
if GetColor(79, 431) = 0 then
started := false;
if GetColor(109, 430) = 0 then
started := true;
[b] if not FindColorSpiralTolerance(dx, dy, OreColor, MSX1, MSY1, MSX2, MSY2, 5)[/b] or [b](Distance(x, y, dx, dy) > 10)[/b] then begin
if GetColor(79, 430) = 0 then
LastMined := GetSystemTime
else
writeln('lost ore');
exit;
end;
until GetSystemTime - t > 1500;
if (GetColor(440, 383) = 0) and (GetColor(34, 377) = 0) then
NoPick := true;
if not started then begin
writeln('didnt start mining');
exit;
end;
LastMined := GetSystemTime;
result := true;
x := dx;
y := dy;
repeat
[b] dx := x;
dy := y;[/b]
Wait(1);
FindPick;
if FindGas(DX, DY - 20) then begin
RunTo(RunDir, False);
wait(6000 + random(2000));
exit;
end;
if NoPick then
break;
FindNormalRandoms;
if FindFight then begin
Face('N');
RunTo(RunDir, False);
SetRun(True);
break;
end;
[b] x := dx;
y := dy;
if not FindColorSpiralTolerance(x, y, OreColor, MSX1, MSY1, MSX2, MSY2, 5)[/b] then
break;
until (GetSystemTime - LastMined > SecondsToWait * 1000) or [b](Distance(x, y, dx, dy) > 10)[/b];
I remember first post=p
2006-06-14 22:14:24
>.> I've gotten it to work great twice before this…
[Runtime Error] : Out Of Range in line 266 in script C:\PROGRAM FILES\SCAR 2.03\includes\srl\srl\core\Login.scar
Line 266: NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars); // Screenname
XxKanexX
2006-06-15 02:19:12
From: I
>.> I've gotten it to work great twice before this…
[Runtime Error] : Out Of Range in line 266 in script C:\PROGRAM FILES\SCAR 2.03\includes\srl\srl\core\Login.scar
Line 266: NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars); // Screenname
Probably something to do with the Player array. Did you set the player array?
By the way, a report if someone is interested.. (I don't know how people use it that it sucks for them:p)
[php]
***********************************************
Ores Mined and Dropped : 3031
Worked for 3 Hours, 56 Minutes and 8 Seconds
***********************************************
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
|
www.villavu.com/forums |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 4 |
| Fight Random
: 4 |
| Talking Random : 8 |
| Dwarfs Solved : 1 |
| OldMen Solved : 4 |
| Lamp Solved : 3 |
| Frog Solved : 2 |
| Capn Hand Solved : 1 |
| New Box Solved : 4 |
| Quize found : 1 | <—— Hehe, it works :P
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
[/php]
Avaphi
2006-06-15 03:05:34
Quick questions, How good does it run on non-solid rocks? Why does it run better on solid rocks?
Bad that's because of rock-tracing, their color is unstable when moving
Avaphi
2006-06-15 04:09:10
How long could you run it on one player, with one pic axe, in varrock west mining iron?
renegadeandy
2006-06-15 06:36:59
I can mine there for about 5 minutes before im transported over to the wizards tower :S:S:S:S:S very :@ very :@ anoying!
Roberty Bob
2006-06-15 07:45:19
I haven't used it much, but did test it the other day.
good: works quick and nice, always been a silent pups fan. :)
bad: just hovers over dropped ores regularly and also it missed picking up a head. only tested for 2 hours.
I remember first post=p
2006-06-15 11:41:22
Fixed it, but the only problem now is that it doesn't do the new welcome screen.
KyleGut3
2006-06-15 13:04:53
thats a quick fix, just go into the welcome screen and make your own bitmap. :).
I remember first post=p
2006-06-15 13:19:47
From: KyleGut3
thats a quick fix, just go into the welcome screen and make your own bitmap. :).
Then add it to the SRL include somewhere in core? Like SRL/SRL/core/login.scar?
mike2055
2006-06-15 20:30:39
From: renegadeandy
I can mine there for about 5 minutes before im transported over to the wizards tower :S:S:S:S:S very :@ very :@ anoying!
Are you sure you set your player nic? It used to happen to me all the time because i would forget.
Roberty Bob
2006-06-16 00:37:44
i remember first post
go to core/login.scar and put this as the the new BMP. :)
[PHP]
ClickHereToPlay := BitmapFromString(6, 3, '6510056510057F322255060155' +
'06016B1C096510056E20156510055506016510056B1C09FFFFFFF' +
'FFFFF6B1C09651005FFFFFFFFFFFF');[/PHP]
if that doesn't work use your own.
traitors
2006-06-16 05:46:13
WOW THIS IS A REAL NICE POWERMINER!!!on the downside it doesnt have enough character slots wanna add some more so it like 8 or something please?
From: traitors
WOW THIS IS A REAL NICE POWERMINER!!!on the downside it doesnt have enough character slots wanna dd some more so it like 8 or something please?
You really do have to wonder where these people come from :rolleyes: . You can add your own. Think about it and it will come to you
Roberty Bob
2006-06-16 08:49:50
lol @ Pyro…
We all started fresh sometime… my thing is.. I'm usually too proud to ask for help on some things… so I just play on my own to figure it out. :p
Lorax
2006-06-16 09:19:59
Okay pups :)
I have used something similare in a lot of my scripts.
CowKiller, Miner, Fisher.
It works really neat. Now I haven't actually runned your script, but I'm sure it works fine.
Concerning gas - I would suggest you used the FindColors method, afterwards one could find exact position of rocks and thereby finding the middle of the rock.
I have found that when using this method on rocks fx, it's not 100% stable but it could be if one found the middle of the rock.
I don't know if you're following me, and I don't know if it's necessary.
Just posting ideas of what I were to try out in the PowerMiner I planned to make.
Wizzup?
2006-06-16 09:44:34
Pups, about your report,
You mined 3000 Ores in 3 hours… thats more than 700 average… Did you mine iron?
If so, really neat, I only had my script doing an average of 600 Max.
No, copper:)
There is always enough of it
I remember first post=p
2006-06-16 13:43:21
This works so beautifully for me :D
I'll give you a large progress report soon enough :p
This is a great script pups. Very nicely done.
Here is a few reports, but this is using only one player!
Ores Mined and Dropped : 153
Worked for 31 Minutes and 31 Seconds
Ores Mined and Dropped : 73
Worked for 11 Minutes and 41 Seconds
Ores Mined and Dropped : 72
Worked for 14 Minutes and 14 Seconds
Ores Mined and Dropped : 154
Worked for 26 Minutes and 53 Seconds
I remember first post=p
2006-06-16 17:31:14
[Negative]Hey there pupsy, at 3 hours now… one got killed, one got owned by a sandwich lady. You need better is dead procs / functions. It wasn't able to tell when I had died. It also wasn't able to tell when I had like been tele'd 50 bajillion tiles away :D. [/Negative]
Woot, once I have to leave I'll edit this post with the progress report… which is sort of owning :)
EDIT:
***********************************************
Ores Mined and Dropped : 858
Worked for 3 Hours, 18 Minutes and 57 Seconds
***********************************************
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
|
www.villavu.com/forums |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 6 |
| Fight Random
: 2 |
| Talking Random : 3 |
| Rick Solved : 1 |
| OldMen Solved : 2 |
| New Box Solved : 2 |
| ScapeRune found : 1 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
huh26010
2006-06-16 17:40:42
Here's a progress report,
Ores Mined and Dropped : 382
Worked for 45 Minutes and 58 Seconds
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
| www.villavu.com/forums |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Talking Random[s] : 2 |
| OldMen Solved : 1 |
| Lamp[s] Solved : 2 |
| New Box[s] Solved : 2 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
This is one of the only power miners that works good on my system don't know why but great job.
Heres another one but only using one player again.
Ores Mined and Dropped : 149
Worked for 41 Minutes and 25 Seconds
The only problem I can see with it is that it hovers above the ore you have dropped instead of the actually rock so you don't start mining again until someone picks up all your ores or until they disappear.
Is there any way to solve this? :confused:
traitors
2006-06-18 00:15:59
removed.becuase i got flamed by all the nice ppl at SRL forums :mad:
WhiteShadow
2006-06-18 00:25:34
From: traitors
ok tested it and its a very nice script espically with gas find.I only have these problems
1,finding the ore to mine is pretty buggy and needs to be improved becuase for me it will sitt in one place if it cant find 4 sum reason and lag every 5 seconds then logout
2,your drop procedure is pretty bugged i suggest that u shuld put a bitmap in on "your inventory is to full…." and then make it use drop all function
part from that its works pretty well.gud job:D
1. That's only you
2. InvFull owns what you said.
Eludis
2006-06-18 01:24:54
*** EDITED FOR A REPORT :) ***
***********************************************
Ores Mined and Dropped : 1275
Worked for 5 Hours, 26 Minutes and 24 Seconds
***********************************************
Heh, kinda forgot to save randoms but rest assured, there were LOTS. Woke up with one in ScapeRune, boxsolving was still perfect, pinball random beat one of my players though…Tonight I'm adding another player to the mix to see what happens. Good job dude.
[spam] Lmao, traitors got pwned [/spam]
KyleGut3
2006-06-25 22:28:35
heres my report during a movie, ran into an issue [posted in SRL bugs section]
***********************************************
Ores Mined and Dropped : 872
Worked for 2 Hours, 2 Minutes and 21 Seconds
***********************************************
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
| www.villavu.com/forums |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 15 |
| Trade Made : 1 |
| Fight Random : 1 |
| Talking Random : 4 |
| Dwarfs Solved : 2 |
| OldMen Solved : 2 |
| New Box Solved : 3 |
| Pickaxes Attached : 0 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
looks great mine only doesnt find if i inf is full lol the problem should be with my pc or something i think or my srl …mmm
Eludis
2006-06-26 05:25:20
It should detect that…Does for me at least.
puregodfatha
2006-06-26 06:56:59
my progress report
***********************************************
Ores Mined and Dropped : 590
Worked for 2 Hours, 50 Minutes and 50 Seconds
***********************************************/~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
| www.villavu.com/forums |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 8 |
| Trade Made : 1 |
| Fight Random : 1 |
| Talking Random : 3 |
| Dwarfs Solved : 1 |
| SandWich[es] Solved : 1 |
| Capn Hand Solved : 1 |
| New Box Solved : 2 |
| Pickaxes Attached : 0 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
yea i think its my srl that doesnt work propper just downloaded again and it doesnt work with other mining scripts too so :S
Wenakko
2006-06-29 12:05:10
waay too laggy for my comp :(
Wizzup?
2006-06-29 13:09:30
Alright, I looked trough some stuff, and I don't understand this :
Why do you use -20?
if FindGas(DX, DY - [B]20[/B]) then
Because, GasCheck already makes a 20 x 20 size area to scan in ?
And maybe, read my post on my thread about the gasfinding, you might find it interesting aswell. :)
Roberty Bob
2006-06-29 15:50:43
my take…:)
he's just looking above the rock yeah… coz the gas is guanteed to be there… :)
sometimes the bottom 10-20 pixels of the rock are gas free… so if DX,DY are right at the bottom it will struggle to find it…
thats why i reckon he is doing it… could be wrong though.
t0tum
2006-06-29 16:48:28
From: King Keen
The only problem I can see with it is that it hovers above the ore you have dropped instead of the actually rock so you don't start mining again until someone picks up all your ores or until they disappear.
Is there any way to solve this? :confused:
I have same problem with this script. Played with oreTolerance, changed colors…nothing.
Yep, Bob is right…
To All:
I might improve current working version a bit (more user-friendly…) and release if you need it…
Wizzup?
2006-06-30 08:19:43
From: Roberty Bob
my take…:)
he's just looking above the rock yeah… coz the gas is guanteed to be there… :)
sometimes the bottom 10-20 pixels of the rock are gas free… so if DX,DY are right at the bottom it will struggle to find it…
thats why i reckon he is doing it… could be wrong though.
Doesn't he
move to rocks? means Dx,Dy will no longer function for GasChecking?
Please, read the code first?:)
The rock position is traced during movement…
Wizzup?
2006-06-30 10:04:24
From: pups
Please, read the code first?:)
The rock position is traced during movement…
Hm… Alright.. I'll have a another look. :)
Ruroken
2006-10-04 15:09:09
So, um, is this acctually better than Wizzy's?
Wizzup?
2006-10-05 09:36:55
From: Ruroken
So, um, is this acctually better than Wizzy's?
No, I also got my gaschecking to work months ago……
Ruroken
2006-10-05 15:05:41
knew it couldnt be better than Wizzy's :D. That script has done great things for me….
Wizzup?
2006-10-06 04:39:08
I personally think both the scripts are very nice, just too bad pups doesn't seem to update it anymore, so it will not have certian core SRL functions like FTWait.