Malformed EnumItems in gametest2's API Dump [critical-ish]

There was a change made to Enums on gametest2, and for some reason this is causing malformed names to appear in the API Dump. It only happens with a few rule-breaking EnumItems that have a number as their name (which frankly shouldn’t be allowed in the first place).

The reason I’m bringing this up is because the wiki’s API parser cannot parse this, which is bad. If we submit this API Dump onto the wiki while this bug exists, the entire API documentation will break due to the sensitivity of the parser code.

Reproducible steps:

  • Get a functioning build of the Roblox player on gametest2.
  • Run RobloxPlayerBeta.exe with --API api.txt as the launch parameter.
  • Observe the EnumItems under the Enums named AASamples, PrismSides, and PyramidSides

How to fix (probably):

  • Rename the Enums to be non-numerical values
  • Remove these Enums since they are unused anyway.
  • Add a .toString() to the end of whatever is referencing it so it doesn’t export random memory.
3 Likes

This appears to be a weird side effect of VMProtect. This should be fixed on gt2 at this point.

1 Like

Yup that did it.
Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.