Skip to content

Releases: DevStranger/Pairents

Version 2.7.1

20 Jun 03:22
94e520e

Choose a tag to compare

Zrzut ekranu 2025-04-18 093347

What's New in This Update

Persistent Game State

The game now saves and loads the current state of all ongoing matches and creatures to a file (pairs.dat). This means players can reconnect and continue their progress seamlessly without losing their creature’s status or match history.

Improved Player Pairing

Player matching has been enhanced to handle incoming clients better by pairing players as soon as possible, supporting up to 5 pairs (10 players) simultaneously.

Thread-Safe State Management

Added mutex locks to protect shared game state data, ensuring stable and safe multi-threaded handling of player actions and creature updates.

Action Synchronization Logic

Fixed the logic that synchronizes player choices, ensuring actions are only accepted when both players select the same move, with clear communication of accepted, waiting, or mismatched statuses.

Client Identification by IP

Each paired player’s IP address is stored and logged for better debugging and tracking.