mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Remove old config options, set defaults to our public server
This commit is contained in:
@@ -501,11 +501,7 @@
|
|||||||
"enableInstalledMods",
|
"enableInstalledMods",
|
||||||
"autoCheckRepositories",
|
"autoCheckRepositories",
|
||||||
"updateOnStartup",
|
"updateOnStartup",
|
||||||
"updateConfigUrl",
|
"updateConfigUrl"
|
||||||
"lobbyUrl",
|
|
||||||
"lobbyPort",
|
|
||||||
"lobbyUsername",
|
|
||||||
"connectionTimeout"
|
|
||||||
],
|
],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"defaultRepositoryEnabled" : {
|
"defaultRepositoryEnabled" : {
|
||||||
@@ -543,26 +539,6 @@
|
|||||||
"updateConfigUrl" : {
|
"updateConfigUrl" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "https://raw.githubusercontent.com/vcmi/vcmi-updates/master/vcmi-updates.json"
|
"default" : "https://raw.githubusercontent.com/vcmi/vcmi-updates/master/vcmi-updates.json"
|
||||||
},
|
|
||||||
"lobbyUrl" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "ip address or web link to remote proxy server",
|
|
||||||
"default" : "beholder.vcmi.eu"
|
|
||||||
},
|
|
||||||
"lobbyPort" : {
|
|
||||||
"type" : "number",
|
|
||||||
"description" : "connection port for remote proxy server",
|
|
||||||
"default" : 5002
|
|
||||||
},
|
|
||||||
"lobbyUsername" : {
|
|
||||||
"type" : "string",
|
|
||||||
"description" : "username for the client on the remote proxy server",
|
|
||||||
"default" : ""
|
|
||||||
},
|
|
||||||
"connectionTimeout" : {
|
|
||||||
"type" : "number",
|
|
||||||
"description" : "maximum time in ms, should be enough to establish socket connection to remote proxy server.",
|
|
||||||
"default" : 2000
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -590,11 +566,11 @@
|
|||||||
},
|
},
|
||||||
"hostname" : {
|
"hostname" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "127.0.0.1"
|
"default" : "beholder.vcmi.eu"
|
||||||
},
|
},
|
||||||
"port" : {
|
"port" : {
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
"default" : 30303
|
"default" : 3031
|
||||||
},
|
},
|
||||||
"roomPlayerLimit" : {
|
"roomPlayerLimit" : {
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include "../lib/filesystem/Filesystem.h"
|
#include "../lib/filesystem/Filesystem.h"
|
||||||
#include "../lib/VCMIDirs.h"
|
#include "../lib/VCMIDirs.h"
|
||||||
|
|
||||||
static const int LISTENING_PORT = 30303;
|
static const int LISTENING_PORT = 3031;
|
||||||
|
|
||||||
int main(int argc, const char * argv[])
|
int main(int argc, const char * argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user