Fix broken default keys and enable master server in configs

coverity_scan^2
David Cernat 8 years ago
parent 253ded1ee3
commit 2e3f508a56

@ -147,7 +147,7 @@ void MasterClient::Update()
if (response == "Created")
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Server registered on the master server.");
else if (response == "Accepted")
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Server updated information about himself on the master server.");
LOG_MESSAGE_SIMPLE(Log::LOG_VERBOSE, "Sent info update to master server.");
else if (response == "bad request")
{
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Update rate is too low, and the master server has deleted information about"

@ -1,7 +1,6 @@
[General]
server = mp.tes3mp.com
port = 25565
# 0 - Verbose (spam), 1 - Info, 2 - Warnings, 3 - Errors, 4 - Only fatal errors
loglevel = 0
@ -10,12 +9,14 @@ address = master.tes3mp.com
port = 8080
[Chat]
# Use https://wiki.libsdl.org/SDL_Keycode for rebinding keys
keySay = Y # For chatting
keyChatMode = F2 # For enabling or disabling the chat window
# Use https://wiki.libsdl.org/SDL_Keycode to find the correct key codes when rebinding
#
# For chatting
keySay = Y
# For enabling or disabling the chat window
keyChatMode = F2
x = 0
y = 0
w = 390
h = 250
delay = 5.0 # How long the message will be displayed in hidden mode

@ -3,9 +3,8 @@ address = 0.0.0.0
port = 25565
players = 64
hostname = My TES3MP server
# 0 - Verbose (spam), 1 - Info, 2 - Warnings, 3 - Errors, 4 - Only fatal errors
loglevel = 0
loglevel = 1
[Plugins]
#home = ~/local/openmw/tes3mp
@ -13,7 +12,7 @@ home = ~/ClionProjects/PS-dev
plugins = server.lua
[MasterServer]
enabled = false
enabled = true
address = master.tes3mp.com
port = 8080
rate = 1000
Loading…
Cancel
Save