SRL Archive - Reflection

Willow Powercutter - Fast EXP


cycrosism

2011-01-24 18:45:24

If you download and use my script, please post progress reports, any errors/bugs or suggestions.

How to use:

Fill out your player info in the first part of the script, if you are holding and axe and not wielding it, make sure it is in the first inventory slot or else it will get dropped.

Start the script with your character next to any willows (The best spot is next to the crafting guild). Make sure you have reflection installed (If you don't, you can install it in Simba by clicking View > Extentions then clicking on reflection.sex and clicking the checkbox)

In the picture below I have circled good spots to run this script.


This script contains:
Antiban
Antirandoms
Multiplayer
Auto-detects axe!
Very good tree detection and cutting

Longest progress report


|--------|--------|--------|--------|
| Nick | EXP | Logs | Levels |
|--------|--------|--------|--------|
|dra | 120285 | 1782 | 3 |
|ero | 74722 | 1107 | 5 |
|eaq | 74722 | 1107 | 3 |
|emi | 74722 | 1107 | 4 |
|--------|--------|--------|--------|
Ran for 9 Hours, 6 Minutes and 8 Seconds


|--------|--------|--------|--------|
| Nick | EXP | Logs | Levels |
|--------|--------|--------|--------|
|xm4 | 224168 | 3321 | 13 |
|--------|--------|--------|--------|
Ran for 6 Hours, 20 Minutes and 45 Seconds

Only had 1 player, stopped it by myself, got from level 52 to 65

Using the multiplayer function I put into my script I used 4 accounts and got lots of levels, stop this script by myself, could have gone on for much longer.


Changelog

Version 0.03 - Fixed a few bugs, improved the anti-randoms, modified the version checker
Version 0.02 - Added run, added faster dropping, added better tree detection, added dragon axe support, improved the version checker
Version 0.01 - First release of the script!

Script is outdated - I will release a new copy in hopefully 1-2 weeks

Train

2011-01-24 19:00:41

Congratulations.
Code looks OK. I don't really dig the whole capital bolds though.
Standards seem to be quite a bit off, but overall, looks like a solid script.
Missing support for dragon axe?

Mousekey drop would be a nice addition to 5x the drop speed.

cycrosism

2011-01-24 19:12:25

From: Train
Congratulations.
Code looks OK. I don't really dig the whole capital bolds though.
Standards seem to be quite a bit off, but overall, looks like a solid script.


I always make the bold words capital and my standards are very good, I always have them good.

Missing support for dragon axe? Mousekey drop would be a nice addition to 5x the drop speed.


I will look into this and possibly implement this into the next release

**BANNED The Man

2011-01-24 19:16:53

you have:
DropArray([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]);
Can't you do: for 2 to 28 do
Drop; // or wat?

-Boom

Gu3st...

2011-01-24 19:32:14

Var
x, y, i, reps, axehandle, CTS, b:Integer;
A:Extended;
V:String;
Points: TPointArray;
Pointe: TPoint;
Pointers: T2DPointArray;
What's up with only global variables?

Procedure CheckWcLevel;
Begin
Mouse(587, 174, 20, 24, True);
wat
coord clicking? Seriously? o.o

  CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, Points, 5863013, MSX1, MSY1, MSX2, MSY2, 2);
ColorToleranceSpeed(CTS);
You use CTS2 but don't set hue and sat mods?

Repeat
...
Until(InvFull);
…

DropArray([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]);
…

   Mouse(645, 174, 23, 25, True);
If(FindDeformedBitmapToleranceIn(AxeHandle, X, Y, MIX1, MIY1, MIX2, MIY2, 30, 0, False, A)) Then
Begin
Writeln('Player has axe in inventory');
Players[CurrentPlayer].Integers[5] := 1;
End Else
Begin
Mouse(676, 174, 20, 25, True);
Coord clicking yet again..

I expect more from SRL Members than this, cycrosism… :/ Your App was better than this…

cycrosism

2011-01-24 19:33:54

From: Dynamite
you have:
DropArray([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]);
Can't you do: for 2 to 28 do
Drop; // or wat?

-Boom


I don't see the point in doing that as it will just do the exact same thing but in more lines. If you look in inventory.scar at line 492 you will see the same thing

Gu3st...

2011-01-24 19:36:57

From: cycrosism
I don't see the point in doing that as it will just do the exact same thing but in more lines. If you look in inventory.scar at line 492 you will see the same thing
Why don't you just do DropPattern(dp_Random);?

cycrosism

2011-01-24 19:37:11

From: Zyt3x
Var
x, y, i, reps, axehandle, CTS, b:Integer;
A:Extended;
V:String;
Points: TPointArray;
Pointe: TPoint;
Pointers: T2DPointArray;
What's up with only global variables?


Whats wrong with them? I always use them like this and I never have problems


Procedure CheckWcLevel;
Begin
Mouse(587, 174, 20, 24, True);
wat
coord clicking? Seriously? o.o


It clicks on the stats gametab, which never moves, so it is fine.


  CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, Points, 5863013, MSX1, MSY1, MSX2, MSY2, 2);
ColorToleranceSpeed(CTS);
You use CTS2 but don't set hue and sat mods?


Well I did have CTS 3 but that didn't work


Repeat
...
Until(InvFull);
…

DropArray([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]);
…

   Mouse(645, 174, 23, 25, True);
If(FindDeformedBitmapToleranceIn(AxeHandle, X, Y, MIX1, MIY1, MIX2, MIY2, 30, 0, False, A)) Then
Begin
Writeln('Player has axe in inventory');
Players[CurrentPlayer].Integers[5] := 1;
End Else
Begin
Mouse(676, 174, 20, 25, True);
Coord clicking yet again..


Clicking on a tab.


I expect more from SRL Members than this, cycrosism… :/ Your App was better than this…

Gu3st...

2011-01-24 19:40:40

From: cycrosism
Whats wrong with them? I always use them like this and I never have problems

It clicks on the stats gametab, which never moves, so it is fine.

Well I did have CTS 3 but that didn't work

Clicking on a tab.
Tab clicking: You know there's functions inside the SRL include to do stuff like that, right? GameTab()? …No? :/

CTS 3: You're not using CTS correctly.. http://villavu.com/forum/showthread.php?t=21786

cycrosism

2011-01-24 19:45:52

From: Zyt3x
Tab clicking: You know there's functions inside the SRL include to do stuff like that, right? GameTab()? …No? :/

CTS 3: You're not using CTS correctly.. http://villavu.com/forum/showthread.php?t=21786


Yeah I know there is a function for that

Compiled succesfully in 1061 ms.
SRL Compiled in 15 msec
** Warning in GameTab: Tab 2 is not a valid tab number.**
Successfully executed.
Compiled succesfully in 1061 ms.
SRL Compiled in 15 msec
** Warning in GameTab: Tab 4 is not a valid tab number.**
Successfully executed.
Compiled succesfully in 983 ms.
SRL Compiled in 16 msec
** Warning in GameTab: Tab 7 is not a valid tab number.**
Successfully executed.

wat

Gu3st...

2011-01-24 19:52:59

From: cycrosism
Yeah I know there is a function for that

Compiled succesfully in 1061 ms.
SRL Compiled in 15 msec
** Warning in GameTab: Tab 2 is not a valid tab number.**
Successfully executed.
Compiled succesfully in 1061 ms.
SRL Compiled in 15 msec
** Warning in GameTab: Tab 4 is not a valid tab number.**
Successfully executed.
Compiled succesfully in 983 ms.
SRL Compiled in 16 msec
** Warning in GameTab: Tab 7 is not a valid tab number.**
Successfully executed.
wat
Use the tab_ constants. They're there for a reason :) tab_Inv = Inventory

Camaro'

2011-01-24 19:58:08

They used to be 4, 5, 6, 7 than for some reason they moved to 20 + I think.

Lighten up guys, hes still rusty I'd imagine.

Although, this should be given a nice tune up cycrosism.

cycrosism

2011-01-24 20:01:44

Yeah last time I made a script it was 2 years ago

cycrosism

2011-01-25 18:46:49

Released a new version 0.02

cycrosism

2011-03-05 02:21:13

Released 0.03

grats

2011-03-06 23:24:10

Has a problem dropping willows, it clicks between your equip items and bags every like 0.5 seconds (ish) and doesn't stop, (when it gets full inventory)

I've been stopping then restarting the script and then it drops them first thing.. which makes me think the drop thing isn't in the script after first startup

idk



it

clears debug box
gives a progress report
and then says:

** Warning in InvMouse: Inventory slot #33 is not a valid slot**

then it repeats the same thing

cycrosism

2011-03-07 01:57:51

Hmm, I haven't had any problems with the dropping on my behalf, I wrote my own dropping procedure but to right click on the logs I used SRL's "MouseItem" function. I could just revert back to the original dropping, hmm tell me if the problem persists

grats

2011-03-07 02:16:04

From: cycrosism
Hmm, I haven't had any problems with the dropping on my behalf, I wrote my own dropping procedure but to right click on the logs I used SRL's "MouseItem" function. I could just revert back to the original dropping, hmm tell me if the problem persists


It's a 100% chance of happening when it got full inventory, I was stopping & starting script to have it drop them probably like 10 - 15 times before I stopped lol

cycrosism

2011-03-07 05:40:31

Well I honestly have no idea what the problem is, I haven't put it anywhere in my code to click inbetween the bag and the equip items :/

FuruChan

2011-03-16 00:42:53

I am currently running this script, and it seems to be going very smoothly, so far it's gotten me about 40k exp in an hour and has chopped ~600 logs in that hour. I'll keep it going til it can't proceed and post a progress report. Excellent script I say.

EDIT:

|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|**** | 344452 | 5103 | 7 |
|——–|——–|——–|——–|
Ran for 8 Hours, 34 Minutes and 10 Seconds

Very nice.

|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|**** | 524880 | 7776 | 5 |
|——–|——–|——–|——–|
Ran for 12 Hours, 1 Minutes and 13 Seconds

Here's a better one.

cycrosism

2011-03-21 05:41:56

From: FuruChan


|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|**** | 344452 | 5103 | 7 |
|——–|——–|——–|——–|
Ran for 8 Hours, 34 Minutes and 10 Seconds

Very nice.

|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|**** | 524880 | 7776 | 5 |
|——–|——–|——–|——–|
Ran for 12 Hours, 1 Minutes and 13 Seconds

Here's a better one.


Wow that indeed is very nice! I think that is almost just as long or even longer then progress reports I have gotten for this! If you have any suggestions just say what

FuruChan

2011-03-22 01:35:01

Ummm it's flawless? Haha occasionally, it will try to drop a log in the inventory and it will lag and not drop it, so the count of logs and exp get slightly off. Maybe add in a little piece that rechecks the inventory for either a Bitmap or something and drop the log(s) it missed. Other than that it is pretty good. Oh and after a while the camera angle will go from North and slowly turn to North East, and continually, in small increments, turn more and more eastward. So maybe just realign the camera angle to North every once in a while.

Powerminer ya? :)

cycrosism

2011-03-22 02:11:48

From: FuruChan
Ummm it's flawless? Haha occasionally, it will try to drop a log in the inventory and it will lag and not drop it, so the count of logs and exp get slightly off. Maybe add in a little piece that rechecks the inventory for either a Bitmap or something and drop the log(s) it missed. Other than that it is pretty good. Oh and after a while the camera angle will go from North and slowly turn to North East, and continually, in small increments, turn more and more eastward. So maybe just realign the camera angle to North every once in a while.

Powerminer ya? :)


Hmm I guess I could add something which rechecks the inv, and I could also make it realign the camera after each load, i'll write this all down and start to work on it.

Not sure about making a powerminer, I don't have that much time because of school and stuff

MadClabXIII

2011-03-24 20:44:27

|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|a*** | 408240 | 5940 | 3 |
|——–|——–|——–|——–|
Ran for 8 Hours, 42 Minutes and 56 Seconds

Yeah, nice and simple script that actually works. Averaging around 680 logs per hour (although I have noticed it occasionally doesn't drop all the logs). Was killed by the Abyss random. Thanks

Wanted

2011-03-24 21:47:21

From: MadClabXIII
|——–|——–|——–|——–|
| Nick | EXP | Logs | Levels |
|——–|——–|——–|——–|
|a*** | 408240 | 5940 | 3 |
|——–|——–|——–|——–|
Ran for 8 Hours, 42 Minutes and 56 Seconds

Yeah, nice and simple script that actually works. Averaging around 680 logs per hour (although I have noticed it occasionally doesn't drop all the logs). Was killed by the Abyss random. Thanks


Pop in like it's nothing. XD

MadClabXIII

2011-03-25 06:22:36

From: IceFire908
Pop in like it's nothing. XD


Oh hai - now get back to work solving Prison Pete :stirthepot:

cycrosism

2011-03-25 08:31:22

If I have enough time this weekend I will add a fix to the dropping technique

cycrosism

2011-04-06 05:45:46

I was about to test and upload version 0.04, but I keep getting smart errors. I tried to run the script multiple times changing things and I got the same error every time so it is not a problem with my script.

I will test and upload when smart is fixed.

MadClabXIII

2011-04-06 06:08:34

cycrosism,

SMART seems to be working for me - does 0.04 include the new tree models? :)

cycrosism

2011-04-06 06:20:01

I haven't been able to test it yet as smart does not load for me

Edit: Yes actually I have managed to make a fix by opening RS in my browser and focusing Simba onto that, so trees are not a problem anymore. But I still need to test how the script runs and fix my dropping procedure and I want to do that using SMART.

Edit 2: SMART appears to work now since I loaded runescape through my browser! I will upload 0.04 before or during the weekend coming up

vashanddou

2011-06-14 11:26:11

script keeps clicking tree too often, instead of detecting when tree is finished and to move onto next one.

cycrosism

2011-06-14 16:49:07

I am pretty sure this script doesn't work anymore now that there is the tree updates, I am going to have to update the finding procedure, but I cant atm because I have exams. In a week or so I will have a look