SRL Archive - RS3 Outdated / Broken Scripts

Rimmington Tele-Banker [F2P]


Runaway

2012-02-17 23:56:01



Runaway Presents:

Rimmington Tele-Banker

BETA
—————–
|= Version: 0.75 =|
—————–
Status: Unknown
Last Updated: 8/22/2012
Works after Rimmington update!


Description
This script mines any ore at the Rimmington mine. It uses the unlimited teleports supplied by the dungeoneering ring and the clan vexillum to bank and return to the mine.

How to Use
1) Fill out the setup.


const
OreToMine = 'iron'; // Valid choices: copper, tin, iron, clay, gold
UserPin = ''; // Leave blank if not using a pin
TimeToRun = 360; // Minutes to run the script for (0 to run until stopped)
HopIfTaken = False; // True to hop worlds if the spot is taken
PickupDrops = True; // True to pickup ores on the ground
UseRest = True; // Rest when low energy

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

with Players[0] do
begin
Name := ''; // Player username
Pass := ''; // Player password
BoxRewards := ['XP', 'ostume', 'mote', 'oins', 'une', 'ssence'];
LampSkill := Skill_MINING;
Active := True;
end;
end;

2) Place your character anywhere.
3) Equip:
–> Clan vexillum
–> Ring of kinship
4) Have a pickaxe in the first slot of your inventory.
5) Hit run!

Additional Info
-> This script works best if the player is in an empty world.
-> The PickupDrops option currently does not prioritize picking up dropped ores. It will only pick up ores on the ground if it accidentally clicks on them.
-> The script will only run for 1 load if the TimeToRun const is set to an unreasonable amount (9999+). Be sure to set it to 360, 720, etc.

Top Reports
-> Shaddow!
 Runaways                                 v0.42!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 8 Hours, 36 Minutes and 4 Seconds
| Ores Mined: 3223 iron
| Banked: 140 loads
| Mining XP gained: 112805 XP
<=---------------------------------------------=>

Runaways v0.42!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 6 Hours, 41 Minutes and 41 Seconds
| Ores Mined: 2497 iron
| Banked: 107 loads
| Mining XP gained: 87395 XP
<=---------------------------------------------=>
-> ncore!
 Runaways                                  v0.7!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 6 Hours, 25 Minutes and 50 Seconds
| Ores Mined: 1758 iron
| Banked: 68 loads
| Mining XP gained: 61530 XP
<=---------------------------------------------=>

-> Nuncatsji!
 Runaways                                 v0.42!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 6 Hours, 1 Minutes and 41 Seconds
| Ores Mined: 2130 iron
| Banked: 76 loads
| Mining XP gained: 74550 XP
<=---------------------------------------------=>

Runaways v0.42!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 6 Hours, 1 Minutes and 16 Seconds
| Ores Mined: 2540 clay
| Banked: 96 loads
| Mining XP gained: 12700 XP
<=---------------------------------------------=>

Current Bugs
-> If the daemonheim teleport places the player too close to the steps it will screw up when walking to the bank. The script will fix itself after 15 seconds though. (happens ~1 in every 50 or so teleports)
-> May not recognize the NPC dot color which will throw off walking.

Bug Fixes
-> If you come across this error message:

ERROR: NPC color not found! See thread for fix.
You've come to the right place. First, navigate to the DeclareColors procedure, which is inside the script setup area:
 
procedure DeclareColors;
begin
// Only update if NPCs cannot be located \\
NPC := [2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];
The NPC array is the one you want to add a new color to. To do this, go back to your browser, click on the color picker tool in Simba, and select the yellow color of the NPC dot with it. The color you chose will show up in Simba's debug like this:

Picked colour: 225126 at (1216, 209)
Take the color and add it into the NPC array as the first color:

NPC := [225126, 2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];
Now you should be able to run the script with no issues! Be sure to post the color you've found on this thread so that it can be added to the official version of the script!

Future Updates
(Please make suggestions!)
-> None

Update Log

[B]v 0.75[/B]
- Works with latest Simba
- Implemented PickupDrops option
- Fixed iron ore colors
[B]v 0.7[/B]
- Massive NPC color revamp
- Rewrote a bunch of functions
- Improved walking function
- World hopping support!
- Faster mining / better recognition
[B]v 0.6[/B]
- Beta, finally!
- Fixed various bugs here and there
- Fixed bank walk mispositioned error
- Improved mining process
[B]v 0.5[/B]
- Condensed a TON of code
- Changed over all DTM's to new TPA function
- Flawless walking!
- Rewrote/optimized some functions
[B]v 0.42[/B]
- More calibration
- Walking slightly improved
[B]v 0.4[/B]
- Improved timing
- Better banking
- Better progress report
- Added compass calibration
[B]v 0.32[/B]
- Fixed a banking bug
- Fixed DTM bug
- Added energy management
[B]v 0.3[/B]
- Better progress report
- More antiban
- Faster mining
[B]v 0.25[/B]
- Improved banking
- More failsafes
[B]v 0.2[/B]
- Failesafes, failsafes, failsafes!
- Improved banking
- Made mining more random
[B]v 0.1[/B]
- Initial release

Er1k

2012-02-18 01:40:22

I had a script that does exactly the same thing :) Bye iron prices, bye my spot in rimmington

Runaway

2012-02-18 09:24:14

From: nosaj.421
I had a script that does exactly the same thing :) Bye iron prices, bye my spot in rimmington


Were you the dude in black(g)?

I had the thought to combine the unlimited tele's and I just had to make it :S

But don't worry, I'll be leech-proofing it if it ever gets used.

Er1k

2012-02-18 09:28:52

nah that's another botter i suppose. My chars never wear any armor and I'm usually the level 3 botters.

gerjanlubbers

2012-02-18 09:43:58

how much money P/h ??

Runaway

2012-02-18 11:22:16

From: gerjanlubbers
how much money P/h ??


I haven't tested any ores other than copper very much, but my guess is that it can get up to 130k/hr with iron.

Overtime

2012-02-18 17:03:05

Awesome sript runaway. Running it right now mining copper.

One thing though, it sometimes has trouble getting back tot he mine. Usually the last point before it actually enters the mine (the entrance) is where it will get stuck at.

My suggestion is to add a fail safe or a inbetween point or just call the last point 1 more time incase it doesn't find the next point. Since it ends up just logging to the lobby aft er a couple of minutes.

I really like this idea and concept of using the vexillum and ring, i see many potential for these types of scripts in the future, even a Yew Woodcutter could work ;) *hint, hint*

EDIT: Where it gets stuck.

EDIT V2: And here too

And i just noticed you updated the script! :D

Runaway

2012-02-18 17:29:12

From: Overtime
Awesome sript runaway. Running it right now mining copper.

One thing though, it sometimes has trouble getting back tot he mine. Usually the last point before it actually enters the mine (the entrance) is where it will get stuck at.

My suggestion is to add a fail safe or a inbetween point or just call the last point 1 more time incase it doesn't find the next point. Since it ends up just logging to the lobby aft er a couple of minutes.

I really like this idea and concept of using the vexillum and ring, i see many potential for these types of scripts in the future, even a Yew Woodcutter could work ;) *hint, hint*

EDIT: Where it gets stuck.

EDIT V2: And here too

And i just noticed you updated the script! :D


Thanks for the feedback!

I did just update it, added a shit ton of failsafes, hopefully it should help with those bugs.

EDIT: I might have to re-make the final WalkToMine DTM, seems it might not work if you're to the left of the entrance. I'll see what I can do :)

Overtime

2012-02-18 17:31:59

Awesome Runaway!

Already updated and running it right now, will report on any other bugs that may or may not occur.

But again awesome job and a great idea!

Runaway

2012-02-18 17:44:55

Thanks alot man :)

The WalkToMine seems to be working fine for me, let me know if that persists and I'll redo the DTM.

weequ

2012-02-18 18:05:30

Great release dude! I was making rimmington iron miner too but never got it properly finished :D

Overtime

2012-02-18 18:21:20

From: Runaway
Thanks alot man :)

The WalkToMine seems to be working fine for me, let me know if that persists and I'll redo the DTM.


I have yet to see the problem on my end as well.

Would like to see some other users input to just to confirm to make sure that little bug is gone :p

Godric

2012-02-18 18:22:15

Can it also powermine?

Overtime

2012-02-18 18:25:24

From: Godric
Can it also powermine?


What would be the point of powermining? Its ment to bank the goods afterwords.

There are plenty of other powermining scripts on here if you want that feature.

If your that lazy to walk to the mine yourself to set it to power mine.. there is no hope for you I'm afraid >.>

Runaway

2012-02-18 18:35:50

From: weequ
Great release dude! I was making rimmington iron miner too but never got it properly finished :D


Thanks!

From: Godric
Can it also powermine?


I've found it only takes ~30 seconds longer to bank and return to the mine than it does to drop a load of ore, so it's sort of pointless to have a powermine option in my opinion ;)

Overtime

2012-02-18 19:01:29

Ahh found a bug.


Runaways
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 8 Minutes and 43 Seconds
| Ores Mined: 270
| Mining XP gained: 4725 XP
<=---------------------------------------------=>
[!!~!! Walking to mine messed up !!~!!]
Successfully executed.

It messed up because the camera wasn't set to 'North'. My guess is from it doing antiban it didn't set it property to the 'north' angle? Or maybe when it was searching for bank? I dunno. But i liked the fail safe on where it would telport back and try again.

It did it 3 times then logged. New failsafe, CheckCameraAngle :P


where it got stuck notice the camera angle.

Runaway

2012-02-18 19:45:53

From: Overtime
Ahh found a bug.


Runaways
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 8 Minutes and 43 Seconds
| Ores Mined: 270
| Mining XP gained: 4725 XP
<=---------------------------------------------=>
[!!~!! Walking to mine messed up !!~!!]
Successfully executed.

It messed up because the camera wasn't set to 'North'. My guess is from it doing antiban it didn't set it property to the 'north' angle? Or maybe when it was searching for bank? I dunno. But i liked the fail safe on where it would telport back and try again.

It did it 3 times then logged. New failsafe, CheckCameraAngle :P


where it got stuck notice the camera angle.


Great, thanks for the debug help, much appreciated!

Hopefully a MakeCompass('n') call before walking anywhere will fix that problem.

Time for v0.25 I guess :)

Overtime

2012-02-18 20:10:07

:woot:

Yea that would definitely be helpful :D

Edit:

gah another bug


Runaways
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 11 Minutes and 26 Seconds
| Ores Mined: 374
| Mining XP gained: 6545 XP
<=---------------------------------------------=>
[!!~!! Failed to bank some items !!~!!]
Successfully executed.

When it was banking it was clicking on each ore? I guess it mis-clicked on deposit all and started to click on each ore but it was going so fast that it missed some and the bottom ones it just hovered over them but i think thats because of choose option.

Grrrr. i want to beat your proggie now :p

Runaway

2012-02-18 20:36:39

Updated to v0.25!

Fixed the bank bug and walking bug you mentioned.

Grrrr. i want to beat your proggie now


it's at 3 hours 7 minutes now and still truckin, so gl beating it! :sasmokin:

Overtime

2012-02-18 20:43:04

From: Runaway
Updated to v0.25!

Fixed the bank bug and walking bug you mentioned.



it's at 3 hours 7 minutes now and still truckin, so gl beating it! :sasmokin:


Awesome job Runaway!

Will try the new version once it bugs out again. Hopefully your's bugs out before mine :p

I should be at 3 hours ~mins too but it seems my ends likes to find the bugs rather than your end :sasmokin:

Runaway

2012-02-18 21:24:54

Updated to v0.3!

From: Overtime
Will try the new version once it bugs out again. Hopefully your's bugs out before mine :p


Your wish came true!

9001

2012-02-18 21:39:18

why does it noyl mine one of the iron rocks?

edit: nevermind :) thanks for the awesome script btw
ALSO the scripts very buggy whenever im mining iron ore it wants to go and mine copper this slwos it down, can you please fix this?

Runaway

2012-02-18 21:43:46

From: 9001
why does it noyl mine one of the iron rocks?

edit: nevermind :) thanks for the awesome script btw


The iron ore is tough to find when the compass is facing north, but unfortunately I can't risk changing the angle since I use DTM walking.

And you're quite welcome! Be sure to post any bugs you find and your progress reports to help me out in return :)

Overtime

2012-02-18 21:51:32

From: Runaway
Updated to v0.3!



Your wish came true!


Haha yes :stirthepot:

Had to restart mine because of it bugging out on the walking to mine again.. but im back at the mine on 0.3 :D

EDIT: Also I didn't mention this before as I was doing my own testing but the default Iron ore color that you have in your script gets confused with copper ore if its on the screen. It would hover over the copper ore, until the iron ore that it was at spawned then it would mine that one and basically repeat it self. I tried different colors and other colors were picking up the ground and what not.

I finally found the perfect color for 'me' if anyone is having trouble with mining iron. Try this color. Seems to be working flawless not getting stuck with any other color


1910594

Runaway

2012-02-18 22:09:18

From: Overtime
EDIT: Also I didn't mention this before as I was doing my own testing but the default Iron ore color that you have in your script gets confused with copper ore if its on the screen. It would hover over the copper ore, until the iron ore that it was at spawned then it would mine that one and basically repeat it self. I tried different colors and other colors were picking up the ground and what not.

I finally found the perfect color for 'me' if anyone is having trouble with mining iron. Try this color. Seems to be working flawless not getting stuck with any other color


1910594


Great! I'll add that color to 0.4 whenever that happens. I didn't do much testing with iron (5 ores >.<) so that was probably why it failed before.

As for the mine walking bug, I think that was caused by players/items on the MM that were obstructing my DTM. I used a few of the rocks on the MM in it and I noticed it didn't go to the mine when a player was overlapping a rock on the MM. That's been updated and taken care of so hopefully it will no longer happen!

Thanks, again.

EDIT: re-uploaded v0.3 with the new iron color!

Overtime

2012-02-18 22:26:21

Awesome! Glad I contributed in the smallest way. lol

Yea it seems to be the most accurate color right now as its not hanging on other rocks or the ground.

Runaway

2012-02-18 22:59:45

Updated to v0.32!

Jagex is messing with me -.-

My DTMs that work keep breaking randomly. I have them all at 20 tolerance which should be enough to account for color changes, but they keep breaking randomly. Guess I just have to keep making new ones with higher tolerance until they don't break anymore.

Er1k

2012-02-18 23:04:36

Try TPA/RadialWalk with SPS as failsafe? :D

Runaway

2012-02-18 23:10:37

From: nosaj.421
Try TPA/RadialWalk with SPS as failsafe? :D


Yeah, if DTM's continue to fail I think I'm going to have to switch over. Maybe just have radialwalk as a backup. I don't really know yet. Thanks for the suggestion :)

Overtime

2012-02-18 23:23:33

Been working fine for me :p If it breaks again i'll update to .32


GRR, spoke to soon messed up once and it teleported back, then in this screenshot the 2nd time its walking back BUT it found the second point by luck and made it to the mine.


We shall see how we make it to the next run.

Btw you could probably guess what world I'm in by the chat :P

So your banking is working fine even in a crowded dungeon world!


EDIT: WINNING :p


Runaways v0.3!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 4 Hours, 40 Minutes and 15 Seconds
| Ores Mined: 1491 iron
| Mining XP gained: 52185 XP
<=---------------------------------------------=>
[!!~!! Walking to mine messed up !!~!!]
Successfully executed.

Same as before the compass wasn't north.

Runaway

2012-02-19 12:13:20

You owned mine :o

I think I'm going to give the walking a re-vamp today for v0.4 and try to rule out walking that's off the correct path. How often does the compass angle screw up? I might have to use a ClickNorth instead of MakeCompass…

Overtime

2012-02-19 12:19:34

From: Runaway
You owned mine :o

I think I'm going to give the walking a re-vamp today for v0.4 and try to rule out walking that's off the correct path. How often does the compass angle screw up? I might have to use a ClickNorth instead of MakeCompass…


It screws up after 3-4 hours. It never messes up in the beginning. Its just after a period of time it changes the angle somewhere down the road and doesn't set it right back. None the less Its an awesome script :spot:

Runaway

2012-02-19 12:29:34

From: Overtime
It screws up after 3-4 hours. It never messes up in the beginning. Its just after a period of time it changes the angle somewhere down the road and doesn't set it right back. None the less Its an awesome script :spot:


Oh alright. I think I'll just have it re-calibrate the compass with a ClickNorth every 50 loads or so. Rule out any walking sillyness…

It wouldn't be nearly as awesome if you weren't posting bugs! :D

nuncatsji

2012-02-19 16:38:25

Wouldn't it be cool if it also picked up the iron ores dropped by powerminers? Just a suggestion, great script anyway.

nuncatsji

2012-02-19 17:01:41

Also: got stuck couple times when there are iron ores laying next to the rocks, it just keeps right clicking them (not such a problem the ores dissapear after time)

Runaway

2012-02-19 18:24:11

From: nuncatsji
Wouldn't it be cool if it also picked up the iron ores dropped by powerminers? Just a suggestion, great script anyway.


From: nuncatsji
Also: got stuck couple times when there are iron ores laying next to the rocks, it just keeps right clicking them (not such a problem the ores dissapear after time)


That's an interesting thought… if it's going to get stuck hovering over them I mine as well implement something to pick them up >.<

Would solve the hovering issue and get more money. I'll put that into v0.5 as an option before running!

Overtime

2012-02-19 22:00:47

Awesome another release!

Using .42 right now, hopefully its even more stable than it was before. :D

Also notice you added a load counter might even just give the option to add how many loads you want to do instead of time or w/e.

Harkeey

2012-02-20 08:42:39

When i start the bot it just stands there right clicking the ores. What is wrong?

Runaway

2012-02-20 11:48:35

From: Overtime
Also notice you added a load counter might even just give the option to add how many loads you want to do instead of time or w/e.


I'll put that loads and ores as an option in v0.5 :)

From: Harkeey
When i start the bot it just stands there right clicking the ores. What is wrong?


Is your SRL and Simba full up-to-date? It sounds like a ChooseOption bug, I'll look into it.

nuncatsji

2012-02-21 09:13:19

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 51 Minutes and 33 Seconds
| Ores Mined: 1818 iron
| Banked: 67 loads
| Mining XP gained: 63630 XP
<=———————————————=>

fptl0228

2012-02-21 11:19:56

hi brother when mining do First and do second interval is too long~ how to change it

Runaway

2012-02-21 12:26:00

From: nuncatsji
<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 51 Minutes and 33 Seconds
| Ores Mined: 1818 iron
| Banked: 67 loads
| Mining XP gained: 63630 XP
<=———————————————=>


Wow, nice! Top progress report right there :)

From: fptl0228
hi brother when mining do First and do second interval is too long~ how to change it


I don't really understand what you mean :S If you're saying that the mining is too slow, unfortunately it has to be that speed until I find a good way to measure whether the rock was stolen or not.

ruuno

2012-02-22 06:53:20

Thanx, this 0.42 is now less bugs than the 0.3 ones. So heres my proggie

<=———– Rimmington Tele-Banker ———-=>
| Running for: 5 Hours, 12 Minutes and 27 Seconds
| Ores Mined: 2162 clay
| Banked: 78 loads
| Mining XP gained: 10810 XP
<=———————————————=>

nuncatsji

2012-02-22 10:21:11

<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 41 Seconds
| Ores Mined: 2130 iron
| Banked: 76 loads
| Mining XP gained: 74550 XP
<=———————————————=>

Great script, looking forward to coming verions (if any?)

Godric

2012-02-23 01:01:49

worth trying this!
thanks.

nuncatsji

2012-02-23 06:49:36

Is there any way to change worlds?
I tried changing Smart_Server := 12; to another number but no succes…

Runaway

2012-02-23 13:10:38

From: ruuno
Thanx, this 0.42 is now less bugs than the 0.3 ones. So heres my proggie

<=———– Rimmington Tele-Banker ———-=>
| Running for: 5 Hours, 12 Minutes and 27 Seconds
| Ores Mined: 2162 clay
| Banked: 78 loads
| Mining XP gained: 10810 XP
<=———————————————=>


From: nuncatsji
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 41 Seconds
| Ores Mined: 2130 iron
| Banked: 76 loads
| Mining XP gained: 74550 XP
<=———————————————=>

Great script, looking forward to coming verions (if any?)


Added both to top reports! Be sure to post any bugs you find as well :)

From: Godric
worth trying this!
thanks.


No, thank you! Be sure to post reports & bugs!

From: nuncatsji
Is there any way to change worlds?
I tried changing Smart_Server := 12; to another number but no success…


Yes, I have to implement it as a function in a newer version. Smart_Server simply deals with the login server SMART connects to.

Expect world-switching to be in v0.5 on Friday. As well as a whole load of nifty new features :)

nuncatsji

2012-02-23 15:24:53

From: Runaway

Expect world-switching to be in v0.5 on Friday. As well as a whole load of nifty new features :)


Great to hear! Will be testing ;)

Godric

2012-02-23 17:49:04

No bug so far, after 2h of running! :D
only stopped cus of random event! :(

Godric

2012-02-23 21:47:51

Runaways v0.42!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 48 Minutes and 0 Seconds
| Ores Mined: 1536 iron
| Banked: 57 loads
| Mining XP gained: 53760 XP
<=———————————————=>

Finally didn't hit any random events, and still going! :D
[&#818;&#773;&#945;&#818;&#773;&#1084;&#818;&#773;&#945;&#818;&#773;z&#818;&#773;i&#818;&#773;&#1080;&#818;&#773;g&#818;&#773; &#818;&#773;&#3619;&#818;&#773;c&#818;&#773;&#1103;&#818;&#773;i&#818;&#773;&#961;&#818;&#773;&#1090;&#818;&#773;!&#818;&#773;] :D

treex20

2012-02-24 10:10:21

[Error] (62:3): 'BEGIN' expected at line 61
Compiling failed.

fptl0228

2012-02-24 11:13:03

error:[!!~!! Failed to bank some items !!~!!]

Runaway

2012-02-24 12:29:34

From: treex20
[Error] (62:3): 'BEGIN' expected at line 61
Compiling failed.


Do you have everything up-to-date? Did you edit anything in the code accidentally?

From: fptl0228
error:[!!~!! Failed to bank some items !!~!!]


What was in your inventory when you logged back in?

nuncatsji

2012-02-24 17:45:09

Another one:

<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 16 Seconds
| Ores Mined: 2540 clay
| Banked: 96 loads
| Mining XP gained: 12700 XP
<=———————————————=>

Runaway

2012-02-25 16:22:26

From: nuncatsji
Another one:

<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 16 Seconds
| Ores Mined: 2540 clay
| Banked: 96 loads
| Mining XP gained: 12700 XP
<=———————————————=>


Wow, I thought that the other 6-hour was just luck :p

For all wondering, the v0.5 update will be ready soon. It will include flawless walking, multiplayer, additional script options, better ore/mining detection and more!

Godric

2012-02-25 16:46:32

From: Runaway
Wow, I thought that the other 6-hour was just luck :p

For all wondering, the v0.5 update will be ready soon. It will include flawless walking, multiplayer, additional script options, better ore/mining detection and more!


Great, can't wait!
Thanks again!

Spatenac

2012-02-26 11:25:38

<=———– Rimmington Tele-Banker ———-=>
| Running for: 54 Minutes and 28 Seconds
| Ores Mined: 292 iron
| Banked: 11 loads
| Mining XP gained: 10220 XP
<=———————————————=>

So far :) Great script for lvl 3 botters :)

kingsleyeng

2012-02-26 14:30:45

will posts results when done

Ketan

2012-02-27 10:47:54

Awesome script. Thanks for share.

I am Karma

2012-02-27 14:37:18

Quite funny how many people use this i should post a screenshot of ppl with vexes mining really lots of them!

Shaddow

2012-02-27 22:41:53

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 38 Minutes and 15 Seconds
| Ores Mined: 1716 iron
| Banked: 76 loads
| Mining XP gained: 60060 XP
<=———————————————=>
(still going hasn't stopped)

Been using this GREAT script for a little now. Mined about 21k iron ore total so far. Good job and thank you :)

Runaways v0.42!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 41 Minutes and 41 Seconds
| Ores Mined: 2497 iron
| Banked: 107 loads
| Mining XP gained: 87395 XP
<=———————————————=>

I am Karma

2012-02-28 12:04:24

Runaways v0.42!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 54 Minutes and 44 Seconds
| Ores Mined: 1534 iron
| Banked: 56 loads
| Mining XP gained: 53690 XP
<=———————————————=>
[!!~!! Banking messed up !!~!!]

Overtime

2012-02-28 15:33:56

Still working after the latest update.



Runaways v0.42!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 44 Minutes and 41 Seconds
| Ores Mined: 704 iron
| Banked: 25 loads
| Mining XP gained: 24640 XP
<=---------------------------------------------=>

Awaiting V0.5 though Runaway ;)

kingsleyeng

2012-02-29 03:31:57

been working great until recently


nvm start think i figured it out

brother287

2012-03-03 01:35:46

you should have teleing optional

Emotional

2012-03-04 23:17:53

i finally had it to work and when i clicked start…

error showed up when started simba, in the SMARTManager Restarter
" ioPath := 'C:\Users\Church's\AppData\Local\Temp\Rar$EXa0.446\TmpScripts\2834890.crashed'; "

SXxR

2012-03-05 03:57:31

I'm using it. Works fine :)

Runaway

2012-03-05 14:02:37

From: brother287
you should have teleing optional


That would defeat the purpose of this script :P

From: Emotional
i finally had it to work and when i clicked start…

error showed up when started simba, in the SMARTManager Restarter
" ioPath := 'C:\Users\Church's\AppData\Local\Temp\Rar$EXa0.446\TmpScripts\2834890.crashed'; "


Hmm… looks like it's an error with Simba itself, not my script.

From: Ketan
Awesome script. Thanks for share.


^ Makes me happy to see posts like these :D

From: Shaddow
<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 38 Minutes and 15 Seconds
| Ores Mined: 1716 iron
| Banked: 76 loads
| Mining XP gained: 60060 XP
<=———————————————=>
(still going hasn't stopped)

Been using this GREAT script for a little now. Mined about 21k iron ore total so far. Good job and thank you :)

Runaways v0.42!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 41 Minutes and 41 Seconds
| Ores Mined: 2497 iron
| Banked: 107 loads
| Mining XP gained: 87395 XP
<=———————————————=>


Nice! You just earned yourself a spot in the top reports.

From: SXxR
I'm using it. Works fine :)


Good to hear. Hopefully I won't have to update it for a while haha.

I had said previously that v0.5 would be out soon; I'm sorry that it is not yet. Been rather overwhelmed lately and it just hasn't gotten done. I'm going to work on it in my free time for the next coming week and that should be enough to spice it up a bit. :)

Shaddow

2012-03-07 01:04:59

Heres another great one!
Runaways v0.42!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 8 Hours, 36 Minutes and 4 Seconds
| Ores Mined: 3223 iron
| Banked: 140 loads
| Mining XP gained: 112805 XP
<=———————————————=>

SXxR

2012-03-07 02:59:33

Clay is better money per hour than iron, right?

Gl3nn IV

2012-03-21 07:49:35

From: SXxR
Clay is better money per hour than iron, right?


Iron sells, clay doesn't. Also there are other clay bots out there crashing the price.

The bot seems to get stuck in the middle of the mine after teleporting and running back to the mine, as it can't find the ores. Could put a failsafe in, like if find ores unsucessful 5 times, or if max wait time exceeds a certain amount. Tele back to clan and retry.
Just an idea.

gphig

2012-03-22 12:10:07

ive also had this problem this is a great script and ive been runing it for awhile now with alot of success im not sure why this problem just started im thinking that if you are using ore color to determine if it made it to the mine that maybe the colors of the mine changed because it can detect the actual ore to mine just fine it just has walking to the ore once its in the mine btw im mining clay i havent tested for the others will try some things when i get the chance and post if i figure it out

E: just tried running again with more bandwidth and it worked for a couple loads just fine i updated the dtm for the at the mine procedure and has worked fine so far there might not even be a need to update it sorry for the confussion :S

ji33my

2012-03-29 09:14:56

Question, I'm trying to run this with two accounts, but am not having so much luck. I think it actually is a bandwidth issue. When i have both accounts up, they either fail to find the ore, they fail to walk anywhere, or they just don't move at all and fail. I'm currently successfully running it with one account but would be nice if i could use it with two. Any suggestions of a work around?

hoopla

2012-04-01 20:38:18

Can this not be tweaked to use the lodestones?

kingsleyeng

2012-04-02 05:36:04

serious need of an update its crashes after about 30 minutes for about 3 weeks always gets stuck in middle of mine or the power miners who drop iron or screw it up(it keeps right clicking on the ore doing nothing)

garrett1294

2012-04-03 06:19:51

<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 41 Minutes and 35 Seconds
| Ores Mined: 542 iron
| Banked: 22 loads
| Mining XP gained: 18970 XP
<=———————————————=>
[!!~!! Ores not found !!~!!]
Successfully executed.



I get this error a lot. It doesnt always move to the iron ore when it says it will, other than this error… I love this thing :D

TheWord

2012-04-03 09:43:16

<=———————————————=>
[!!~!! Failed to bank some items !!~!!]


Please fix this!

It's a fantastic script!

skokkeli93

2012-04-05 03:43:40

it still sometimes doesn't find a rock so it will execute, but if you could set it to teleport with clan vexillum again if it's not finding a rock, it would be awesome :)

[XoL]

2012-04-07 07:29:20

Will test today

Lyrcaxis

2012-04-11 22:15:13

You're a genious!

Kerk

2012-04-13 06:16:56

<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 26 Minutes and 39 Seconds
| Ores Mined: 941 iron
| Banked: 35 loads
| Mining XP gained: 32935 XP
<=———————————————=>

Awesome script!

Benson

2012-04-13 16:57:26

only issue I get is when it tries to walk back to the iron ore, it will go to the center of the mine, and then not walk towards to iron side. This results in getting proggies anywhere from 10 mins to 2 hours. Other then this issue, the script runs flawlessly. I have tried looking at the procedure that deals with walking back to the mine, but can't figure out how to fix it. :S

Runaway

2012-04-13 17:17:49

From: Benson
only issue I get is when it tries to walk back to the iron ore, it will go to the center of the mine, and then not walk towards to iron side. This results in getting proggies anywhere from 10 mins to 2 hours. Other then this issue, the script runs flawlessly. I have tried looking at the procedure that deals with walking back to the mine, but can't figure out how to fix it. :S


It seems the DTM I used to determine if the character is at the mine (AtMine) gets thrown off occasionally by other players standing on top of points I've used.

I'm going to be giving this script a good revamp tonight, so I'll have that little issue fixed soon :)

Hello World..

2012-04-20 05:10:56

I'm having a crash here. Can't open my Smart. It says "make sure u have an applet deaccelerator"

wtfje

2012-04-21 08:35:40

From: Runaway
It seems the DTM I used to determine if the character is at the mine (AtMine) gets thrown off occasionally by other players standing on top of points I've used.

I'm going to be giving this script a good revamp tonight, so I'll have that little issue fixed soon :)


How is the update going?

Hello World..

2012-04-22 05:40:17

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Minutes and 47 Seconds
| Ores Mined: 0 iron
| Banked: 0 loads
| Mining XP gained: 0 XP
<=———————————————=>
[!!~!! Walking to mine messed up !!~!!]

jakegran

2012-05-05 09:06:46

So i'm new here and i have to say great forum first.

This was one of the first scripts that I tried and love the idea with the teleporting. There seems to be one problem for me and that is that sometimes (quite often for me) it walks to the mine and can not find any ore. So I decided to look into it and figure some of this out and found a possible fix.

If you simply add the code

begin
Mouse (15, 195, 10, 10, True);
Break;
end;



in
 
MineArea := DTMFromString('mwQAAAHic42RgYChiYmAIAOJMIN4IxMuBuBWI44DYHYjNgTgWqK4FiCcDcQ4QWwKxIhCrALENEMcBcaKHPkO6nypDbrA6Q1GsBkNZpCZDVYA4Q6KnMkOuhyhDbqQ6w3+gOhECmJEIDAcA7b8QjQ==');
repeat
Result := FindDTMRotated(MineArea, x, y, MMX1, MMY1, MMX2, MMY2, -Pi/4, Pi/4, Pi/60, Angle);
if Result then
begin
begin
Mouse (15, 195, 10, 10, True); // prob should change the variables for extra ban protection\\
Break;
end;
Currently('At the mine!');


Break;
end;


So there is it hope you enjoy also sorry if I'm not suppose to do posts like these but just thought it might help until the OP fixes his.

butterwut

2012-05-06 12:50:58

dude, pm me, i want to donate to u (rsgp) flawless script!

EDIT: it fail to bank sometimes, and logs off, either way, i still want to donate lol

Runaway

2012-05-16 23:03:49

I have finally updated this to v0.5!

Rewrote alot of functions, wrote a new TPA function that blows DTM finding out of the water, and the walking is flawless now (after a few hours of testing) :)

Be sure to post progress reports!

orbero

2012-05-17 15:49:33

the walking still messes up a lot for me. It has trouble getting to the bank it keeps teleporting until it logs out, and the first time i tried it it went to the docks in port sarim for some reason. Also why does it deposit the ore one at a time?

Runaway

2012-05-17 16:00:38

From: orbero
the walking still messes up a lot for me. It has trouble getting to the bank it keeps teleporting until it logs out, and the first time i tried it it went to the docks in port sarim for some reason. Also why does it deposit the ore one at a time?


Oh gosh, sounds like the colors are changing more than I thought. Guess I have to up the tolerance and do some more testing :S

It deposits ores one at a time if the initial deposit-all options doesn't work. It's only supposed to be for random items like gems…

Do you have a lot of lag while you run this?

E: Temporarily removed v0.5 download until it's fit for use.

orbero

2012-05-17 16:25:08

From: Runaway
Oh gosh, sounds like the colors are changing more than I thought. Guess I have to up the tolerance and do some more testing :S

It deposits ores one at a time if the initial deposit-all options doesn't work. It's only supposed to be for random items like gems…

Do you have a lot of lag while you run this?

E: Temporarily removed v0.5 download until it's fit for use.


no lag but i tried again today and it seems to be working now?

Runaway

2012-05-17 16:30:25

From: orbero
no lag but i tried again today and it seems to be working now?


Yeah, I've found the cause. The colors change ALOT. The walking worked well in v0.42 because it took a month of testing to find the colors in the middle of the range that they use. I probably grabbed all of the colors from the top or bottom of the range since I picked them all within a few hours of each other, so when the colors change alot the script won't pick up on them.

I basically just have to keep testing and adjusting colors until I find colors that work whether the map colors are at the top or bottom of their range >.<

orbero

2012-05-17 16:35:36

Oh and this is a really great script when it works.

Runaway

2012-05-17 16:38:19

From: orbero
Oh and this is a really great script when it works.


Thank you :p

I've re-uploaded v0.5 with color updates. It should fix the walking. I also fixed the banking so it will not click things 1 at a time if there are ores in the inventory; It will only deposit-all ores.

E: Quick little progress report to show it's working just fine :)


Runaways v0.5!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 50 Minutes and 55 Seconds
| Ores Mined: 351 clay
| Picked Up: 0 ores
| Banked: 14 loads
| Mining XP gained: 1755 XP
<=---------------------------------------------=>

kazzos

2012-05-17 19:57:12

script works great. it detects nodes quickly and banks easily without a fuss. For some reason it doesn't want to pick up dropped ore from power miners. This feature would be great. great script keep up the good work.

Runaway

2012-05-17 20:33:04

From: kazzos
script works great. it detects nodes quickly and banks easily without a fuss. For some reason it doesn't want to pick up dropped ore from power miners. This feature would be great. great script keep up the good work.


Thanks for the feedback :)

I have only put ore pickup in if the script misses a rock and accidentally lands on an ore (which use to happen quite often). But since I rewrote the rock finding function it doesn't miss anymore >.<

I can add ore pickup in as a priority if it's enabled in the setup in the next update. I guess that and a world hop option will be in v0.6 :)

Edit: Gettin some nice reports off the new version:


Runaways v0.5!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 4 Hours, 19 Minutes and 39 Seconds
| Ores Mined: 1889 clay
| Banked: 69 loads
| Mining XP gained: 9445 XP
<=---------------------------------------------=>

^ Stopped from 6hr limit (1hr 40 testing)

kazzos

2012-05-17 23:02:12

Ore priority pick up would be great just because so many people power mine at rimmington. World hop is also a cool feature. It's really great to have a flawless mining script once again. Gratz on the ingenious method of banking :)

Here is a little proggy mining iron ore
Runaways v0.5!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 25 Minutes and 7 Seconds
| Ores Mined: 1164
| Picked Up: 0 ores
| Banked: 43 loads
| Mining XP gained: 40740 XP
<=———————————————=>

kazzos

2012-05-18 19:24:21

Unfortunately tele banking is bugged at the moment. It was working flawlessly yesterday however now it teleports using ring of kinship and repeats process until it logs out because it can't find bank.

Runaway

2012-05-18 19:27:44

From: kazzos
Unfortunately tele banking is bugged at the moment. It was working flawlessly yesterday however now it teleports using ring of kinship and repeats process until it logs out because it can't find bank.


Hmm, sounds like the colors are still changing too much at daemonheim…

I will fix this asap and re-upload.

Edit: It's the stupid npc dot color again… this time it changed from 59xxx to 327xxx, I didn't even know yellow could change that much!

I'll have to autocolor the yellow… update will take a little longer than normal, but it should never happen again if I get it right this time. Let's hope at least >.<

Runaway

2012-05-18 21:05:50

I have updated the script to autocolor the NPC dots before running! This should fix all problems with teleporting/banking.

If the script cannot find the npc color, I've added a bug fix guide on the first post that will help you fix it yourself. It only takes about 2 minutes and if you post your fix it will help me and everyone else solve the NPC color issue once and for all :)

kazzos

2012-05-18 21:07:44

thanks runaway appreciate your dedication!

orbero

2012-05-19 16:08:49

It won't start now it moves the mouse when I click play and the script just ends. It doesn't even open smart.

Runaway

2012-05-19 16:13:40

From: kazzos
thanks runaway appreciate your dedication!


No problemo, sir :)

From: orbero
It won't start now it moves the mouse when I click play and the script just ends. It doesn't even open smart.


Do you have everything updated? This does not seem like a script issue. Try updating Simba, SRL and extensions. I just tried running the script and it's working fine for me.

orbero

2012-05-19 16:16:12

I have an earlier version and it works fine but the one in the first post doesn't work for some reason. I tested other scripts and they all work fine and everything is updated. It's really weird it moves the mouse when I click play towards the center of the screen.

Runaway

2012-05-19 16:21:54

From: orbero
I have an earlier version and it works fine but the one in the first post doesn't work for some reason. I tested other scripts and they all work fine and everything is updated. It's really weird it moves the mouse when I click play towards the center of the screen.


Hmm, this is quite odd. Does it say anything before the script is terminated? Check the debug box as well (the separate black one).

orbero

2012-05-19 17:39:48

<=———– Rimmington Tele-Banker ———-=>
| Running for: 0 Seconds
| Ores Mined: 0 clay
| Banked: 0 loads
| Mining XP gained: 0 XP
<=———————————————=>
ERROR: Equip clan vexillum and ring of kinship!
Successfully executed.

and should i just print screen the black box or is there a way to copy paste?

Runaway

2012-05-19 17:45:27

I believe you have to print screen it.

Do you have any lag? The only reason that error comes up is if the vex/ring aren't found in you equipment screen.

orbero

2012-05-19 17:52:17

it doesn't even open up the smart thing. It stops right away.

Runaway

2012-05-19 18:05:19

From: orbero
it doesn't even open up the smart thing. It stops right away.


It doesn't sound like a problem with my script… Post a screenshot of the debug box and I might be able to help.

orbero

2012-05-19 19:12:10


Runaway

2012-05-19 19:28:42

I've figured it out :p

I was doing non-smart color testing since my smart wasn't working yesterday, and after I finished testing I uploaded the script. But the smart include was still commented out!


program RimmingtonTeleBanker;

//{$i SRL/SRL/misc/smart.simba}
{$i SRL/SRL.simba}

I've re-uploaded, but you can just remove the "//" to fix it without re-downloading.

orbero

2012-05-19 21:28:20

The colors didn't work so i changed it to 255470 and it seems to be working now.

edit: 59387, 1043199, 393210

kazzos

2012-05-19 22:32:08

which colours did you change ?

Syntax

2012-05-19 22:45:55

I count a script flawless when it can run for 6 hours. This script is flawless. (You just need to change the colours).

Physic

2012-05-19 23:04:51

Runaway, check pm please

Runaway

2012-05-19 23:06:17

From: orbero
The colors didn't work so i changed it to 255470 and it seems to be working now.

edit: 59387, 1043199, 393210


Awesome, I've added those colors and I'll be uploading a version with them soon.

From: kazzos
which colours did you change ?


Check out the "Bug Fixes" section on the first post, that should point you in the right direction.

From: Blakebn2011
I count a script flawless when it can run for 6 hours. This script is flawless. (You just need to change the colours).


And the colours won't be a problem soon :biggrin:

orbero

2012-05-20 02:46:49

Found another color 587000.

isayhey

2012-05-20 07:10:43

Could you please fix the colors and upload the new file that's updated?

Runaway

2012-05-20 12:03:53

From: orbero
Found another color 587000.


I'll add that shortly :)

From: isayhey
Could you please fix the colors and upload the new file that's updated?


I am re-uploading every time a new color is found. You can fix it yourself pretty easily if you go to the first post and find the "Bug Fixes" section. The problem is that the NPC dot color (which is necessary for my script for function), is changing by an outrageous amount all of the time. The only way to find it properly is to keep and index of all of the possible colors and determine which one it is every time the script is run. If you fix it yourself and post your fix, it will accelerate the color indexing process and do away with that error even sooner!

orbero

2012-05-20 16:25:39

Found another color 2162687.
edit: 257009

Runaway

2012-05-20 16:34:47

From: orbero
Found another color 2162687.
edit: 257009


What?! Come on jagex, 65533 -> 2162687… This is making me regret relying so heavily on npc dots -.-

Thanks for the feedback though orbero, you're going to single-handedly find all those colors :p

Re-uploading with new colors now.

orbero

2012-05-20 16:37:35

lol there are way too many colors. I found another one 981753.

kazzos

2012-05-21 02:00:48

works a treat again xD

orbero

2012-05-21 02:19:41

found another one 1437694.
edit: 1372665, 1436395, 522732

Eat A cheeto

2012-05-21 10:24:09

Found color 782322 Great script btw working perfectly

Runaway

2012-05-21 11:19:22

From: kazzos
works a treat again xD


Good to hear, this NPC color thing was such a setback >.<

From: orbero
found another one 1437694.
edit: 1372665, 1436395, 522732


Thanks again orbero, it seems like the color issue is slowly dwindling, mostly thanks to you!

From: Eat A cheeto
Found color 782322 Great script btw working perfectly


Great!

I'm re-uploading with all of the new colors now :)

cloow

2012-05-21 21:52:11

anyone have a clan i can join lol. I have 85mining but f2p. Acc never been mems and I want to start training it again!

orbero

2012-05-22 00:37:11

Another color 522239.

Runaway

2012-05-22 00:51:34

From: cloow
anyone have a clan i can join lol. I have 85mining but f2p. Acc never been mems and I want to start training it again!


Go to the clan grounds in world 1 and find a really big clan to join, that's what I did when I was making this script :p

From: orbero
Another color 522239.


It shall be added in the next update :biggrin:

cloow

2012-05-22 02:36:20

From: Runaway
Go to the clan grounds in world 1 and find a really big clan to join, that's what I did when I was making this script :p



It shall be added in the next update :biggrin:


ahh ok ty.. I don't ever play this game lol so don't know shit about all these new updates.. Just start ma bot on my last botting account lol

samuri51

2012-05-22 04:54:36

It keeps failing to setup player :S, yes I have vexillium and ring of kingship equipped btw


formWriteln: <=———– Rimmington Tele-Banker ———-=>
formWriteln: | Running for: 1 Minutes and 54 Seconds
formWriteln: | Ores Mined: 0 copper
formWriteln: | Banked: 0 loads
formWriteln: | Mining XP gained: 0 XP
formWriteln: <=———————————————=>
Setting up player…
Equip clan vexillum and ring of kinship!
formWriteln: ERROR: Equip clan vexillum and ring of kinship!
formWriteln: Successfully executed.

Runaway

2012-05-22 11:48:17

From: samuri51
It keeps failing to setup player :S, yes I have vexillium and ring of kingship equipped btw


formWriteln: <=———– Rimmington Tele-Banker ———-=>
formWriteln: | Running for: 1 Minutes and 54 Seconds
formWriteln: | Ores Mined: 0 copper
formWriteln: | Banked: 0 loads
formWriteln: | Mining XP gained: 0 XP
formWriteln: <=———————————————=>
Setting up player…
Equip clan vexillum and ring of kinship!
formWriteln: ERROR: Equip clan vexillum and ring of kinship!
formWriteln: Successfully executed.


Ok, let's see. Possible problems are:

If you're using SMART:
- Do you have any lag?
- Do you have the latest version of the script? Check this line at the very top:

program RimmingtonTeleBanker;

{$i SRL/SRL/misc/smart.simba}
{$i SRL/SRL.simba}

if "{$i SRL/SRL/misc/smart.simba}" has a // before it, remove them.

If you're using a browser:
- Have you selected the browser with the client crosshair?

That's about all I can think of :p

litoris

2012-05-22 12:47:42

The script might be broken because of the visual update to rimmington.

Runaway

2012-05-22 16:03:36

From: litoris
The script might be broken because of the visual update to rimmington.


Noooooo those bastards! Right when I decide to update it and get it working perfectly… figures. Thanks for the heads up though.

EDIT: They changed the whole mine around………… Guess I have to fix it -.- Expect an updated version in a few hours.

EDIT2: Wow that was easy to update! v0.5 is re-uploaded and ready to rumble :)

kazzos

2012-05-23 02:06:34

you're the best runaway! Keep it up mate.

furion_pwnage

2012-05-23 12:12:02

I'm also receiving this error.
<=———– Rimmington Tele-Banker ———-=>
| Running for: 42 Seconds
| Ores Mined: 0 iron
| Banked: 0 loads
| Mining XP gained: 0 XP
<=———————————————=>
ERROR: Equip clan vexillum and ring of kinship!
Successfully executed.

I have them both equipped, and I have also removed the // lines from the script like recommended. The account logs in, takes a quick look at the equipped items (which are correct) then logs out. This script was running well for me a couple of hours yesterday, but now I'm not sure what is going on. Thanks

Runaway

2012-05-23 14:53:56

From: furion_pwnage
I'm also receiving this error.
<=———– Rimmington Tele-Banker ———-=>
| Running for: 42 Seconds
| Ores Mined: 0 iron
| Banked: 0 loads
| Mining XP gained: 0 XP
<=———————————————=>
ERROR: Equip clan vexillum and ring of kinship!
Successfully executed.

I have them both equipped, and I have also removed the // lines from the script like recommended. The account logs in, takes a quick look at the equipped items (which are correct) then logs out. This script was running well for me a couple of hours yesterday, but now I'm not sure what is going on. Thanks


I can't believe I left smart commented out AGAIN hahaha >.<

I've upped the tolerance and tweaked the colors a bit for the item finding, so let's hope that was the issue. Those were the same colors from 4 months ago, so they could have been a tad outdated by now. I've re-uploaded v0.5 with those edits. Let me know how it goes!

kazzos

2012-05-23 17:49:03

successful proggy after new update.

Runaways v0.5!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 5 Seconds
| Ores Mined: 1528 iron
| Picked Up: 0 ores
| Banked: 55 loads
| Mining XP gained: 53480 XP

Runaway

2012-05-23 17:54:13

From: kazzos
successful proggy after new update.

Runaways v0.5!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 5 Seconds
| Ores Mined: 1528 iron
| Picked Up: 0 ores
| Banked: 55 loads
| Mining XP gained: 53480 XP


Awesome! That just claimed you a spot on the top reports until 6hr+ are possible ;)

orbero

2012-05-24 03:52:54

I found another color 65516.
edit: and 450798
edit: 61951

kazzos

2012-05-25 20:17:35

From: orbero
I found another color 65516.
edit: and 450798
edit: 61951


thanks buddy, script works fine when I add these colours :)

cloow

2012-05-25 20:31:57

From: Runaway
Awesome! That just claimed you a spot on the top reports until 6hr+ are possible ;)


I run 6hr + alot.. It is already possible lol only thing that stops it is randoms that it can't do ><

ace6073

2012-05-26 22:54:35

Edit: Disregard. I restarted my computer and the bugs disappeared. The script is now running very smoothly. Will post proggy soon.

peeweewoen

2012-05-27 01:27:47

i get this same error too :[
ERROR: Equip clan vexillum and ring of kinship!

they are both equipped….

ace6073

2012-05-27 08:31:06

Yee, I get that too. Also the ore recognition/mining procedure is not as good as the powerminers. It always gets stuck on a particular rock for like 3 minutes. It tries to mine the rock even though nothing is there.

Edit: Is it possible to use color recognition for the iron ore as well? Also, the script could run a lot faster if you had less wait times.

Runaway

2012-05-27 10:38:22

From: peeweewoen
i get this same error too :[
ERROR: Equip clan vexillum and ring of kinship!

they are both equipped….


Are you using SMART? Sometimes the script can get ahead of itself if there is any lag. Also make sure the smart include isn't commented out:


//{$i SRL/SRL/misc/smart.simba}
// if it's commented remove the dashes.

{$i SRL/SRL/misc/smart.simba}
// like that

if both of those aren't the issue, then I will look into the colors again.

From: ace6073
Edit: Disregard. I restarted my computer and the bugs disappeared. The script is now running very smoothly. Will post proggy soon.


This tends to happen. My walking procedure relies on positioning its walkpath by finding the NPCs at the clan grounds/daemonheim after teleporting since the teleports land you in a random place every time. The NPC colors change by ALOT each time you re-load the minimap for each area, and I'm still in the process of collecting every possible NPC color it could be.

From: ace6073
Yee, I get that too. Also the ore recognition/mining procedure is not as good as the powerminers. It always gets stuck on a particular rock for like 3 minutes. It tries to mine the rock even though nothing is there.

Edit: Is it possible to use color recognition for the iron ore as well? Also, the script could run a lot faster if you had less wait times.


Yes, unfortunately I haven't found a good way to tell if someone else has beat you out to the rock. This is why I am implementing world hopping soon, and I wrote in the "Additional Information" section on the first post that you should find an empty world for this script to work best.

I've implemented wait times as it completely avoids lag issues; I feel it's better to have a script wait and extra ~30 seconds total per load then have it easily broken by a lag spike.

peeweewoen

2012-05-27 17:06:21

nope
smart include isn't commented out.
it's like this
{$i SRL/SRL/misc/smart.simba}

{$i SRL/SRL.simba}

so i dunno :[

MagicKids

2012-05-28 09:08:53

Hey man! Excellent script!

But it's a bit funny how it works after the rimmington update. It tries to mine the rocks that contain no ore and say "iron rocks" (when they contain ore they're "iron ore rocks"). Sometimes it just sticks to ONE single rock and tries to mine the fuck out of it, even when there's no ore in it :D

Then another thing I found that amused me for a bit, is that when it opens the bank, it just sits there for a bit, shuffling the mouse over 4 ores, not clicking, for I don't know.. Up to a minute or so. THEN it deposits and runs off. I'm sure it's not labelled as a bug, but it's a tad annoying :(

Runaway

2012-05-28 14:58:03

From: peeweewoen
nope
smart include isn't commented out.
it's like this

so i dunno :[


Try stopping the script after SMART opens, log yourself in, and then run it. Let me know if that works.

From: MagicKids
Hey man! Excellent script!

But it's a bit funny how it works after the rimmington update. It tries to mine the rocks that contain no ore and say "iron rocks" (when they contain ore they're "iron ore rocks"). Sometimes it just sticks to ONE single rock and tries to mine the fuck out of it, even when there's no ore in it :D

Then another thing I found that amused me for a bit, is that when it opens the bank, it just sits there for a bit, shuffling the mouse over 4 ores, not clicking, for I don't know.. Up to a minute or so. THEN it deposits and runs off. I'm sure it's not labelled as a bug, but it's a tad annoying :(


Ah, ok. I didn't realized that they changed the uptext of the ores. I'll fix that right now. Also, the banking issue is a bug, but it's nothing to do with my script. Uptext finding can be buggy every once in a while; so if the uptext isn't found the script doesn't deposit anything until it is. Don't want to go depositing the pickaxe, that wouldn't work out so well :p

EDIT: Fixed quite a few issues and re-uploaded v0.5!
- Banking uptext bug shouldn't be an issue anymore
- Vex and Kinship finding issues upon startup are fixed
- Fixed mining uptext and sped up uptext checking
- Slight modification to iron ore walkpath

peeweewoen

2012-05-28 22:29:15

ahhhhh
works like a charm.
proggy:
Runaways v0.5!
<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 59 Minutes and 34 Seconds
| Ores Mined: 975 iron
| Banked: 35 loads
| Mining XP gained: 34125 XP
<=———————————————=>


suggestion: maybe have it left click sometimes? when mining, it always right clicks the rock…

Runaway

2012-05-28 23:36:08

From: peeweewoen
ahhhhh
works like a charm.


Great! I'm relieved to hear that the bugs are finally getting ironed out after the rimmington update :o

From: peeweewoen
suggestion: maybe have it left click sometimes? when mining, it always right clicks the rock…


I was waiting for someone to suggest this. The only thing holding me back is the Highwayman that occasionally wanders around the mine. I wouldn't want to be the cause of undesired level ups (the vexillum styles are all shared xp) or deaths by accidentally clicking on him.

Runaway

2012-05-30 17:07:37

This has been upgraded to BETA and is now v0.6! The mining process was improved a bit as well as a few other things :)

Thanatos

2012-05-30 20:06:51

From: Runaway
This has been upgraded to BETA and is now v0.6! The mining process was improved a bit as well as a few other things :)


I look forward to using this after i get 99 rc :)

kazzos

2012-05-31 07:34:28

rawrr loving the npc colour array, glad its sorted. This might be a big jump but would you ever consider re modding this script for faldor yews/rimmington yews?

Runaway

2012-05-31 11:09:08

From: kazzos
rawrr loving the npc colour array, glad its sorted. This might be a big jump but would you ever consider re modding this script for faldor yews/rimmington yews?


Shhh, don't ruin the surprise! That's exactly what I've done with "Clay, Craft, Bank" and I already have a bank tab with all of the hatchets in it ;)

I just have to get 60 woodcutting haha.

j_man889

2012-05-31 11:47:34

Runaway, sometimes my bot has problems right when it is near the bank, I think it has troubles distinguishing itself between the dungeoneering tutor and the banker. If i wanted to add it into the declare colors what would I do? Would it be similar to the NPC Array fix?

Runaway

2012-05-31 12:01:10

From: j_man889
Runaway, sometimes my bot has problems right when it is near the bank, I think it has troubles distinguishing itself between the dungeoneering tutor and the banker. If i wanted to add it into the declare colors what would I do? Would it be similar to the NPC Array fix?


Ah, yes this happens occasionally. I'd say wait it out or change worlds, as this usually happens when you've been logged in for a while and the colors have changed a bit. If it's happening all of the time, then I guess you mine as well try changing the colors. Here's a little overview of the what/how of the colors:


BankerColor := [2968144, 5408402, 8609098];
// 2968144 is the color of the wood on the banner he is holding. This is the
// first color in the array, so it will end up being the color that is clicked after
// the banker has been found. I've coined it the "primary color".
// 5408402 and 8609098 are other common colors on the banker. These have
// to be within a rather small distance from the primary color to be able to
// locate the banker.

Simply find some new colors that are prominent on the banker, and replace the current ones using the knowledge of how it works. I recommend keeping the banner wood color as the primary color, because that is one of the only colors on the banker that doesn't change.

j_man889

2012-05-31 12:13:06

Thank you very much kind sir :)

Runaway

2012-06-01 00:05:48

From: j_man889
Thank you very much kind sir :)


No problem :)

To anyone who has been mining iron with this script; I've created a very stable iron superheater that sits (and returns via teleport if anything goes wrong) at the daemonheim bank. PM me if you want a copy, I'm not going to release it as it's more of a "I want to get these damn ores out of my bank" kind of thing :p

If you mined the ore, you can make a killer profit. Nature runes are 113gp currently, and iron bars are 237gp.

Proof of concept report:

<=-------------- Iron Superheater -------------=>
| Running for: 1 Hours, 3 Minutes and 46 Seconds
| Superheated: 1370 iron bars
| Magic XP gained: 72610 XP
| Smithing XP gained: 17125 XP
<=---------------------------------------------=>

cripzman2221

2012-06-01 06:16:27

i dont understand how to fix the npc colour error :\

Runaway

2012-06-01 11:47:13

From: cripzman2221
i dont understand how to fix the npc colour error :\


You have looked at the "Bug Fixes" section for the guide to fix it, correct? Where do you get lost?

kazzos

2012-06-02 03:48:49

From: cripzman2221
i dont understand how to fix the npc colour error :\


I just added 1042665 to the NPC colour array works fine.

Runaway

2012-06-04 12:16:34

Has anyone been having issues with loading the mine since the update? I can't run this script anymore because I get a "Loading… 50%" issue in the SMART browser right when the game tries to load the mine area.

Silentcore

2012-06-04 12:25:40

Would it give you more xp per hour if you have it drop instead of banking..??

Runaway

2012-06-04 12:38:24

From: Ucantseemebot
Would it give you more xp per hour if you have it drop instead of banking..??


I've looked at this before, and it does give more xp/hour, but at a price.


Powermining: ~16 loads/hour
Powermining: 2.4k more xp/hour

Banking: ~13.5 loads/hour
Banking: 40k more gp/hour

These are based upon tests with the same code; one banking the other dropping. I always lean towards profit + xp rather than pure xp if I can. It's all about preference though.

Silentcore

2012-06-04 12:41:50

From: Runaway
I've looked at this before, and it does give more xp/hour, but at a price.


Powermining: ~16 loads/hour
Powermining: 2.4k more xp/hour

Banking: ~13.5 loads/hour
Banking: 40k more gp/hour

These are based upon tests with the same code; one banking the other dropping. I always lean towards profit + xp rather than pure xp if I can. It's all about preference though.

ahh i see..well thanks for taking some time to making it clear for me.

orbero

2012-06-04 15:01:23

From: Runaway
Has anyone been having issues with loading the mine since the update? I can't run this script anymore because I get a "Loading… 50%" issue in the SMART browser right when the game tries to load the mine area.


I have the same problem.

Also clay prices are going down fast, what should I do with the 30k plus clay I have? Should I just sell it for 128 or should I wait for it to go back up to around 140-150? Would making soft clay be worth my time?

Runaway

2012-06-04 15:09:53

From: orbero
I have the same problem.

Also clay prices are going down fast, what should I do with the 30k plus clay I have? Should I just sell it for 128 or should I wait for it to go back up to around 140-150? Would making soft clay be worth my time?


It's tough to say… With all of the bots mining clay right now it's no accident the prices are so low. I have no clue how long it would take for the prices to come back up / if they even will. I doubt it's worth the time to make it into soft clay though, the price will have dropped even more by the time you finished doing all 30k :p

orbero

2012-06-04 15:16:04

Maybe I should just mine iron and use that superheat thing you were talking about to gain smithing/magic/mining levels.

What the hell is clay used for?

Runaway

2012-06-04 15:18:58

From: orbero
Maybe I should just mine iron and use that superheat thing you were talking about to gain smithing/magic/mining levels.


I definitely recommend it, that method makes alot of money and you get great xp in every aspect. With the release of my clay crafting script, it sort of made iron mining the only viable choice for this script since clay isn't worth much right now.

From: orbero
What the hell is clay used for?


Mostly construction afaik. It's also used for pie dishes and urns.

chief herb

2012-06-13 00:01:09

if you could add dragon pick support for p2p or pm how to do so that would be very much appreciated<3

Runaway

2012-06-15 12:22:42

From: chief herb
if you could add dragon pick support for p2p or pm how to do so that would be very much appreciated<3


I've sent you a PM, but I'll post it here as well so others can use this fix if they want. First, locate the SetupPlay() procedure in the script:


procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickDTM, x, y: Integer;
begin
if not LoggedIn then Exit;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');
GameTab(tab_EQUIP);
if (ColorWait(2000, 9784898, Vex[0], Vex[1], Vex[2], Vex[3]) and ColorWait(2000, 3162439, Kin[0], Kin[1], Kin[2], Kin[3])) then
Currently('Found vexillum and ring of kinship!')
else
Error('Equip clan vexillum and ring of kinship!');
GameTab(tab_INV);
PickDTM := DTMFromString('mwQAAAHic42RgYHBgYmCwg2JbIHYFYi8g9oGyQfL3gOoeAvELIH4DxHeA+C6UvgHE14BYU16IwUhVlMHbQoHBRlcKKMKEgfmBJDLGBhiJwHAAAMTjDIY=');
Wait(250+Random(500));
if FindDTM(PickDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
Currently('Found pickaxe!')
else
begin
FreeDTM(PickDTM);
Error('Have pickaxe in first slot of inventory!');
end;
FreeDTM(PickDTM);
end;

Select the entire procedure and replace it with this:


procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickColor, x, y: Integer;
Slot: TBox;
begin
if not LoggedIn then Exit;
PickColor := 123456;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');
GameTab(tab_EQUIP);
if (ColorWait(2000, 9784898, Vex[0], Vex[1], Vex[2], Vex[3]) and ColorWait(2000, 3162439, Kin[0], Kin[1], Kin[2], Kin[3])) then
Currently('Found vexillum and ring of kinship!')
else
Error('Equip clan vexillum and ring of kinship!');
GameTab(tab_INV);
{PickDTM := DTMFromString('mwQAAAHic42RgYHBgYmCwg2JbIHYFYi8g9oGyQfL3gOoeAvELIH4DxHeA+C6UvgHE14BYU16IwUhVlMHbQoHBRlcKKMKEgfmBJDLGBhiJwHAAAMTjDIY=');
Wait(250+Random(500));
if FindDTM(PickDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
Currently('Found pickaxe!')
else
begin
FreeDTM(PickDTM);
Error('Have pickaxe in first slot of inventory!');
end;
FreeDTM(PickDTM);}
Slot := InvBox(1);
if ColorWait(2000, PickColor, Slot.x1, Slot.y1, Slot.x2, Slot.y2) then
Currently('Found pickaxe!')
else
Error('Have pickaxe in first slot of inventory!');
end;

Then use the color picker to find a prominent color on the pickaxe:


Picked colour: 397977 at (724, 403)
(This is just an example color)
Take that color and paste it over the PickColor placeholder at the top of the new SetupPlay() procedure:


procedure SetupPlay;
var
Vex, Kin: array of Integer;
PickColor, x, y: Integer;
Slot: TBox;
begin
if not LoggedIn then Exit;
PickColor := 123456;
// ^ This is to be changed
// Using the example color, it would look like this afterward:
// PickColor := 397977;
Vex := [572, 291, 600, 318];
Kin := [683, 371, 713, 386];
Currently('Setting up player...');

That should solve your problem :)

golden saint

2012-06-18 16:15:21

Nice!! script works great

Runaway

2012-06-18 16:46:07

From: golden saint
Nice!! script works great


Ahh, good to hear it's still running well :)

Jamesyy

2012-06-21 03:08:55

Great script :p

Runaway

2012-06-22 13:09:06

From: Jamesyy
Great script :p


Thanks, I try ;)

ineedbot

2012-06-23 00:33:28

hey i got an error
 Runaways                                  v0.6!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 0 Seconds
| Ores Mined: 0 iron
| Banked: 0 loads
| Mining XP gained: 0 XP
<=---------------------------------------------=>
ERROR: NPC color not found! See thread for fix.
Successfully executed.


edit: nvm, read all of first page

themaster999

2012-06-23 19:03:10

Is there a way to have it bank all the items at once instead of clicking every one individually?

Runaway

2012-06-23 19:47:25

From: themaster999
Is there a way to have it bank all the items at once instead of clicking every one individually?


Ah, this is due to an uptext bug. Unfortunately is has nothing to do with the script :/

Zagnes

2012-06-23 20:38:59

script not working it says ERROR: NPC color not found! See thread for fix. And i tryed swithing the codes..

Runaway

2012-06-23 21:36:50

From: Zagnes
script not working it says ERROR: NPC color not found! See thread for fix. And i tryed swithing the codes..


If you've added the new color properly it should work, but you can also try closing/reopening simba and logging in/out.

kevin33

2012-06-23 21:41:28

Dont worry Im teaching him how to do it on TV right now :)

Run…which NPC does it click on first??? Havent used the script cuz Im sticking with the crafter till 99 craft then Ill mine.

Runaway

2012-06-24 19:33:07

From: kevin33
Dont worry Im teaching him how to do it on TV right now :)

Run…which NPC does it click on first??? Havent used the script cuz Im sticking with the crafter till 99 craft then Ill mine.


It doesn't click on the NPC's, it uses their location on the MM to figure out where the random teleport placed the character :)

Zagnes

2012-06-24 22:04:56

Can you make it detect rocks faster and Bank at dung fast cause it waste 30 secounds just to bank at dung banker

ncore

2012-06-25 16:12:08

So far the script hasn't worked for me. It keeps teleporting to the clan area. Walks a couple steps, thinks its lost, then teleports again.

chief herb

2012-06-25 18:17:18

i think colors are messed up again

Runaway

2012-06-25 19:15:23

From: Zagnes
Can you make it detect rocks faster and Bank at dung fast cause it waste 30 secounds just to bank at dung banker


I've updated this and greatly improved the mining/banking process for v0.7!

From: ncore
So far the script hasn't worked for me. It keeps teleporting to the clan area. Walks a couple steps, thinks its lost, then teleports again.


From: chief herb
i think colors are messed up again


Yep, I guess they have. I will be updating the colors in the v0.7 update; Expect v0.7 later today!

E: @ncore, which part of the walking to the mine is broken? I guess a better way to ask it would be, how many walk path points does it click before breaking?

Runaway

2012-06-26 01:06:47

v0.7 has been released! Check out the "Update Log" on the first post to see what has been changed!

More reliable walking, better mining methods, and world hopping :) Also, I have no issues with colors after testing it for a good hour or so. Let me know if the issue persists.

nickrules

2012-06-26 16:07:50

From: Runaway
v0.7 has been released! Check out the "Update Log" on the first post to see what has been changed!

More reliable walking, better mining methods, and world hopping :) Also, I have no issues with colors after testing it for a good hour or so. Let me know if the issue persists.


Testing this now

 Runaways                                  v0.7!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 32 Minutes and 1 Seconds
| Ores Mined: 61 gold
| Banked: 3 loads
| Mining XP gained: 3965 XP
<=---------------------------------------------=>

going fine so far, it would be at ~3 hours, but was stopped because of a system update.

Runaway

2012-06-26 16:34:06

From: nickrules
Testing this now

 Runaways                                  v0.7!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 32 Minutes and 1 Seconds
| Ores Mined: 61 gold
| Banked: 3 loads
| Mining XP gained: 3965 XP
<=---------------------------------------------=>

going fine so far, it would be at ~3 hours, but was stopped because of a system update.


Gold? :o Does it actually wait while mining? Or does it end up clicking it a couple times before it's mine? I've actually never tested this with gold haha.

You might be better off modding my Clay, Craft, Bank script to mine the gold there ;)

nickrules

2012-06-26 17:11:46

From: Runaway
Gold? :o Does it actually wait while mining? Or does it end up clicking it a couple times before it's mine? I've actually never tested this with gold haha.

You might be better off modding my Clay, Craft, Bank script to mine the gold there ;)


Everything I do is for shits and giggles.

Anyways, here's the final thing. It failed because I (embarrassingly) have no more bank space.

<=----------- Rimmington Tele-Banker ----------=>
| Running for: 2 Hours, 20 Minutes and 45 Seconds
| Ores Mined: 97 gold
| Banked: 4 loads
| Mining XP gained: 6305 XP
<=---------------------------------------------=>
ERROR: Failed to bank some items!

It waits fine, btw.

E: After watching iron for awhile, I've noticed that rock detection/checking if we're done mining is a bit slow.

Runaway

2012-06-26 18:16:50

From: nickrules
Everything I do is for shits and giggles.

Anyways, here's the final thing. It failed because I (embarrassingly) have no more bank space.

<=----------- Rimmington Tele-Banker ----------=>
| Running for: 2 Hours, 20 Minutes and 45 Seconds
| Ores Mined: 97 gold
| Banked: 4 loads
| Mining XP gained: 6305 XP
<=---------------------------------------------=>
ERROR: Failed to bank some items!

It waits fine, btw.

E: After watching iron for awhile, I've noticed that rock detection/checking if we're done mining is a bit slow.


Heh okie, whatever floats your boat :)

How slow is a bit slow? When I run it, the script recognizes that it has successfully mined an ore between 100-500 ms after it's happened. That's about the fastest I've been able to get it since I have to check for people stealing it.

nickrules

2012-06-26 18:44:13

From: Runaway
Heh okie, whatever floats your boat :)

How slow is a bit slow? When I run it, the script recognizes that it has successfully mined an ore between 100-500 ms after it's happened. That's about the fastest I've been able to get it since I have to check for people stealing it.


Several seconds. I just tested on one ore, and it took 5 seconds. Higher than usual, i think, but still really slow.

 Runaways                                  v0.7!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 51 Minutes and 13 Seconds
| Ores Mined: 0 iron
| Banked: 17 loads
| Mining XP gained: 0 XP
<=---------------------------------------------=>
ERROR: Failed to hop world!
Successfully executed.

Tried to join a members world. You do know, there's a function for changing worlds, right?
 begin
ExitToLobby;
Changeworld(RandomWorld(Players[currentplayer].Member, false));
end;

Runaway

2012-06-26 19:47:42

From: nickrules
Several seconds. I just tested on one ore, and it took 5 seconds. Higher than usual, i think, but still really slow.

 Runaways                                  v0.7!
<=----------- Rimmington Tele-Banker ----------=>
| Running for: 1 Hours, 51 Minutes and 13 Seconds
| Ores Mined: 0 iron
| Banked: 17 loads
| Mining XP gained: 0 XP
<=---------------------------------------------=>
ERROR: Failed to hop world!
Successfully executed.

Tried to join a members world. You do know, there's a function for changing worlds, right?
 begin
ExitToLobby;
Changeworld(RandomWorld(Players[currentplayer].Member, false));
end;


What the…

It's not recognizing the iron ore in your inv for some reason. I tested it only on iron which doesn't make much sense though… It waits a maximum of 5 seconds if it doesn't detect the ore in your inventory, the "no ore available" text, or if you don't get the "swing your pickaxe" text. So the inventory ore is the obvious culprit since it's saying you didn't mine any ore.

I don't know why the colors are so off for you, my custom world picker should never be clicking on a members world (tested it for like 3 hours straight). Also, I made a custom one because SelectWorld and ChooseWorld weren't working for me. And when I tried to use LoginPlayer it gave me an error. So I just said **** it and made my own :p

I'll look into the color issues. Maybe they've updated inventory ores to change colors. I always wondered why bars change so much and ores don't change at all >.<

ncore

2012-06-28 13:28:47

From: Runaway

E: @ncore, which part of the walking to the mine is broken? I guess a better way to ask it would be, how many walk path points does it click before breaking?


Hey man, I made a huge mistake lol. I thought the latest version was at the top of the list, and I forgot to read the numbers. I downloaded the FIRST version of the script. So that would explain why it didn't work :duh:

I just downloaded the latest version and will be testing it shortly

Thank you for being an amazing script writer!

Runaway

2012-06-28 18:11:52

From: ncore
Hey man, I made a huge mistake lol. I thought the latest version was at the top of the list, and I forgot to read the numbers. I downloaded the FIRST version of the script. So that would explain why it didn't work :duh:

I just downloaded the latest version and will be testing it shortly

Thank you for being an amazing script writer!


Haha, that would explain it! And thanks! Let me know how the testing goes :)

ncore

2012-06-28 21:40:51

Hey, I ran it for a tiny bit. I had 3 accounts running the bot at once, all of which are around level 71-75 mining. I have the report of only 1 account though. The other two sometimes got stuck at the entrance to the Rimmington mine. They got stuck and kept trying to find ores. And easy way to get them unstuck (if you are at the computer) was to simply enter into the mine, then they found the ores and went right to work.

Also, I think it would be a cool feature to add if there was an option to prioritize mining or picking up iron ore. I saw a lot of power miners dropping 30-40 iron ore. Its a huge waste of money. With an option of making picking up iron more important than mining it, banking would go a lot faster, and I am sure progress reports would look a lot more appealing.

But right now, in my opinion, the speed of the bot is flawless. It mined the ores quickly without hesitation. Teleportation and travel was smooth, except for the instance where the bot got caught at the entrance of the mine. I think a good failsafe would be to have the bot auto teleport back to the clan site if it doesn't find an iron ore within five minutes. I think that would really fix a lot, and if that same concept could be used when trying to find the dungeoneering banker (I heard about this issue but haven't experienced it), I think that will work well too.

Overall, this is an amazing bot and you have done an amazing job. Here is a short progress report. I will try running 3 at once tonight and see how it works out in the morning.

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 31 Minutes and 13 Seconds
| Ores Mined: 358 iron
| Banked: 15 loads
| Mining XP gained: 12530 XP
<=———————————————=>

EDIT:

So I ran 3 bots last night on your script. One ended at 29 minutes, but here is the other two progress reports:

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 19 Minutes and 48 Seconds
| Ores Mined: 296 iron
| Banked: 12 loads
| Mining XP gained: 10360 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 18 Minutes and 26 Seconds
| Ores Mined: 1460 iron
| Banked: 57 loads
| Mining XP gained: 51100 XP
<=———————————————=>

Runaway

2012-06-29 16:49:33

From: ncore
Hey, I ran it for a tiny bit. I had 3 accounts running the bot at once, all of which are around level 71-75 mining. I have the report of only 1 account though. The other two sometimes got stuck at the entrance to the Rimmington mine. They got stuck and kept trying to find ores. And easy way to get them unstuck (if you are at the computer) was to simply enter into the mine, then they found the ores and went right to work.

Also, I think it would be a cool feature to add if there was an option to prioritize mining or picking up iron ore. I saw a lot of power miners dropping 30-40 iron ore. Its a huge waste of money. With an option of making picking up iron more important than mining it, banking would go a lot faster, and I am sure progress reports would look a lot more appealing.

But right now, in my opinion, the speed of the bot is flawless. It mined the ores quickly without hesitation. Teleportation and travel was smooth, except for the instance where the bot got caught at the entrance of the mine. I think a good failsafe would be to have the bot auto teleport back to the clan site if it doesn't find an iron ore within five minutes. I think that would really fix a lot, and if that same concept could be used when trying to find the dungeoneering banker (I heard about this issue but haven't experienced it), I think that will work well too.

Overall, this is an amazing bot and you have done an amazing job. Here is a short progress report. I will try running 3 at once tonight and see how it works out in the morning.

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 31 Minutes and 13 Seconds
| Ores Mined: 358 iron
| Banked: 15 loads
| Mining XP gained: 12530 XP
<=———————————————=>

EDIT:

So I ran 3 bots last night on your script. One ended at 29 minutes, but here is the other two progress reports:

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 19 Minutes and 48 Seconds
| Ores Mined: 296 iron
| Banked: 12 loads
| Mining XP gained: 10360 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 18 Minutes and 26 Seconds
| Ores Mined: 1460 iron
| Banked: 57 loads
| Mining XP gained: 51100 XP
<=———————————————=>


It used to teleport back to daemonheim if it couldn't find the banker for (20 or 30) seconds and the same with walking to the mine. Maybe I accidentally changed something when I updated the code. I'll have to check that out.

As for the wierd errors you've been getting, it could either be colors that are changing more than I've anticipated or lag. Try upping the SMART slider on the right for each one and see if that changes anything.

ncore

2012-06-29 22:37:51

Ok I will try that. What exactly is that slider and what does it do? After all the time I have had simba, I never knew what that did lol

Runaway

2012-06-29 22:44:05

From: ncore
Ok I will try that. What exactly is that slider and what does it do? After all the time I have had simba, I never knew what that did lol


:p

It handles the amount of CPU that the SMART client can use. The higher the bar, the more CPU it is allowed.

ncore

2012-07-01 00:00:01

From: Runaway
:p

It handles the amount of CPU that the SMART client can use. The higher the bar, the more CPU it is allowed.


okay thanks. I ran it last night at one of the 3 bots went for 4.5 hours, but for some reason it said it collected zero iron, which I KNOW is false because over 900 iron ore was added to that accounts inventory. I don't have the reports for the other accounts because I am on vacation and use a different computer, but I will download simba and try it out tonight. This computer has more ram and a better processor and cooling system and is brand new, I will see how much better it works.

ncore

2012-07-01 09:52:27

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 16 Minutes and 46 Seconds
| Ores Mined: 440 iron
| Banked: 16 loads
| Mining XP gained: 15400 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 24 Minutes and 11 Seconds
| Ores Mined: 1243 iron
| Banked: 47 loads
| Mining XP gained: 43505 XP
<=———————————————=>

thats around 60k-70k gold per hour, which is VERY nice

Runaway

2012-07-01 12:01:41

From: ncore
okay thanks. I ran it last night at one of the 3 bots went for 4.5 hours, but for some reason it said it collected zero iron, which I KNOW is false because over 900 iron ore was added to that accounts inventory. I don't have the reports for the other accounts because I am on vacation and use a different computer, but I will download simba and try it out tonight. This computer has more ram and a better processor and cooling system and is brand new, I will see how much better it works.


Yeah the colors of iron ore in the inventory seem to change too much for the script to notice occassionally. I'm working on a way to fix this :)

From: ncore
<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 16 Minutes and 46 Seconds
| Ores Mined: 440 iron
| Banked: 16 loads
| Mining XP gained: 15400 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 24 Minutes and 11 Seconds
| Ores Mined: 1243 iron
| Banked: 47 loads
| Mining XP gained: 43505 XP
<=———————————————=>

thats around 60k-70k gold per hour, which is VERY nice


Great! Are you still having weird issues or do those seem to be fixed by using more CPU?

ncore

2012-07-01 18:35:05

From: Runaway

Great! Are you still having weird issues or do those seem to be fixed by using more CPU?


I actually set it for LESS cpu. I think it is working better because I am using simba on a computer I never used before, and simba was updated.

When I was running the script on my other computer, I forgot to update simba after 3 months of not even touching it, so that must have caused some problems.

However, I am hesitant on updating simba on my other computer, it seems like the newer version wants to put simba infront of everthing else whenever an ore is mined or a bank is opened, which I don't want to happen.

Is everybody else having that problem?

Runaway

2012-07-02 15:26:41

From: ncore
I actually set it for LESS cpu. I think it is working better because I am using simba on a computer I never used before, and simba was updated.

When I was running the script on my other computer, I forgot to update simba after 3 months of not even touching it, so that must have caused some problems.

However, I am hesitant on updating simba on my other computer, it seems like the newer version wants to put simba infront of everthing else whenever an ore is mined or a bank is opened, which I don't want to happen.

Is everybody else having that problem?


Oh, the whole outdated SRL thing could have definitely played a big role in the issues :P

And that is a common SMART issue, it likes to place SMART in front of other windows when something is written in Simba's debug. It should stop eventually.

ncore

2012-07-04 08:26:40

Got a couple more proggies:

This one was stopped by the freaky forrester:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 5 Minutes and 58 Seconds
| Ores Mined: 783 iron
| Banked: 30 loads
| Mining XP gained: 27405 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 56 Minutes and 15 Seconds
| Ores Mined: 1073 iron
| Banked: 41 loads
| Mining XP gained: 37555 XP
<=———————————————=>

This one got stopped by the pinball random. It says 0 ore collected but I would guess that between 300-400 were collected:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 22 Minutes and 39 Seconds
| Ores Mined: 0 iron
| Banked: 14 loads
| Mining XP gained: 0 XP
<=———————————————=>

EDIT: right now I have a really good proggie running, might be in the 4-5 hour range, possible longer, so it is running smoothly

Omario

2012-07-04 12:45:43

hello, just tried the script, made sure i got the ring and vexilum equiped and pick in first slot as u said, but all the script is doing isteleporting me to clan grounds then running down to mining spot, and just does nothing at all, just stands there, tried with iron and gold same result, any idea how to get it to work properly?
\
thanks

Runaway

2012-07-04 12:49:56

From: ncore
Got a couple more proggies:

This one was stopped by the freaky forrester:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 5 Minutes and 58 Seconds
| Ores Mined: 783 iron
| Banked: 30 loads
| Mining XP gained: 27405 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 56 Minutes and 15 Seconds
| Ores Mined: 1073 iron
| Banked: 41 loads
| Mining XP gained: 37555 XP
<=———————————————=>

This one got stopped by the pinball random. It says 0 ore collected but I would guess that between 300-400 were collected:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 22 Minutes and 39 Seconds
| Ores Mined: 0 iron
| Banked: 14 loads
| Mining XP gained: 0 XP
<=———————————————=>

EDIT: right now I have a really good proggie running, might be in the 4-5 hour range, possible longer, so it is running smoothly


Great! That whole "0 iron" is a color bug I've got to fix still. I'll try and get to that today.

From: Omario
hello, just tried the script, made sure i got the ring and vexilum equiped and pick in first slot as u said, but all the script is doing isteleporting me to clan grounds then running down to mining spot, and just does nothing at all, just stands there, tried with iron and gold same result, any idea how to get it to work properly?
\
thanks


Hey Omario,

Does it walk anywhere once it reaches the mine? Or does it just stand in the middle? It sounds like a color issue… Do you have your brightness set all the way up, in safe mode with lowest details, etc?

ncore

2012-07-04 15:03:46

Well, the big proggie just ended, not sure why though. It is a nice 6 hour proggie, possibly the longest I have had yet:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 5 Hours, 59 Minutes and 43 Seconds
| Ores Mined: 2190 iron
| Banked: 85 loads
| Mining XP gained: 76650 XP
<=———————————————=>
Thats a little over 60k an hour

Another account went to 1.5 hours:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 33 Minutes and 51 Seconds
| Ores Mined: 507 iron
| Banked: 20 loads
| Mining XP gained: 17745 XP
<=———————————————=>

EDIT: I might just have an even SEXIER proggy coming up lol, its getting close
EDIT#2: It is sexier by a whole 2 minutes lol. It stopped due to an error walking to the mine
<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 1 Minutes and 56 Seconds
| Ores Mined: 1859 iron
| Banked: 71 loads
| Mining XP gained: 65065 XP
<=———————————————=>
The ore per hour is not as good as the other one :(
And I had another miner running at the same time, it got to 5.25 hours, but it never recorded how many ores were being picked up. Hopefully that will be fixed soon, but other than that, the script is running great!

I will be running 3 bots at once tonight, unmaintained. Will post proggies in the morning

ncore

2012-07-05 11:39:28

Last night went well, for some reason I only copied two of the three progress reports :P

Here are two:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 37 Minutes and 12 Seconds
| Ores Mined: 450 iron
| Banked: 18 loads
| Mining XP gained: 15750 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 1 Minutes and 58 Seconds
| Ores Mined: 1014 iron
| Banked: 40 loads
| Mining XP gained: 35490 XP
<=———————————————=>

I got 3 more bots all with 3-4 hour reports running at the same time, will post them when they stop

ncore

2012-07-06 07:58:50

Bundles more:

Stopped by prison pete:
<=———– Rimmington Tele-Banker ———-=>
| Running for: 3 Hours, 58 Minutes and 1 Seconds
| Ores Mined: 1444 iron
| Banked: 56 loads
| Mining XP gained: 50540 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 4 Hours, 51 Minutes and 52 Seconds
| Ores Mined: 0 iron
| Banked: 47 loads
| Mining XP gained: 0 XP
<=———————————————=>
ERROR: Walking to mine messed up!


<=———– Rimmington Tele-Banker ———-=>
| Running for: 6 Hours, 25 Minutes and 50 Seconds
| Ores Mined: 1758 iron
| Banked: 68 loads
| Mining XP gained: 61530 XP
<=———————————————=>
ERROR: NPC color not found! See thread for fix.

<=———– Rimmington Tele-Banker ———-=>
| Running for: 1 Hours, 52 Minutes and 59 Seconds
| Ores Mined: 517 iron
| Banked: 20 loads
| Mining XP gained: 18095 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 2 Hours, 13 Minutes and 12 Seconds
| Ores Mined: 741 iron
| Banked: 29 loads
| Mining XP gained: 25935 XP
<=———————————————=>

<=———– Rimmington Tele-Banker ———-=>
| Running for: 5 Hours, 32 Minutes and 16 Seconds
| Ores Mined: 1564 iron
| Banked: 56 loads
| Mining XP gained: 54740 XP
<=———————————————=>

Runaway

2012-07-06 10:24:18

Holy… you're overwhelming me :blink:

My internet is being weird right now so I won't be able to fix the ore issue for a bit. I have added one of your reports to the top (5) reports though :) It's been quite a while since that's happened with this script!

iETHOSi

2012-07-06 18:40:03

I noticed this script is a bit slow when searching for a new deposit and the time it takes to click it. Is there any way to speed up the searching process and to only left click the deposits? It's taking me about 2-3 minutes to fill an inventory at 87 mining. =\

Runaway

2012-07-06 20:16:24

From: iETHOSi
I noticed this script is a bit slow when searching for a new deposit and the time it takes to click it. Is there any way to speed up the searching process and to only left click the deposits? It's taking me about 2-3 minutes to fill an inventory at 87 mining. =\


I use right-clicking for 2 reasons:
1) It will never click the wrong object.
2) With this script in particular, there is a highwayman near the iron ores. Since the vexillum only has shared/defensive stances, I don't want my script to be the cause of any unwanted combat levels.

So, there's a method to my madness :p As for speed, I pride myself on stability rather than speed. I generally only make a script if I'm going to use it myself, and I don't care how fast something is. I just want it to do what it's supposed to do, so I don't have to!

PS. 2-3 minutes for a load is faster than I can ever get it to run >.<

Leonardo Da Vinci

2012-07-06 20:34:03

So far, so pretty damn good, thanks!
I'll post the end results later.

Leonardo Da Vinci

2012-07-06 20:45:58

From: Runaway

You've come to the right place. First, navigate to the DeclareColors procedure, which is inside the script setup area:
 
procedure DeclareColors;
begin
// Only update if NPCs cannot be located \\
NPC := [2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];
The NPC array is the one you want to add a new color to. To do this, go back to your browser, click on the color picker tool in Simba, and select the yellow color of the NPC dot with it. The color you chose will show up in Simba's debug like this:

Picked colour: 225126 at (1216, 209)
Take the color and add it into the NPC array as the first color:

NPC := [225126, 2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];


So here, what I do is replace:

NPC := [2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];

With this:


NPC := [225126, 2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];

Or did I misread?

Runaway

2012-07-06 20:51:31

From: Law and Justice
So here, what I do is replace:

NPC := [2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];

With this:


NPC := [225126, 2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];

Or did I misread?


Erm, not quite. You have to use the color-picker to grab the NPC's dot color on the MM, and then place that color where I've placed "225126" in the bug fix.

Leonardo Da Vinci

2012-07-06 20:54:26

From: Runaway
Erm, not quite. You have to use the color-picker to grab the NPC's dot color on the MM, and then place that color where I've placed "225126" in the bug fix.


Oh…
I'm not going to ask you to spoon-feed me, so I'll try to figure out what you mean…
I'll take this advise :google:

ncore

2012-07-06 21:54:44

Yea, it looks kind of like an eye dropper. Just click it, (make sure your minimap is in view though!) And click on the yellow npc dot. This might have to be done every couple days, and to ensure it is perfect, you could color pick the dot 2-3 times to get different combos of color to ensure the npc is found.

It is normally the npc bug that messes this script up, but once perfected, you should be satisfied with the results.


From: Runaway
Holy… you're overwhelming me :blink:

My internet is being weird right now so I won't be able to fix the ore issue for a bit. I have added one of your reports to the top (5) reports though :) It's been quite a while since that's happened with this script!


Lol well you helped me by making an amazing script, the least I could do is post every proggie I have to let others know how well it is running.

ncore

2012-07-07 11:51:53

I have decided that instead of posting proggies every day, I will save them up and post like, 9 or more at a time.

Also, I started using this script on my lower leveled miners. They are lvs 62-67. The mines have become really crowded with bots that don't appear to be using simba (I know because their movements and patterns are not that of any simba mining bot). They have been giving me embarrassingly low ores per hour so I won't post their proggies. I just hope the bot nuke comes soon and takes out all bots that aren't color based lol

Runaway

2012-07-07 12:03:51

From: ncore
I have decided that instead of posting proggies every day, I will save them up and post like, 9 or more at a time.

Also, I started using this script on my lower leveled miners. They are lvs 62-67. The mines have become really crowded with bots that don't appear to be using simba (I know because their movements and patterns are not that of any simba mining bot). They have been giving me embarrassingly low ores per hour so I won't post their proggies. I just hope the bot nuke comes soon and takes out all bots that aren't color based lol


Yeah, it's too bad that a injection/reflection bot will almost always beat out a color one :(

ncore

2012-07-07 13:05:36

From: Runaway
Yeah, it's too bad that a injection/reflection bot will almost always beat out a color one :(


Yea, but the downside to those bots is that they get hurt by the bot nuke lol

iETHOSi

2012-07-07 19:12:06

From: Runaway
I use right-clicking for 2 reasons:
1) It will never click the wrong object.
2) With this script in particular, there is a highwayman near the iron ores. Since the vexillum only has shared/defensive stances, I don't want my script to be the cause of any unwanted combat levels.

So, there's a method to my madness :p As for speed, I pride myself on stability rather than speed. I generally only make a script if I'm going to use it myself, and I don't care how fast something is. I just want it to do what it's supposed to do, so I don't have to!

PS. 2-3 minutes for a load is faster than I can ever get it to run >.<


Is there any way I can speed it up for myself personally and change the right-click option? Just wondering.

Runaway

2012-07-07 19:19:03

From: iETHOSi
Is there any way I can speed it up for myself personally and change the right-click option? Just wondering.


If you can get it to find the next rock locations and store their points while mining, and then loop through those after mining is finished; then be my guest :)

As for right-click, all you have to do is find the WaitUptextMulti() in the MineOre function and replace everything after it with ClickMouse2(mouse_left) instead. I would go through it and do it for you, but I'm tired :/

ncore

2012-07-07 22:01:32

From: Runaway
If you can get it to find the next rock locations and store their points while mining, and then loop through those after mining is finished; then be my guest :)

As for right-click, all you have to do is find the WaitUptextMulti() in the MineOre function and replace everything after it with ClickMouse2(mouse_left) instead. I would go through it and do it for you, but I'm tired :/


i tried that and for some reason it didnt want to bank. but when mining, it wasnt very buggy at all

ncore

2012-07-08 13:17:44

Have over 35 hours of proggies saved up for my next post, a very small number of them don't have the ores counted.

All of the ones that do I will calculate the average ore per hour as well as xp per hour. I hope the bot nuke comes around soon, the mines are beginning to fill w/ injection/reflection bots

ncore

2012-07-08 16:20:55

Ok so I decided to add it all up into one big ass proggie, just so your eyes don't start to hurt:

<=———– Rimmington Tele-Banker ———-=>
| Running for: 42 Hours
| Ores Mined: 12571 iron
| Banked: 488 loads
| Mining XP gained: 439985 XP
<=———————————————=>

The script was running on various accounts ranging from 67 mining up to 79. Mainly in the 75-79 range. The levels were slightly crowded, a lot more crowded then when I first tried the script, I have not came across to many other players using the exact same banking method this script does, which is distinguished by the clan vexillium they have to carry.

With similar variables as those mentioned above, you should get roughly:

10-11k mining xp per hour
300 iron ore per hour

and in todays market in which iron ore sells for 186gp (and is rising quickly), you make:
55.8k per hour

iiNveRsioN

2012-07-15 22:14:19

For anyone who used Brandon's fix for SMART here is the fixed version of the script:



{=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=|
|=----------------------------------------------------------------------------=|
|= =|
|= Rimmington Tele-Banker v0.7 =|
|= =|
|= by: Runaway =|
|= =|
|=----------------------------------------------------------------------------=|
|= =|
|= This script mines any ore at the Rimmington mine. It uses the =|
|= unlimited teleports supplied by the dungeoneering ring and the =|
|= clan vexillum to bank and return to the mine. =|
|= =|
|= How to use: =|
|= =|
|= 1) Fill out the setup below. =|
|= =|
|= 2) Place your character anywhere. =|
|= =|
|= 3) Equip both a clan vexillum and a ring of kinship. =|
|= =|
|= 4) Have a pickaxe in the first slot of your inventory. =|
|= =|
|= 5) Hit run! =|
|= =|
|= Requirements: =|
|= =|
|= - None! =|
|= =|
|=----------------------------------------------------------------------------=|
|=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=}

program RimmingtonTeleBanker;

{$DEFINE SMART}
{$I SRL/SRL.Simba}
{$IFDEF SIMBAMAJOR980}
{$I SRL/SRL/Misc/PaintSmart.Simba}
{$ELSE}
{$I SRL/SRL/Misc/SmartGraphics.Simba}
{$ENDIF}

var
ClanToMine: array[0..3] of array[0..1] of array of Integer;
DungToBank: array[0..1] of array[0..1] of array of Integer;
MineToSpot: array[0..1] of array of Integer;
NPC, InvOre, OreColor, CopperColor, TinColor, ClayColor, IronColor, GoldColor,
BankerColor, PickaxeColor, ExColors, ExTol: array of Integer;
cx, cy, t, Loop, OresMined, OresPicked, LoadsDone, lExColors, NPCColor,
RockColor, VexColor, KinColor, MineWait, AvgMine, StartMine, Stolen, HopCount: Integer;
OreUptext: String;
OreXP: Extended;
Aligned: Boolean;

{=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=|
|=-------------------------------=BEGIN-SETUP=--------------------------------=|
|=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=}

const
OreToMine = 'iron'; // Valid choices: copper, tin, iron, clay, gold
UserPin = ''; // Leave blank if not using a pin
TimeToRun = 360; // Minutes to run the script for (0 to run until stopped)
HopIfTaken = False; // True to hop worlds if the spot is taken
//PickupDrops = False; // True to pickup ores on the ground
UseRest = True; // Rest when low energy

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

with Players[0] do
begin
Name := ''; // Player username
Pass := ''; // Player password
BoxRewards := ['XP', 'ostume', 'mote', 'oins', 'une', 'ssence'];
LampSkill := Skill_MINING;
Active := True;
end;
end;

procedure DeclareColors;
begin
// Only update if NPCs cannot be located \\
NPC := [2162687, 1900543, 1783370, 1702399, 1701113, 1505535, 1437694, 1374705, 1372665, 1244415, 1179647, 1179644, 1043199, 981753, 916991, 786430, 783103, 777964, 773595, 720883, 718847, 717815, 717567, 654579, 653311, 651775, 648667, 645348, 640979, 589823, 589311, 588280, 587000, 584957, 584171, 583916, 579817, 579802, 578776, 575448, 574407, 522732, 458751, 450798, 393210, 391151, 327667, 326911, 326385, 325112, 323558, 322788, 319972, 318418, 317648, 315603, 314049, 313279, 257009, 255470, 196604, 127367, 65522, 65233, 63478, 61670, 61439, 61150, 60651, 59355, 56781, 55511, 55014, 53474, 51142, 50645, 49105, 47302];

{=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=|
|=-------------------------------=END-SETUP=----------------------------------=|
|=~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=}

BankerColor := [2968144, 5408402, 8609098]; // Main color first
PickaxeColor := [1517364, 2111304];

RockColor := 7834010;
CopperColor := [RockColor, 4951024];
TinColor := [RockColor, 11513783];
ClayColor := [RockColor, 8174044];
IronColor := [RockColor, 2765644];
GoldColor := [RockColor, 5165309];

ClanToMine[0][0] := [5068118, 3361105, 2965055, 2508359]; // Colors
ClanToMine[0][1] := [675, 128]; // Sort point
ClanToMine[1][0] := [5068118, 2177087, 2575706, 2771553];
ClanToMine[1][1] := [628, 144];
ClanToMine[2][0] := [2504253, 2967881, 2243141];
ClanToMine[2][1] := [623, 139];
ClanToMine[3][0] := [2114652, 5921623, 2444907];
ClanToMine[3][1] := [632, 139];

DungToBank[0][0] := [15198705, 10132641, 13619672, 15461616]; // Colors
DungToBank[0][1] := [638, 38]; // Sort point
DungToBank[1][0] := [15920097, 15922418, 13223098];
DungToBank[1][1] := [619, 36];

VexColor := 9784898;
KinColor := 3162439;

MMBox := IntToBox(MMX1, MMY1, MMX2, MMY2);
MSBox := IntToBox(MSX1, MSY1, MSX2, MSY2);
end;

const
Version = '0.7';
WalkTol = 30;
WalkMaxDist = 25;
WalkFilter = 25;
WalkTrim = 1000;

procedure ProgressReport; forward;

procedure Currently(Doing: String);
begin
Status(Doing);
DebugLn(Doing);
end;

procedure Error(Reason: String);
begin
Currently(Reason);
WriteLn('ERROR: '+ Reason);
Logout;
TerminateScript;
end;

procedure SetupVars;
begin
Currently('Gathering ore data...');
OreXP := 0;
if (OreToMine = '') then
Error('Enter the ore you want to mine!');
case Lowercase(OreToMine) of
'copper':
begin
OreXP := 17.5; OreUptext := 'per ore'; OreColor := CopperColor;
ExColors := []; ExTol := []; lExColors := Length(ExColors);
InvOre := [3697338, 3558753];
MineToSpot[0] := [3426135, 2511751]; // Colors
MineToSpot[1] := [604, 101]; // Sort point
end;
'tin':
begin
OreXP := 17.5; OreUptext := 'in ore'; OreColor := TinColor;
ExColors := []; ExTol := []; lExColors := Length(ExColors);
InvOre := [6645354, 3558753];
MineToSpot[0] := [2905180, 5987161];
MineToSpot[1] := [623, 114];
end;
'iron':
begin
OreXP := 35; OreUptext := 'ron ore'; OreColor := IronColor;
ExColors := [CopperColor[1]]; ExTol := [4]; lExColors := Length(ExColors);
InvOre := [1581111, 4020076];
MineToSpot[0] := [3294552, 5987161];
MineToSpot[1] := [613, 84];
end;
'clay':
begin
OreXP := 5; OreUptext := 'lay'; OreColor := ClayColor;
ExColors := [IronColor[1], GoldColor[1]]; ExTol := [3, 3]; lExColors := Length(ExColors);
InvOre := [5010055, 4680318];
MineToSpot[0] := [3163472, 2511751];
MineToSpot[1] := [645, 76];
end;
'gold':
begin
OreXP := 65; OreUptext := 'old ore'; OreColor := GoldColor;
ExColors := []; ExTol := []; lExColors := Length(ExColors);
InvOre := [1675960, 3558753];
MineToSpot[0] := [2905180, 5987161];
MineToSpot[1] := [644, 110];
end;
end;
if (OreXP = 0) then
Error('Invalid ore entered!');
MineWait := 5000;
AvgMine := MineWait;
HopCount := 15;
end;

function ColorWait(WaitTime, Color, Tol: Integer; Box: TBox): Boolean;
var
i, x, y: Integer;
begin
if not LoggedIn then Exit;
Result := False;
MarkTime(i);
repeat
Result := FindColorTolerance(x, y, Color, Box.x1, Box.y1, Box.x2, Box.y2, Tol);
if Result then
Break;
Wait(100+Random(50));
until(TimeFromMark(i) > WaitTime);
end;

function ColorWaitMulti(WaitTime: Integer; Colors: TIntegerArray; Box: TBoxArray; Strict: Boolean): Boolean;
var
hColors, Res, i: Integer;
begin
if not LoggedIn then Exit;
Result := False;
Res := 0;
hColors := High(Colors);
for i := 0 to hColors do
begin
if ColorWait(WaitTime, Colors[i], 15, Box[i]) then
Inc(Res);
end;
if Strict then
begin
if (Res > hColors) then
Result := True;
end else
begin
if (Res > 0) then
Result := True;
end;
end;

procedure WaitLoggedIn(WaitTime: Integer);
var
HPBox: TBox;
begin
HPBox := IntToBox(695, 19, 718, 42);
while not ColorWait(WaitTime, 143319, 10, HPBox) do
Wait(WaitTime);
end;

function FindTPointCluster(Colors: TIntegerArray; Tol: Integer; SortFrom: TPoint; Filter, Trim, MaxDist: Integer; Box: TBox): TPointArray;
var
aPoints: T2DPointArray;
TPA: TPointArray;
hPoints, hColors: Integer;
cError, Len, Match: Integer;
t, r, i, ii: Integer;
begin
MarkTime(t);
SetLength(aPoints, Length(Colors));
hColors := High(Colors);
cError := 0;
r := 0;
for i := 0 to hColors do
begin
if (FindColorsTolerance(TPA, Colors[i], Box.x1, Box.y1, Box.x2, Box.y2, Tol)) then
begin
SortTPAFrom(TPA, SortFrom);
if (Filter <> -1) then
FilterPointsDist(TPA, 0, Filter, SortFrom.x, SortFrom.y);
if (Trim <> -1) and (Length(TPA) > Trim) then
SetLength(TPA, Trim);
aPoints[i - cError] := TPA;
end else
begin
Len := Length(aPoints) - 1;
SetLength(aPoints, Len);
Inc(cError);
end;
if (cError >= 1) then
Exit;
end;
hPoints := High(aPoints);
for i := 0 to High(aPoints[0]) do
begin
Match := 0;
for ii := 1 to hPoints do
begin
if NearbyPointInArray(aPoints[0][i], MaxDist, aPoints[ii]) then
begin
Inc(Match);
if (Match >= hPoints) then
begin
SetLength(Result, r + 1);
Result[r] := aPoints[0][i];
Inc(r);
end;
end else
Break;
end;
end;
SortTPAFrom(Result, SortFrom);
end;

function CheckInvColor(Color: TIntegerArray; Slot, Tol: Integer): Boolean;
var
TPA: TPointArray;
tSlot: TBox;
begin
if not LoggedIn then Exit;
Result := False;
tSlot := InvBox(Slot);
if ExistsItem(Slot) then
begin
TPA := FindTPointCluster(Color, Tol, Point(tSlot.x1, tSlot.y1), -1, -1, 20, tSlot);
Result := (Length(TPA) > 0);
end;
end;

function TabWait(WaitTime, Tab: Integer): Boolean;
var
t: Integer;
begin
if not LoggedIn then Exit;
Result := False;
GameTab(Tab);
MarkTime(t);
repeat
Result := (GetCurrentTab = Tab);
if Result then
Break;
Wait(100+Random(50));
until(TimeFromMark(t) > WaitTime);
end;

procedure Calibrate;
begin
ClickNorth(2);
SetAngle(SRL_ANGLE_HIGH);
SetAngle(SRL_ANGLE_HIGH); // In case of lag
end;

procedure DoRest;
var
EnergyBox: TBox;
i: Integer;
begin
EnergyBox := IntToBox(742, 107, 760, 119);
if not ColorWait(500, 255, 5, EnergyBox) then
Exit;
Currently('Resting...');
SetRest;
MarkTime(i);
repeat
Wait(1000+Random(1000));
if ColorWait(500, 65280, 5, EnergyBox) then
Break;
until(TimeFromMark(i) > 30000);
Wait(3000+Random(1000));
SetRun(True);
end;

function Antiban: Boolean;
begin
if not LoggedIn then Exit;
Result := False;
if UseRest then
DoRest;
FindNormalRandoms;
case Random(1600) of
1: begin Result := True; Currently('Antiban...'); PickUpMouse; end;
2: begin Result := True; Currently('Antiban...'); BoredHuman; Calibrate; end;
3: begin Result := True; Currently('Antiban...'); RandomAngle(1); Calibrate; end;
4: begin Result := True; Currently('Antiban...'); Wait(1000+Random(2500)); end;
5,6: begin Result := True; Currently('Antiban...'); Wait(4000+Random(1000)); end;
7,8,9,10: begin Result := True; Currently('Antiban...'); RandomMovement; Calibrate; end;
end;
end;

procedure SetupPlay;
var
VexBox, KinBox: TBox;
begin
if not LoggedIn then Exit;
VexBox := IntToBox(572, 291, 600, 318);
KinBox := IntToBox(683, 371, 713, 386);
Currently('Setting up player...');
TabWait(1000, tab_EQUIP);
if ColorWaitMulti(1000, [VexColor, KinColor], [VexBox, KinBox], True) then
Currently('Found clan vexillum and ring of kinship!')
else
Error('Equip clan vexillum and ring of kinship!');
TabWait(1000, tab_INV);
if CheckInvColor(PickaxeColor, 1, 5) then
Currently('Found pickaxe in first slot!')
else
Currently('Place pickaxe in first slot of inventory!');
end;

function Teleport(Which: String; Tries: Integer): Boolean;
var
CoordBox, ClanBox: TBox;
Color, i, x, y: Integer;
Area: String;
Clan: Boolean;
begin
if not LoggedIn then Exit;
case Lowercase(Which) of
'clan':
begin
Color := VexColor; CoordBox := IntToBox(572, 291, 600, 318); Clan := True;
Area := 'clan grounds';
end;
'dung':
begin
Color := KinColor; CoordBox := IntToBox(683, 371, 713, 386); Clan := False;
Area := 'daemonheim';
end;
end;
i := 0;
repeat
AntiBan;
Currently('Teleporting to '+ Area +': Attempt '+ IntToStr(i + 1) +'...');
TabWait(1000, tab_EQUIP);
if ColorWait(2000, Color, 10, CoordBox) then
begin
MouseTBox(CoordBox, mouse_right);
Result := WaitOptionMulti(['ele','port'], 2000);
if Result then
begin
if Clan then
begin
ClanBox := IntToBox(223, 402, 298, 411);
if ColorWait(2000, 2169874, 10, ClanBox) then
MouseTBox(ClanBox, mouse_left);
Break;
end;
Break;
end else
begin
GetMousePos(x, y);
MMouse((x+RandomRange(-30,30)), (y-50-Random(50)), 5, 5);
Wait(250+Random(250));
end;
end;
Inc(i);
until(i > Tries);
GameTab(tab_INV);
if Result then
Currently('Teleported to '+ Area +'!')
else
Currently('Failed to teleport to '+ Area +'!');
end;

function AtArea(Which: String; WaitTime: Integer): Boolean;
var
aTPA: T2DPointArray;
TPA: TPointArray;
Color: array of Integer;
t, i: Integer;
Area: String;
begin
if not LoggedIn then Exit;
case Lowercase(Which) of
'clangrounds':
begin
Color := [5264727, 4146883, 3228491, 16303475, 2446158];
Area := 'the clan grounds';
end;
'mine':
begin
Color := [12632256, 8355708, 2511751, 5987161, 65536];
Area := 'the mine';
end;
'dung':
begin
Color := [6251366, 15525876, 10986156, 13550787];
Area := 'daemonheim';
end;
'bank':
begin
Color := [15526372, 14144976, 5263951, 2413294, 9002045, 262643];
Area := 'the bank';
end;
end;
MarkTime(i);
repeat
for t := 20 to 30 do
begin
Currently('Searching for '+ Area +': Tolerance is '+ IntToStr(t) +'...');
TPA := FindTPointCluster(Color, t, Point(MMCX, MMCY), -1, -1, 100, MMBox);
aTPA := SplitTPA(TPA, 100);
if (Length(aTPA) > 0) then
begin
Result := True;
Currently('At '+ Area +'!');
Break;
end;
Wait(200+Random(50));
end;
until(i > WaitTime);
end;

procedure WaitMoving(WaitTime: Integer);
var
t: Integer;
begin
MarkTime(t);
while IsMoving or FlagPresent do
begin
if (TimeFromMark(t) > WaitTime) then
Exit;
Wait(200);
end;
end;

function GetNPCDotColor: Boolean;
var
aTPA: T2DPointArray;
TPA: TPointArray;
Color: array of Integer;
i: Integer;
begin
if not LoggedIn then Exit;
Currently('Grabbing NPC dot color...');
Result := False;
for i := 0 to High(NPC) do
begin
Color := [NPC[i], 65536];
TPA := FindTPointCluster(Color, 5, Point(MMCX, MMCY), -1, -1, 5, MMBox);
aTPA := SplitTPA(TPA, 10);
if (Length(aTPA) > 0) then
begin
Result := True;
NPCColor := NPC[i];
Break;
end;
end;
if Result then
Currently('Found NPC color: '+ IntToStr(NPCColor))
else
Error('NPC color not found! See thread for fix.');
end;

procedure AlignWalking(Which: String; WaitTime: Integer);
var
aTPA: T2DPointArray;
TPA: TPointArray;
CustomMMBox: TBox;
Color, Points: array of Integer;
ArrFilter, i, w, x, y: Integer;
begin
if not LoggedIn then Exit;
case Lowercase(Which) of
'mine':
begin
Color := [NPCColor, 526498]; Points := [647, 68];
ArrFilter := -1; w := 50;
end;
'bank':
begin
Color := [NPCColor, 65536]; Points := [627, 69];
ArrFilter := -1; w := 12;
end;
end;
CustomMMBox := IntToBox(MMX1, (MMCY - 40), (MMCX + w), MMY2);
Currently('Aligning walk path...');
Aligned := False;
MarkTime(i);
repeat
TPA := FindTPointCluster(Color, 10, Point(MMCX, MMCY), ArrFilter, -1, 20, CustomMMBox);
aTPA := SplitTPA(TPA, 10);
if (Length(aTPA) > 0) then
begin
x := MiddleTPA(aTPA[0]).x;
y := MiddleTPA(aTPA[0]).y;
cx := Points[0] - x;
cy := Points[1] - y;
Currently('Altered walk path by: ('+IntToStr(cx)+', '+IntToStr(cy)+')');
Aligned := True;
Break;
end;
until(TimeFromMark(i) > WaitTime);
end;

function WalkTo(Which: String): Boolean;
var
Arr: array of array of array of Integer;
aTPA: T2DPointArray;
TPA: TPointArray;
P: TPoint;
hArr, c, i, t, h: integer;
Current: Boolean;
Area: String;
begin
if not LoggedIn then Exit;
h := 0;
case Lowercase(Which) of
'mine':
begin
SetLength(Arr, Length(ClanToMine));
for i := 0 to High(Arr) do
begin
SetLength(Arr[i], 2);
Arr[i][0] := ClanToMine[i][0];
Arr[i][1] := [ClanToMine[i][1][0] - cx, ClanToMine[i][1][1] - cy];
cx := 0;
cy := 0;
end;
Area := 'mine';
end;
'spot':
begin
SetLength(Arr, 1);
SetLength(Arr[0], 2);
Arr[0][0] := MineToSpot[0];
Arr[0][1] := MineToSpot[1];
Area := 'ores';
end;
'bank':
begin
SetLength(Arr, Length(DungToBank));
for i := 0 to High(Arr) do
begin
SetLength(Arr[i], 2);
Arr[i][0] := DungToBank[i][0];
if Aligned then
h := 17;
Arr[i][1] := [DungToBank[i][1][0] - cx + h, DungToBank[i][1][1] - cy];
cx := 0;
cy := 0;
end;
Area := 'bank';
end;
end;
hArr := High(Arr);
MakeCompass('n');
for c := 0 to hArr do
begin
Current := False;
for i := 0 to 10 do
begin
Currently('Walking to '+ Area +' ('+ IntToStr(c + 1) +' of '+ IntToStr(Length(Arr)) +'): Tolerance is '+ IntToStr(WalkTol + i) +'...');
TPA := FindTPointCluster(Arr[c][0], (WalkTol + i), Point(Arr[c][1][0], Arr[c][1][1]), WalkFilter, WalkTrim, WalkMaxDist, MMBox);
aTPA := SplitTPA(TPA, WalkMaxDist);
if (Length(aTPA) > 0) then
begin
for t := 0 to High(aTPA) do
begin
P := MiddleTPA(aTPA[t]);
if (not rs_OnMinimap(P.x, P.y)) then
Continue;
Mouse(P.x, P.y, 3, 3, mouse_left);
Wait(1000+Random(500));
WaitMoving(15000);
if (c = hArr) then
begin
Result := True;
Exit;
end;
Current := True;
Break;
end;
if Current then
Break;
end;
Wait(100+Random(50));
end;
AntiBan;
end;
end;

function BankOpened: Boolean;
var
Box: TBox;
begin
if not LoggedIn then Exit;
Box := IntToBox(464, 28, 477, 42);
Result := ColorWait(2000, 5005673, 10, Box);
end;

procedure BankAdjust(Min: Integer);
var
TPA: TPointArray;
SymbolColor: array of Integer;
P, Diff, Mid: TPoint;
Dist: Integer;
begin
if not LoggedIn then Exit;
SymbolColor := [2413294, 12632256, 65536];
TPA := FindTPointCluster(SymbolColor, 10, Point(MMCX, MMCY), -1, -1, 10, MMBox);
if (Length(TPA) >= Min) then
begin
P := MiddleTPA(TPA);
Dist := Distance(P.x, P.y, MMCX, MMCY);
if (Dist > 20) then
begin
Diff := Point(P.x - MMCX, P.y - MMCY);
Mid := Point(((Diff.x / 2) + MMCX), ((Diff.y / 2) + MMCY));
Mouse(Mid.x, Mid.y, 2, 2, mouse_left);
Currently('Moving closer to bank...');
Wait(500+Random(500));
WaitMoving(5000);
Exit;
end else
begin
Currently('Close enough to bank...');
Exit;
end;
end else
Currently('Could not find bank symbol...');
end;

function OpenDungBank: Boolean;
var
aTPA: T2DPointArray;
TPA: TPointArray;
P: TPoint;
c, t, i: Integer;
begin
if not LoggedIn then Exit;
BankAdjust(4);
KeyDown(VK_DOWN);
Wait(500+Random(150));
KeyUp(VK_DOWN);
TabWait(1000, tab_INV);
for c := 15 to 25 do
begin
Currently('Opening bank: Tolerance is '+ IntToStr(c) +'...');
TPA := FindTPointCluster(BankerColor, c, Point(MSCX, MSCY), -1, 1000, 50, MSBox);
aTPA := TPAToATPA(TPA, 60);
if (Length(aTPA) > 0) then
begin
SortATPAFromMidPoint(aTPA, Point((MSCX - 150), MSCY));
for t := 0 to High(aTPA) do
begin
P := MiddleTPA(aTPA[t]);
MMouse(P.x, P.y, 3, 3);
Wait(300+Random(100));
if WaitUptextMulti(['remen', 'nnik', 'anker'], 500) then
begin
ClickMouse2(mouse_right);
if WaitOption('ank Fr', 1000) then
begin
Wait(500+Random(500));
MarkTime(i);
repeat
Result := BankOpened or PinScreen;
if Result then
Break;
Wait(200+Random(50));
until(TimeFromMark(i) > 5000);
if Result then
begin
Currently('Bank opened!');
Exit;
end else
Currently('Failed to open bank!');
end;
end;
if (t >= 2) then
Break;
end;
end;
end;
if not Result then
Currently('Failed to open bank!');
end;

function DoBanking(Tries: Integer): Boolean;
var
Click, cTries, c, i: Integer;
Current: String;
Left: Boolean;
begin
if not LoggedIn then Exit;
if (PinScreen and (UserPin <> '')) then
InPin(UserPin);
if BankOpened then
begin
if (InvCount > 1) then
begin
Current := 'Depositing ores';
Click := mouse_right;
Left := False;
cTries := Round(Tries / 2);
c := 0;
repeat
if (InvCount < 2) then
Break;
if (c >= cTries) then
begin
Current := 'Depositing the stragglers';
Click := mouse_left;
Left := True;
end;
Currently(Current +'...');
for i := 2 to 28 do
begin
if (InvCount < 2) then
Break;
if ExistsItem(i) then
begin
MouseItem(i, Click);
if not Left then
begin
if WaitOption('ll', 1000) then
begin
Result := True;
Wait(750+Random(500));
if Result then
begin
c := (cTries - 1);
Break;
end else
Continue;
end;
end;
Wait(400+random(100));
end;
end;
Inc(c);
until((InvCount < 2) or (c >= Tries));
Wait(1000+Random(500));
end;
if (InvCount > 1) then
Error('Failed to bank some items!')
else
begin
Currently('Ores banked!');
Inc(LoadsDone);
CloseBank;
Calibrate;
end;
end else
Currently('Failed to open bank!');
end;

function ExcludeColors(ExColors, ExTol: array of Integer; aTPA: T2DPointArray): Boolean;
var
Count: array of Integer;
Box: TBox;
hColors, i: Integer;
begin
Result := False;
SetLength(Count, lExColors);
Box := GetATPABounds(aTPA);
hColors := (lExColors - 1)
for i := 0 to hColors do
begin
Count[i] := CountColorTolerance(ExColors[i], Box.x1, Box.y1, Box.x2, Box.y2, ExTol[i]);
if (Count[i] >= 3) then
begin
Result := True;
Exit;
end;
end;
end;

function WaitMessage(WaitTime: Integer; Text: String): Boolean;
var
t: Integer;
begin
Result := False;
FixChat;
MarkTime(t);
repeat
Result := (Pos(Text, GetBlackChatMessage) <> 0);
if Result then
Exit;
Wait(20);
until(TimeFromMark(t) > WaitTime);
end;

function WaitMessageMulti(WaitTime: Integer; Text: TStringArray): Boolean;
var
EachWait, hText, t, i: Integer;
begin
Result := False;
hText := High(Text);
EachWait := Round(150 / hText);
FixChat;
MarkTime(t);
repeat
for i := 0 to hText do
begin
Result := WaitMessage(EachWait, Text[i]);
if Result then
Exit;
end;
until(TimeFromMark(t) > WaitTime);
end;

function MineOre: Boolean;
var
Tries, c, i: Integer;
aTPA: T2DPointArray;
TPA: TPointArray;
P: TPoint;
begin
if not LoggedIn then Exit;
for i := 5 to 15 do
begin
AntiBan;
Currently('Searching for ore: Tolerance is '+ IntToStr(i) +'...');
Tries := 0;
repeat
TPA := FindTPointCluster(OreColor, i, Point(MSCX, MSCY), -1, -1, 12, MSBox);
aTPA := SplitTPAEx(TPA, 12, 12);
if (Length(aTPA) > 0) then
begin
for c := 0 to High(aTPA) do
begin
if not ExcludeColors(ExColors, ExTol, aTPA) then
begin
P := MiddleTPA(aTPA[c]);
MMouse(P.x, P.y, 3, 3);
Wait(300+Random(100));
if WaitUptext(OreUptext, 500) then
begin
ClickMouse2(mouse_right);
Result := WaitOption('ine', 1000);
if Result then
begin
Currently('Ore found!');
Wait(300+Random(100));
while IsMoving do
Wait(150);
MarkTime(StartMine);
//WaitMoving(2500);
Exit;
end else
begin
{if PickupDrops then
begin
if WaitOption('ake', 1000) then
begin
Currently('Picking up an ore...');
Inc(OresPicked);
end;
end;}
end;
end;
end else
Currently('Wrong ore found...');
if (c >= 2) then
Break;
end;
end;
Inc(Tries);
until(Tries > 1);
end;
end;

function HopWorld: Boolean;
var
aTPA: T2DPointArray;
TPA: TPointArray;
P: TPoint;
PlayerBox, ConfirmBox, SkipBox, PlayBox, RefreshBox, WorldBox, SortBox, StarBox: TBox;
xSlide, ySlide, Rand, haTPA, h, t, i: Integer;
begin
Result := False;
Currently('Hopping to a different world...');
if LoggedIn then
ExitToLobby;
Wait(500+Random(500));
ConfirmBox := IntToBox(288, 420, 478, 443);
SkipBox := IntToBox(493, 424, 565, 437);
PlayerBox := IntToBox(74, 27, 93, 46);
PlayBox := IntToBox(263, 449, 503, 473);
RefreshBox := IntToBox(76, 65, 101, 90);
WorldBox := IntToBox(167, 24, 263, 47);
SortBox := IntToBox(122, 184, 130, 193);
StarBox := IntToBox(92, 199, 115, 436);
xSlide := RandomRange(684, 697);
ySlide := RandomRange(227, 409);
MarkTime(t);
repeat
if not ColorWait(1000, 6314553, 5, PlayerBox) then
begin
if ColorWait(1000, 348683, 5, ConfirmBox) then
begin
MouseTBox(SkipBox, mouse_left);
Wait(500+Random(500));
Break;
end;
end else
Break;
Wait(500+Random(500));
until(TimeFromMark(t) > 10000);
MarkTime(i);
repeat
if not ColorWait(1000, 16645505, 5, RefreshBox) then
begin
MouseTBox(WorldBox, mouse_left);
Wait(500+Random(500));
Break;
end else
Break;
Wait(500);
until(TimeFromMark(i) > 10000);
MarkTime(h);
repeat
MouseTBox(SortBox, mouse_left);
Wait(500+Random(500));
Mouse(xSlide, ySlide, 0, 0, mouse_left);
Wait(500+Random(500));
FindColorsTolerance(TPA, 11250603, StarBox.x1, StarBox.y1, StarBox.x2, StarBox.y2, 5);
aTPA := TPAToATPAEx(TPA, 12, 12);
if (Length(aTPA) > 0) then
begin
haTPA := High(aTPA);
Rand := Random(haTPA);
P := MiddleTPA(aTPA[Rand]);
Mouse(P.x, P.y, 1, 1, mouse_left);
Result := True;
Break;
end;
until(TimeFromMark(h) > 10000);
if Result then
begin
MouseTBox(PlayBox, mouse_left);
Wait(2000+Random(2000));
WaitLoggedIn(2000);
end;
end;

procedure ToMineProc;
var
t, i: Integer;
begin
if not InvFull then
begin
if Teleport('clan', 2) then
begin
MarkTime(t);
Wait(3500+Random(1000));
repeat
if AtArea('clangrounds', 1000) then
Break;
Wait(500+Random(250));
Antiban;
until(TimeFromMark(t) > 10000);
end;
if AtArea('clangrounds', 2000) then
begin
GetNPCDotColor;
AlignWalking('mine', 5000);
WalkTo('mine');
MarkTime(i);
repeat
if AtArea('mine', 1000) then
Break;
Wait(500+Random(250));
Antiban;
until(TimeFromMark(i) > 5000);
end;
if AtArea('mine', 2000) then
begin
WalkTo('spot');
Wait(500+Random(250));
end;
end;
end;

procedure MineOreProc;
var
MinWait, sCount, eCount: Integer;
begin
if AtArea('mine', 2000) then
begin
Stolen := 0;
MinWait := 3000;
sCount := InvCount;
repeat
if (Stolen >= HopCount) and HopIfTaken then
begin
if not HopWorld then
Error('Failed to hop world!');
end;
if MineOre then
begin
Currently('Mining ore...');
repeat
if WaitMessage(250, 'currently') then
begin
Inc(Stolen);
Break;
end;
eCount := InvCount;
if (eCount > sCount) then
begin
if CheckInvColor(InvOre, eCount, 5) then
begin
AvgMine := (AvgMine + (TimeFromMark(StartMine) + 500)) / 2;
MineWait := (MineWait + AvgMine) / 2;
if (MineWait < MinWait) then
MineWait := MinWait + (MineWait / 3);
Currently('Ore mined!');
Inc(OresMined);
Break;
end;
end else
begin
if WaitMessageMulti(150, ['manage', 'level', 'found']) then
begin
Inc(Stolen);
Break;
end;
end;
Wait(100+Random(50));
AntiBan;
until(TimeFromMark(StartMine) > MineWait);
sCount := InvCount;
ProgressReport;
end;
Wait(100+Random(50));
until(InvFull);
end;
end;

procedure ToBankProc;
var
t, i, c: Integer;
begin
if InvFull then
begin
if Teleport('dung', 2) then
begin
MarkTime(t);
Wait(6000+Random(3000));
repeat
if AtArea('dung', 1000) then
Break;
Wait(500+Random(250));
Antiban;
until(TimeFromMark(t) > 12000);
end;
if AtArea('dung', 2000) then
begin
GetNPCDotColor;
AlignWalking('bank', 5000);
WalkTo('bank');
MarkTime(i);
repeat
if AtArea('bank', 1000) then
Break;
Wait(500+Random(250));
Antiban;
until(TimeFromMark(i) > 5000);
end;
if AtArea('bank', 2000) then
begin
if (InvCount > 1) then
begin
MarkTime(c);
repeat
if OpenDungBank then
DoBanking(4);
Wait(500+Random(250));
AntiBan;
until((InvCount < 2) or (TimeFromMark(c) > 20000));
end;
end;
end;
end;

procedure ToMineLoop(Tries: Integer);
var
i: Integer;
begin
if InvFull then
Exit;
i := 0;
repeat
if (i > 0) then
begin
Currently('Trying again...');
Calibrate;
end;
ToMineProc;
Inc(i);
until(AtArea('mine', 2000) or (i > Tries));
if not AtArea('mine', 2000) then
Error('Walking to mine messed up!');
end;

procedure MineOreLoop(Tries: Integer);
var
i: Integer;
begin
if InvFull then
Exit;
i := 0;
repeat
if (i > 0) then
begin
Currently('Trying again...');
Calibrate;
end;
MineOreProc;
Inc(i);
until(InvFull or (i > Tries));
if not InvFull then
Error('Ores not found!');
end;

procedure ToBankLoop(Tries: Integer);
var
i: Integer;
begin
if not InvFull then
Exit;
i := 0;
repeat
if (i > 0) then
begin
Currently('Trying again...');
Calibrate;
end;
ToBankProc;
Inc(i);
until((InvCount < 2) or (i > Tries));
if (InvCount > 1) then
Error('Banking messed up!');
end;

procedure ProgressReport;
begin
ClearDebug;
WriteLn(' Runaways v'+ Version +'!');
WriteLn('<=----------- Rimmington Tele-Banker ----------=>');
WriteLn('| Running for: '+ TimeRunning);
WriteLn('| Ores Mined: '+ IntToStr(OresMined) +' '+ OreToMine);
{if PickupDrops then
WriteLn('| Picked Up: '+ IntToStr(OresPicked) +' ores');}
WriteLn('| Banked: '+ IntToStr(LoadsDone) +' loads');
WriteLn('| Mining XP gained: '+ IntToStr(Round(OresMined * OreXP)) +' XP');
WriteLn('<=---------------------------------------------=>');
end;

procedure SetupScript;
begin
ClearDebug;
OresMined := 0;
OresPicked := 0;
Currently('Setting up Script...');
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 21;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}

setupSRL();
IgnoreBar;
DeclarePlayers;
DeclareColors;
ActivateClient;
if not LoggedIn then
LoginPlayer;
WaitLoggedIn(2000);
ProgressReport;
end;

begin
SetupScript;
MouseSpeed := (14+Random(6));
SetupPlay;
SetupVars;
SetChat('all', 0);
SetChat('hide', 1);
Calibrate;
MarkTime(t);
repeat
ToMineLoop(2);
if (Loop >= 4) then
begin
Calibrate;
Loop := 0;
end;
MineOreLoop(2);
ToBankLoop(2);
ProgressReport;
MouseSpeed := (14 + Random(6));
Inc(Loop);
until((TimeToRun <> 0) and (TimeFromMark(t) > (TimeToRun * (60 * 1000))));
end.

Tested and working.

tulpiukas

2012-08-08 08:13:59

Testing… currently rsbot user.

tulpiukas

2012-08-08 08:25:32

[Error] C:\Simba\Includes\SRL\SRL\misc\smart.simba(56:19): Invalid number of parameters at line 55
Compiling failed.

procedure SendKeys(S: String; keywait{$IFNDEF SIMBAMAJOR980}, keymodwait{$ENDIF}: integer);
begin
SmartSendKeys(S);
end;


Something on Smart page not on your script, this is confusing and someone said this is easier than rsbot… yeah right. I just want to run more than 1 bot.
Help?

Runaway

2012-08-22 13:32:21

Updated to v0.75! Re-implemented the 'PickupDrops' option and it works with all Simba versions :)

HolyWord

2012-08-23 02:42:08

Great script! Runs well :) My only problem would be it's a little slow finding the banker. But other then that very nice script! Keep up the good work :D

thomas1116

2012-08-27 14:20:13

what is clan vexillum and where can i get it ? :S
ahh nevermind , il ltry this out !
mmm very nice , a little bit slow at walking from the clan - the mining spot, and when it goes to Bank , and after banked it stops a little bit x) but very very great script thanks alot :))

Runaway

2012-08-27 15:16:08

From: HolyWord
Great script! Runs well :) My only problem would be it's a little slow finding the banker. But other then that very nice script! Keep up the good work :D


Thanks! I realized that the banking needed some tweaking after I updated this :duh:

From: thomas1116
what is clan vexillum and where can i get it ? :S
ahh nevermind , il ltry this out !


Let me know how it goes!

I've re-uploaded v0.75 with an important banking fix.

thomas1116

2012-08-27 16:45:02

From: Runaway
Thanks! I realized that the banking needed some tweaking after I updated this :duh:



Let me know how it goes!

I've re-uploaded v0.75 with an important banking fix.

sometimes it get stuck when goes to bank , goes into the dungoneering place , and stands there for a little while :S the same when it goes to the mine
E; and it dosn't even hop world when the spot is crowded with 3-4 players, an i set it to true ?

Runaway

2012-08-27 16:54:15

From: thomas1116
sometimes it get stuck when goes to bank , goes into the dungoneering place , and stands there for a little while :S the same when it goes to the mine
E; and it dosn't even hop world when the spot is crowded with 3-4 players, an i set it to true ?


Try re-downloading v0.75, I fixed the bank issue. It most likely stands at the mine doing nothing because it can't find any ores with 3-4 people there. As for world hopping, it's probably broken since I wrote that before the nav bar update… Thanks for the info, I'll try to fix these things.

thomas1116

2012-08-27 16:57:00

From: Runaway
Try re-downloading v0.75, I fixed the bank issue. It most likely stands at the mine doing nothing because it can't find any ores with 3-4 people there. As for world hopping, it's probably broken since I wrote that before the nav bar update… Thanks for the info, I'll try to fix these things.


well it just said failed to hop world and logged out x) hehe ,
and yes i use the new verson u uploaded :P with the bank fixx
EDIT; i also see, it wudnæt pick up iron ores , if there is 100 on the ground , it shud pick up iron ores if there are any , if not it should mine it :)


<=———– Rimmington Tele-Banker ———-=>
| Running for: 5 Hours, 51 Minutes and 26 Seconds
| Mined: 1663 iron ores
| Picked Up: 173 ores
| Banked: 75 loads
| Mining XP gained: 58205 XP
<=———————————————=>
Successfully executed.

Used addy pickaxe nice :)

I found some bugs , it keeps getting stuck for houers ;; Warning! You passed a wrong xs to a finder function: -6. That is below 0, thus out of bounds. Setting the value to 0 for now. and i also have a pircture , and the red circle is another spot it often gets stuck to :) I would just let you know !

Naturiown

2012-09-13 17:52:29

hi runaway! :)
i used ur claycraftbank script and it works nice. ;)
and this is yet another working script! good job, congratz. ;)

enraged94

2012-09-17 18:45:25

crashes every 2 hours :/

enraged94

2012-09-17 18:47:02

time for a update? o.P

Runaway

2012-09-17 18:49:05

From: enraged94
time for a update? o.P


Probably. At this point, most of my scripts are outdated :pinch:

No time to update though… between classes and the SRL competition, this is pretty much the last thing on my list right now.

TinGonic

2012-09-22 20:22:06

Been using it for the past day or two and it's awesome.
However i found that sometimes it spends alot of time moving the mouse around looking for the banker, and if it doesn't find him it retele's to Deimonheim until it does.

Sometimes i would come to check on it and i'd find that it was logged out, I don't know what happens since simba doesnt say that the bot has stopped running. But would a reloggin feature be possible?

And im not sure if this would be for this script alone or others also, since i'm new to Simba; but if I keep an eye on the progress report while its mining I'll see that it's counting every click on the rock instead of every ore mined, even if it's just reclicking on a stubborn one. Therefore the number of ore mined in the progress report is much larger than the actual amount mined.

Other than that, great work!
Thx for the awesome script! :D

Ivo09

2012-10-01 20:47:10

Had a problem where it teleported using the ring and then crashed, message was "Banking messed up."

Warning! You passed a wrong xs to a finder function: -6. That is below 0, thus out of bounds. Setting the value to 0 for now.

That too.

Otherwise flawless script in terms of failsafes and whatnot. Could be faster.

GuthixBoss1

2012-10-22 04:09:51

Trying this script now, made some tweaks and am now beating some guy using exactly the same script as me. :P Characterised by the clan vex. (; Great script! Thanks a lot. :D

GuthixBoss1

2012-10-22 04:18:25

Walking could be faster though! I have no idea how to change the wait time between clicks. ):

tom11170

2012-12-16 20:18:28

I also notice a significant error with the banking system, it take around 2 - 3 or even more attempts to find the bank, it will repeatedly teleport until it finds the bank, sometimes it wont even find it at all

Shashin

2013-04-26 16:48:14

Hey awesome script but it needs an update for the silver light crystals that you get when you are mining. It can't bank those items and ends up logging out because of it

Shashin

2013-04-26 16:49:31

starlight ores sorry

Ian

2013-04-26 17:11:27

From: photodumb
starlight ores sorry


Are they p2p or f2p?

Shashin

2013-04-26 20:02:27

im not sure….i think p2p

evoke99s

2013-07-05 04:26:12

Player Doesnt hop if theres another player at spot already
[ATTACH=CONFIG]21879[/ATTACH]


OreToMine = 'iron'; // Valid choices: copper, tin, iron, clay, gold
UserPin = ''; // Leave blank if not using a pin
TimeToRun = 0; // Minutes to run the script for (0 to run until stopped)
HopIfTaken = True; // True to hop worlds if the spot is taken
PickupDrops = True; // True to pickup ores on the ground
UseRest = True; // Rest when low energy