Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Loop in particular section of my script failing.#2989

The recent update broke my saving routine, responsible for turning objects into a save string that I upload to a locally hosted http server, that was working perfectly prior.

It originally broke with an ipairs iterable loop failing to return a valid tuple, and crashing. The purculiar thing is that replacing this iterable loop with a numeric for loop causes the loop to outright fail (without crashing or causing error messages).

I have verified that the for loop is calculating the correct upper bound for the loop, and that i is not being corrupted throughout the loop itself.
Replacing it with a while loop netted similar results.
In each instance, the loop couldn’t ever run more than once.

Strangely, all other loops within my script function perfectly, it is only this loop.

I highly suspect that this is a compiler / interpretation bug, and thus I’m happy to share the full script as necessary to debug this issue.
@zlue is my discord handle for such an inquirery.

3 months ago
Changed the status to
Research
3 months ago

Just released hotfix 4 did this fix the issue?

3 months ago

Yes, thank you!

3 months ago
Changed the status to
Completed
3 months ago