Merry Christmas!
It's been almost six months since the last update, here is some of whats been changed in this Coaxion Coplay Christmas Code Cleanup ( or the CxnCCCC for short ):
- Code has been refactored. This should make it easier to read and modify for the future. ( Thanks to Nooodles for getting the ball rolling on this )
- Moved to numbered releases instead of dates, starting now with 1.3.
- Merged the commands
coplay_invite
andcoplay_getconnectcommand
intocoplay_invite
. - Added the ConVar
coplay_autoopen
that if set, will automatically callcoplay_opensocket
when starting to host a local game instead of this always being on. - Automatically set
cl_clock_correction
to 0 while hosting. This fixes an issue with game logic sometimes being fast whennet_usesocketsforloopback
is 1, which Coplay relies on. ( Thanks to PiMoNFeeD for pointing this out ) - Stop using
host_thread_mode
because it sucks. - Connections now do not linger longer than they should.
- The
connect
command will now also accept SteamIDs the same waycoplay_connect
does.disconnect
has also been hooked into for better reliability.
Things planned for future releases:
- CMake support.
- An optional sister program that acts as a Discord bot for mod developers to host an instance of, this bot would listen for publicly joinable Coplay games and list them ( Maybe normal servers too ).
- Better options for developers that wish to use their own Steam lobby implementation. The provided system does basically nothing and might be [re]moved later.