Closed nikosChalk closed 4 years ago
https://support.steampowered.com/kb_article.php?ref=8963-EIKC-3767#simultaneous https://support.steampowered.com/kb_article.php?ref=8963-EIKC-3767#dedicated
This is not a problem with TTT2 as this is clearly not supported by Steam.
To clarify a bit: We can't do anything here. There are two solution that gonna work if replacing SteamID64: https://wiki.facepunch.com/gmod/Player:UniqueID (highly recommended not using it) and https://wiki.facepunch.com/gmod/Entity:EntIndex (which gonna lead to problems because of reusing indexes that needs to get cleared or cached,...).
As result, this is not recommended. It should be handled by Steam. Sorry :/
Your version of TTT2 (mandatory)
Leave one of the following:
Describe the bug (mandatory)
The game will not start when the server is started with "sv_lan 1" and 2 clients from the same steam account are in the server. (You may wonder why 2 clients from the same steam account? I am a server owner and it is very common for me to lunch 2 instances of garrys mod to test new stuff)
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
The gamemode is supposed to start, but an error occurs in the server
Context
Server console errors:
Loaded Addons from workshop collection:
addons
folder: NoneAdditional context
Debugging
Following the error and looking at
gamemodes/terrortown/gamemode/server/sv_main.lua:1861
, we see that:Meaning that
Entity(2):SteamID64()
doesn't return a value (?) Entity(2) is the 2nd instance of garry's mod that joined the serverComplete server log