You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
kping0 edited this page Jun 27, 2018
·
5 revisions
Client Configuration
Configuring Basics
Most of the configuration for the client can be done by editing the settings.h file (located at 'client/headers/settings.h'). The actual settings are represented as #define statements like the following:
#define DEBUG
Some settings are toggle-able so you can toggle them by uncommenting them/commenting them out like so:
Toggle Off:
//#define DEBUG
Toggle On:
#define DEBUG
Now that the basics are out of the way lets look at the actual settings.
Configuration Settings
NOTE: By default SSC is configured to work well, changing these settings will change SSC. It is recommended to backup the settings.h file before changing anything.
DEBUG
//#define DEBUG
Uncommenting this will result in alot of debug information being printed to STDOUT, useful for developing but unneccessary for actual builds. By default it is commented out.
SSC_UPDATE_THREAD
#define SSC_UPDATE_THREAD
This is a toggle-able setting. If defined, SSC will spawn an update thread to retrieve new messsages from the server. If commented out, the function ssc_cli_msg_upd() in headers/cli.c will do the updates at a set interval. By default it is defined.
SSC_UDPATE_INTERVAL
#define SSC_UPDATE_INTERVAL 1000
This setting is only applicable if SSC_UPDATE_THREAD is defined. It defines the interval between updates in ms. The larger this number, the longer it takes to update. A recommeneded value is 1000ms (1s).
SSC_GUI
#define SSC_GUI
This setting enables you to choose between a gui&cli when starting ssc. If commented out, ssc will start into the cli directly