Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UP1.5 mod identifier #61

Open
goto-bus-stop opened this issue Aug 1, 2018 · 0 comments
Open

Use UP1.5 mod identifier #61

goto-bus-stop opened this issue Aug 1, 2018 · 0 comments

Comments

@goto-bus-stop
Copy link
Owner

From aiscripters:

WK is mod id 1, PCM is mod id 2, etc. With this, a rec analyzer can check the first player's resource 198 (float) and, if it exists, divide it by 1000 to get the mod id, modulo 1000 to get the version id, and split that with dots. For WK's 1572, the mod id (1572 / 1000) is 1 (WK) and version id (1572 % 1000) is 572. Combined with the name and split with dots: WK 5.7.2. If resource 198 doesn't exist (or it's 0 and the feitoria resource is also 0), the rec analyzer can just display that it's aoc. If it's 0 and the feitoria resource isn't 0, it's probably older WK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant