SRL Archive - RS3 Outdated / Broken Scripts

Essence Miner


Blumblebee

2010-09-04 19:16:26

Features

  • Perfect Object and NPC allocation
  • FSM Style looping
  • Toggle between inventory view and progress report
  • Easy to use Form. Load and Save settings with ease
  • Human-Like antiban and movements
  • Script Reacts to it's environment
  • SVN based. Means fast and simple updates. No thread checking required


Progress Reports



Simply toggle between a progress report and your inventory by clicking Enable/Disable SMART (picture below)

How To Run

make a folder called 'Essence Miner' and SVN checkout through the following SVN:

[banana]https://essenceminer.googlecode.com/svn/trunk/[/banana]

remember to fill out the constants at line 75 to 90

{Custom}
USE_FORM = true;
MAX_CALIBRATION = 10; // How many times can the script fail before nextplayer.
ROTATE_PLAYERS = true;
LOADS_PER_PLAYER = 10;
PERCENTAGE = 08{%}; // AntiBan Frequency. Keep between 3-10%
STATS_USER = '';
STATS_PASS = '';

{if not USE_FORM then}
SMARTworld = 81;
SMARTsigned = true;
SMARTmembers = false;

Note: The form is made with the intention to hold a maximum of 5 players if you wish to use more than that (I'm sure some will) then disable the Form in the constants and fill out the player set up within the script. Also, the form can crash if you attempt to overload the tabs, I cannot fix this it's something to do with TTabSheet I think.


Bugs
  • Doesn't recognize In mine and looks for Aubury again - Fixed
  • None to Report


Future Releases
  • Improved Aubury Finding (Faster)
  • Form Improvements (astetics etc)
  • Addition of SRL stats
  • request more



bigjosh0315

2010-09-04 20:02:23

Testing. =D

64mas

2010-09-04 20:03:34

Thank you! Will test now. :)

bigjosh0315

2010-09-04 20:16:42

I can't get it to log in. I have it on safe mode.

Heavenguard

2010-09-04 22:02:25

Beautiful Release blumblebee ^^, you wont be having any competition [not going to release / finish mine :P] xD, good job my dude :D

JPHamlett

2010-09-04 22:03:27

From: bigjosh0315
I can't get it to log in. I have it on safe mode.


How are you setting up your players?

bigjosh0315

2010-09-04 22:38:58

From: J_Pizzle
How are you setting up your players?


I was just filling out the form.

Sex

2010-09-04 22:49:22

You say simply way too much :p. Very nice script though.

traveler

2010-09-04 23:50:57

already found a bug. everytime it starts smart, it resets all the graphics settings. this should not happen.

CX gamer

2010-09-05 05:08:56

Awesome, checking it out. :D

EDIT: Works brilliantly. Checking out the code now. :D

EDIT2: After 1.5 hours, it failed prison pete. But the script itself is incredibly robust. :D
Going to a concert now, I'm curious to find out if it worked. :D

EDIT3: It sometimes walks into the anvil room, but I'm not alone with that.

EDIT4: First bug. :(
I found my player at one of the ess mines teleport spots.
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:05:17
Essence Mined : 868
Gained : 59024 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3253, 3404)
Length TPA = 3
entering antiban cycle.
entering antiban cycle.
entering antiban cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3255, 3401)
Length TPA = 8
entering Teleport - Aubury cycle.
Found Aubury on Tile (3252, 3399)
Length TPA = 10
entering Teleport - Aubury cycle.
Found Aubury on Tile (3255, 3401)
Length TPA = 3
entering antiban cycle.
entering antiban cycle.
entering antiban cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3253, 3401)
Length TPA = 5
Found Aubury on Tile (3252, 3403)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Player is Aubury Tile. Blind Check enabled.
Found Aubury on Tile (3253, 3399)
Player is Aubury Tile. Blind Check enabled.
Found Aubury on Tile (3253, 3399)
Found Aubury on Tile (3253, 3399)

Gold

2010-09-05 14:47:21

Looks great, are you basing that money earned off of pure essence or normal?

Blumblebee

2010-09-05 15:58:26

From: CX gamer
Awesome, checking it out. :D

EDIT: Works brilliantly. Checking out the code now. :D

EDIT2: After 1.5 hours, it failed prison pete. But the script itself is incredibly robust. :D
Going to a concert now, I'm curious to find out if it worked. :D

EDIT3: It sometimes walks into the anvil room, but I'm not alone with that.

EDIT4: First bug. :(
I found my player at one of the ess mines teleport spots.
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:05:17
Essence Mined : 868
Gained : 59024 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3253, 3404)
Length TPA = 3
entering antiban cycle.
entering antiban cycle.
entering antiban cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3255, 3401)
Length TPA = 8
entering Teleport - Aubury cycle.
Found Aubury on Tile (3252, 3399)
Length TPA = 10
entering Teleport - Aubury cycle.
Found Aubury on Tile (3255, 3401)
Length TPA = 3
entering antiban cycle.
entering antiban cycle.
entering antiban cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3253, 3401)
Length TPA = 5
Found Aubury on Tile (3252, 3403)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3399)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Found Aubury on Tile (3252, 3400)
Player is Aubury Tile. Blind Check enabled.
Found Aubury on Tile (3253, 3399)
Player is Aubury Tile. Blind Check enabled.
Found Aubury on Tile (3253, 3399)
Found Aubury on Tile (3253, 3399)


gah I thought I fixed the Anvil room bug via RSArea, but I'll look into it farther if I get a chance. And I'll look into the other bug.

Just letting everyone know I'm off to college in 1 day so don't expect much updates on this. I'll try to fix any quick bugs I can in the meantime. Thanks all for testing.

And the price is dynamically gotten, it will change to either pure ess or rune ess.

Wanted

2010-09-05 17:09:28

Couple things

Members should be different for every player you can achieve this by using the worldinfo parameters for the player type http://villavu.com/forum/showthread.php?t=55513 instead of setting the smart server info (that doesn't really affect anything) I would just set those constant in the script to a random sever like 100, members false, maybe leave the signed part on the form (that way it doesn't exit SMART when you reload still)

Second thing I noticed is you didn't have to paste all nielsies temp stats into your script, it's now simply {.include SRL\SRL\Misc\Stats.scar} or {$i SRL\SRL\Misc\Stats.scar}, that should cut down on unneeded lines some.

Awesome use of windpath.

Looking further down I came across the FindAubury function, the color failsafe would be much better I think if you use CTS2 after collecting a ton of ACA data to use for params, also after you split the TPA it'd be a good idea to do something like SortATPAFromFirstPoint(MSCX, MSCY) or maybe instead use SortATPASize(True); essentially make it more like your FindEssence source.

Overall I'm impressed with the quality of the script source, I found myself often wondering why you didn't do something only to scroll down and see it incorporated later on.

Good work, I'll have to give this a run when I get the chance. And for future suggestions if you plan on adding more features, change the form design to allow change the max players to infinite, add pouching, maybe more locations such as the wizard guild, and maybe even an autoresponder.

Alek000

2010-09-05 17:51:10

Just ran it for a little bit but it seems very stable.

[PHP][Blumblebees Essence Miner] version 1.0
—————————————-
Run Time : 00:22:11
Essence Mined : 280
Gained : 19040 gp
Players Active : 1/1[/PHP]

Gold

2010-09-05 18:16:31

Error: Out of Proc Range at line 1418
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Users\Jackson\Simba\Includes\SRL\Logs\SRL Log 05-09-10 1.txt] has not been freed in the script, freeing it now.

Add this to the main post, if players don't start in the bank above aubury, you will get this error (so as to avoid stupid questions)

Also, I had a proggy but I turned off the script and lost it somehow, I should have a good one tonight.

Blumblebee

2010-09-06 01:29:33

From: IceFire908
Couple things

Members should be different for every player you can achieve this by using the worldinfo parameters for the player type http://villavu.com/forum/showthread.php?t=55513 instead of setting the smart server info (that doesn't really affect anything) I would just set those constant in the script to a random sever like 100, members false, maybe leave the signed part on the form (that way it doesn't exit SMART when you reload still)

Second thing I noticed is you didn't have to paste all nielsies temp stats into your script, it's now simply {.include SRL\SRL\Misc\Stats.scar} or {$i SRL\SRL\Misc\Stats.scar}, that should cut down on unneeded lines some.

Awesome use of windpath.

Looking further down I came across the FindAubury function, the color failsafe would be much better I think if you use CTS2 after collecting a ton of ACA data to use for params, also after you split the TPA it'd be a good idea to do something like SortATPAFromFirstPoint(MSCX, MSCY) or maybe instead use SortATPASize(True); essentially make it more like your FindEssence source.

Overall I'm impressed with the quality of the script source, I found myself often wondering why you didn't do something only to scroll down and see it incorporated later on.

Good work, I'll have to give this a run when I get the chance. And for future suggestions if you plan on adding more features, change the form design to allow change the max players to infinite, add pouching, maybe more locations such as the wizard guild, and maybe even an autoresponder.


Cool thanks for the suggestions :) I didn't know about the stats thing, and I've found that the color thing works quite well as it is, but incorporating CTS 2 can always improve it so if I get the chance I will.

Edit: Oh and the windmouse/webwalk thing can be attributed to JuKKa and Benland100 (or just Benland I cannot remember). I can't take credit for that, even though I'd love to :p

To Everyone:

I am leaving to college tomorrow morning at 8 am, which is 8 1/2 hours from now for me haha so I won't have access to a computer n such very often (I can't afford a laptop) so I won't be able to do anything for this script or get near villavu really. I will if I get a chance do some work on it when I'm home, but that will be a very short amount of time and an even shorter probability of me doing work on this.

CX gamer

2010-09-06 12:24:40

Uh ow! Out of range error! :o
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:48:29
Essence Mined : 1596
Gained : 108528 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3254, 3402)
Length TPA = 3
entering Mining cycle.
Cycling through color ranges...
Length TPA = 0
Length TPA = 0
Found suitable color range, Index = 0, 0
Error: Out Of Range at line 881
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[D:\Simba\Includes\SRL\Logs\SRL Log 06-09-10 2.txt] has not been freed in the script, freeing it now.

marijuana

2010-09-06 12:53:57

From: CX gamer
Uh ow! Out of range error! :o
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:48:29
Essence Mined : 1596
Gained : 108528 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3254, 3402)
Length TPA = 3
entering Mining cycle.
Cycling through color ranges...
Length TPA = 0
Length TPA = 0
Found suitable color range, Index = 0, 0
Error: Out Of Range at line 881
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[D:\Simba\Includes\SRL\Logs\SRL Log 06-09-10 2.txt] has not been freed in the script, freeing it now.


I'm getting this as well. Also, sometimes the script clicks north/northwest of Aurbury's shack. I was able to fix this simply by setting the relevant MM tile to (x+1, y+1).

CX gamer

2010-09-06 18:28:12

And again;
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:53:22
Essence Mined : 1568
Gained : 106624 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
Found Aubury on Tile (3255, 3401)
Length TPA = 2
entering Mining cycle.
Cycling through color ranges...
Length TPA = 216
Index[0] = 81
Length TPA = 625
Index[1] = 0
Found suitable color range, Index = 81, 0
Possible Random: Quiz. Identifying by textbox.
Possible Random: Surprise Exam. Identifying by textbox.
Possible Random: Molly'S Evil Twin. Identifying by textbox.
Possible Random: Sandwich Lady. Identifying by textbox.
Possible Random: Bee Keeper. Identifying by textbox.
Possible Random: Pillory. Identifying by textbox.
Possible Random: Abyssal Teleport. Identifying by textbox.
Possible Random: Mime. Identifying by textbox.
Possible Random: Quiz. Identifying by music.
Possible Random: Surprise Exam. Identifying by music.
Possible Random: Molly'S Evil Twin. Identifying by music.
Possible Random: Sandwich Lady. Identifying by music.
Possible Random: Bee Keeper. Identifying by music.
Possible Random: Pillory. Identifying by music.
Possible Random: Abyssal Teleport. Identifying by music.
Possible Random: Mime. Identifying by music.
entering Mining cycle.
Cycling through color ranges...
Length TPA = 0
Length TPA = 0
Found suitable color range, Index = 0, 0
Error: Out Of Range at line 881
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[D:\Simba\Includes\SRL\Logs\SRL Log 06-09-10 6.txt] has not been freed in the script, freeing it now.

risingtide13

2010-09-07 22:12:24

doesnt start

No SRL update / Plugins update available!
No Reflection update
doesn't exist
Exception in Script: Unable to find file 'Form.simba' used from ''


edit 1: nvm i got it, still a noob, forgive me :D
edit 2: i get hooks out of date for every script… is it just me?

CX gamer

2010-09-09 10:21:52

Nope, that's normal. Try update reflection every day orso until you have revision 51 or more.

TomTuff

2010-09-10 01:39:57

it just goes to aubury and stands there D:

souldragon

2010-09-10 03:07:47

Might try it out

CX gamer

2010-09-10 09:13:37

From: TomTuff
it just goes to aubury and stands there D:

Are your hooks up-to-date?

TomTuff

2010-09-10 09:24:09

From: CX gamer
Are your hooks up-to-date?


yup v617

souldragon

2010-09-10 21:51:08

I dont think it works

Inspirations

2010-09-12 14:07:05

maybe the Aubury hook is outdated?

Blumblebee

2010-09-12 17:21:16

all the hooks are currently outdated.

kufo

2010-09-20 12:50:10

Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Camaro's essence miner!
Time Running: 1 Hours, 17 Minutes and 15 Seconds
Loads In All: 28
Antibans done: 45

traveler

2010-09-20 20:24:55

doesnt work for me

kufo

2010-09-21 01:31:11

From: traveler
doesnt work for me


Be more specific. is there an error or what's going on why it don't work?

Inspirations

2010-09-21 11:17:45

1. Kufo you gave a progress report for a different script.
2. Hooks are outdated and because this script is primarily reflection, it will not work.

wondersueak

2010-09-21 21:06:06

Does this script have the ability to bank the essence instead of selling it? I want to get my mage up but I dont' wanna buy the essence or the runes.

gerver

2010-09-28 15:14:19

deosnt teleport with aubery ?

Blumblebee

2010-09-28 15:34:01

I have an hour or two, I'll take a look at it

TileToMS Doesn't work atm. I think QuickMarch made a fix for it. I'll do my best to figure it out.

Edit: Look on the front page for info on how to get this script working.

just to show it works

[php][Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 00:01:38
Essence Mined : 28
Gained : 4088 gp
Players Active : 1/1[/php]

edit:

manually stopped because I need to go back home.

[php][Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 00:53:54
Essence Mined : 756
Gained : 110376 gp
Players Active : 1/1[/php]

Enjoy :)

wondersueak

2010-09-28 20:02:03

Does this bank or just sell the essence?

Woot! I got deemed a srl test subject =3

gerver

2010-09-29 13:46:34

i have a bug in
** Warning in R_OpenBankBooth: Could get MS Point.**
entering Banking cycle.
** Warning in R_OpenBankBooth: Could get MS Point.**
entering Banking cycle.

gerver

2010-09-29 15:53:21

can you give me (in rar) the last version of Hook ?

iRun

2010-10-11 23:07:08

Have it enter the user's bank pin. Other than that, I like it.

i luffs yeww

2010-10-11 23:22:49

I'll assume he uses SRL's banking method.

You simply need to add Players[x].Pin := '1234'; to the DeclarePlayers procedure (should be towards the top, where it has like Players[0].Name := '(your username)'; etc.), just add that (Players[x].Pin := '1234') after .Active or .Name or .Pass or whatever (doesn't matter, really), where x is the player number (0 is the first player), and 1234 is your bank pin. Make sure you have it as '1234', not 1234. :) Notice the apostrophes.

iRun

2010-10-12 02:25:43

Thanks I luff yeww, I'll try it out.

http://img218.imageshack.us/i/emproggie1.jpg/

And here's my first proggie. I had to end it early because my brother wanted to use the computer.

[Edit: I don't think that pin thing worked. It just did what it did as before. I'll just stick with manually entering my pin when I have SMART temporarily disabled for the time being.]

Blumblebee

2010-12-25 17:40:01

Merry Christmas! Rev 9 Committed. Script is back and fully operational. I will upload a basic, no form/extra's skeleton version for those who do not have tortisesvn (although everyone should) very soon.

Thanks.

Wizzup?

2010-12-25 17:48:35

From: Blumblebee
Merry Christmas! Rev 9 Committed. Script is back and fully operational. I will upload a basic, no form/extra's skeleton version for those who do not have tortisesvn (although everyone should) very soon.

Thanks.


(Everyone should use git instead) :p

jayzarks95

2010-12-25 22:52:31

when I hit run I get this:
[Hint] C:\Simba\Includes\SRL/SRL/core/gametab.scar(1514:3): Variable 'P' never used at line 1513
Compiled succesfully in 4953 ms.
SRL Compiled in 63 msec
SMART Initialized.
Loaded: Server 64, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL/logs/SRL log 25-12-10 0.txt] has not been freed in the script, freeing it now.

Please help

Frement

2010-12-25 22:53:55

From: jayzarks95
when I hit run I get this:
SRL Compiled in 63 msec
SMART Initialized.
Loaded: Server 64, Members: False, Signed: True, Super Detail: False.
Error: Exception: Access violation at line 110
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL/logs/SRL log 25-12-10 0.txt] has not been freed in the script, freeing it now.

Please help


List of things that can help:
  1. Check if java is installed, if not, install it.
  2. Check that you have latest libsmart.dll, if not, move the new one from includes folder.

jayzarks95

2010-12-25 23:43:19

Thank you Frement, I have it working now.
It was number 1.
Edit:
I thought it was working but I keep getting this now
entering Banking cycle.
Error: Exception: You are accessing an invalid point, (185,186) at bitmap[2] at line 157
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2]
File[C:\Simba\Includes\SRL/logs/SRL log 25-12-10 1.txt] has not been freed in the script, freeing it now.
I have got this in the debug everytime this script tries to bank.

Blumblebee

2010-12-26 02:18:43

From: jayzarks95
Thank you Frement, I have it working now.
It was number 1.
Edit:
I thought it was working but I keep getting this now
entering Banking cycle.
Error: Exception: You are accessing an invalid point, (185,186) at bitmap[2] at line 157
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2]
File[C:\Simba\Includes\SRL/logs/SRL log 25-12-10 1.txt] has not been freed in the script, freeing it now.
I have got this in the debug everytime this script tries to bank.


Hmmm, I haven't ever gotten that error. I'll look into it and let you know what I find, that'll be in a day or so though. (I've never heard of accessing an invalid point via a bitmap.. considering the script doesn't call them)

Frement

2010-12-26 02:20:00

Well, anything outside the bitmaps width/height range is an invalid point.

jayzarks95

2010-12-26 13:12:37

well I just found out that after getting-
entering Banking cycle.
Error: Exception: You are accessing an invalid point, (185,186) at bitmap[2] at line 157
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, 2]
File[C:\Simba\Includes\SRL/logs/SRL log 25-12-10 1.txt] has not been freed in the script, freeing it now.
in the debug, if I hit run again, load my player info, hit start it will pick up the script at the 'walking cycle'
but this is an inconvenience seeing as I have to sit here and hit play after everytime load.

Edit:
also, when I first bring up the script and hit run i get this
ERROR in TMThread.LoadFile
Exception in Script: Unable to find file 'C:\Simba\Includes\SRL/SRL/core/inventory.scar' used from 'C:\Simba\Includes\SRL/SRL.scar'

Blumblebee

2010-12-28 03:17:46

ah I got it! You must not have downloaded the script correctly, seeing as in the banking cycle it copy and pastes a bitmap on the screen that tells your progress report. I'll add a try..except there, and possibly a better failsafe. Try re-downloading the script to a new folder and see if you get the same result.

jayzarks95

2010-12-28 20:28:41

Thank you, sir.
It is now working :D

jayzarks95

2010-12-28 20:36:24

I downloaded it in a different folder and its working now, thank you sir.

Blumblebee

2010-12-29 00:06:28

glad you got it working :)

Troll

2010-12-29 10:53:55

Looks nice :)
I was just about to run it and remember i had not do the quest on that account :p So ill run it later post back

Mike408

2010-12-31 17:35:55

Does this script automatically take breaks?

Blumblebee

2011-01-01 17:49:29

From: Mike408
Does this script automatically take breaks?


if you turn on Rotate Players and set loads per players in the constants then yes it will. I usually turn it off when I run it so I make faster money :p

Jelloman

2011-01-02 18:05:07

I've noticed that sometimes it gets stuck immediately after teleporting to the mine, i think it clicks teleport but doesnt realize that it has, like its waiting for something. There should be a timeout to check if it teleported or not

Blumblebee

2011-01-02 18:21:41

From: jelloman
I've noticed that sometimes it gets stuck immediately after teleporting to the mine, i think it clicks teleport but doesnt realize that it has, like its waiting for something. There should be a timeout to check if it teleported or not


I've noticed that bug and it's erking me that I can't find a good fix to it. I'll try a timeout on the actual function, that's a good idea.

Jelloman

2011-01-02 18:56:06

what is the logic/math behind the check to rotate players?? Because so far it has not switched players for me and i have it set to do so every 10 loads. From what i can make out in the code is that it takes the number of loads completed, divides that by a random number between (in my case with loads_per_player = 10) 8 and 15 and if the number of loads is divisible by that random number (or the remainder of the operation = 0) then it rotates players. Is my understanding correct??

Blumblebee

2011-01-02 19:24:07

yes, your understanding is correct. Basically it goes…

if you want to rotate players then
if there are more than one players selected then
if the loads completed are divisible by the number of loads set with no remainder then
go to the next player.

if it's not working then I'll check how I'm increasing variables and look at my if..then statements.

edit: I made a mistake, loads is a constant players.Integers[LOADS] is the variable I'm looking for. I'll up a new revision in the next 2 minutes here. Update your SVN folder.

edit2: Updated.

Jelloman

2011-01-02 19:41:16

updated, testing now…

now its flipping through the players too quickly, it will either immediately go to next player, or walk to the magic shop and then switch

Blumblebee

2011-01-02 19:48:08

From: jelloman
updated, testing now…

now its flipping through the players too quickly, it will either immediately go to next player, or walk to the magic shop and then switch


yup sorry I messed that one up. I fixed that and added a fix (hopefully) to the Aubury Teleporting bug. Update again to rev 13 please :)

Jelloman

2011-01-02 20:08:46

thx, updated and testing, so far so good, will update after a lil while, hopefully be able to post a proggy

Blumblebee

2011-01-02 20:52:23

From: jelloman
thx, updated and testing, so far so good, will update after a lil while, hopefully be able to post a proggy


sounds great man, good to know I managed to get it working properly for you.

not finished yet, but a progress report proving the script works:

[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:02:34
Essence Mined : 868
Gained : 149296 gp
Players Active : 1/1

Jelloman

2011-01-02 21:53:06

run went well until it cycled through all three of my players once, i'm not sure why it went to the next player for each because they didn't stop at the bank. Here's the debug of the last few minutes, it went to the next player, did the next step in code, and then logged out and declared them inactive

entering Teleport - Portal cycle.
NextPlayer
SwitchToPlayer(PlayerNo: 0, Active: False);
1
2
4
Welcome to Runescape.
**** (player no. 0)
5
1
2
entering Teleport - Aubury cycle.
Found Aubury on Tile (3252, 3399)
Length TPA = 13
NextPlayer
SwitchToPlayer(PlayerNo: 1, Active: False);
1
2
4
Welcome to Runescape.
*** (player no. 1)
5
1
2
entering Mining cycle.
Cycling through color ranges...
Length TPA = 5759
Index[0] = 5
Length TPA = 8828
Index[1] = 0
Found suitable color range, Index = 5, 0
NextPlayer
SwitchToPlayer(PlayerNo: 1, Active: False);
1
2
4
Player is not Active...
All players not active!
Successfully executed.

heres the last proggy:
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:37:48
Essence Mined : 532
Gained : 22344 gp
Players Active : 3/3

Blumblebee

2011-01-02 22:22:13

I think you maxed out the [failed] attempts before shutdown, and because I've only used one player to test I forgot to reset from each player to the next. I'll up a fix here shortly.

Another progress report (still going):

[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 02:33:37
Essence Mined : 2128
Gained : 366016 gp
Players Active : 1/1

Jelloman

2011-01-03 13:34:07

could you add support for use of a pickaxe in inventory instead of wielded?? right now it deposits it along with the essence

EDIT:

multiplayer is still not bug free, although it did run pretty good for about 2 hours. I can't quite figure out what the problem is, if you'd like i can let you use my three accounts to test it, pm me.

Blumblebee

2011-01-03 15:21:43

From: jelloman
could you add support for use of a pickaxe in inventory instead of wielded?? right now it deposits it along with the essence

EDIT:

multiplayer is still not bug free, although it did run pretty good for about 2 hours. I can't quite figure out what the problem is, if you'd like i can let you use my three accounts to test it, pm me.


hmmm I thought I had a pick detection but obviously not, yeah I'll fix that pronto.

And Yeah if you could lend me some accounts (PM me) I'll borrow them for an hour or so and fix the issues. Thanks

Sgt Soul

2011-01-05 21:18:15

it was running for about 4 hours like usual and my player always seems to get stuck here:


it either gets stuck there or stuck near Aubury (accidentally lost proggy but I will upload one later :) )

Sgt Soul

2011-01-06 02:28:45

[php][Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 02:44:20
Essence Mined : 2100
Gained : 84000 gp
Players Active : 1/1[/php]

same problem as before (got stuck near the teleporting area again)

EDIT: whoops I double posted again :/

spart300

2011-01-08 22:02:59

For some reason it's sitting at the username and password login screen…. What am I doing wrong? I filled the player form right

Ok then.. Took him forever to start mining too.. Hmm.. It couldn't find the rock or something.. It just did now though.. weird..

Yeah when it comes to actually finding the rock, the cursor goes over it way too quick..

Sgt Soul

2011-01-09 05:18:28

[php][Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 02:07:32
Essence Mined : 1624
Gained : 61712 gp
Players Active : 1/1[/php]

spart300

2011-01-09 11:13:20

It was very buggy for me, every time it tried to enter a new phase he would sit there and just move the mouse all over the place. Banking was perfect.. Just the Aubury tele and mining the Ess.

Short prog, manually stopped.
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 01:19:54
Essence Mined : 1008
Gained : 147168 gp
Players Active : 1/1

Sgt Soul

2011-01-09 23:48:02

[php][Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 03:20:15
Essence Mined : 2576
Gained : 97888 gp
Players Active : 1/1[/php]

the player just always seems to get stuck or lost really easily even if what the script is looking for is sitting right in front of it. either the tp out of the ess mine or Aubury.

gsa serpent

2011-01-10 04:30:44

??? wheres the download link for this script…..

RISK

2011-01-10 04:34:17

You need to make a folder on your desktop / somewhere else named "Essence Miner" and SVN Checkout it with: http://tortoisesvn.tigris.org/ - Using: https://essenceminer.googlecode.com/svn/trunk/ - as the link.

From: gsa serpent
??? wheres the download link for this script…..

gsa serpent

2011-01-10 04:37:07

ok thanx

TomTuff

2011-01-10 04:40:46

From: gsa serpent
ok thanx


be warned, afaik this script is outdated.

gsa serpent

2011-01-10 04:47:57

does it still work tho

RISK

2011-01-10 04:52:31

That is unknown. Why not try it out?

From: gsa serpent
does it still work tho

Sgt Soul

2011-01-10 04:53:29

it still runs, I was using it this morning and ran for 3 hours, just check up on it every so often because the player can easily get lost!

many thanks,
Sgt Soul

gsa serpent

2011-01-10 05:03:24

ok thanx just 1 more thing how do i become a Junior Member

RISK

2011-01-10 05:14:04

I am unsure now. The requirements have changed since I originally joined. They might be 150+ posts and a member of X amount of weeks (Probably 2) to become a Junior Member now.

From: gsa serpent
ok thanx just 1 more thing how do i become a Junior Member

Sgt Soul

2011-01-10 05:15:31

From: gsa serpent
ok thanx just 1 more thing how do i become a Junior Member


http://villavu.com/forum/showthread.php?t=50475

read that, the SRL Jr.Member bit is in A-2.

happy autoing :)

gsa serpent

2011-01-10 05:15:48

cool

KingKong

2011-01-10 05:34:53

Read the first post, you have to make a new folder and do a svn checkout at the link provided.

Here it is: https://essenceminer.googlecode.com/svn/trunk/

Or if you don't feel like to doing an svn checkout just download all of the files that are listed.

Edit: oops, looks like its already been solved, silly me :D

gsa serpent

2011-01-10 05:46:25

yes this ess miner is working perfect…… ill post proggy up soon. thanx all

gsa serpent

2011-01-10 05:48:23

[Blumblebee's Essence Miner] version 1.0
—————————————-
Run Time : 00:30:03
Essence Mined : 476
Gained : 17136 gp
Players Active : 1/1

still running…..

Sgt Soul

2011-01-10 05:55:03

From: gsa serpent
cant wait to start making my first one… but for now ill stick to trying other ppls out :)


Try not to double post in the same thread, instead use the edit button of the post you had currently had their. (bottom left under your post) it just makes less spam within the forum and saves the thread from being full of unnecessary posts I guess :)

many thanks,
Sgt Soul

blab

2011-01-10 11:08:20

When you have a pickaxe that isen't equiped it is banked to. For the rest the script is working perfect for me.

Temp solution I did for the pickaxe was this in the bank function


if getItemIDAt(1) = RUNE_ID or PURE_ID then
Deposit(2, 28, true)
else
Deposit(2, 28, true);

3Garrett3

2011-01-10 11:44:55

From: blab
When you have a pickaxe that isen't equiped it is banked to. For the rest the script is working perfect for me.

Temp solution I did for the pickaxe was this in the bank function


if getItemIDAt(1) = RUNE_ID or PURE_ID then
Deposit(2, 28, true)
else
Deposit(2, 28, true);


You made it deposit 2-28 no matter what? You don't need the if statement in that case ;)

blab

2011-01-10 11:52:46

From: 3Garrett3
You made it deposit 2-28 no matter what? You don't need the if statement in that case ;)


Yeh i know :P but i didn't know what the getItemdat(1) does so i just left it like that. Guess it just makes the diffrence between rune and pure ess? (just did a peak on the code wasen't thinking that far :D)

3Garrett3

2011-01-10 13:43:56

From: blab
Yeh i know :P but i didn't know what the getItemdat(1) does so i just left it like that. Guess it just makes the diffrence between rune and pure ess? (just did a peak on the code wasen't thinking that far :D)


Basically that line of code looks in the first slot and if the ID is either the same as ess (either type) and if it finds it, it will deposit all of the stuff in your bank, if not it will deposit everything after the first slot. So I would replace that line of code with something like this:

if (getItemIDAt(1) = RUNE_ID) or (getItemIDAt(1) = PURE_ID) then
Deposit(1, 28, true)
else
Deposit(2, 28, true);

Which will deposit everything into the bank if the first slot matches either type of essence. If there isn't essence then it will deposit the second item onward.

So if you're using a pick, you should keep it either equipped or in the first slot.

p s u d

2011-01-13 11:58:20

looks nice ill try it and tell u how it goes :P

Hobbit

2011-01-14 03:05:07

Working great!

Accidentally forgot to copy proggy before I restarted script! Will post one soon though! Very nice! I didn't see an option for the script to handle player sleeping/breaking though?

Sgt Soul

2011-01-14 22:47:56

[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 02:22:45
Essence Mined : 1736
Gained : 251720 gp
Players Active : 1/1

Ran quite solid like usual but it isn't flawless as stated before. it still gets stuck around the teleport that is used to get out of the mine.

EDIT:
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 04:29:08
Essence Mined : 3528
Gained : 511560 gp
Players Active : 1/1

Ran a lot better, but still it got stuck next to the teleport from the mine!!

EDIT2: doesn't compile anymore :/
[php][Error] (539:28): Invalid number of parameters at line 538
Compiling failed.[/php]

KingKong

2011-01-26 02:20:20

Replace your findaubury functions with this for faster finding:

function FindAubury(): Boolean;
var
ID, height, a: Integer;
NPC: TNPC;
NPC_Tile: TPoint;
begin
Result := False;
NPC := GetNPCMulti([553]);
NPC_Tile := TileToMS(NPC.Tile, NPC.Height);
Mouse(NPC_Tile.x, NPC_Tile.y, 0, 0, False);
WaitOptionMultiEx(['eleport', 'ele', 'port'], 'action', ClickLeft, 1000);
while (a < 5) and (IsMoving) do
begin
wait(700 + randomrange(-50, 200));
R_FindRandoms;
Inc(a);
end;
a := 0;
wait(1218 + random(100));
if InteractingWithMe(NPC) then
Result := True;
end;

Edit: Could you also make it so that it click the continue button when it lvls up.

Sgt Soul

2011-01-26 11:15:50

From: KongKing

Edit: Could you also make it so that it click the continue button when it lvls up.


click on this tutorial and it will show you what to add to the script for this to happen :) also thanks for the help with my error!! :D

triforce891

2011-01-26 18:45:27

Good

KingKong

2011-01-26 18:46:07

^ I think, this is the wrong thead.

Jelloman

2011-01-26 19:35:45

From: triforce891
Good


if your trying to up your post count, try posting helpful responses. Check out this [OUTDATED] tutorial on becoming a valued part of this community: http://villavu.com/forum/showthread.php?t=50475
See especially section A2 and what defines spam:

From: Tad
What do I mean by spam you say? Posting things like “Thanks this is a good script I’ll try it later” or “Hahaha that’s funny I lol’d” can be considered spam in most situations. In addition, posting things completely irrelevant to the topic at hand and most one-word posts are also considered spam. If you spam, you run the risk of being temporarily or even permanently banned from SRL.

Sgt Soul

2011-01-28 08:23:41

[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 03:00:57
Essence Mined : 840
Gained : 20160 gp
Players Active : 1/1

ran pretty well, just need my mining level higher ;)

Czech SS

2011-01-28 21:16:46

hi ,
got a problem roughly after 9 loads it always get stuck in shop after teleported from mine, any ideas what it could be? script is set up how it supposed to be..

Sgt Soul

2011-01-28 21:48:03

the script is quite old and not everything is up to date, so just re run it :) there are a few bugs etc. with the script (bumblebee isn't around atm) so just run this with caution to how you use it :)

Czech SS

2011-01-28 22:11:15

is there anything better or ´more new´? I mean ess miner… Tried Boom´s ess miner but there is a few bugs as well …

Sgt Soul

2011-01-28 22:18:40

this would be the best you could use on SRL I am afraid, hopefully dynamite will perfect his miner soon enough ;) haha

Czech SS

2011-01-28 22:25:10

lol hope so

Jelloman

2011-01-30 12:36:35

works fairly well with KingKong's find aubrey fix
[Blumblebee's Essence Miner] version 1.0
----------------------------------------
Run Time : 02:22:33
Essence Mined : 1484
Gained : 29680 gp
Players Active : 1/1

entering Walk cycle.
entering Teleport - Aubury cycle.
entering Mining cycle.
Cycling through color ranges...
Length TPA = 1196
Index[0] = 28
Length TPA = 3088
Index[1] = 0
Found suitable color range, Index = 28, 0
entering Mining cycle.
Cycling through color ranges...
Length TPA = 1194
Index[0] = 28
Length TPA = 3093
Index[1] = 0
Found suitable color range, Index = 28, 0
***** STR: FOUND RANDOM: 'Sandwich Lady' *****
Screenshot of: Found Sandwich Lady random 2 Hours, 24 Minutes and 13 Seconds
Sandwich Lady: Target: bread roll
SolveSandwich result: False
SolveSandwich result: Falsetime took: 10828
***** STR: 'Sandwich Lady' RANDOM SOLVING FAILED! *****

GTFO

2011-02-18 09:03:50

getting the same problem for all the ess miners. wtf?
[Error] (449:28): Invalid number of parameters at line 448
Compiling failed.

Blumblebee

2011-02-18 15:43:22

interesting. I'm home for the day so maybe I'll take a look

**BANNED The Man

2011-02-18 16:22:01

From: Blumblebee
interesting. I'm home for the day so maybe I'll take a look


It will be the new Item updates.
Check Inventory.Simba for the updates :)

-Boom

Blumblebee

2011-02-18 20:05:37

Thank you good sir

Edit: Gah it looks like it would require an almost complete rewrite of certain functions and procedures. This is not my fancy, as I think Boom's looks like a refurbished and improved version of this script anyways.

cycrosism

2011-02-20 03:21:26

You should also have an attached copy of the script on this thread so people like me who don't have SVN can use it

mika

2011-02-21 15:26:20

I keep getting this:[Error] (539:28): Invalid number of parameters at line 538
Compiling failed.
  Players := getPlayers();   

GTFO

2011-02-24 17:53:18

i get the same thing. can someone fix this???

otavioafm

2011-02-26 12:46:55

Players := getPlayers(); error in that line why?

KingKong

2011-02-27 02:12:30

Change it to: GetAllPlayers