SRL Archive - RS3 Outdated / Broken Scripts

OAKS - Oak powerchopper/seller.


Junior

2007-05-14 22:25:22

Hello all, this script start out in Varrock centre. All your players MUST stand next to the Oak tree which is located North East of the fountain. Have your axe either equiped or in first inventory slot. This script will either power drop, or walk to Varrocks General Store and sell the logs when the inventory is full.

EDIT: This script will not work anymore. The water that used to be in the center of Varrock is no more and the shop keepers DTM's will not work either, they both have new looks. This script will be updated shortly!


- NEED
  • To fix your WoodCutting include. FreeBitmaps needs to be changed to FreeDTM.
  • To have the new bitmap symbol for the General Store.

- Features
  • Custom Ent finding.
  • Sells logs to General store or drops them.
  • Counts how much cash each player has made, totals it all up also.
  • Adds up how much XP each player has made, also totals it up.
  • Finds shop keeper/assistant only, shouldn't hover over anything else. Customized a function just to do this :)

- Directions
- Might of said this twice, but it never hurts.

  • All your players must stand in Varrock center next to Oak tree which is located North East of the fountain.
  • All players must have a wood cutting axe either wielded or equiped.
  • Set up your player const's and players array.
  • IMPORTANT!!! Color pick the color of the Oak tree which is located on mini map. The Oak tree on the mini map looks triangular, any green color will do. Bark of the tree will work better, I think.
  • Start logged in or out, drag the cross hair over the RS screen. Press play and enjoy.


And remember to always post proggies and tell me what I can work on to make the script function more efficiently.

Script Stats: http://www.stats.srl-forums.com/index.php?action=view_script&id=160
FYI: The "Cash made" variable on the SRL stat site is NOT correct.




Made by Junior.
First release: 5/14/07
Version 1.8: 5/18/07
Version 2.2: 5/25/07

stupedspam

2007-05-14 22:34:22

I'll try it out now and post progress tomrrow :D awsome script :)
~Stupedspam

Edit:Might want to add
      YourSRLStatsID   =  '';    // ID from SRL stats, sign up if you don't have one
YourSRLStatsPass = ''; // Password for the SRL stats
//This goes in main loop...
SRLID := YourSRLSTATSID;
SRLPassword:= YOURSRLSTATSPASS;
ScriptID := '160';

stupedspam

2007-05-15 09:55:12

Sorry for dubble posting but no one has looked at this script so far…
I ran it last night and here is what I think:

Bugs:
1. Laggs every 8-9 secounds, probably looing for DTMs/Bitmaps or counting invontory
2. Shop color : 0, It might be the new symbol
3. Run time error with the invantory include, line 332, useing both the drop and the sell in the script…I think its the Deformed Bitmaps

Goods:
1. Love the wait with random mouse movements :D
2. Very smoth with movments and actions :D
3. Runs with Scar 3.06 Divi

Notes:
It doesn't run on any Scar under 3.05, and couldn't run long enough for progress report :(

Hope this helps you make needed improvments :D
~Stupedspam

Vicious

2007-05-15 11:01:22

Ever since the massive RSDEMON ban the log supply in the shops has been reduced to zero. Maybe with this we can stock 'em back up. :D

I'm looking forward to trying it when a fix is released.

Junior

2007-05-15 16:34:59

Dam, what exactly is the runtime error you are getting? If you post the exact error that comes out in the debug box maybe I can figure out what it is, weird though, using the DropTo procedure shouldnt cause that error, cant see why it would. It lags probably because im using findcolor for detecting the tree is up, and its probably looking for the DTM of the tree, Ill make the DTM smaller. Shop symbol should work if you have obtained the new shop symbol bitmap. And ill add the userid and everything on the next release. Let me abuse it first :)

stupedspam

2007-05-15 16:59:46

[Runtime Error] : Exception: Access violation at address 006A84EA in module 'scar.exe'. Read of address 00000034 in line 322 in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Inventory.scar

This is the error for both drop and sell

For the new Shop bitmap here it is… I didn't make…
    'shop', 'store':
begin
SymbolBitmap := BitmapFromString(15, 5, 'z78DA95D0410EC4200' +
'840D12B2102C25290DEFF486DCA2C4C9A6666363F46E2D308020D' +
'32D83DA2AA3E6804276633B66B7AB4006E7D5F57E9406E51DD05B' +
'84D78C8435849DD5970E9EC0629AB13B692ABB5B34F279BCF6F32' +
'12A15CE3E8B9B7EE3265C52C73EFF0818A6FB2CA085D4FF317598' +
'484FA9B6C69689FB37FBFF9FEC35D3E01559765AB');
Result := 983385;
end;
Just replace it in core/symbol LoadSymbolBitmapColor

Hope this helps :D
~Stupedspam

Wyn

2007-05-15 19:06:02

i could see this working really well for the 3 oaks north west off the original spot but anyway this looks good anyway lol

Junior

2007-05-15 21:42:38

@ Spam, Thanks but I already had the new bitmap ;) I'm currntly running my newest version which is A LOT better now thanks to you. You'll see for yourself when I release. I still have no clue how your getting that error though, weird. Thanks again.

@ Wyn, I'll take a look at those Oaks you'r talking about also :)

Expect a release soon!

noobifier

2007-05-17 03:08:20

It chops the logs, then when invt is full, it just sits there, doesn't drop or anything.

Junior

2007-05-18 18:51:49

Just updated, fix a lot of things.

stupedspam

2007-05-19 23:08:09

I get the error with FindAxeColor… Even though you said you fixed it…
Sorry for giving bad news :(
~Stupedspam

Junior

2007-05-20 11:19:19

- NEED
To fix your WoodCutting include. FreeBitmaps needs to be changed to FreeDTM.

You need to fix it yourself… And im supposed to be releasing a fix for this version because the wait time for the tree results in a math error sometimes. So I would wait until I release that, later in the day.

Junior

2007-05-25 16:45:40

Just released Version 2.2.

The devil

2007-05-29 03:54:21

Ohhhh im really looking forward to getting a really good oak cutter but the ones i use always fail on me i looked through free scripts and couldnt find a REALLY good one can someone give me a link if thats alright.


Thanks…

wc king 2k7

2007-05-29 07:03:13

it worked untill u go to the shop then it stops and doesen't sell then

Stinkie

2007-05-29 14:09:18

it's prolly messed up now, becous of the new varrock look :(

Junior

2007-05-29 16:14:59

I'll look into the new Varrock update, I dont think it changed anything. But this question goes to WC King.. What exactly does it do? Just stand there and doesnt do anything? What does the status bar say? Does it rotate the camera at all? It probably couldnt find the Shop keeper/assistant. I dont know what your problem without details.

EDIT: Read my first post.

joshie

2007-05-29 16:25:38

i'm pretty sure the power chopper would still work stinkie;)

sidishere

2007-06-02 02:28:13

nice i was looking for a script like this, please update it quickly.

sphendal

2007-06-04 08:47:32

Could not find Water Color!

sphendal

2007-06-04 08:55:21

" Could not find Water Color! "

I Said It Twice Cause The First One Didn't Appear For A While (Odd)