Operations to get or update medals will often fail.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
hub = "Forumaccount.TestGame"
hub_password = "BE9YTsqX1m859duH"
world << world.SetMedal("Medal #1", key)
world << world.SetMedal("Other Medal", key)
world << world.SetMedal("Number Three", key)
world << world.ClearMedal("Medal #1", key)
world << world.ClearMedal("Other Medal", key)
world << world.ClearMedal("Number Three", key)
It depends on the status of each medal initially. If you have none of the medals, you'd expect to see six 1s output to the message log with a small delay in between each one appearing.
If I run it when I already have all three medals, I'd expect to see three zeroes appear then three ones appear, all with small delays before appearing.
If you had none of the medals initially, you see three 1s appear with a small delay before each one, then three zeroes are output immediately. These zeroes returned by ClearMedal() mean that you don't have that medal, but I clearly do.
If I run it when I already have all three medals, I see three zeroes appear with small delays before each one, then a 1 appears after a small delay, then two zeroes appear immediately.
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
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.)