Releases: GibsonFR/RankMod_CrabGame
Release list
v1.1.3
Release v1.1.3
- Fixed an issue where high Elo players could lose Elo in low Elo pools when rank sharing was enabled. This has been resolved by dynamically adjusting the
eloScalingFactorvariable. - The config file is now read only once per round during
Awaketo support this new system.
Upgrade Notes:
- Existing data will migrate automatically.
- The system will validate and repair player data on startup.
No action is required from users. Simply update the mod files and restart.
Download the latest version.
v1.1.2
Release v1.1.2
- New 'win' command that displays the number of wins and win rate.
- Fixed the playerfinder method to allow searching for any player in the database by partially entering their username.
- Code reorganization for improved readability and maintainability.
Upgrade Notes:
- Existing data will migrate automatically.
- The system will validate and repair player data on startup.
No action is required from users. Simply update the mod files and restart.
Download the latest version.
v1.1.1
Release v1.1.1
New Features:
Leaderboard Command (.leaderboard)
- View the top-ranked players based on Elo.
- Displays rankings in real-time.
- Arguments
topto display top 5 players.
Elo-Based Ranks (Silver, Gold, etc.)
- Players now receive rank titles based on their Elo.
- Rank tiers include Bronze, Silver, Gold, Platinum, Diamond, Master, Grandmaster, and Challenger.
- Sub-ranks range from level I to level IV.
- Automatically updates as Elo changes.
Improved Elo System
- Now supports multi-ranking (multiple players sharing the same rank).
- Full compatibility with mods like TagMod.
Ranked Mode Fixes
- Fixed an issue where the
.rankedcommand did not properly toggle ranked mode.
Performance & Stability
- Minor bug fixes and improved handling of edge cases.
Upgrade Notes:
- Simply replace the old
RankMod.dllwith the new version. - No manual database changes are required; the system will update automatically.
Download the latest version now.
v1.1.0
Release v1.1.0
- Added automatic database migration to support new property formats.
- The database now dynamically adds missing properties and removes deprecated ones.
- Improved file handling to maintain structure during updates.
- Optimized startup sequence to prevent race conditions.
- Reduced unnecessary file writes to improve stability.
- Future updates will now require no manual changes to database structure.
- Added
lastElocommand to restore the previous Elo of one or multiple players. - Added
devcommand to display information about the developer. helpcommand has been redesigned for better readability.- New config parameter allows customization of the command symbol.
- Command messages are now light blue and smaller, thanks to github.com/lammas321.
Upgrade Notes:
- Existing data will migrate automatically.
- The system will validate and repair player data on startup.
No action is required from users. Simply update the mod files and restart.
Download the latest version.
v1.0.1
Fixed a vulnerability related to string injection in usernames within the database.
(old) Username = SteamFriends.GetFriendPersonaName((CSteamID)steamId),
(new) Username = SteamFriends.GetFriendPersonaName((CSteamID)steamId).Replace("|", ""),
v1.0.0
RankMod v1.0.0 - Initial Release
Features
- Implements a ranked mode with an Elo-based rating system.
- Tracks and updates player Elo dynamically.
- Provides in-game chat commands (
!elo,!ranked,!help). - Stores player data persistently in a database file.
- Integrates with Steamworks for player identification.
- Uses Harmony patches for modifying game behavior.
Installation
- Download the latest
RankMod.dllfrom the Releases section. - Place it in your
BepInEx/plugins/folder. - Launch the game, and the mod will initialize automatically.
Commands
!elo→ Check your Elo rating.!ranked→ Enable or disable ranked mode.!help→ Display available commands.
Known Issues
- Elo may not update correctly if a player disconnects unexpectedly.
- Some UI elements may not display Elo correctly in all resolutions.
Contribution
Issues and pull requests are welcome. Feel free to submit bug reports or suggest enhancements.