ID:86137
 
Not a bug
BYOND Version:459
Operating System:Windows XP Home
Web Browser:Firefox 3.5.5
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND Developer forums.
Descriptive Problem Summary:
The statpanel proc is acting as if it only has two arguements
Numbered Steps to Reproduce Problem:
1.)Create a skin with two infos
2.)Try to statpanel to the second [non-default] info
Code Snippet (if applicable) to Reproduce Problem:
statpanel("info2","Inventory",contents)
//statpanel("default.info2","Inventory",contents) <-- Doesn't work either.
//This also happens to be one of the few procs that doesn't accept named arguements...

//More testing.
mob/Stat()
statpanel("Inventory.inv","Inventory",contents)
world<<winget(src,"Inventory.inv","allow-html")//returns true over and over, meaining that the info is there....


Expected Results:
-To make a stat panel in the info screen i tell it to.
Actual Results:
-It names the statpanel "info2" and its value is "Inventory" and then it shows all the things in contents right next to it...

p.s.
statpanel: expected 1 to 3 arguments (found 4)


It understands how many it needs.
Does the problem occur:
Every time? Or how often?Every Time
In other games?Not Sure
In other user accounts?Yep
On other computers?Yep

Workarounds:
-Use only one info.
Multiple statpanels are not supported.
Whats the panel arguement for?