Coder Social home page Coder Social logo

arma-server-web-admin's People

Contributors

dahlgren avatar fusselwurm avatar mrgwilliam avatar najsr avatar nemesisre avatar wseng 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

arma-server-web-admin's Issues

Downloaded mod location?

Testing this out and I'm wondering where the mods are downloaded to. Reason being, I already have a plethora of mods and it'd be easier to just relocate them to wherever the application puts the mods downloaded through the application.

Steam workshop support

As far as I can see there is currently no steam workshop support do you plan on adding it?

Option to view log files in browser

Yes, a text editor is better suited to evaluate hour long files in their entirety, but for the quick peek during missions it would be nice to be able to view the log in browser.

Also, if you are going to make this happen, include a Refresh button :)

Log files on Linux

Using the linux server logs aren't written so this needs to be handled by writing the stdout to a log directory per startup. Preferably with the same filename format as the Windows server.

Mission uploading silently failing(?)

Hello, whenever I try to upload a pbo mission to our box, the upload seems to fail, as the list of missions doesn't update and it's not in the folder holding the missions. No errors are thrown as well.

Some Info:

  • Running Windows Server 2016
  • Running an FTP, ARMA 3, and Teamspeak 3 server
  • Is installed as a windows service.
  • When uploaded via FTP, it sees the mission.

Check all button in mods

Hi again,

Can you add a button to check all boxes and another to uncheck all boxes in Mods page ?

Thx :)

Difficulty

Will be great to have the possibility to create/modify custom difficulties

Steam Workshop does not autolaunch with mods

Hi,

I have a bug with last version of webadmin with steam workshop ,
You added a function to automaticaly start servers when manager launches.

But with 64 bits executable the game server dont start with mods,
Can you check this ? If you need more information...

Error when downloading log

ReferenceError: logs is not defined
   at show (/app/routes/logs.js:18:7)
   at /app/node_modules/express-resource/index.js:163:7
   at callbacks (/app/node_modules/express/lib/router/index.js:164:37)
   at param (/app/node_modules/express/lib/router/index.js:138:11)
   at param (/app/node_modules/express/lib/router/index.js:135:11)
   at param (/app/node_modules/express/lib/router/index.js:135:11)
   at pass (/app/node_modules/express/lib/router/index.js:145:5)
   at Router._dispatch (/app/node_modules/express/lib/router/index.js:173:5)
   at Object.router (/app/node_modules/express/lib/router/index.js:33:10)
   at next (/app/node_modules/express/node_modules/connect/lib/proto.js:174:15)

Refresh mods list manually

Add a refresh button to manually update the list of mod. This will both look for any new mods added locally and refresh the update list from Play withSix.

Auto Restart / Bepath

Hi,

Can you implement a system to restart the servers at a specific time ?

I don't know if its possible to do.

Thx Also for the soft ;)

Allow deletion of multiple missions at once

Our use case is dynamic missions that can be played on multiple maps. Whenever a new version would be released, you'd have to manually delete the previous version's files for every single map.

Possibility to use own config

Hi,
this is such a great tool!

Would it be possible add Fields to use an own config and baseconfig so that the server startup would use the paths to configs

arma3server -port=2302 -cfg=PATH_TO_BASIC_CFG -config=PATH_TO_SERVER_CFG -noSound -world=empty

Or have a tab for expert settings and one for the current configuration

in the expert tab there would be Fields for:

  • Basic config
  • Server config
  • additional Startup paramter

regards
Steven

Server launch with windows service

Impossible to launch a server when the Web Admin is launch with the windows service. When hitting "Start", it's saying "launching" but nothing happens on the server side. Working great with the "npm start".

Auto launch servers

Hi,

Can you add a button or a box that auto launch selected servers when arma-server-web-admin service is restarted on windows ?

Mission Upload not working

TypeError: Cannot read property 'mission' of undefined
    at routes/missions.js:17:32
    at Layer.handle [as handle_request] (node_modules/express/lib/router/layer.js:95:5)
    at next (node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (node_modules/express/lib/router/layer.js:95:5)
    at node_modules/express/lib/router/index.js:281:22
    at Function.process_params (node_modules/express/lib/router/index.js:335:12)
    at next (node_modules/express/lib/router/index.js:275:10)
    at Function.handle (node_modules/express/lib/router/index.js:174:3)
    at router (node_modules/express/lib/router/index.js:47:12)
POST /api/missions 500 23.581 ms - 1363

No such file or directory, scandir

Os: Windows server 2012 R2
When making "npm start" I get these error:

https://i.imgur.com/94DQWnj.png

configuration code:

module.exports = {
game: 'arma3', // arma3, arma2oa, arma2, arma1, cwa, ofpresistance, ofp
path: 'C:\Users\root\Desktop\ServerArma3',
port: 3000,
host: '(omitted)', // Can be either an IP or a Hostname
type: 'windows', // Can be either linux, windows or wine
parameters: [ // Additional startup parameters used by all servers
'-noSound',
'-world=empty'
],
serverMods: [ // Mods used exclusively by server and not shared with clients
'@mod1',
'@mod2',
],
admins: [], // add steam IDs here to enable #login without password
auth: { // If both username and password is set, HTTP Basic Auth will be used. You may use an array to specify more than one user.
username: 'simulacion', // Username for HTTP Basic Auth
password: 'a1234567', // Password for HTTP Basic Auth
},
prefix: "[ES]", // Prefix to all server names
suffix: "", // Suffix to all server names
logFormat: "dev", // expressjs/morgan log format
};

Allow specifing additional startup parameters per server and defaults

  • Add dynamic number of input boxes for server startup parameters in server settings similar to the missions settings.
  • Support default startup parameters for all server instances in config.js
  • Pass both specific and default server parameters as parameters to the server library
  • Figure out if headless should have the same or separate options

Cannot run two servers at once [linux]

Hello,

Is there anything we need to do to get two servers running at once from the same machine? If I start one instance of the arma 3 server, it works. But when I try to start the second, I get:

 5:44:50 SteamAPI initialization failed. Steam features won't be accessible!
 5:44:50 Cannot register unknown string STR_3DEN_CAMERA_NAME
 5:44:50 Cannot register unknown string STR_DIFF_SCENE_ONLY
 5:44:50 Cannot register unknown string STR_DIFF_SCENE_AND_MAP
 5:44:50 Initializing stats manager.
 5:44:50 Stats config disabled.
 5:44:50 sessionID: ff4678180f7d6c84f39c43c08f3aad7860d19b8b
 5:44:51 ../lib/Network/networkServer.cpp ClearNetServer:NOT IMPLEMENTED - briefing!
Cannot open file '/home/arma3server/serverfiles/workshop/steamapps/workshop/content/107410/843632231\addons\rhssaf_m_weapon_m76'
 5:44:51 Critical:Destroying running thread!
 5:44:51 Critical:Destroying running thread!
 5:44:51 Critical:Destroying running thread!
 5:44:51 Critical:Destroying running thread!

Is this a linux, file lock issue or something that can be done from your tool to fix it? Thanks again man... I got everything else working great from linux on the steam workshop branch. This is going to save me so much time :) ๐Ÿ‘

Seperated MPmissions folder

Hey there :)

Is there a way to set other Mpmisions folders for varius server instances? Our Publiceser start with the same mission as the Clan servers.

This tool is very nice and easy to use. Good work ! :)

Best Reagard Crossi

Arma 3 x64 Problem

Hi,

When i'm using arma web admin on windows the game dont launch with arma3server_x64,

How can i force it to run on x64 executable only ?

Different folder for addons

All in the title, will be nice to chose a different or custom folder for addons (to not duplicate addons when using A3S for exemple)

Server not Starting

Hello, after a server creation, nothing starts.

When i check settings option in the web UI i get a bad path, like: C:@ARMA_SERVERA3_Master and the right path is C:@ArmA_Server\A3Master.

Maybe i set it bad?

Here is the config:

module.exports = {
game: 'arma3', // arma3, arma2oa, arma2, arma1, cwa, ofpresistance, ofp
path: 'C:@ArmA_Server\A3Master',
port: 3000,
host: '0.0.0.0', // Can be either an IP or a Hostname
type: 'windows', // Can be either linux, windows or wine

Regards,
Fred

Logout

Hi again,
Can you add a way to disconnect from the web service ?
Because if you open back the web page after some minutes you can go without password,

Gamedig Server Query

Set correct game type instead of hardcoded 'arma3' for Gamedig query to support all games properly

Steam workshop mod names

Hey Dahlgren,

I've setup a linux server using your feature/steam-workshop-mods branch. Everything went smoothly and looks good except for one thing.

Whenever you install a workshop mod, it downloads it into the steam directory and names it via the steam workshop id. So for instance, if you install "advanced rappelling", the mod installs into Steam/....107410/713709341 <-- the steam id of the mod

That would be fine, except when it launches, it feeds that directory name into the launch parameters. So when users try to join the server via the vanilla launcher, this is what they see.

Vanilla launcher screenshot

This happens on windows and linux.

As you can see, the launcher cannot associate the mod name with the ID. Some of the time it can, but we still don't want people being greeted with a list of 20 mods, all without names and only represented by numbers.

The way I got around this before was to symlink the workshop mods from 1234567 -> @ModName. Do you know of any way I can fix this? Otherwise I will have to keep my symlinks in sync with my game root.

Thanks for any help you can give me! ๐Ÿ‘

Restart Handling

Please implement a restart config option, so each game server can be restarted at given time(s).

Trying to delete a mod installed from Steam Workshop does not work

I tested the steam-workshop-mod branch by installing CBA_A3. When I'm trying to delete the mod, the mod disappears from the page but I get DELETE /api/mods/450814997 500 0.225 ms - 2 in the server log. The mod files are still there and the mod reappears in the mod list after a page refresh.

Crash when stoppping server on Windows

TypeError: Cannot read property 'end' of null
    at ChildProcess.<anonymous> (C:\Users\anrop\Documents\arma-server-web-admin\lib\server.js:131:14)
    at emitTwo (events.js:111:20)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:852:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

Headless Clients IPs

Allow users to specify additional IPs other than localhost that headless clients are allowed to connect from

Headless Clients won't connect

Hi all, hi @Dahlgren

After the #39 , the HC's aren't connecting to the main web server.
After some investigation, I believe the problem is the template (config.tpl) in the node arma server library, responsible to write a server config to the spawned server.

headlessClients[] = {
  <% _.forEach(headlessClients, function(client) { %>
    "<%= client %>",
  <% }) %>
};
localClient[]={
  <% _.forEach(localClient, function(client) { %>
    "<%= client %>",
  <% }) %>
};

Using this way, both headlessClients and localClient would be inserted with a comma in the end, like this:

headlessClients[] = {
  
    "127.0.0.1",
  
};
localClient[]={
  
    "127.0.0.1",
  
};

Also, I inserted battleyeLicense = 1; in the template as some guides recommend you to do it but I don't know if this will be of any difference.

To make this work again, I changed the template to:

headlessClients[] = {<% _.forEach(headlessClients, function(client) { %>"<%= client %>"<% }) %>};
localClient[]={<% _.forEach(localClient, function(client) { %>"<%= client %>"<% }) %>};

After this change, the HCs were able to connect again in the server.

Server is Windows 10, by the way.

Thanks!

Trouble launching server on windows

Hey man,

The linux version worked great. But I'm trying to use this tool to launch on our windows server. Everything seems to be working. I can see the app, add the server, mods, etc.

However, now that it's all configured, when I click start, nothing happens. And I can't see any logs that would tell me why. It's definitely not launching the executable because there's no rpt file.

Is there maybe a step missing from the readme? Do I have to install the windows service or something? The api request is returning 200, so it's just failing to start the server.

I'll try putting some log messages in lib/server.js to see how far it gets. Let me know if you have any suggestions.

Also, you may want to add to the readme for windows that you have to globally install gyp and the windows build tools or else the app won't run. And again, great work man. This thing is awesome and very few lines of code ;)

Delete/Stop with confirmation

At the moment the "Delete" Button does what it should but without confirmation which is leads to a high risk of deleting things which you didn't wanted.
The same goes for Server "Stop" button.

A confirmation dialog would be nice.

multi mission upload unreliable

Chrome 61.0.3163.100

  • upload succeeds, but webinterface doesn't update, even after clearing cache
  • upload fails, no message or anything, files just don't get uploaded
  • upload stops after successfully uploading the first few files

This is what I observed in a few tries. It doesn't seem to matter if you select a single or multiple files for upload. Further testing soon.

Wrong CBA in mods

Hi,

When i select mods i have automatically CBA added to the mod list,
But this is not my version,
capture d ecran 2017-02-21 a 08 49 02
See cba cba_co and cba_a3 at the end

Play withSIX installation progress

When installing or updating mods from Play withSIX only an indeterminate progress spinner is shown. If/when the request times out due to installation taking to long the progress will stop and confuse the user. A proper progress bar should be implemented and is already supported by the playwithsix module.

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.