v1.0.1 parche
Machines and prizes load exactly where they were left, and an update checker
2cambios

Machines and prizes load exactly where they were left, and an update checker
2cambios

[02] Versión
Claw machines and the prizes inside them now load exactly where they were left, and the server console gets an update checker.
claw_machines and claw_prizes tables change. On the first start after updating, the resource copies every position into a new coords column and drops the old columns (cx, cy, cz, heading on machines; x, y, z, rx, ry, rz on prizes). Nothing to run by hand. Back up both tables first if you may want to go back to the previous version.config/, custom/, items/, client/custom/, server/custom/ or locales/. Your edits there stay as they are.Replace every file in the resource, except what you edited yourself:
server/modules/ — creator.lua, db.lua, prizes.lua.server/version.lua — new file.shared/utils.lua.database/sql.sql — only used on new installs.fxmanifest.lua — version and server/version.lua.When the resource starts, the console shows your version, the latest version and whether you are up to date. When an update is available, it lists what changed and links to the full changelog.
Machine positions and the resting place of every prize were saved as one number per axis. A whole-number value could load back as 0 or as an invalid number, so a machine could spawn in the wrong place and a prize could come back in the wrong spot or turned the wrong way. Decimals also lost precision. Both now save in a single `coords` field and always load as exact decimals. Existing machines and prizes are converted automatically on the first start.