Heavenguards Varrock East [Power]Miner + Banker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hey everyone, Im sorry to say that I am no longer going to update this script. Its not that im giving up, but as a first script, i believe I got all the practice I needed from it, and im going to move on. The script i have as 1.09 has a small bug while its walking to the mine which causes it to freeze. Even though I could just patch it quickly, I grow tired of constantly fixing one problem and uprising another. Its time that I put my skills to the test in another Script. So Thank you all who have downloaded it, I Thank those who have given me feedback [don't know how grateful I am for that stuff], and Thank everyone for helping me on this learning experience. I jammed quite a lot into my head while making this in December, I remember looking at code for the first time 3 Months ago and just wanting to learn more, and up to now, I believe the best things in life are Learned. Thank you all!
Script Status : Stopped / Outdated
I feel horrible for letting a lot of people down, I promise a much better script(s) in the future, things to be proud of, and that are worth membership. If anything, you can use the Powermining in my script, as I believe that works pretty good. Of course not as specific and specialed up like a PowerMinerSupreme, it offers the basic things. Once again, I promise much better scripts in my future.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------
- Make Sure Your SRL is Updated. [Open Dev]
- Place Character in Varrock East Mine, With Iron Ore Rocks in View.
- Keep PickAxe Equipped or in First Slot.
- Fill in Your SRL User # and Pass for SRL Stats. [If you Want]
- Fill out the Player Setup [DeclarePlayers], and Run!
- Make sure to Read my Things to Remember Located In this Post.
--------------------------
************************************************** **********
Things Done:
- Fixed WalkToBank Completely.
- Fixed WalkToMine Completely.
- Fixed Feedback Obtained [Thanks All!].
- Added Breaking [First Try, will Work on it, Be sure to Read Instructions].
- Added in Marks.
- Added Feedback.
- Added PowerMine Option. [Will be Upgraded after Mine_Ore gets its Upgrades, but it works]
- Added Things needed in Progress Report.
- Added in More Time for the Script to get to the Mine [ 30 more Seconds ].
- Added Marks to Mining Function
- Fixed EnterMiningArea Function so it works a little more better.
- Added Better Dropping for PowerMining.
- Fixed EnterMiningArea Bug.
- Added Pick Detection [Just to see if you have one equipped or in your Bag.]
- Added SRL Stats!
- Fixed WalkToMine A little more.
- Fixed Locations to be a Little more Precise.
- Tweaked Find Symbol So it doesn't Fail.
- Added AutoLogin! [Make Sure to Read Things To Remember]
- Added Much Better Random Detection.
- Added in a Variable for AutoLogins in Progress Report.
- Fixed WalkToMine Error for Member Worlds.
- Fixed Only Error in WalkToBank.
- Added Very Small Wait in AutoLogin to increase accuracy.
- New Version of WalkToMine, Now uses TPointArray Walking.
- Tweaked Mine_Ore.
Known Errors:
- False AutoLoggin. Script May think Character is not Logged In [May due to Lag/Misc Reasons].
Things To Come This Week:
- Going to Fix the AutoLogin Bug.
- Going to add a quicker way [using TPA's] for the Script to Speed up at the Intersection while Walking to Bank.
************************************************** **********
************************************************** **********
Explanation on Setting up Declare Players.
SCAR Code:begin
Name := ''; Characters Username.
Pass := ''; Characters Password.
Nick := ''; 4 Letters Not capitalized in Characters Username.
Active := True; Leave as True if you plan on Using this Character.
Pin := ''; Bank Pin #, Leave blank (' ') if you dont have one.
Booleans[0] := False; Are you a Member? False for Non-Member, True for Member.
Integers[0] := 19; World you want to log into. The World Set here will be used for All Characters.
Booleans[1] := True; Signed Client? True for Yes, False for No.
Booleans[2] := False; High Detail? Not Recommended. False for No , True for Yes.
Integers[1] := 5; Loads to Bank. [Mine and Bank].
Integers[2] := 10; Loads to PowerMine. [Mine and Drop]
Integers[3] := RandomWait; Time to Wait before Mining another Ore. You can put in the Time [In Seconds] in Place of RandomWait.
----------------------
Now for the Breaks.
----------------------
Booleans[3] := True; Want This Charcter to Take Breaks? True for Yes, False for No.
Integers[4] := RandomBreak; Break Time [In Minutes]. You Use RandomBreak for a Randomized Amount.
Integers[5] := 6; Chance that the Script Will Take a Break.
end;************************************************** **********SCAR Code:-Things to Keep in Mind.
AutoLoginMark = 3;
- Found under Constants.
- This is for AutoLogin, Place [In Minutes] how Long the script should wait before logging in after getting Disconnected.
The SRL Stats is just an Overall Proggy on the Script, Use it to Keep Track.
- Shows Loads Banked / Dropped.
The Script Checks for the PickAxe once per each Character :
- I was told Gas Detection No Longer Exists [Due to Legit Players Braking there Axes]. So no need to check each time.
- If the PickAxe is not found in the Inventory at all, and the pickaxe is not equipped, that player does not continue.
The Script PowerMines First. Then it does its Mine + Bank Quota.
The Script will try to Take a Break right when it gets a Full Inventory.
Integers[4] := RandomBreak;
RandomBreak chooses a number between 1 and 79. So the Maximum Break Time would be ~79 Minutes.
You can put in the Break Time [In Minutes] in place of RandomBreak if you want.
Integers[5] := 6;
So Heres how this Works.
100 / Integers[5] = Chance to take a Break.
100 / 1 = 100%. Which means the Script will always take a Break.
100 / 2 = 50%. Which means the Script has a 50% chance to Take a Break.
100 / 3 = 33.3%. Which means the Script has a 1/3 chance of Taking a Break.
100 / 4 = 25%. Which means the Script has a 1/4 chance of Taking a Break.
- First time making a Break system lol, trying the best that I can.
************************************************** *******
Heres a Quick Proggy. Will post my Proggies in posts for now on. Please do the same. I will hang up the nice ones
Auto Stopped : Click North Bugged on Me XD, Going to use Statics For that Function. It Right clicked the Compass right after Banking, but Never clicked the Option to Face North =[SCAR Code:Heavenguards V.E. Miner + Banker
Version: 1.06
SRL / Villavu
Progress Report
------------------------------------
Time Running: 2 Hours, 18 Minutes and 37 Seconds
Current Player: 0
Location: Walking to Mining Area
Power-Mining?: False
Loads to Bank: 10
Loads to Drop: 15
Loads Banked: 6
Loads Dropped: 15
Breaks Taken: 5
Total Break Time: 20 Minutes and 0 Seconds
<Feedback>
Tip: Time Exceeded(30 Seconds) for Walking to East Gate Intersection [CheckPoint 1], WalkToMine, Forced Path 2.
Error: Time Exceeded(100 Seconds) for Walking to Mining Area [CheckPoint 2], WalkToMine, Terminated Script
************************************************** *******
First Script, trying to make it the best as I can! Be sure to post a Progress Report whenever you feel like, it should explain why the script Errors (if it does)
Hope I don't disappoint you.
Views on the Attachments
VE Mine+Banker.scar (12.1 KB, 7 views)
VE Mine + Banker V 1.02.scar (15.7 KB, 1 views)
VE Mine + Banker V 1.03.scar (21.6 KB, 4 views)
VE Mine + Banker V 1.04.scar (21.8 KB, 14 views)
VE Mine + Banker V 1.05.scar (34.5 KB, 6 views)
VE Mine + Banker V 1.06.scar (36.9 KB, 13 views)
VE Mine + Banker V 1.07.scar (48.0 KB, 8 views)
VE Mine + Banker V 1.08.scar (56.5 KB, 6 views)






.

Reply With Quote












Anyways, nice work on the script.




