Skip to content

Fix up gamedata CRC functionality#1621

Merged
psychonic merged 2 commits intomasterfrom
gamedata-crc-fixes
Nov 1, 2021
Merged

Fix up gamedata CRC functionality#1621
psychonic merged 2 commits intomasterfrom
gamedata-crc-fixes

Conversation

@psychonic
Copy link
Member

  • Changes the CRC implementation to match what appears to be most other popular implementations.
  • Fixes server bin name lookup, broken for most engines.

@asherkin
Copy link
Member

asherkin commented Nov 1, 2021

With the CRC impl change, do we want a different gamedata key so we don't break old versions? Or just avoid using it for a few years?

@peace-maker
Copy link
Member

Since this was undocumented ever since, we could just say it's a "new" feature. You're required to update to a newer SourceMod build to use it. It's partially broken due to the hardcoded server.so path on older versions anyway and nobody complained, which seems to be a good indicator, that this isn't used anywhere.

@asherkin
Copy link
Member

asherkin commented Nov 1, 2021

I guess as long as we're always restricting the "old" gamedata rather than the "new" gamedata that does work!

@psychonic
Copy link
Member Author

I guess as long as we're always restricting the "old" gamedata rather than the "new" gamedata that does work!

I think that's the only way we'd plan to use it. That way it's less critical to go back and edit later.

@psychonic psychonic merged commit f229bad into master Nov 1, 2021
@psychonic psychonic deleted the gamedata-crc-fixes branch November 1, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants