PDA

View Full Version : Has anything changed between the way PC1 Dedicated and PC2 Dedicated works on Linux?



Yetter
23-09-2017, 14:20
So in PC1 I could use -searchds "Yetteh"

I try this in PC2 and it doesn't work?

This is the log below, is there a guide for PC2?



/srv/pcars# ./DedicatedServerCmd.elf
OS Mem Stats: Total: 0.20 MB, Alloc: 0.07 MB, Free: 0.12 MB
Creating pool 'System'

//=------------------------------------------------------------------------------------------------------------------=\\
Code Versions: Engine Date: Sep 21 2017 at 14:39:27

# : v1.5.930.0 -
:
: : v1.5.0.0 -
: : v1.2.0.0 -
: : v0.0.0.1 -

//=------------------------------------------------------------------------------------------------------------------=\\


Command Line (Ansi):

Exec : ./DedicatedServerCmd.elf

[Internal] Initialised Log
[Internal] Initialised Log
_BTitleConfig: Creating default config languages
##########################################################

Initialised Session: 02f0-7e19-bbcb-deec

Exec: ./DedicatedServerCmd.elf
Command Line:

Base System Memory...

Size: 16 MB
Mem Free: 15113040 bytes (14.41 MB)
Max Pools: 16
Mem Trace Enabled: False
Title Version: 0xc24e42ab - '0.0.0.0'
Bootup OS Mem Total: 0.20 MB
Bootup OS Mem Free : 0.11 MB
Bootup OS Mem Alloc: 0.08 MB

##########################################################
[Internal] Initialised Log
Support for GlobalStartProfilerEvent not added yet for linux
Support for GlobalEndProfilerEvent not added yet for linux
[2017-09-23 15:11:55] INFO: Starting up the Dedicated Server Library.
[2017-09-23 15:11:55] INFO: Server configuration loaded:
- server build version: 1
- protocol version: 43 (1.0.0.43)
- server name: Yetteh
- max session size: 64
- details: secure, bind IP INADDR_ANY, Steam port 8766, host port 27015, query port 27016, password protected no
- whitelist size: 0
- blacklist size: 0
- lua api: enabled
- http api: disabled
- allow empty join: enabled
- game setup control: disabled
- sports play : disabled
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 378860
[2017-09-23 15:11:55] INFO: HttpApi disabled
[2017-09-23 15:11:55] INFO: Loading LuaApi addon 'sms_base'...
[2017-09-23 15:11:55] INFO: Loading LuaApi addon 'sms_rotate'...
[2017-09-23 15:11:55] INFO: Loading LuaApi addon 'lib_rotate'...
[2017-09-23 15:11:55] INFO: Loading LuaApi addon 'sms_motd'...
[2017-09-23 15:11:55] INFO: Loading LuaApi addon 'sms_stats'...
[2017-09-23 15:11:55] INFO: LuaApi started
[2017-09-23 15:11:55] INFO: Dedicated server is starting...
[2017-09-23 15:11:55] INFO: Saving persistent data for addon 'sms_stats' into 'lua_config/sms_stats_data.json'
[2017-09-23 15:11:56] INFO: Connection to Steam established
[2017-09-23 15:11:56] INFO: Received public IP 89.34.99.161
[2017-09-23 15:11:57] INFO: Server logged in with Steam id 90111206185947138 ; server is secure
[2017-09-23 15:11:57] INFO: Server startup finished: AppId 378860, public IP 89.34.99.161, Steam id 90111206185947138 ; switching to running state
SmsRotate: Using scripted setup rotation while the server is not configured to control the game's setup. Make sure to set "controlGameSetup" in the server config.
SmsRotate: Rotation setups contain errors, rotation addon disabled
[2017-09-23 15:12:01] INFO: Received connection from Steam ID 76561198382306108
[2017-09-23 15:12:05] INFO: Received connection from Steam ID 76561197960750240
[2017-09-23 15:12:05] INFO: User 76561198382306108 tried to request our rules.
[2017-09-23 15:12:09] INFO: User 76561197960750240 tried to request our rules.
[2017-09-23 15:12:56] WARNING: Connection to Steam ID 76561198382306108 failed with error Timeout

Update: So the server is actually running, it seems that if I create a lobby with the name Yetteh it connects and uses the Dedicated Server which is okay.

Any ideas how you can always keep it running and showing even when no players are connected??

Also any idea where I can find the API details for all the tracks?

dam09fr
23-09-2017, 15:38
There are PDF documentation files with the Dedicated Server (in the folder) :
- GameGuide.pdf
- ScriptingGuide.pdf
- ServerTypes.pdf
- UserGuide.pdf

They contains all the information you want.