SRL Archive - RS3 Firemaking

[All logs supported] LumbyBonfire {RS3}{SRL-6}


slayr288

2013-11-24 23:27:15

Hello everyone,

I've decided that the script is stable enough to post here. This is just a re-post of the topic I made in the 'First scripts' section.


Features:


- Regular, Oak, Willow, Maple, Yew, Magic, and Elder logs supported
- Fire Spirits supported
- Paint proggy including accurate XP counting. (Does not include bonus XP from other players in Bonfire)
- Uses Spin Tickets when obtained
- Will try to find bank if lost, logs out if things go wrong


Requirements:


- Fully installed & updated SRL-6


Set-Up:


- Set your layout to 'Old-School'
- Stand in front of Lumbridge's Combat Academy bank
- Put the log type set in the script in the correct bank slot
Following is only needed if 'setCamera' is false:
– Click compass to set to North
– Move camera all the way up
– Zoom in to where the bank is visible 4 paces away

Example:


Bugs:


- Fire Spirit collecting hasn't been tested much
- Different logs other than maple haven't been tested much


Proggies:


Reply with your proggies! :D

Please report any bugs/issues that occur c:

Changelog:


v1.2:
- Update from v1.1 in First Scripts section

Olly

2013-11-24 23:44:14

Nice release!

express

2013-11-25 09:30:25

Good work.

superduperd

2013-11-26 15:20:04

Tried to run the script, it logged in but just stood at the bank chest doing nothing after it logged in. Any solutions? I can test more if you want ;)

Here's the debug btw:

—— Found lobby screen
—- TPlayer.loginToLobby(): True
—— TRSLobby.findPlayButton(): result = True
—- WARNING: Unknown color count: 1684
—- HINT: Please report this issue in the SRL bugs section of the forum
—— Saving screenshot: unknown_login_count.png
—- Login response: One minute as passed…
—— All players inactive…
– TPlayer.login(): False
Warning! You passed a wrong xe to a finder function: 959. The client has a width of 800, thus the xe is out of bounds. Setting the value to 799 (w-1) for now.
Warning! You passed a wrong ye to a finder function: 610. The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.
—- TRSGameTab.__initTabs(): Setup gametab properties
– TRSGameTabs.openTab(1)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(1): result = False
– TRSGameTabs.openTab(2)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(2): result = False
– TPlayer.login()
—- TPlayer.loginToLobby()
—— Player xxxxxx is not active…

Gr, superduperd

slayr288

2013-11-26 17:57:14

From: superduperd
Tried to run the script, it logged in but just stood at the bank chest doing nothing after it logged in. Any solutions? I can test more if you want ;)

Here's the debug btw:

—— Found lobby screen
—- TPlayer.loginToLobby(): True
—— TRSLobby.findPlayButton(): result = True
—- WARNING: Unknown color count: 1684
—- HINT: Please report this issue in the SRL bugs section of the forum
—— Saving screenshot: unknown_login_count.png
—- Login response: One minute as passed…
—— All players inactive…
– TPlayer.login(): False
Warning! You passed a wrong xe to a finder function: 959. The client has a width of 800, thus the xe is out of bounds. Setting the value to 799 (w-1) for now.
Warning! You passed a wrong ye to a finder function: 610. The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.
—- TRSGameTab.__initTabs(): Setup gametab properties
– TRSGameTabs.openTab(1)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(1): result = False
– TRSGameTabs.openTab(2)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(2): result = False
– TPlayer.login()
—- TPlayer.loginToLobby()
—— Player xxxxxx is not active…

Gr, superduperd


Update SRL to latest version, there is a bug fix for the backback tab not being recognized.

Sjoe

2013-11-26 18:40:44

The Mayor was here. He has the Powah.

superduperd

2013-11-27 06:21:16

From: slayr288
Update SRL to latest version, there is a bug fix for the backback tab not being recognized.


Firstly, thanks for the fast reply!

Did that, still got the same problem, it logs in, stands there doing nothing. Then at one point, it opens the esc menu and wants to go back to the lobby. However, it doesnt click the 'exit to lobby' button but still thinks it does do that. I think that the problem is at the point where it logs in and the script does not recognise that. I'll also try some other script to ensure that it is not a problem with my settings (max brightness/Opengl mode/ fixed/old school, something i forgot here maybe?).

Here's the debug:
—- Waiting for lobby screen…
—— TRSLobby.findPlayButton(): result = True
—- WARNING: Unknown color count: 716
—- HINT: Please report this issue in the SRL bugs section of the forum
—— Saving screenshot: unknown_login_count.png
—- Login response: One minute as passed…
—— All players inactive…
– TPlayer.login(): False
Warning! You passed a wrong xe to a finder function: 959. The client has a width of 800, thus the xe is out of bounds. Setting the value to 799 (w-1) for now.
Warning! You passed a wrong ye to a finder function: 610. The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.
—- TRSGameTab.__initTabs(): Setup gametab properties
– TRSGameTabs.openTab(1)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(1): result = False
– TRSGameTabs.openTab(2)
—- Opening tab via gametab navigation bar
– TRSGameTabs.openTab(2): result = False
– TPlayer.login()
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- ERROR: TPlayer.loginToLobby(): Failed to find username and/or password box
—- Waiting for lobby screen…
—— TRSLobby.findPlayButton(): result = True

Gr, super

slayr288

2013-11-27 12:30:52

@superduperd

Are you sure your graphic settings are the following?

almost1monkey

2013-11-28 00:50:40

I keep getting this error
—- Setup SRL in 21263ms.
– setupSRL(): True
– TPlayer.login()
—- TPlayer.loginToLobby()
Exception in Script: Runtime error: "Access violation" at line 1131, column 7 in file "C:\Simba\Includes\SRL-6\lib\core\players.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (28-11-13 at 12.47.37 AM).txt] has not been freed in the script, freeing it now.
any help would be appreciated

superduperd

2013-11-28 07:34:55

From: slayr288
@superduperd

Are you sure your graphic settings are the following?


Yup, i check check doublechecked it. Just tried again, the script still seems to notice that it isnt logged in. After the bold line in the debug it keeps waiting for about a minute and then most of the time it goes looking for the 'play' button in lobby again (at which point i manually enter lobby to let the script find the button), it hits the play button again but just keeps waiting when i logged in.

debug:

—- Waiting for lobby screen…
—— TRSLobby.findPlayButton(): result = True
—- WARNING: Unknown color count: 1488
—- HINT: Please report this issue in the SRL bugs section of the forum
—— Saving screenshot: unknown_login_count.png
—- FATAL ERROR: No other players left, terminating
—- Freeing the minimap mask
—- Succesfully freed SMART[4316]
—- Freeing gametabs bitmaps…
Successfully executed.


Gr, super

slayr288

2013-11-28 11:41:07

From: almost1monkey
I keep getting this error
—- Setup SRL in 21263ms.
– setupSRL(): True
– TPlayer.login()
—- TPlayer.loginToLobby()
Exception in Script: Runtime error: "Access violation" at line 1131, column 7 in file "C:\Simba\Includes\SRL-6\lib\core\players.simba"
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image]
File[C:\Simba\Includes\SRL-6/logs/SRL log (28-11-13 at 12.47.37 AM).txt] has not been freed in the script, freeing it now.
any help would be appreciated


Do you have the latest SMART and SRL?

@superduperd

Well, that's odd because that is a SRL error and not a script error.
Do you have SMART v8.3?

If you do, try re-installing SRL according to the tutorial.
If you don't, install v8.3 and see if it works.

superduperd

2013-11-28 17:08:10

From: slayr288
Do you have the latest SMART and SRL?

@superduperd

Well, that's odd because that is a SRL error and not a script error.
Do you have SMART v8.3?

If you do, try re-installing SRL according to the tutorial.
If you don't, install v8.3 and see if it works.


i totally missed the part where i should check the 'slim headers' option in interface settings. I'm sorry to have wasted your time man, but i surely appreciated your help! Runs now!

gr, super

slayr288

2013-11-28 20:00:43

From: superduperd
i totally missed the part where i should check the 'slim headers' option in interface settings. I'm sorry to have wasted your time man, but i surely appreciated your help! Runs now!

gr, super


No problem, glad you got it working. :P

henk4

2013-12-03 09:43:38

when i set it up, it start's to make a line of fire's. It doens't feed the wood to the bonfire. What did i do wrong?

slayr288

2013-12-04 15:14:58

From: henk4
when i set it up, it start's to make a line of fire's. It doens't feed the wood to the bonfire. What did i do wrong?


What log are you using?

Tlachtli

2013-12-04 18:04:15

You may want to add a check to see if a fire exists after you first withdraw logs. Right now, with the first load it will always sit there and try to click "Light [log]", even if it's standing on top of a fire. Needless to say that doesn't work, and it puts the script in an infinite loop of trying to do something it can't.

henk4

2013-12-05 10:27:59

From: slayr288
What log are you using?

maple logs, just like the standaart logs in the script.

Tlachtli

2013-12-06 02:58:31

Another little observation, to add bank pin compatibility just add this in between the Begin on line 501 and the if(BankScreen… on 502:
wait(random(1000,2000));
if (pinscreen.isOpen()) then
pinscreen.enter(Players[CurrentPlayer].bankPin);

After clicking the bank chest it waits 1-2 seconds, then checks for the pin screen. If it's there, it enters the pin according to what's in the player file. That way, it should be able to run past 6 hours for players with pins.

Edit: Also, in the useOnFire function, you can add in
while not(tabBackpack.isOpen()) do
tabBackpack.open();
just after the first repeat, to avoid another issue I found where it would open the friends tab and not switch back to the backpack.

After making the couple changes I mentioned, I managed a 9-hour run with maples. Overall, a very good script (especially for a first script).

Edit 2: I just wanted to let you know I hit 99 fm today using only this script (from 60-something). Regularly ran for 6 hours straight, although I never managed to reproduce that 9-hour run with it. Still I would like to suggest considering my suggestions (namely looking into the "Friends" tab thing), they add quite a bit of stability. Good luck with any future releases!

Unfold

2013-12-21 22:57:35

Exception in Script: Unknown compiler directives at 11:3

Unfold

2013-12-22 09:15:45

"muk-as program LumbyBonfire; " doesn't get read, without it the script starts

The script has trouble logging it, it doesn't even move the mouse. Can you please help

nutta124

2013-12-27 18:07:18

mm, My guy seem to be standing in front of the chest and just stood there and moving or anything

nutta124

2014-01-05 23:15:29

''isMouseOverText(): False'' and it loged me out help?

freeplay

2014-01-11 22:40:51

Is this script still being maintained?

There seems to be a problem with the mouse over text not reading properly while banking…
Did I manage to mess up my setup or is the script broken?

NiteLeaf

2014-03-01 18:13:44

Is this script wokring?

DazeDarkmatter

2014-04-21 00:24:57

Mine won't even start. I get this.
– TPlayerArray.setup()
—- ERROR: Couldn't find army file()
– TPlayerArray.setup(): false

mohmmadc6

2014-07-10 23:11:33


– TPlayerArray.setup()
—- ERROR: Couldn't find army file()
– TPlayerArray.setup(): false


Please Help Me :)

mohmmadc6

2014-07-10 23:35:49

From: mohmmadc6
Please Help Me :)


i fixed my problem and i get it worked but its not do anything i just play like normal ? what i should do to make the bot working on ?

thanks

gtr34

2014-10-19 13:43:43

SCRIPT IS BROKEN AND DOES NOT FUNCTION IN ANY WAY.
PROBLEMS:

1) over and over and over it does not add logs to the bonfire it just keeps lighing the logs in a line…

2)If you manualy set add logs to bonfire it will still select light logs.

3) When inv is empty can not find a bank clicks on minimap just ahead of bank, walks there and then the mouse trying to find the bank, if u Manually move to bank it will do that again….


/code —- TRSGameTab.__initTabs(): Setup gametab properties
– TRSGameTabs.openTab(1)
—- Tab is already visible, bringing to front
– TRSGameTabs.openTab(1): = True
– tabStats.getSkillLevel(14): result = 93
– TRSGameTabs.openTab(2)
—- Tab is already visible, bringing to front
– TRSGameTabs.openTab(2): = True
– isMouseOverText()
—- Current mouse-over text: "Craft Maple logs"
—- Found "logs" in mouse-over string: "Craft Maple logs"
– isMouseOverText(): True
– TRSChooseOption._select():
—- Options found: [CraM Maple logs, Light Maple logs, Use Maple logs, Drop Maple logs, Examine Maple logs, Cancel]
—- Found option "Light" in "Light Maple logs"
– TRSChooseOption.select() result = true
– isMouseOverText()
—- Current mouse-over text: ""
—- Current mouse-over text: "Craft Maple logs"
—- Found "logs" in mouse-over string: "Craft Maple logs"
– isMouseOverText(): True
– TRSChooseOption._select():
—- Options found: [CraM Maple logs, Light Maple logs, Use Maple logs, Drop Maple logs, Examine Maple logs, Cancel]
—- Found option "Light" in "Light Maple logs"
– TRSChooseOption.select() result = true
– isMouseOverText()
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
—- Current mouse-over text: ""
– isMouseOverText(): False
– isMouseOverText()
—- Current mouse-over text: "Craft Maple logs"
—- Found "logs" in mouse-over string: "Craft Maple logs"
– isMouseOverText(): True
– TRSChooseOption._select():
—- Options found: [CraM Maple logs, Light Maple logs, Use Maple logs, Drop Maple logs, Examine Maple logs, Cancel]
—- Found option "Light" in "Light Maple logs"
– TRSChooseOption.select() result = true
– isMouseOverText()
—- Current mouse-over text: ""
—- Current mouse-over text: "Craft Maple logs"
—- Found "logs" in mouse-over string: "Craft Maple logs"
– isMouseOverText(): True
– TRSChooseOption._select():
—- Options found: [CraM Maple logs, Light Maple logs, Use Maple logs, Drop Maple logs, Examine Maple logs, Cancel]
—- Found option "Light" in "Light Maple logs"
– TRSChooseOption.select() result = true
/code

Hitac

2015-01-14 13:05:44

Can please someone Re-Write this script? I don't think the user is active, if you are and you are reading this run yuor script and look at the errors please. I tried yesterday but it doens't even take the logs from the bank.

Rans

2015-05-20 08:22:53

—— TRSLobby.findPlayButton(): result = False

i entered everything correctly, i really don't know what to do.