ub3r |<1||3r*1337*
2006-06-15 19:33:27
SRL
Rimmington Iron Miner
Banker, or Powerminer
[BETA VERSION]
[LEFT]Srl Version Info : BETA 1 [release]
BETA 1.1 [ Small Runtime error fix]
BETA 1.2 [ SCRIPT NOW AVAILABLE FOR POWERMINING! ]
Purpose: This script will Go to rimmington, mine iron, and if chosen by the user, will bank or powermine.
NOTES: not reccomended for powermining, because it wont make that player, if it screws up, inactive, therefore, it may get you banned. Next version may have this feature.
Instructions: 1. Use Regular runescape client
2. Use 32 - bit screen resolution
3. Drag crosshairs to the game
4. Push Play!
Set up position: You must go into the western-most bank slot and make your minimap's buildings be exactly straight.
ERRORS: No errors
RadialRoadWalk; is screwed up, Waiting for it to be fixed…
Post the progress reports given in the debug menu, if it shows.
Post ALL errors. I will update this script as much as possible. Post even walking bugs.
Tested on SRL version 2.3
WARNING! READ! : I cannot test this script. Only because of a stupid runtime error for me. Test the script, tell me what is wrong with the walking, and i'll fix it.
[/LEFT]
Avaphi
2006-06-15 20:23:00
Nice job ! I will definetly be back with a progress report ;)
ub3r |<1||3r*1337*
2006-06-15 20:25:40
You mean… The runtime error did not come? how inconvinient for me…
Roberty Bob
2006-06-16 00:34:04
testing now!! will edit with some results. ;)
edit number1:
getting runtime error…
[Runtime Error] : Out Of Range in line 344 in script C:\Program Files\SCAR 2.03\Rimmington Miner by Ub3r k1ll3r.scar
It must be something to do with the player arrays… I'll try to figure it out, but anyone else who knows… please help.
edit number2:
I fixed the [runtime error]… you were missing the DeclarePlayers;…
I also moved the current player declaration assignment statement as shown.
[PHP] SetupSRL;
SetupSRLMining;
DeclarePlayers;
CurrentPlayer:=StartPlayer;
WriteLn('Loading, Please Wait');
if (Banking = True) Then[/PHP]
I changed this for SRL consistency.
[PHP]const
StartPlayer = 0; [/PHP]
Now I'm working on the road finding procedure, it just moves my cursor way off the screen currently…
edit number3:
This is the problem piece of code, trying to fix.
[PHP]While RadialRoadWalk(RoadColor, 270, 180, 47, x, y) do
begin
repeat
if ( FindColorSpiralTolerance(x, y, 6978949, 634, 101, 663, 139, 30)) then
duh:= True
duhy:= Getcolor(x, y);
Until(duh = True)
end;
[/PHP]
mastaraymond
2006-06-16 05:58:07
I'll try to test this script when i got time.
traitors
2006-06-16 09:18:45
i get this error
Script Will Now Start
[Runtime Error] : Out Of Range in line 338 in script C:\Program Files\SCAR 2.03\Scripts\RIMMINGTON ORE MINER.scar
looks like an awsome script shame it doesnt work any ideas on how to fix?
ub3r |<1||3r*1337*
2006-06-16 15:02:29
I am releasing a new version (BETA 2). The runtime error will be fixed. the BETA 1 was just to release it without fixing any bugs. BETA 2 will have these new Fixes:
1. Fixed walking, to make the script useable.
2. Better control
3. Runtime error will be gone
4. I will be able to Test the script to make constant updates
Remember, this current version Is only to show what i did so far. Do not think i released a Bad script. It will be updated until i have much more work to do (i'm not a multi tasker).
BETA 2 release date: Whenever the RadialRoadWalk; function is fixed
Avaphi
2006-06-16 15:55:47
Bro, Here is what the problem is… There is an error with radial walk, thats why you get the error. Its srl, not your script. I know this, because I was talking to wizzup about his Iron/miner banker script, and he said he wont release it until the RRW error gets fixed. So… You got a few options, Use a different walking technique, Or just wait for them to fix RRW.
Best Walking Technique Besides RRW:
Awalk2- Starblaster100
http://82.92.130.193/forums/showthread.php?t=1987~~~
I actually like this better then radial road walk, It is easier to use, and its easy it just keep adding code to it, I bet I could put a walking script together with this procedure and I could prolly walk across all of rs :p
ub3r |<1||3r*1337*
2006-06-16 20:48:16
Whats wrong with RadialRoadwalk by the way? why is it making SCAR uncontrollable?
Avaphi
2006-06-16 23:03:23
I am not sure on the exact reason. but it has something to do with bitmap canvas copy, or something.
Roberty Bob
2006-06-17 05:09:37
I'm certainly not worried about any little bugs… thats the whole reason you called it a "beta" right… :) no one should demand bug-free BETA version!!
I don't mind debugging for you if you are time pressured, it's a key part of making a script and I like to be able to help. we should be able to help debug for each other.
—–
I agree about radial walk… it's definately glitchy… I did some loop testing and got your miner to walk from the bank out of fally several times… but it clicks where I have not given it permission in radial boundries etc. IMHO though, radial walk may never be the best solution to get out of fally…
my idea:
1) use river-road dtm's / other DTM's to go to south gate fally.
2) there is always a certain little patch of unique color transition there between the two road colors which you could walk to on the minimap when detected with tolerance…
3) fire up radial walk for the rest of the way to rimmington.
4) reverse to return to bank.
Cheesehunk
2006-06-17 16:23:24
To walk out of Falador, I definetly suggest using LinearRoadWalk until you get out.
traitors
2006-06-17 19:59:53
man looks like u did alot of work man but this script is real buggy for me
1,when im in bank it clicks random in the garden not in the road
2,when im in mine it just freezes
couldnt get it workn past that.But no worries i havnt found one working script for me in SRL forums and its getting pretty depressing and annoying *sigh* just have to keep looking.
WhiteShadow
2006-06-17 20:06:27
All Fawki scripts are garanteed to work great, if not flawless.
Rams89
2006-09-14 18:27:08
Unknown identifier 'RunAwayDirection
any help with this?