Coder Social home page Coder Social logo

mr-guard / dayz-server-manager Goto Github PK

View Code? Open in Web Editor NEW
137.0 137.0 41.0 6.05 MB

A server installer and watch-dog for dayz standalone with built-in Discord and RCon bot

License: MIT License

JavaScript 0.25% TypeScript 84.54% HTML 9.50% SCSS 1.38% C 3.77% C++ 0.52% Dockerfile 0.05%

dayz-server-manager's People

Contributors

dependabot[bot] avatar mr-guard avatar romanbah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dayz-server-manager's Issues

map not work=(

Hi! The map is not displayed in the web browser, can you help solve the problem? Map chernarusplus.

Stuck at Checking/Installing SteamCMD

image

Ive had an ark server on this machine before that also used steamcmd. Ive deleted the SteamCMD folder there
For some reason it gets stuck right here and the process isnt really doing anything.

Ive made sure that the antivirus lets the script do its thing.

Map does not work

Hi, I have some problems with map, it does hot work)
It does not show players and vehs
image

Using -ip parameter

I tried setting

"serverLaunchParams": [-ip 192.168.1.117],

This resulted in invalid json, so I tried

"serverLaunchParams": ["-ip 192.168.1.117"],

This resulted in valid json, however, the ip would not bind to my local address. It was still binding to 0.0.0.0 when checked through netstat. This makes it add the launch parameter with quotes around it and I think in order for it to bind successfully to a specific ip perhaps it needs to be specified before -port, meaning you'd have to add a provision for the -ip parameter into your configuration. Maybe I'm just doing it incorrectly, please let me know! Thank you.

Some questions

Hello, everything is working fine, but I want to know is there a way to set up 2 servers on 1 manager, or I need to make 1 manager per each server.

And what is "Please use force_install_dir logon" - am installing it okey, and all working, but Im keep getting that massage upon start.

Failure to copy Mod Keys

Capture6

I am having an issue the launcher randomly fails to properly copy the mod keys saying that the resource is locked or in use.

Error

Hello there im trying to set this up for the first time and im getting this error:
image

Launch problem

Good afternoon.
The config and the exe file itself were copied to the folder with the server.
Renamed the config. Configured the config correctly.
When you run the exe file, it just opens for 1-2 seconds and closes.
The config is configured correctly, the antivirus is disabled, and it has been launched as administrator.
What could be the problem?

Been on windows 10 and 11.

Sorry for the translation.

WebUI

What is the recommended way to setup the WebUI so I can access it from other laptops and such?

[SUGGESTION] Rate limit exceeded avoidance

Hello!

To avoid getting the "rate limit exceeded" error on steam (servers with big workshop list have that issue pretty often)
I believe you could use the "anonymous" user with no password on steamcmd, this user can download workshop items with no rate limit I think.

And for the server install/download, keep your regular steam username/password.

Steam temporary banned my user.

The manager connect and login one time for each mod to check or download the update on the start process.
If you have a lot of mods it connects a lot of times in one minute. That result in a temporary ban of the account.

Is any way of avoit that? i get banned everytime i run an update.

Press any key to continue . . .

@2022-03-27T18:46:38.719Z | IMPORTANT | Manager | Starting DZSM Version: 2.1.1
@2022-03-27T18:46:38.721Z | IMPORTANT | Config | Trying to read config at: C:\Users\Wendy\Desktop\server-manager\build\server-manager.json
@2022-03-27T18:46:38.723Z | IMPORTANT | Config | Successfully read config
@2022-03-27T18:46:38.724Z | INFO | Database | Database Setup: node 14.17.0 : v83-win32-x64
@2022-03-27T18:46:39.310Z | IMPORTANT | Requiremen |

Firewall rules were not found.
You can add the rules manually or by running the following command in a elevated command promt:

netsh firewall add allowedprogram C:\Users\Wendy\Desktop\server-manager\build\DayZServer\DayZServer_x64.exe DayZ ENABLE

@2022-03-27T18:46:40.370Z | IMPORTANT | Manager | Initially checking SteamCMD, Server Installation and Mods. Please wait. This may take some minutes...
@2022-03-27T18:46:40.371Z | IMPORTANT | SteamCMD | Checking/Installing SteamCMD
Redirecting stderr to 'C:\Users\Wendy\Desktop\server-manager\build\SteamCMD\logs\stderr.txt'
[ 0%] 正在检查可用更新...
[----] 正在验证安装...
Steam Console Client (c) Valve Corporation - version 1648077083
-- type 'quit' to exit --
Loading Steam API...OK

Redirecting stderr to 'C:\Users\Wendy\Desktop\server-manager\build\SteamCMD\logs\stderr.txt'
[ 0%] 正在检查可用更新...
[----] 正在验证安装...
Steam Console Client (c) Valve Corporation - version 1648077083
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'az238131f1s4' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
Update state (0x5) verifying install, progress: 12.13 (13700360 / 112911848)
Update state (0x5) verifying install, progress: 17.37 (491317144 / 2828919141)
Update state (0x5) verifying install, progress: 41.39 (1170768221 / 2828919141)
Update state (0x5) verifying install, progress: 66.82 (1890367285 / 2828919141)
Update state (0x5) verifying install, progress: 92.43 (2614665368 / 2828919141)
Success! App '223350' fully installed.

@2022-03-27T18:46:56.438Z | IMPORTANT | REST | App listening on the http://127.0.0.1:2313
@2022-03-27T18:47:17.502Z | ERROR | Manager | connect ETIMEDOUT 69.171.229.11:443 [
Error: connect ETIMEDOUT 69.171.229.11:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '69.171.229.11',
port: 443,
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [TLSSocket],
_header: 'GET /api/v7/gateway HTTP/1.1\r\n' +
'Host: discordapp.com\r\n' +
'Authorization: ***\r\n' +
'User-Agent: DiscordBot (https://github.com/discordjs/discord.js, 11.6.4) Node.js/v14.17.0\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/api/v7/gateway',
_ended: false,
res: null,
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'discordapp.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
}
}
]
Press any key to continue . . .

OM not updating mods and server restart loop

My server won't start up after doing a simple message xml change. I only use Notepad++ and I've validated the xml to ensure the xml is correct. I've recently removed mods and still no luck.

Unable to login to steamCMD

I entered my login details to start the server manager and it keeps failing. I have logged in manually with the steamCMD and logged in with no issues but it still says invalid password even changed the password.

Server not starting

Hello, this is a fantastic piece of software and thank you very much for making it. I'm having an issue with the server manager not being able to start the DayZ server itself, I can start the DayZ server from a batch script and the server manager will see it and manage it but then the server manager cannot manage restarts, which is something I'm after. Here is what the console looks like (It just keeps saying "Server not found." unless I manually start the server via my batch script):

@2022-10-24T22:45:23.324Z | IMPORTANT | Manager    | Starting DZSM Version: 2.1.1
@2022-10-24T22:45:23.339Z | IMPORTANT | Config     | Trying to read config at: C:\dayzserver\server-manager.json
@2022-10-24T22:45:23.339Z | IMPORTANT | Config     | Successfully read config
@2022-10-24T22:45:23.339Z | INFO      | Database   | Database Setup: node 14.17.0 : v83-win32-x64
@2022-10-24T22:45:24.605Z | IMPORTANT | Manager    | Initially checking SteamCMD, Server Installation and Mods. Please wait. This may take some minutes...
@2022-10-24T22:45:24.605Z | IMPORTANT | SteamCMD   | Checking/Installing SteamCMD
Redirecting stderr to 'C:\steamcmd\logs\stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1666144101
-- type 'quit' to exit --
Loading Steam API...OK


@2022-10-24T22:45:26.621Z | IMPORTANT | REST       | App listening on the http://127.0.0.1:8080
@2022-10-24T22:45:26.621Z | WARN      | Discord    | Not starting discord bot, because no bot token was provided
@2022-10-24T22:45:26.621Z | IMPORTANT | Monitor    | Starting to watch server
@2022-10-24T22:45:26.636Z | IMPORTANT | Manager    | Server Manager initialized successfully
@2022-10-24T22:45:26.636Z | IMPORTANT | Manager    | Waiting for first server monitor tick..
@2022-10-24T22:45:26.636Z | IMPORTANT | RCON       | Listening on 0.0.0.0:52110
@2022-10-24T22:45:26.761Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:45:26.792Z | INFO      | Monitor    | Writing server cfg
@2022-10-24T22:45:57.371Z | WARN      | Monitor    | Detected possible server crash. Restarting...
@2022-10-24T22:45:57.371Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:45:57.417Z | INFO      | Monitor    | Writing server cfg
@2022-10-24T22:46:29.042Z | WARN      | Monitor    | Detected possible server crash. Restarting...
@2022-10-24T22:46:29.042Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:46:29.074Z | INFO      | Monitor    | Writing server cfg
@2022-10-24T22:47:00.621Z | WARN      | Monitor    | Detected possible server crash. Restarting...
@2022-10-24T22:47:00.621Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:47:00.668Z | INFO      | Monitor    | Writing server cfg
@2022-10-24T22:47:32.309Z | WARN      | Monitor    | Detected possible server crash. Restarting...
@2022-10-24T22:47:32.309Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:47:32.341Z | INFO      | Monitor    | Writing server cfg
@2022-10-24T22:48:03.887Z | WARN      | Monitor    | Detected possible server crash. Restarting...
@2022-10-24T22:48:03.887Z | IMPORTANT | Monitor    | Server not found. Starting...
@2022-10-24T22:48:03.934Z | INFO      | Monitor    | Writing server cfg

And here is my server-manager.json:

{

    "instanceId": "dayz",


    "loglevel": 1,

    "admins": [
        {
            "userId": "admin",
            "userLevel": "admin",
            "password": "ADMIN PASS"
        }
    ],

    "webPort": 8080,
    "publishWebServer": false,
    "discordBotToken": "",
    "discordChannels": [],
    "experimentalServer": false,
    "serverPath": "C:/dayzserver",
    "serverExe": "DayZServer_x64.exe",
    "serverPort": 2302,
    "serverCfgPath": "serverDZ.cfg",
    "profilesPath": "DayZServerprofiles",
    "battleyePath": "",
    "rconPassword": "RCON PASS",
    "rconPort": 2306,
    "localMods": [
      "@CF",
      "@TraderPlus",
      "@Free Helicopters",
      "@Mortys Weapons",
      "@Land Rover Defender 110",
      "@Instant Flag",
      "@ChernarusRP AE86",
      "@Jeep Cherokee 1984",
      "@GunnerTruckOshkosh",
      "@Dayz Navigation",
      "@SimpleAutorun",
      "@BasicMap",
      "@MiniMap",
      "@Care Packages",
      "@CodeLock",
      "@MMG Base Storage",
      "@MMG - Mightys Military Gear",
      "@CarCover",
      "@Ear-Plugs",
      "@Modified Hunger and Hydration",
      "@Killfeed","@InventoryPlus",
      "@BaseBuildingPlus",
      "@Unlimited Stamina",
      "@Breachingcharge",
      "@VPPNotifications",
      "@VPPAdminTools",
      "@Basic Territories",
      "@COCAs_NoVehicleDamageMOD",
      "@Unknown Ghillie Mod",
      "@SchanaParty"
    ],
    "serverMods": [],
    "doLogs": true,
    "adminLog": true,
    "netLog": true,
    "freezeCheck": true,
    "filePatching": false,
    "scriptDebug": false,
    "scrAllowFileWrite": false,
    "limitFPS": -1,
    "cpuCount": -1,
    "serverLaunchParams": [],
    "serverProcessPollIntervall": 30000,
    "backupPath": "backups",
    "backupMaxAge": 7,
    "steamCmdPath": "C:/steamcmd",
    "steamUsername": "STEAM USER",
    "steamPassword": "STEAM PASS",
    "steamWorkshopPath": "Workshop",
    "steamWsMods": [],
    "updateModsBeforeServerStart": false,
    "updateModsOnStartup": false,
    "updateServerBeforeServerStart": false,
    "updateServerOnStartup": false,
    "linkModDirs": false,
    "copyModDeepCompare": false,
    "events": [],
    "metricPollIntervall": 10000,
    "metricMaxAge": 2592000,
    "hooks": [],
    "serverCfg": {
        "hostname": "Server Name",
        "maxPlayers": 60,
        "motd": [],
        "motdInterval": 1,
        "password": "SERVER PASS",
        "passwordAdmin": "ADMIN PASS",
        "enableWhitelist": 0,
        "BattlEye": 1,
        "verifySignatures": 2,
        "forceSameBuild": 1,
        "guaranteedUpdates": 1,
        "allowFilePatching": 0,
        "steamQueryPort": 2305,
        "maxPing": 200,
        "speedhackDetection": 1,
        "disableVoN": 0,
        "vonCodecQuality": 20,
        "disable3rdPerson": 0,
        "disableCrosshair": 0,
        "disableBaseDamage": 0,
        "disableContainerDamage": 0,
        "disableRespawnDialog": 0,
        "respawnTime": 5,
        "enableDebugMonitor": 0,
        "disablePersonalLight": 1,
        "lightingConfig": 0,
        "serverTime": "SystemTime",
        "serverTimeAcceleration": 4,
        "serverNightTimeAcceleration": 16,
        "serverTimePersistent": 1,
        "loginQueueConcurrentPlayers": 5,
        "loginQueueMaxPlayers": 500,
        "simulatedPlayersBatch": 20,
        "multithreadedReplication": 1,
        "networkRangeClose": 20,
        "networkRangeNear": 150,
        "networkRangeFar": 1000,
        "networkRangeDistantEffect": 4000,
        "defaultVisibility": 1375,
        "defaultObjectViewDistance": 1375,
        "instanceId": 1,
        "storeHouseStateDisabled": false,
        "storageAutoFix": 1,
        "timeStampFormat": "Short",
        "logAverageFps": 30,
        "logMemory": 30,
        "logPlayers": 30,
        "logFile": "server_console.log",
        "adminLogPlayerHitsOnly": 0,
        "adminLogPlacement": 0,
        "adminLogBuildActions": 0,
        "adminLogPlayerList": 0,
        "Missions": {
            "DayZ": {
                "template": "dayzOffline.chernarusplus"
            }
        },
        "enableCfgGameplayFile": 1
    }
}

Mod with space in name - problem

Hello, have a such problem when starting mod with space in name, wrote:
| ERROR | SteamCMD | Mod Link for @Name-mod was not found

Man, I have a suggestion

The current program only has a single exe program. Can you release the web file of the management page to the directory where the program is located? In this way, users in different countries can manually modify the page and translate it, so as to support multilingual environment

execution via vscode

Hello, if it's not too much to ask, could you insert instructions for running the server other than the already compiled version? to run directly through vscode?

crash server manager

about once a day crash "server-manager"
I can’t understand the reason, because during the day the restarts are normal, but when I go to check in the morning, the program no longer works and I have to start it again.
the server itself is running
image

won't start

First time trying to start the server manager up and it stops here
Screenshot 2022-08-17 153305

I've only used notepad++ to edit the server-manager.json
Any ideas?

Monitor error

I got this error with clear server

@2022-09-06T06:30:51.911Z | WARN | Monitor | Detected possible server crash. Restarting...
@2022-09-06T06:30:51.911Z | IMPORTANT | Monitor | Server not found. Starting...
@2022-09-06T06:30:51.920Z | ERROR | Monitor | Error during server monitor loop [
Error: EBUSY: resource busy or locked, open 'C:\DayZ\Vanilla\DayZServer@DayZServerManager\addons\Scripts.pbo'
at Object.openSync (fs.js:498:3)
at Object.openSync (pkg/prelude/bootstrap.js:661:32)
at Object.writeFileSync (fs.js:1524:35)
at Paths.copyFromPkg (C:\snapshot\dayz-server-manager\dist\util\paths.js:73:16)
at Paths.copyFromPkg (C:\snapshot\dayz-server-manager\dist\util\paths.js:67:22)
at Paths.copyFromPkg (C:\snapshot\dayz-server-manager\dist\util\paths.js:67:22)
at Paths.copyFromPkg (C:\snapshot\dayz-server-manager\dist\util\paths.js:67:22)
at IngameReport. (C:\snapshot\dayz-server-manager\dist\services\ingame-report.js:106:24)
at Generator.next ()
at C:\snapshot\dayz-server-manager\dist\services\ingame-report.js:8:71 {
errno: -4082,
syscall: 'open',
code: 'EBUSY',
path: 'C:\DayZ\Vanilla\DayZServer\@DayZServerManager\addons\Scripts.pbo'
}
]

NOT AN ISSUE, But a posible Request

First of all, I congratulate you on the development of the tool. I've had it "on" 24 hours a day for more than a year and the problems I've had are almost always related to the game or steamcmd but not to the manager.

That being said, I want to propose, if the code is updated, and if it is possible to add a small functionality:

  • The possibility that when the manager detects that the dayz is not running, before starting it, that a script can be defined to be executed and possibly a time between each execution (script, game).

The reason for this is that, in cases where the manager is not used and the server is executed through a batch file in the traditional way, when the server performs the restart process, tasks such as deleting logs, file renaming (for randomizing traders and dynamic events) and other tasks that qheny you are using the manager is not possible since it runs the game directly.

If it was possible to define a series of batch files, I say batch because it is the most basic and simple, but it could be any type of script. And also a timeout between executions, or a stdout, so it is possible to add or remove maintenance scripts that run before the manager starts the game again during the reboot process.

I don't know if I explained myself well, but it would be great to add a functionality of this type.

Thank you and again congratulations for the great job.

Cant Find Server

Hey, so i hosted my server before without any "tools" like this, just basic start.bat etc. everything where workin fine.
now i found this awesome manager here (iam for real, u did a great job with that)
and now i got the problem that i cant find my server anymore. any ideas? :D

Hooks

Hey guys! How can i launch some .bat right before the server start? i didn't find some information about it

Local Mods dont get read

So i put all the mod in @modname but the dayz server open without any mod, but on the dzlauncher its shows the mod names

Error reading ADM

Hello there. First off, thanks for developing this tool, I appreciate it a lot. I'm setting up a new server for friends and everything appears to work fine, though I've seen this error a couple of times after a couple dozen manual/scheduled restarts:

@2022-01-26T13:00:52.559Z | INFO      | SteamCMD   | Skipping copy of mod (1559212036) dir because its already up to date
@2022-01-26T13:00:52.788Z | INFO      | SteamCMD   | Skipping copy of mod (1828439124) dir because its already up to date
@2022-01-26T13:00:52.789Z | INFO      | SteamCMD   | Skipping copy of mod (1597140327) dir because its already up to date
@2022-01-26T13:00:52.789Z | INFO      | SteamCMD   | Skipping copy of mod (1602372402) dir because its already up to date
@2022-01-26T13:00:52.790Z | INFO      | SteamCMD   | Skipping copy of mod (1891132304) dir because its already up to date
@2022-01-26T13:00:52.792Z | INFO      | SteamCMD   | Copying @Winter-Deer-Isle key ASC_WinterDeerIsle.bikey
@2022-01-26T13:00:52.793Z | INFO      | SteamCMD   | Copying @VPPAdminTools key VPP.bikey
@2022-01-26T13:00:52.794Z | INFO      | SteamCMD   | Copying @CF key Jacob_Mango_V3.bikey
@2022-01-26T13:00:52.796Z | INFO      | SteamCMD   | Copying @Winter-Chernarus key Crazymike_winterchernarus.bikey
@2022-01-26T13:00:52.799Z | INFO      | SteamCMD   | Copying @DeerIsle key deerisle45.bikey
@2022-01-26T13:00:53.172Z | WARN      | LogReader  | Error reading ADM [
  "size check for C:\\Servers\\DayZSADeerIsle\\DayZServer\\profiles\\DayZServer_x64.ADM failed: Error: ENOENT: no such file or directory, stat 'C:\\Servers\\DayZSADeerIsle\\DayZServer\\profiles\\DayZServer_x64.ADM'"
]
Press any key to continue . . .

Manual restart worked fine after encountering this error. Am not sure if this is a config issue on my end or an actual issue somewhere else. Thanks for reviewing.

Edit respawn and quality

Good, I would like to know how I could modify the amount of respawn, the time it has to appear and if you could put a better quality or the % that certain things come out

Thank you very much

Rate Limit Exceeded

Hi, started getting this error today, am not sure if it's a steam issue or something related to the server manager:

@2022-02-01T03:48:37.529Z | IMPORTANT | Manager    | Starting DZSM Version: 2.1.1
@2022-02-01T03:48:37.530Z | IMPORTANT | Config     | Trying to read config at: C:\Servers\DayZSADeerIsle\server-manager.json
@2022-02-01T03:48:37.539Z | IMPORTANT | Config     | Successfully read config
@2022-02-01T03:48:37.540Z | INFO      | Database   | Database Setup: node 14.17.0 : v83-win32-x64
@2022-02-01T03:48:37.788Z | IMPORTANT | Manager    | Initially checking SteamCMD, Server Installation and Mods. Please wait. This may take some minutes...
@2022-02-01T03:48:37.788Z | IMPORTANT | SteamCMD   | Checking/Installing SteamCMD
Redirecting stderr to 'C:\Servers\DayZSADeerIsle\SteamCMD\logs\stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1642451655
-- type 'quit' to exit --
Loading Steam API...OK


Redirecting stderr to 'C:\Servers\DayZSADeerIsle\SteamCMD\logs\stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1642451655
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'Andymantium' to Steam Public...FAILED (Rate Limit Exceeded)


@2022-02-01T03:48:40.644Z | ERROR     | SteamCMD   | SteamCMD "+login MyUserID ****** +force_install_dir C:\Servers\DayZSADeerIsle\DayZServer +app_update 223350 validate +quit" failed [ { status: 5, stdout: '', stderr: '' } ]
@2022-02-01T03:48:40.646Z | ERROR     | SteamCMD   | Failed to update server
@2022-02-01T03:48:40.646Z | ERROR     | Manager    | Server installation failed [
  Error: Server installation failed
      at ManagerController.<anonymous> (C:\snapshot\dayz-server-manager\dist\control\manager-controller.js:168:35)
      at Generator.next (<anonymous>)
      at fulfilled (C:\snapshot\dayz-server-manager\dist\control\manager-controller.js:5:58)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
]
Press any key to continue . . .

Thanks

Adding events

Hello!
Sorry for my English, I'm using a translator.

There is a problem with the display of Russian characters in the game ... there is some kind of limit on the number of characters, or I don’t know what ...
"params": [
"Here the text is in Russian letters..."
The message in the game is displayed partially ... if you write in English characters - everything is fine!

Server Starts but doesn't show on LAN

My server starts and shows running with 0 players. When I try to connect to the server it doesnt show anything under LAN in the launcher. I see options for changing the port in the config file but I dont see anywhere for the ip address. Its running on localhost so I assumed that it would just show up in the launcher but no luck. Does anyone know how to connect to it if it isnt coming up under LAN in the launcher? I also tried looking withing steam under view>servers>lan and still nothing. Any help would be appreciated! Thank you!
Capture
Capture1

watcher mod have only config.bin

Hello, you make awesome tool. But i have a problem. I can't monitoring server on map, no one vehicle or players i can't see.
When server start, in path @DayZServerManager creating new mod Scripts.pbo every time.
But inside this pbo i see only config.bin
When i try compile pbo from watcher_mod folder, and give it to server mod, i have error on start up, "Can't compile engine"
Can you check it?

Error log when i give pbo compiling by my self
`
Log D:\JNVanila\JNVanila\profiles\script_2021-10-11_04-10-39.log started at 11.10. 04:10:39

SCRIPT (E): @"DayZServerManager/Scripts/Common,-1": Path not found
SCRIPT (E): Can't compile "Engine" script module!

DayZServerManager/Scripts/Common: Path not found
`

Best Way to Get the Process ID imo

You can grab the Process ID based off the port the server is running on since only it can be running on the port, here's an example:

var PortCheck = await spawn('powershell', [`$proc = Get-Process -Id (Get-NetUDPEndpoint -LocalPort ${config.port}).OwningProcess\n`, 'Write-Output $proc.Id\n']);
PortCheck.stdout.on('data', data => {
        const PID = parseInt(data.toString().trim());
        process.kill(PID), console.log(`Killed Process ${PID} running on port ${config.port}!`);
        PortCheck.kill();
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.