SRL Archive - RS3 Woodcutting

[OGL] Clutch Chop N' Burn


Clutch

2015-04-15 00:37:04

Clutch Chop N' Burn
Chops and Burns All Logs!


IMPORTANT* THIS CURRENTLY ONLY SUPPORTS OAK LOGS - IT WILL BE UPDATED TO SUPPORT ALL LOGS IN DUE TIME…PLEASE READ SETUP INSTRUCTIONS TO GET SUPPORT FOR ALL LOGS…
Currently Broke due to latest ogLib release, it is a quick fix and will be updated tomorrow! Sorry for the inconvenience! Fix - replace isNotBehindInterface to isVisible (if your patient I'll update this for you and be pushing out paint *Hopefully!*)

Features:
[INDENT]
  • Chops and Burns ALL logs
  • Supports any location with the correct trees
[/INDENT]

Requirements:
[INDENT]You need a functional setup with the current software (Simba 1.x, SMART 8.X, OGL)[/INDENT]
[INDENT]View this thread for more info https://villavu.com/forum/showthread.php?t=112486 Say thanks to @Clarity; @Obscurity; for this great guide! (I will update this with my own guide on OGL if/when I get around to it)[/INDENT]
Installing:

[INDENT]Locate the script at the bottom of this post "Clutch ChopNBurn.simba"
Download and place this in your X:/Simba/Scripts directory[/INDENT]

Instructions:
[INDENT]Please see next two posts on instructions! [/INDENT]



Version:
[INDENT]Version1.00 - Initial Release [/INDENT]
[INDENT]Version1.10 - Fix for OGL update - Antiban implemented [/INDENT]

To do List:
  • Support for all trees see Section - instructions to help with this!
  • Paint for progress report
  • Login for OGL @Obscurity; and @Clarity; are working on this, it will be implemented when they finish writing it

Credits:
@Obscurity - Wouldn't be writing OGL scripts without him!
@renzanity; - Only reason we have the Oak Tree ID

You can get the script here:

Clutch

2015-04-15 00:38:06

Setup Instructions:

Launch the Script - you will see at the top where it states to change your information. Everything at the top here NEEDS to be changed, excluding Tree, Logs, and Fire. Below I will go over all of these and how to find their IDs, please read carefully if you don't understand please let me know so I can update this and be more clear/precise with my instructions. If you haven't already please refer to https://villavu.com/forum/showthread.php?t=112486 and get a basic understanding of OGL and ensure you are setup correctly.

To begin, in order to find your IDs (even though you should know how to do this if you'd read the thread mentioned in the last sentence) you will need to go to the bottom of the script and change it to the following;
begin
ogl.setup();
repeat
ogl.setDebugMode('models');
writeLn(ogl.getModels);
until false;
{repeat
mainLoop;
until false;}
end.
*Note* you will need to revert your script back to the way it was in order for it to work properly, take a SS of what it looks like if you honestly can't figure it out, I will not help you with this part..

Once the above is done, you will follow the steps below;
1. Click Play
2. Enable SMART
3. Enable Debug

This should now be showing you Model IDs. In order to find Texture IDs use the following code;
begin
ogl.setup();
repeat
ogl.setDebugMode('textures');
writeLn(ogl.gettextures);
until false;
{repeat
mainLoop;
until false;}
end.
*Note* this is only needed for Logs:=Texture ID


Now on to finding the appropriate Models so our script can run correctly.

Tree - I have a list on the right-hand side within the script. If you run debug mode you will see that there are two Model ID's on top of one another. So far the only way to get the correct ID is to patiently decipher the numbers by rotating the minimap and altering your zoom and slowly piecing it together. Unfortunately it does not show ALL of the numbers, so you'll have to start inputting random numbers until you eventually decipher it. I am looking into an alternate way to finding this, if you decide to go this route, please share with me the ID that you retrieved.

Logs - Texture ID, see above on how to retrieve textures. Ultimately this will give an ID on top of your logs in your inventory as seen here;
[ATTACH=CONFIG]25614[/ATTACH]
Clearly you can't read the texture ID because once again they are on top of one another. In this instance, we simply need to click and drag the logs off to the mainscreen. Notice how the ID remains? Copy that Texture ID and input it in your Logs field, if you could post it here so I can update the script for everyone!

Fire - From my tests this should remain the same at all times if not light a fire step away from it and get Model ID for it, plain and simple as that.

Chopping - Another Model ID - Simply begin chopping a tree, notice your characters Model ID changes? You need the ID that it changes to. In the picture below the ID with a square around it is our idle Model ID. Notice our idle Model ID changes when woodcutting? This is our Chopping Model ID that we need.
[ATTACH=CONFIG]25615[/ATTACH]

Lighting - This one can be difficult as you have a short time to grab it. You will likely need to light multiple logs. Right-click light logs. In this instance you will need to find the Lighting ID it'll last approximately 1-2 seconds. Best way to find it in my opinion is to go to Edgeville and stand on the hill beside the bank (see image) zoom in all the way and put your camera down as far as it will go then light, the lighting ID should populate above OR below your character Model ID.
[ATTACH=CONFIG]25616[/ATTACH]

Burning - Simply start adding logs to a bonfire you will notice your character Model ID changing.

Clutch

2015-04-15 00:39:12

Setup Guide section! You can now post!

Renzanity

2015-04-15 02:14:25

2 OGL releases, you deserve a +rep. Haha, good job!:norris:

Renzanity

2015-04-15 03:01:09

Soon? ;)


Clutch

2015-04-15 09:05:35

From: renzanity
Soon? ;)


Script has been updated, will be getting around to implementing paint.

Sotajumala

2015-04-17 04:23:03

Ah this is the script i've been looking for so long (working one). Looking forward to test it

Clutch

2015-04-17 08:17:18

From: Sotajumala
Ah this is the script i've been looking for so long (working one). Looking forward to test it


Initial setup can be a pain but it was working flawless for me. Let me know if you run into any troubles!

Theron

2015-05-20 19:04:49

From: Clutch
Initial setup can be a pain but it was working flawless for me. Let me know if you run into any troubles!


is this updated @Clutch?

Clutch

2015-05-20 22:13:11

From: Theron
is this updated @Clutch?


I believe so the thread title likely isn't. If it's not let me know. although it currently only supports oak trees. The id s are difficult to get for trees

Edit: @Theron; Is it working?

Krzysztof

2015-06-04 17:04:55

I found out using Resizeable with RS3 Default layout (the 'clickable' screen is filling the entire screen) helps to make it work. Cheers!

Allowed me gain 66 firemaking along with 60~ something woodcutting with a bit of tweaking. Learned a lot from the script, as I tweaked it to make it work for myself, then cut the logs instead of burning them, and even learning about this script's structure allowed me to make quite a functional powerminer.

Thanks a lot, and cheers! Keep up the good work :)