forked from OpenNeo/impress
Huh, so apparently the "MiniMME11-S1: Approaching Eventide Skirt" on the Acara has 1000 layer images lol. This caused the manifest string to overflow the MySQL `TEXT` field, and fail to parse as valid JSON when loading it back for the client. I've updated the database to use `MEDIUMTEXT` instead, and added a warning message & skip behavior when the manifest size would exceed the database limit, and added graceful error handling for the invalid JSON scenario. Now, we don't crash, and the data self-repairs, and keeps in a better state in the first place! But I'm also worried about this asset, it doesn't play correctly anyway, and I'm not sure if that's an overload on our end, or just a flat problem in the JS. (There's no error message on the client, it just… loads all the layers, then shows no play button, seemingly self-satisfied.) |
||
|---|---|---|
| .. | ||
| __image_snapshots__ | ||
| __snapshots__ | ||
| lib | ||
| types | ||
| auth.js | ||
| db.js | ||
| index.js | ||
| loaders.js | ||
| modeling.js | ||
| neopets-assets.js | ||
| outfit-images.js | ||
| outfit-images.test.js | ||
| util.js | ||
| util.test.js | ||