ID:98333
 
Resolved
When changing from a mix of stat panels and verb panels to a single verb panel only, the contents of the verb panel would not appear.
BYOND Version:471
Operating System:Windows XP Pro
Web Browser:Firefox 3.6.6
Applies to:Dream Seeker
Status: Resolved (472)

This issue has been resolved.
Descriptive Problem Summary:
I have this set up:
mob/Stat()
if(global.GameInProgress==1)
return
statpanel("Game Info")
stat(global.players)
stat("[global.Players]/14")
if(usr.Joined)
stat(Leave_Game2)
else
stat(Join_Game2)
if(usr.host)


What's the problem, you might ask?

If I set global.GameInProgress to 1, instead of actually doing what it is expected to do and basically get rid of the Game Info statpanel, instead it removes the "Commands" verb panel and none of the things in the Game Info statpanel are clickable. I can still use the verbs in the Commands verb panel, however. If I exit out and open it up again (whilst hosted) it works.
(lummox told me to post this)
Numbered Steps to Reproduce Problem:
Umm.. Type the code in, run, start game.
Code Snippet (if applicable) to Reproduce Problem:
Here's one I created as a demo:
mob/verb/Say(var/txt as text)
view()<<"[usr] says, \"[txt]\""
mob/Stat()
if(global.GameInProgress==1)
return
statpanel("Game_Info")
stat(Start_Game2)
var/obj/Start_Game2
var/GameInProgress
world
New()
..()
Start_Game2= new/obj/Start_Game
obj/Start_Game
Click()
global.GameInProgress=1
usr.loc = locate(20,20,1)

You can also download the demo here:
http://www.2shared.com/file/NXAZwSUf/Demo.html
Expected Results:
It to actually work, and delete the Game_Info.
Actual Results:
Game_Info Tab stays, command tab deleted, can't use Game_Info Tab things, can still use command tab verbs
Does the problem occur:
Every time? Or how often?Every
In other games?IDK
In other user accounts?IDK
On other computers?IDK

When does the problem NOT occur?
Never
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I'm not sure.
Workarounds:
None
It seems like the info control is just becoming completely unresponsive
After Resizing the Window: http://www.angelfire.com/hero/straygames/ByondBugs/ StatSpaz.png
You can avoid it if you quickly click over to the commands tab after clicking Start Game, not that that's any type of valid work around.
I would like to add that my friend, who has yet to update, says it works fine for him. So it must be because of the last update.
The last update didn't impact stat controls at all, so this being a new bug is highly unlikely.
Then maybe he hasn't updated for a while.