Skip to content

Releases: gschup/ggrs

v0.7.2

12 Jan 08:14
Compare
Choose a tag to compare

Changelog:

  • massively improved performance by improving input packet handling

v0.7.1

11 Jan 09:44
Compare
Choose a tag to compare

Changelog:

  • added getter for the max prediction frames parameter in P2PSession and SyncTestSession

v0.7.0

09 Jan 18:20
Compare
Choose a tag to compare

Changelog:

  • removed the const MAX_PREDICTION_FRAMES and made it a parameter for the user to choose

v0.6.0

08 Jan 19:00
Compare
Choose a tag to compare

Changelog:

  • added P2PSession::current_frame()
  • made P2PSession::confirmed_frame() public to let users access it
  • removed the need for a player cap and a maximum input size
  • adjusted session creation API to reflect the above change
  • fixed a bug where a p2p session without remote players would not start
  • migrated to rust 2021

v0.5.1

05 Oct 13:19
Compare
Choose a tag to compare

Changelog:

  • ggrs no longer panics when packets have been tampered with
  • added P2PSession::frames_ahead() that shows how many frames the session believes to be ahead of other sessions.

v0.5.0

13 Sep 16:06
Compare
Choose a tag to compare

Changelog:

  • renamed session constructors to make them more idiomatic. Sessions are now created through P2PSession::new(...) and P2PSession::new_with_socket(...).
  • added functions to create sessions with own sockets provided
  • turned NonBlockingSocket into a trait to allow alternate socket types in the future.
  • fixed a bug where calling network_stats without any time passed would lead to a division by 0.
  • fixed a bug where packet transmission time would be accounted for with RTT instead of RTT / 2

v0.4.4

01 Sep 15:33
Compare
Choose a tag to compare

Changelog:

  • fixed a bug where p2p sessions would falsely skip frames even when there able to run the frame
  • implemented some first steps towards WASM compatability

v0.4.3

16 Aug 09:36
Compare
Choose a tag to compare

Changelog:

  • changed license from MIT to MIT or Apache 2.0 at the users option
  • added local_player_handle() to P2PSession, which returns the handle of the local player
  • added set_fps(desired_fps) to P2PSpectatorSession

v0.4.2

11 Aug 16:35
Compare
Choose a tag to compare

Changelog:

  • users are now allowed to save None buffers for a GGRSRequest::SaveRequest. This allows users to keep their own state history and load/save more efficiently
  • added num_players(), input_size() getters to all sessions

v0.4.1

06 Aug 09:58
Compare
Choose a tag to compare

Changelog:

  • added sparse saving feature P2PSession, minimizing the SaveState requests to a bare minimum at the cost of potentially longer rollbacks
  • added set_sparse_saving() to P2PSession to enable sparse saving
  • added set_fps(desired_fps) to P2PSession for the user to set expected update frequency. This is helpful for frame synchronization between sessions
  • fixed a bug where a spectator would not handle disconnected players correctly with more than two players
  • fixed a bug where changes to disconnect_timeout and disconnect_notify_start would change existings endpoints, but would not influence endpoints created afterwards
  • expanded the BoxGame example for up to four players and as many spectators as wanted
  • minor code optimizations