abma wrote: ↑10 Jan 2022, 09:51
RickHustle wrote: ↑01 Jan 2022, 00:30
Part of spads conf:
lobbyHost:localhost
my guess is, that you have to use the public ip 178.71.9.100 of your uberserver instance to make it work. to debug it, you should check to which port / ip spring is connecting when a game is starting: check infolog.txt + script.txt for that.
infolog.txt when i start alone with bot:
Spring 103.0 (Dedicated)
Build Environment: boost-105600, GNU libstdc++ version 20150623
Compiler Version: gcc-4.8.5
Operating System: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Word Size: 64-bit (native mode)
Run: /root/spads/var/spring/103.0-linux64/spring-dedicated "/root/spads/var/instance_mando/startscript.txt"
Using configuration source: "/root/spads/var/instance_mando/springsettings.cfg"
Using additional configuration source: "/root/.config/spring/springsettings.cfg"
Available log sections: GameServer, DedicatedServer, ArchiveScanner, CrashHandler, AutohostInterface, VFS
Enabled log sections: DedicatedServer(Notice)
Enable or disable log sections using the LogSections configuration key
or the SPRING_LOG_SECTIONS environment variable (both comma separated).
Use "none" to disable the default log sections.
LogOutput initialized.
Using read-write data directory: /root/spads/var/instance_mando/
Using read-only data directory: /root/.config/spring/
Using read-only data directory: /root/spads/var/spring/103.0-linux64/
Using read-only data directory: /root/spads/var/spring/data/
Scanning: /root/spads/var/spring/data/maps
Scanning: /root/spads/var/spring/data/games
Scanning: /root/spads/var/spring/data/packages
Scanning: /root/spads/var/spring/103.0-linux64/base
[DedicatedServer] report any errors to Mantis or the forums.
[DedicatedServer] loading script from file: /root/spads/var/instance_mando/startscript.txt
[DedicatedServer] starting server...
Binding UDP socket to IP (v6) :: () port 8452
[UDPListener] successfully bound socket on port 8452
[GameServer] Connecting to autohost on port 8454
[GameServer] Server started on port 8452
[DedicatedServer] recording demo: /root/spads/var/instance_mando/demos-server/20220110_232332_AltairHeckCrossing V3_103.sdfz
[DedicatedServer] using mod: Balanced Annihilation V9.46
[DedicatedServer] using map: AltairHeckCrossing V3.3
[DedicatedServer] GameID: c495dc61fd9e1fe1d3e5188cfe7088d8
[GameServer] No clients connected, shutting down server
[DedicatedServer] exiting
Writing demo: /root/spads/var/instance_mando/demos-server/20220110_232332_AltairHeckCrossing V3_103.sdfz
[DedicatedServer] exited
infolog.txt when start 2 players in other net (game is start, all is ok):
Spring 103.0 (Dedicated)
Build Environment: boost-105600, GNU libstdc++ version 20150623
Compiler Version: gcc-4.8.5
Operating System: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Word Size: 64-bit (native mode)
Run: /root/spads/var/spring/103.0-linux64/spring-dedicated "/root/spads/var/instance_mando/startscript.txt"
Using configuration source: "/root/spads/var/instance_mando/springsettings.cfg"
Using additional configuration source: "/root/.config/spring/springsettings.cfg"
Available log sections: GameServer, DedicatedServer, ArchiveScanner, CrashHandler, AutohostInterface, VFS
Enabled log sections: DedicatedServer(Notice)
Enable or disable log sections using the LogSections configuration key
or the SPRING_LOG_SECTIONS environment variable (both comma separated).
Use "none" to disable the default log sections.
LogOutput initialized.
Using read-write data directory: /root/spads/var/instance_mando/
Using read-only data directory: /root/.config/spring/
Using read-only data directory: /root/spads/var/spring/103.0-linux64/
Using read-only data directory: /root/spads/var/spring/data/
Scanning: /root/spads/var/spring/data/maps
Scanning: /root/spads/var/spring/data/games
Scanning: /root/spads/var/spring/data/packages
Scanning: /root/spads/var/spring/103.0-linux64/base
[DedicatedServer] report any errors to Mantis or the forums.
[DedicatedServer] loading script from file: /root/spads/var/instance_mando/startscript.txt
[DedicatedServer] starting server...
Binding UDP socket to IP (v6) :: () port 8452
[UDPListener] successfully bound socket on port 8452
[GameServer] Connecting to autohost on port 8454
[GameServer] Server started on port 8452
[DedicatedServer] recording demo: /root/spads/var/instance_mando/demos-server/20220107_004321_AltairHeckCrossing V3_103.sdfz
[DedicatedServer] using mod: Balanced Annihilation V9.46
[DedicatedServer] using map: AltairHeckCrossing V3.3
[DedicatedServer] GameID: 7962d761d8ad82b394c6fb5a3576e97e
[GameServer] Connection attempt from Great
[GameServer] -> Version: 103.0
[GameServer] -> Address: [::ffff:176.59.23.31]:65018
[GameServer] -> Connection established (given id 0)
[GameServer] Connection attempt from [RuR]Dixon
[GameServer] -> Version: 103.0
[GameServer] -> Address: [::ffff:80.77.163.254]:56058
[GameServer] -> Connection established (given id 1)
[GameServer] Player Great finished loading and is now ingame
[GameServer] Player [RuR]Dixon finished loading and is now ingame
[GameServer] Spectator [RuR]Dixon left the game: normal quit
[GameServer] Server killed!!!
[DedicatedServer] exiting
Writing demo: /root/spads/var/instance_mando/demos-server/20220107_004321_AltairHeckCrossing V3_103.sdfz
[DedicatedServer] exited
I don't know where is script.txt
When spring is start i can see:
connect to server: my external IP:8452