Benutzer-Werkzeuge

Webseiten-Werkzeuge


pcdsg_startup_guide

PCDSG StartUp Guide

First Steps and Help using PCDSGcogent 2016/07/13 23:13

Start Page

PCDSGwiki Start Page - PCDSGwiki Overview - PCDSG StartUp Guide - PCarsDSOverview wiki page - PHP Example pages - PCDSG Data web page

pcdsg_startup_guide.pdf (2.1 MiB, 4 downloads)

Need more Help? Mail to: PCDSG@web.de or Visit http://forum.projectcarsgame.com


FIRST START – PCDSG STARTUP GUIDE

  1. Choose the method you use for the Steam Dedicated Server APP.
  2. Follow the next steps for “local” or “remote” mode. DS Public IP and API Port needed for “remote” mode.
  3. Complete StartUp settings by using the Button that appears after all steps are done.
  4. Use PCDSG, it restarts automatically after StartUp settings are done. This StartUp dialog pop up when starting PCDSG for the first time. To see it again delete PCars Dedicated Server path in PCDSG settings and restart it.

Troubleshooting

  1. Use it on the same System/Network where the Pcars DS is running
  2. Be sure the settings in your server.cfg let PCDSG connect to the DS HTTP API.
  3. Don't try to access the Database while DS is running to avoid errors.
  4. PCDSG GUI can be closed at any time, the File „StartPCarsDS.exe“ continues running in the background.
  5. If DS is already running then you can also start the File „StartPCarsDS.exe“ in system folder manually without the GUI.
  6. You need to close „StartPCarsDS.exe“ manually in system tray if you wont to stop it.
  7. To have a look into the Database.sqlite Database File use for example „SQLite Manager for Firefox“ or the File „Database.exe“ in system folder. Don't open and view the Database while DS is running to avoid errors.
  8. On startup it detects your local or public IP depending on settings, writes it to the server.cfg File for whitelist and access to the DS API.

HTTP API access settings in your server.cfg File are important, PCDSG needs access to the API to work correctly.

If it does not connect to the DS search and edit the following lines in the server.cfg. Settings for IP detection can be set in PCDSG settings GUI.

This needs to be done manually by yourself:

// Http API access level overrides.
// Each HTTP API endpoint defines its default access level, usually one of "public", "private" or "admin".
// This map can override these levels to anything else. The keys are wildcard endpoint paths, and the values are the
// access levels to use. The first path that matches will be used, processing them in the order as written here.
// The wildcard patterns are case-sensitive and can contain:
// - '*': matches 0 or more characters
// - '%': matches 0 or more characters except for forward slash
// - '?': matches 1 character
httpApiAccessLevels : {
// The default is empty, using defaults as defined by the endpoints themselves.

// But you could for example use this to change all access levels to public (not recommended!)
"*" : "public"

// Or this to hide the status from public
// "" : "private"
// "status" : "public"

// And similar to hide the help and lists from public
// "api/help" : "public"
// "api/list*" : "public"

// As you can see from the example above, the paths should be written with no initial or trailing slashes.
}

This is done by PCDSG GUI (if you use it). If you don't use the GUI it needs to be done manually by yourself:

On startup it detects your local or public IP depending on settings, writes it to the server.cfg File for whitelist and access to the DS API.

  // Public rules. The default is to accept everything.
  "public" : [
      { "type" : "accept" }
  ],
   
  // Private rules. The default is to accept queries from localhost, queries authenticated as users in the "private" group
  // and to reject anything else.
  "private" : [
      { "type" : "ip-accept", "ip" : "192.168.1.111/32" },
      { "type" : "group", "group" : "private" },
      { "type" : "accept" }
  ],
  
  // Admin rules. The default is to accept queries from localhost, queries authenticated as users in the "admin" group
  // and to reject anything else.
  "admin" : [
      { "type" : "ip-accept", "ip" : "192.168.1.111/32" },
      { "type" : "group", "group" : "admin" },
      { "type" : "accept" }
  ],
  }

Need more Help? Mail to: PCDSG@web.de or Visit http://forum.projectcarsgame.com



PCDSG WIKI Overview

PCDSGwiki Overview


Need more Help? Mail to: PCDSG@web.de or Visit http://forum.projectcarsgame.com



pcdsg_startup_guide.txt · Zuletzt geändert: 2016/09/11 22:40 von cogent

Seiten-Werkzeuge