projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d9bd61
)
port
author
hgn
<hgodden00@gmail.com>
Fri, 3 Nov 2023 15:17:31 +0000
(15:17 +0000)
committer
hgn
<hgodden00@gmail.com>
Fri, 3 Nov 2023 15:17:31 +0000
(15:17 +0000)
gameserver.c
patch
|
blob
|
history
network_compression.h
patch
|
blob
|
history
diff --git
a/gameserver.c
b/gameserver.c
index 49d34038115456edd2d28671adac06f8837cc94e..d91eaafd9f4f0d2d0d0716510220b177d98e9b3f 100644
(file)
--- a/
gameserver.c
+++ b/
gameserver.c
@@
-736,7
+736,7
@@
int main( int argc, char *argv[] ){
vg_warn( "Running without user authentication.\n" );
}
- if( !SteamGameServer_Init( 0,
27400, 27401
,
+ if( !SteamGameServer_Init( 0,
NETWORK_PORT+1, NETWORK_PORT
,
gameserver.auth_mode, "1.0.0.0" ) ){
vg_error( "SteamGameServer_Init failed\n" );
return 0;
diff --git
a/network_compression.h
b/network_compression.h
index d4e3655a2098d2c9092bf960fc05372a43d0839a..6ef08f93f69cb7c9de0bc3b9825a0472a4b5ff50 100644
(file)
--- a/
network_compression.h
+++ b/
network_compression.h
@@
-28,7
+28,7
@@
static void bitpack_bytes( bitpack_ctx *ctx, u32 bytes, void *data ){
if( index < ctx->buffer_len )
ext[i] = ctx->buffer[index];
else
-
return
;
+
ext[i] = 0x00
;
}
}
ctx->bytes += bytes;