Got problem when trying to start a windows server

Discussion in 'Support!' started by takaqiao, April 15, 2017.

  1. takaqiao

    takaqiao New Member

    Messages:
    8
    Likes Received:
    0
    My config file
    {
    "server": "D:/Planetary Annihilation Titans/bin_x64/server.exe",
    "serverversion": "D:/Planetary Annihilation Titans",
    "serverparams": ["--headless", "--game-mode", "PAExpansion1:Config", "--allow-lan","--server-name", "Taka'sGMODSERVER"],
    "pastats": "pastats.com",
    "pastatsport": 80,
    "listonpastats": true,
    "serverip": "115.231.219.157",
    "serverport": "20545",
    "shownregion": "China"
    }
    But when im trying to open control.js by node.js
    It seems just got error and close it(And I cant see wats the error

    lobby code:
    var main = require('main');
    var sim_utils = require('sim_utils');
    var server_utils = require('server_utils');
    var content_manager = require('content_manager');
    var utils = require('utils');
    var bouncer = require('bouncer');
    var env = require('env');
    var _ = require('thirdparty/lodash');
    var commander_manager = require('lobby/commander_manager');
    var color_manager = require('lobby/color_manager');
    var file_utils = require('file_utils');

    setInterval(function() {
    if (server.beacon) {
    console.log("<BACON>"+JSON.stringify(server.beacon)+"</BACON>");
    }
    }, 5000);

    var SERVER_PASSWORD = main.SERVER_PASSWORD;

    Sorry just notice I post the thread in wrong place
  2. takaqiao

    takaqiao New Member

    Messages:
    8
    Likes Received:
    0
    pic(remove the space):imgur . com/a/WZXwJ

Share This Page