Giter Site home page Giter Site logo

headless about arma-server-manager HOT 4 CLOSED

fugasjunior avatar fugasjunior commented on August 20, 2024
headless

from arma-server-manager.

Comments (4)

fugasjunior avatar fugasjunior commented on August 20, 2024

Hi, thanks for the feedback!

As you say, until the support for HC is built into the app, you can manually run the client as you suggest.

An alternative approach which I personally use is to create a script that starts the headless client and set it up as an additional server. You can follow the steps to do so here: https://github.com/fugasjunior/arma-server-manager#additional-servers.

Sample script a3hc.sh:

#!/bin/bash
cd /home/steam/armaservermanager/servers/ARMA3 && ./arma3server_x64 -client -connect=127.0.0.1:2302 -password=abcd -mod=@CBA_A3 -mod=@ace ...

You just need to make sure the script is accessible in the container. Let me know if you need any help setting this up.

from arma-server-manager.

trollhus avatar trollhus commented on August 20, 2024

Thank you. That shell script works perfectly! :) Do you use screen or something if you want to use more than one HCs?
Also if I wish to edit bandwith, min error etc, how should I do it? I can't find a file or where to designate my "network" file for startup parameters. Its not a big issue tho as I mostly play on my own or with a few friends :)

Again, I hope this get more popular because its extremely easy to setup. You should share it along the forums.
Great work!

Thank you!

from arma-server-manager.

fugasjunior avatar fugasjunior commented on August 20, 2024

Perfect, glad it's working! If you need to run multiple HCs, as you say, you can use either screen or tmux to do that. Alternatively if you decide to use the "additional servers" function, you can create two distinct additional servers which run the same script, so then you could run the HCs using the UI.

Regarding the network config, currently there's no way to do that using the UI. However according to the documentation, Arma 3 generates a default config Arma3.cfg in the user profile directory if none is specified. So you can attach to the container and find the file (find / -name Arma3.cfg) and try editting it manually. That's an oversight on my mind and I'll likely add the option to edit these settings soon.

from arma-server-manager.

fugasjunior avatar fugasjunior commented on August 20, 2024

Support for launching headless clients through UI is now available in release v1.2.0.

from arma-server-manager.

Related Issues (20)

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.