Skip to content

Commit

Permalink
bring in small fixes. debugging issue with latest netcode (i think)
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Sep 18, 2024
1 parent 1f5d2d7 commit ade022d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/yojimbo_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace yojimbo
{
const int MaxClients = 64; ///< The maximum number of clients supported by this library. You can increase this if you want, but this library is designed around patterns that work best for [2,64] player games. If your game has less than 64 clients, reducing this will save memory.

const int MaxChannels = 2; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory. Minimum is 2.
const int MaxChannels = 64; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory. Minimum is 2.

const int KeyBytes = 32; ///< Size of encryption key for dedicated client/server in bytes. Must be equal to key size for libsodium encryption primitive. Do not change.

Expand Down
2 changes: 1 addition & 1 deletion netcode/netcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,7 @@ void netcode_client_connect( struct netcode_client_t * client, uint8_t * connect
if ( client->connect_token.num_server_addresses == 1 )
{
netcode_printf( NETCODE_LOG_LEVEL_INFO, "client connecting to server %s\n",
netcode_address_to_string( &client->server_address, server_address_string ), client->server_address_index + 1, client->connect_token.num_server_addresses );
netcode_address_to_string( &client->server_address, server_address_string ) );
}
else
{
Expand Down
2 changes: 0 additions & 2 deletions premake5.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

yojimbo_version = "1.0"

solution "Yojimbo"
kind "ConsoleApp"
language "C++"
Expand Down

0 comments on commit ade022d

Please sign in to comment.