[SRL 4][First Script] Power Miner by Scapian
Runescapian321
2008-01-06 09:24:38
Yay, my first script is ready to be released :D
I think it's longer than it should be, so if you see something that's unnecessary please tell ;)
Please post proggies and any bugs that you find!
FEATURESAutocolor
Antiban
Antirandoms
Pick Finder
Gas Finder
Multiplayer
SRL Stats (To use this script you MUST have it)
Pretty fast dropping
Works on any ore except clay and for addy and rune you need to put your own color (but who powermines addy or rune? :duh:)
To Be Added….Better finding when the rock is mined
Open to suggestions!
//This is my first script, a powerminer.Put your pickaxe in the first slot. If you are taking
//more than one pickaxe be aware that the least valuable one's heads might get lost.
//If you bring multiple pickaxes that are the same (like 2 rune picks) one's head might get lost
//Otherwise just fill in the info in lines 20-72 and you should be ready to go!
//****WARNING**** If you take 2 or more of the same most valuable pick, you might end up losing
//all except one (or none if the head finder fails :p)
//If the autocolor isn't working go to my 'AutoColor' procedure and change the colors
//(I haven't tested most of them) and please report to me that they weren't working
//If the best pick is lost, the script will stop
//If you have multiple picks, when the script says that it has fixed it, it's not 100% accurate
//Most likely this will not work on the rocks that are covered in the brown stuff
//Unless you change the colors in the AutoColor procedure
//Big thanks to Derek-, Method, Santa_Clause, and JackLKrawl for helping me fix errors and
//suggesting what functions I should use
//an even BIGGER thanks to Derek- for changing the password (and telling me it :p)
//of a char I had left in the script
Version 1 - First release!
Version 1.1 - Fixed some bugs and added a bit
Version 1.2 - Fixed a bug or two
The downloads….
Brenth
2008-01-06 14:12:02
Very nice script. Very organized and neat. Keep up the good work!
Runescapian321
2008-01-06 16:15:46
Ty Brenth :)
24 thread views and 7 downloads…1 response…. Cmon people post proggies or if it doesn't work post the errors… I'm getting ready to move this to Jr. Members…
Version 1.1 released!
fatboyblue
2008-01-06 20:08:50
looks pretty good, im about to try it
Runescapian321
2008-01-07 15:42:26
Alright, just don't forget to post a proggy ;) I'm in need of a good one.
EDIT: OMG… 40 thread views….12 downloads….2 responses?!?!?….
EDIT: *sigh* no responses, might as well go work on something else :(
sleepy
2008-01-07 23:44:22
u shud post it in the free for all scripts, more people go there you ll get a lot more responses
Runescapian321
2008-01-07 23:49:17
Quote from the sticky there
Only Admins and Moderators can make threads in this section. If you think your script should be in this section, PM either WT-Fakawi, Wizzup, Boreas, Starblaster100, Sumilion, Yakman, Tarajunky, Hobbit, nielsie95 or mastaraymond and we will judge whether we think your script should be moved to this section or not.
:( I don't believe that mine's good enough to be accepted
Daniel
2008-01-07 23:53:25
I see you finally posted this up :) No more script errors :?:
You had a lot of errors when you started, but good structure and standards ;)
And no, i can't post a proggy because my level 103 character got permanently banned. Sorry :(
K, I can't try it right now (going to sleep:( ) but when you say SRL stats Like do you mean stats on the board? or something else because I just went straight to SCAR from Sythe.org and Got Srl from that…
Runescapian321
2008-01-08 00:02:57
From: IP-Drowner
I see you finally posted this up :) No more script errors :?:
You had a lot of errors when you started, but good structure and standards ;)
And no, i can't post a proggy because my level 103 character got permanently banned. Sorry :(
Ty. Yup, I know that feeling, my 92 got banned and my 97 locked (and I can't manage to get it unlocked :() Which is exactly why I started scripting XD
Making the first script I suppose is the hardest, since you don't really know how to fix a common error and have to go searching for it or look through other scripts, then you don't know many functions yet so you have to ask others about it….Hopefully for my next script (like 70% done), which is a barb vill miner, I won't have too many problems (and I haven't, you can see that I haven't posted about the script yet :D, but the walking is starting to confuse me :p).
So, if anybody is discouraged by how hard the first script is, finish it, and maybe 1 or 2 more, and then it'll be smooth sailing (atleast I hope :p) from there.
EDIT:
From: goldrush655
K, I can't try it right now (going to sleep:( ) but when you say SRL stats Like do you mean stats on the board? or something else because I just went straight to SCAR from Sythe.org and Got Srl from that…
The link is in my script, after you go to the link, click register somewher eon the right and just follow the instruc. from there.
ok worked for 1 ore then said couldn't find pick after it said you have a steel pick about 50 times
Runescapian321
2008-01-12 16:38:02
I think it'll work now (I tested, it works for me).
Download version 1.2
Raskolnikov
2008-01-12 16:48:14
Okay good script, haven't looked at the script much but:
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
is obsolete. FindTalk now uses FindTPAinTPA. It is much faster than Bitmap Masks, which can be a tiny bit unreliable when needing to be fast. I will look a little bit more at the code…
Edit: Ah, you need to learn
standards.
Edit(2): You should also learn
case statements.
Runescapian321
2008-01-12 18:17:12
From: cut em2 it
Okay good script, haven't looked at the script much but:
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
is obsolete. FindTalk now uses FindTPAinTPA. It is much faster than Bitmap Masks, which can be a tiny bit unreliable when needing to be fast. I will look a little bit more at the code…
Edit: Ah, you need to learn standards.
Edit(2): You should also learn case statements.
So you're saying I don't need the CreateBitmapMaskFromText thing?
Standards - -.- Made waaay to many mistakes, I'll be sure to use them in future scripts
Cases - trying to put them in now :)
richman35_jr
2008-01-12 18:17:15
nice script prob gonna use it later:)
Runescapian321
2008-01-12 18:19:15
From: richman35_jr
nice script prob gonna use it later:)
If you never post here again I shall consider your post spam and debate whether I should report you or not….
'nice script' doesn't tell me anything. What's nice about it? Did it work well? Did you find any bugs? Post a proggy to prove it's 'nice'.
'gonna use it later' doesn't say anything either…If you're going to use it later, refrain from posting and after 'using it later' tell me how it went.
And that's to you too fatboyblue…
woodjedi
2008-01-13 14:21:37
Wonder if this was that script i used today… i used a number of scripts for mining and no1 went good for me… 1 was better when the others but still not to good.. the 1 i used (that was better) didnt drop the 8 last and didnt do anything be4 he had dropped all… he always missed em, or is this 1 of those that didnt start :P some text was wrong it always said
Coldfeet
2008-01-13 16:49:41
Well this is a good script i hope i learn how to do from this and im not ognna copy it, i want to make my own and need something to start with =)
Runescapian321
2008-01-13 19:49:01
@woodjedi
Yeah, mine was was messing up after mining one, I fixed that now, redownload. Mine might not drop all of them, but does that really matter? It's still mining/dropping at the same speed.
@Coldfeet
It's good to see a new member looking to learn to script :)
EDIT: Not a very good ratio in downloads to useful responses…
Daniel
2008-01-13 23:14:04
From: Runescapian321
If you never post here again I shall consider your post spam and debate whether I should report you or not….
'nice script' doesn't tell me anything. What's nice about it? Did it work well? Did you find any bugs? Post a proggy to prove it's 'nice'.
'gonna use it later' doesn't say anything either…If you're going to use it later, refrain from posting and after 'using it later' tell me how it went.
And that's to you too fatboyblue…
Woah! Temper :p
I just tested it and it is still running (been running for like 10 seconds), i will sure post a proggy after i am satisfied enough.
P.S. If the script is not working correctly for you (misclicking etc) then set your Runescape Brightness to level 4. Set computer colours to32 BIT or TRUE COLOUR.
I Rambozo I
2008-01-16 17:24:05
Hello Scapian,
I am very excited to check out your script but I guess I'll just have to wait for SRL Rev 10 to come out..
If you need someone for testing etc. I'll be your man. I was just really pleased to see someone with the balls to create a good powerminer and I think with the help of some good scripters and a good team of testers we'll be able to make this script a World Leader (well , we can start bij owning SRL ).
Rambozo.
Runescapian321
2008-01-16 18:29:05
Thanks Rambozo :) Yeah I really need a tester, no proggies yet…
Can't wait till Rev 10 (or SRL 5 whichever XD)
manager100
2008-01-19 02:03:16
nice script……
i like the useful info it gives ya, very helpful indeed
has the looks of a pro
gj all in all
gocanesx13
2008-01-20 22:10:21
i got the script to run, but my guy just stands there?
Runescapian321
2008-01-21 00:13:08
With the recent SRL update I don't believe it'll work, I'll update it soon but right now it's not working.
gocanesx13
2008-01-21 00:25:44
if you could that'd be great!
ParkaCarl
2008-01-21 01:31:47
what rev is this for?
gocanesx13
2008-01-21 13:16:34
runescapian, can you post when you get the update donw, and what version of scar does it currently run on?
rs2 cheating roks!
2008-01-21 17:59:16
Wow! your script is one of the only ones that don't give me any problems when i try to compile them.:) added reps.
will post proggie asap.
dillbagz
2008-01-22 03:07:30
when i press play it switches to my rs screen then does nothing whats going on?
dillbagz
2008-01-22 03:10:32
this is really anoying me i have 3 power mining scripts all of them do the same thing….. do you know what is happening?
dillbagz
2008-01-22 03:11:59
arrghhh i can't fix it……….grrrrrrr
Runescapian321
2008-01-22 06:44:43
Don't triple post.
Make sure your screen is on 32-bit True color, and make sure you have SRL 4 Rev #10.
I might not be updating this for a while since I'm very busy now :(
elf5380
2008-01-22 21:10:06
[admin]Dear User,
Your post count has been reset on account of your mass of spam posts. Please take the time to read this thread before posting again.

Sticky:
Attention Spammers and Leechers... 
RAM
Cheers,
Hobbit.[/admin]
great script, thanks for sharing with us
great start keep it up so i can use ur leet scripts plox
ffs tobad i was going to try, looked promising…
looks good, ill use it right away, ty for script :)
it works fine for me, autoing has never been so fun :)
well it sure looks usefull,ill be using soon
amazing script i can finally get my fishing up now, thanks alot :)
lol nice concept and fun to use to bad that the trade limits kinda make this outdated
yet another good script, dont know if i will be using much tho
very usfull ill be sure to be using as soon as i get on.
amazing script thnx alot for it m8
mabye i set it up wrong
it works well but some games i jsut stands to void knight and cant seem to find any monsters, it works well most of the time tho thnx :)
i r a leecher but i found it quite usefull
other than that it a great script! thx
this fight runner is working for me, thnx alot for it
this would helped alot @ v drags :Z mabye u could make it usefull for BH or somthing
it works fine for me but i dont think i could gte 99 anytime soon with this :Z
i think this woild work really well if you think about it, too bad im to much of a noob at scar to even try to make it :(
:O its genious
thanks it helped me figure out quite abit about includes, thnx :)
Runescapian321
2008-01-22 22:09:22
From: elf5380
great script, thanks for sharing with us
Does it work? If so post a proggy please.
If not say what's happening ;)
I thought this wouldn't be working after the update but I guess it is for some people. I'm going to update it when I have some extra time though.
polygonjim
2008-01-27 08:41:40
OK i'm sure i'm doing something wrong so can someone help me. I've filled in all the areas i was directed to fill in. I ran the script and it logged in for me and then didn't do anything else. It wasn't actually mining the rocks it just left me standing there. Can someone please help me
Demonhound
2008-01-28 12:30:15
Looks pretty good. I'll try it and post THE FIRST (:p) proggie, IF it works lol. :D|
EDIT: I got this error:
Line 592: [Error] (13219:1): Unknown identifier 'runawaydirection' in script C:\ etc.
Runescapian321
2008-01-28 15:31:09
*sigh* Guys please read the posts above. I haven't updated it for Rev 10 (tbh I didn't even look at the changes in Rev 10 yet). I'm busy now and don't have much time to script…
I'll probably have time to fix it in a few weeks or so…
Demonhound
2008-01-29 12:56:07
Ok, no problem :p. I'll check this thread regulary and i'll post a proggie (or at least try to :)) once its updated.
Brain
2008-01-30 17:13:15
I know that you are studying for lots for lots of tests and stuff, I'm kinda in the same boat :P college hits a damper on your video game time….so I'll cheat make my computer play my game for me :D
But I got an error while trying to run the script:
"Line 93: [Error] (12360:1): Unknown identifier 'NickNameBMP' in script"
I dont know what's going on, almost all the scripts I try seem to have some kind of error in them, maybe it's cuz I'm doing something wrong :S oh well, I'll figure it out eventually :P
Runescapian321
2008-01-30 18:03:50
From: Brain
I know that you are studying for lots for lots of tests and stuff, I'm kinda in the same boat :P college hits a damper on your video game time….so I'll cheat make my computer play my game for me :D
But I got an error while trying to run the script:
"Line 93: [Error] (12360:1): Unknown identifier 'NickNameBMP' in script"
I dont know what's going on, almost all the scripts I try seem to have some kind of error in them, maybe it's cuz I'm doing something wrong :S oh well, I'll figure it out eventually :P
Most scripts work with Scar 3.12, some with 3.13, almost none with 3.14. Also make sure you have SRL 4 rev 11.
icantsing4u
2008-02-02 00:17:58
Very well done, it was one of the first scripts I ran and makes me want more of SCAR :D
Jelloman
2008-02-02 00:52:47
i tried running your script, at first it didnt compile correctly and gave me a few "unknown identifier" errors, but after i omitted those lines from the script it seemed to compile nicely, i ran it for about ten minutes and it seemed ok, but it did log me out and said "Couldnt find the pick" even tho the pick was still in the first inv. slot and in perfect working condition…. the second time i ran the script things were a lil smoother (progress report below) after two inventories got logged out b/c of to many unsucessful drops? it also failed to detect gas
'Tried dropping the ore 30 times but failed, report this bug to Runescapian, terminating script…'
|\/\/\/\/\/\/ Power Miner by Scapian /\/\/\/\/\/\/\|
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
|\/\ We have done 2 inventories of ores so far! /\|
|\/\ We worked 15 Minutes and 36 Seconds/\/\/\/\/\/\/\/\/\|
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//\/\/\/\|
BTW great script, very useful/helpful!!
CrazyCow73
2008-02-08 16:16:12
Line 93: [Error] (12396:1): Unknown identifier 'NickNameBMP' in script C:\Program Files\SCAR 3.14\Scripts\downloaded\PowerMinerByScapian Version 1.2.scar
what should i do?
Edit: oh sorry i didnt see the other pages =P i fixed it now thanks
h4lofr3ak
2008-02-08 16:56:25
yes I got the same error its not you its the scripts,people need to update them a little more often.
Runescapian321
2008-02-08 17:10:03
OK….
Nobody post till I update it. Seriously, I have stated like 5 times that it's not updated and won't be updated for a while…
@h4lofr3ak
Learn to script and update them yourself if you really think so. And nobody said - "Am I doing something wrong?" so your comment of "it's not you" is completely irrelevant..
tbeck3r
2008-02-18 21:09:08
this was a good for your first script:p
Runescapian321
2008-02-18 21:19:05
Omg…
Did you read my last post that said 'Nobody post till I update it'?
Stop bumping this until I update it, otherwise noobs will keep saying 'It won't work' and I'll have to explain that it's not updated all over again…
EDIT: Btw, saying 'good script' and nothing else is spam
upalot
2008-02-19 20:31:59
I got a question does it have the most recent anti banning options?
Runescapian321
2008-02-19 22:02:42
OMG!
@upalot
Don't spam, your post count will probably be reset soon. (All your posts are spam)
And there haven't been any new anti-bans for a WHILE now.
STOP POSTING FFS!
coole8
2008-02-20 00:01:32
Great script, i will use this soon..
bubbagump
2008-02-21 04:40:16
Very clean and nice, but you should make it more automated…seeing as this is your first script, then AWESOME! Rep++
Just because I am new and ect. does not mean I am 3-years-old.
bugger0001
2008-03-22 16:32:31
Should the script still be up-to-date? Anyways I get the following error:
Failed when compiling
Line 432: [Hint] (10401:1): Variable 'OLDMS' never used in script C:\Program Files\SCAR 3.14\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
Line 93: [Error] (12360:1): Unknown identifier 'NickNameBMP' in script C:\Documents and Settings\Admin\Desktop\PowerMinerByScapian Version 1.2.scar
Runescapian321
2008-03-22 16:37:13
READ THE LAST 5 POSTS!!!
Its not updated, and won't be for a while.
pseudoclosed…
If a mod sees this close it please.
Starblaster100
2008-03-22 19:54:08
Closed on request