SRL Archive - RS3 Help

tabbackpack functions always open and close the tab, nothing else


Wu-Tang Clan

2014-07-04 15:23:04

so I'm writing a script and I have tabbackpack functions in there. My problem is that when it comes to execute them, they simply get closed if they are open, or opened once they are closed by the previous failure.

---- TRSGameTab.__initTabs(): Setup gametab properties
-- TRSGameTabs.openTab(2)
---- Opening tab via gametab navigation bar
-- TRSGameTabs.openTab(2): result = False
-- TRSGameTabs.openTab(2)
---- Opening tab via gametab navigation bar
-- TRSGameTabs.openTab(2): result = False
-- TRSGameTabs.openTab(2)
---- Opening tab via gametab navigation bar
-- TRSGameTabs.openTab(2): result = False
Destroy
Option 2
-- TRSChooseOption._select():
---- ERROR: ChooseOption menu never appeared
-- TRSChooseOption.select() result = false
******************* Joe Tzhaar Miner *******************
We have gained: 250 XP
We have run for: 01m 05s
Mine
-- 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: ""
---- Succesfully freed SMART[5856]
---- Freeing gametabs bitmaps...
Successfully executed.

Never once returned true…

The Mayor

2014-07-04 16:56:41

From: Wu-Tang Clan
so I'm writing a script and I have tabbackpack functions in there. My problem is that when it comes to execute them, they simply get closed if they are open, or opened once they are closed by the previous failure.


Never once returned true…


You only got 1 tab open (the backpack)?

Olly

2014-07-04 17:02:45

A picture is 1000 words.. :p

Wu-Tang Clan

2014-07-04 17:54:53

From: The Mayor
You only got 1 tab open (the backpack)?


From: Olly
A picture is 1000 words.. :p

[ATTACH=CONFIG]23495[/ATTACH] so this photo is the first thing that happens. The backpack is already open because I set it up to be like that… its the default. Then the script can't find the backpack, so it opens the backpack from the nav bar and then also fails to find it.

[ATTACH=CONFIG]23496[/ATTACH]
this is the result of what the function did, which prevents me from doing anything productive because this is what happens when I execute any backpack function. Everything else is perfect and I forced update like 4x
Oh olly stop asking for pics ;)

Ian

2014-07-04 17:57:30

From: Wu-Tang Clan
[ATTACH=CONFIG]23495[/ATTACH]

[ATTACH=CONFIG]23496[/ATTACH]
Oh olly stop asking for pics ;)

Try opening another tab like the stats tab so that you get the backpack tab symbol to appear.

The Mayor

2014-07-04 17:58:41

Amateur mistake :p

Wu-Tang Clan

2014-07-04 18:02:47

From: BMWxi
Try opening another tab like the stats tab so that you get the backpack tab symbol to appear.

Been there done that, same stuff but it only closes the backpack tab. I've moved the tab around, still nothing.
From: The Mayor
Amateur mistake :p

Pssssh, I destroy all on the scripting spectrum. Gimme a phd already or something

Olly

2014-07-04 18:07:32

Hmm I see they changed the symbols at the bottom of the tab, But it should still work if you have other tabs open.. ugh.

Wu-Tang Clan

2014-07-04 18:28:01

From: Olly
Hmm I see they changed the symbols at the bottom of the tab, But it should still work if you have other tabs open.. ugh.

No, already tried that. So I tried it again, still no change. It does the same thing. I had the levels tab open and the backpack open, but when I ran the script it closed the backpack from the nav bar.

Ashaman88

2014-07-05 00:26:14

my symbols look different at the bottom of the tab no?


Press Play

2014-07-05 02:06:14

Don't you need to have the customisation lock thing on?

E: Because then, the tab won't be able to be closed.

Wu-Tang Clan

2014-07-05 14:01:59

From: Ashaman88
my symbols look different at the bottom of the tab no?

You dont have a wealth evaluator I think. It's my bros account so I'm not sure what that symbol even does, but I'm not really sure what your getting at. you have the same symbols
From: Press Play
Don't you need to have the customisation lock thing on?

E: Because then, the tab won't be able to be closed.

tried locking it, but you can still open and close tabs, you just can't move them around and resize them.