Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Help Wanted: Zero K Offline LAN Server

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
11/22/2022 6:47:18 PMUSrankuser101 before revert after revert
Before After
1 I understand that this is a niche request but any help or information is appreciated. 1 I understand that this is a niche request but any help or information is appreciated.
2 Please correct me on whatever I am getting wrong, thanks! 2 Please correct me on whatever I am getting wrong, thanks!
3 \n 3 \n
4 My goal: 4 My goal:
5 - Find some method of hosting a Zero-K game without an internet connection using local servers and local network. 5 - Find some method of hosting a Zero-K game without an internet connection using local servers and local network.
6 \n 6 \n
7 What I have so far: 7 What I have so far:
8 - I have compiled Zero K Infrastructure locally. (https://github.com/ZeroK-RTS/Zero-K-Infrastructure) 8 - I have compiled Zero K Infrastructure locally. (https://github.com/ZeroK-RTS/Zero-K-Infrastructure)
9 - But I am unsure how to use it, specifically ZkLobbyServer, which sounds like exactly what i'm looking for. 9 - But I am unsure how to use it, specifically ZkLobbyServer, which sounds like exactly what i'm looking for.
10 - A Linux VM running Uberserver, connected to my LAN. (Pingable) 10 - A Linux VM running Uberserver, connected to my LAN. (Pingable)
11 - The Steam version and Portable .zip versions of Zero-K. 11 - The Steam version and Portable .zip versions of Zero-K.
12 - SpringLobby as an almost-functional Lobby Client. 12 - SpringLobby as an almost-functional Lobby Client.
13 \n 13 \n
14 As far as I know: 14 As far as I know:
15 - Zero-K has no in-build method of connecting to a Skirmish via IP Address. 15 - Zero-K has no in-build method of connecting to a Skirmish via IP Address.
16 - Zero-K uses Lobbies to orchestrate multiplayer games. 16 - Zero-K uses Lobbies to orchestrate multiplayer games.
17 - The official Zero-K lobby servers run on Uberserver. (https://github.com/spring/uberserver) 17 - The official Zero-K lobby servers run on Uberserver. (https://github.com/spring/uberserver)
18 - Chobby serves as the Lobby Client for Zero-K. 18 - Chobby serves as the Lobby Client for Zero-K.
19 \n 19 \n
20 chobby_config.json file: 20 chobby_config.json file:
21 { 21 {
22 "server" : { 22 "server" : {
23 "address" : "zero-k.info", 23 "address" : "zero-k.info",
24 "port" : 8200, 24 "port" : 8200,
25 "serverName" : "Zero-K", 25 "serverName" : "Zero-K",
26 "protocol" : "zks" 26 "protocol" : "zks"
27 }, 27 },
28 "game" : "zk" 28 "game" : "zk"
29 } 29 }
30 \n 30 \n
31 I have edited chobby_config.json (and deleted LuaMenu folder, which is derived from chobby_config.json) to redirect Zero-K to my Uberserver by typing the local IP instead of "zero-k.info". 31 I have edited chobby_config.json (and deleted LuaMenu folder, which is derived from chobby_config.json) to redirect Zero-K to my Uberserver by typing the local IP instead of "zero-k.info".
32 \n 32 \n
33 Uberserver detects a connection from Zero-K, which is printed to the server log, but does not login the user, despite valid credentials (visible in server.db). Zero-K says "Connecting..." for 30 seconds before retrying to connect. This goes on forever. 33 Uberserver detects a connection from Zero-K, which is printed to the server log, but does not login the user, despite valid credentials (visible in server.db). Zero-K says "Connecting..." for 30 seconds before retrying to connect. This goes on forever.
34 \n 34 \n
35 Zero-K's infolog.txt prints this every 30 seconds after connecting to Uberserver: 35 Zero-K's infolog.txt prints this every 30 seconds after connecting to Uberserver:
36 "[t=00:00:09.157264][f=-000001] [liblobby] Error: No such function: TASServer, for command: TASServer 0.36 * 8201 0" 36 "[t=00:00:09.157264][f=-000001] [liblobby] Error: No such function: TASServer, for command: TASServer 0.36 * 8201 0"
37 Maybe this points towards a protocol mismatch? I'm not sure how to verify or fix. 37 Maybe this points towards a protocol mismatch? I'm not sure how to verify or fix.
38 \n 38 \n
39 Interestingly, the deprecated (afaik) SpringLobby program connects to Uberserver perfectly fine using the same credentials. It can use chat and host new lobbies. The problem with SpringLobby is that I cant seem to get it to run Zero-K properly. The actual game never properly starts. 39 Interestingly, the deprecated (afaik) SpringLobby program connects to Uberserver perfectly fine using the same credentials. It can use chat and host new lobbies. The problem with SpringLobby is that I cant seem to get it to run Zero-K properly. The actual game never properly starts.
40 \n 40 \n
41 I have also tried to figure out ZkLobbyServer, which is available as part of Zero-K Infrastructure (https://github.com/ZeroK-RTS/Zero-K-Infrastructure). I have compiled it, but it compiles into .dll files only, nothing directly executable. I haven't found any information online about what program, if any, could implement these .dll files to potentially host a lobby server. 41 I have also tried to figure out ZkLobbyServer, which is available as part of Zero-K Infrastructure (https://github.com/ZeroK-RTS/Zero-K-Infrastructure). I have compiled it, but it compiles into .dll files only, nothing directly executable. I haven't found any information online about what program, if any, could implement these .dll files to potentially host a lobby server.
42 \n 42 \n
43 Questions: 43 Questions:
44 1) Are there files or configurations that must be applied to Uberserver which would allow it to work with Zero-K? 44 1) Are there files or configurations that must be applied to Uberserver which would allow it to work with Zero-K?
45 2) Is SpringLobby capable of working with modern Zero-K? 45 2) Is SpringLobby capable of working with modern Zero-K?
46 3) How is ZkLobbyServer supposed to be used? 46 3) How is ZkLobbyServer supposed to be used?
47 \n 47 \n
48 Any information to point me in the right direction is MUCH appreciated! 48 Any information to point me in the right direction is MUCH appreciated!
49 \n 49 \n
50 Thanks for any input! If I can figure this out I will post a full explanation on how to reproduce a functional server. 50 Thanks for any input! If I can figure this out I will post a full explanation on how to reproduce a functional server.