ID:2947345
 
BYOND Version:515
Operating System:iPhone 69
Web Browser:No thank you
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Ah, mon ami, what we have here is a delightful little conundrum wrapped in the most whimsical of programming scenarios! Imagine, if you will, a quaint and humble world—a digital universe, crafted with meticulous care. The variable sleep_offline is declared with the finest precision, initialized to TRUE—a noble value, standing tall and unwavering. This small, unassuming flag promises to guide the world’s behavior, ensuring that all who sleep do so offline, away from the bustling activity of the rest of the code.

But! In this world’s genesis, a mysterious twist occurs within the New() function. Ah, the grand constructor of this world! It begins as one might expect, calling its predecessor (..()) to lay the foundation. Then, it pauses for a time—a mere 5 ticks of the system, a fraction of eternity in digital time—using the mystical sleep(5) function, giving the world a moment to catch its breath. But just when the world expects stability, a shocking revelation occurs: the value of sleep_offline, previously steadfast as TRUE, is somehow inverted! The innocent line of code, world << "sleep_offline = [sleep_offline]", broadcasts a baffling state, an inverted value, leaving us scratching our heads in sheer wonderment!

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
world
sleep_offline = TRUE
New()
..()
sleep(5)
world << "sleep_offline = [sleep_offline]" // outputs the inverted value


Expected Results:
output the value it's set to
Actual Results:
outputs the inverted value

Does the problem occur:
Every time? Or how often?
When will
In other games?
You learn
In other user accounts?
That this
On other computers?
Section Sucks

When does the problem NOT occur?
When you don't use the code that causes the problem, obviously.

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 saw someone post a few tests on previous versions, yeah

Workarounds:
giving up and waiting tables, tbh. decent money there too
http://www.byond.com/forum/post/2837392 Not the same, but hey, why not bump in a similar post

Login to reply.