PDA

View Full Version : tabbackpack functions always open and close the tab, nothing else



Wu-Tang Clan
07-04-2014, 07:23 PM
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
07-04-2014, 08:56 PM
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
07-04-2014, 09:02 PM
A picture is 1000 words.. :p

Wu-Tang Clan
07-04-2014, 09:54 PM
You only got 1 tab open (the backpack)?


A picture is 1000 words.. :p
23495 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.

23496
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
07-04-2014, 09:57 PM
23495

23496
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
07-04-2014, 09:58 PM
Amateur mistake :p

Wu-Tang Clan
07-04-2014, 10:02 PM
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.

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

Olly
07-04-2014, 10:07 PM
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
07-04-2014, 10:28 PM
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
07-05-2014, 04:26 AM
my symbols look different at the bottom of the tab no?

http://puu.sh/9Xpym/a755e54142.png

Press Play
07-05-2014, 06:06 AM
Don't you need to have the customisation lock thing on?

E: Because then, the tab won't be able to be closed.
http://i.imgur.com/S2tLbkw.png

Wu-Tang Clan
07-05-2014, 06:01 PM
my symbols look different at the bottom of the tab no?
http://puu.sh/9Xpym/a755e54142.png
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

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

E: Because then, the tab won't be able to be closed.
http://i.imgur.com/S2tLbkw.png
tried locking it, but you can still open and close tabs, you just can't move them around and resize them.