ID:119668
 
Not a bug
BYOND Version:493
Operating System:Windows 7 Ultimate
Web Browser:Firefox 7.0.1
Applies to:DM Language
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 forums.
Descriptive Problem Summary:
When having a numbered var increased or decreased and then using a label in winset()the label refuses to show the change.

Numbered Steps to Reproduce Problem:
1. Make a numbered var.
2. Make a label.
3. Make a verb to increase or decrease the var.
4. Use winset() to change the label and use the "text" param.

Code Snippet (if applicable) to Reproduce Problem:
mob
var
Gokaupoints=0
verb
Show_Points()
winshow("Gokau",1)//this is optional
winset(usr,"Gokau.label1","text=\"[Gokaupoints]\"")
Increast_Points()
Gokaupoints+=1


Expected Results: The label should change

Actual Results: The label refuses to change

Does the problem occur:
Every time? Or how often? Everytime
In other games? Yes
In other user accounts? Yes
On other computers? Yes

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.)
No

Workarounds: None

This is not a bug. The label displays static text; you have to repeatedly call winset() whenever you want to update it. Use the Code Problems forum for more info.