Code Monkey home page Code Monkey logo

Comments (17)

puseidr avatar puseidr commented on July 29, 2024

its not possible yet, maybe next week when we got rcon support
atm its not possible to send input to the gameserver from outside the game

from ark-server-tools.

Atriusftw avatar Atriusftw commented on July 29, 2024

What you are requesting is actually exactly the way i'm going to implement it when RCON becomes available. Initial broadcast when a new update is found, informing players that the server will restart in a set amount of time, then initiate a countdown with broadcasts every 5 minutes or so.

from ark-server-tools.

Betaman2k avatar Betaman2k commented on July 29, 2024

Heya
full automatic update ( update / restart ) , with broadcasts ingame that the server will restart ?

from ark-server-tools.

puseidr avatar puseidr commented on July 29, 2024

read?

from ark-server-tools.

Atriusftw avatar Atriusftw commented on July 29, 2024

@Betaman2k That is my plan, yes.

from ark-server-tools.

Sispheor avatar Sispheor commented on July 29, 2024

What you want is not available from now until RCON is released by ARK devs. But you can use the arkdaemon script with crontab to apply update at some fixed time. Yu can also leave a message of the day to notify your connected user.
The arkdaemon script only work on Debian/Ubuntu and sysinit. Systemd version is comming.

from ark-server-tools.

Betaman2k avatar Betaman2k commented on July 29, 2024

can u give me the bash script 4 update and message ingame ( update, message ingame and restart the server )
thx

from ark-server-tools.

Sispheor avatar Sispheor commented on July 29, 2024

the script is called arkdaemon and it's in the repo. Checkout the dev1.1 branch to get the last revision of the file.
Then use

/etc/init.d/arkdaemon update

from ark-server-tools.

Betaman2k avatar Betaman2k commented on July 29, 2024

Heya
ok, and now only a crontab
example 0 0 * * * /etc/init.d/arkdaemon update

from ark-server-tools.

allquixotic avatar allquixotic commented on July 29, 2024

I wrote a little Ruby script that does a check for an update every 10 minutes (adjust as desired) using the rcon native program (released on some guy's blog site) to check for players before updating.

https://gist.github.com/allquixotic/f847a6fd8b606d628694

This script will update the server if the following conditions are satisfied:

  • The server is up. If it's down, we won't try to do anything.
  • No one is currently playing. For most servers there should be at least some time where there are 0 players. We can use this window to update without disturbing anyone.
  • There is an update available on Steam (arkmanager checkupdate).

If any of the conditions is not true, the script will just wait another 10 minutes.

It repeats this process endlessly, forked in the background :)

from ark-server-tools.

klightspeed avatar klightspeed commented on July 29, 2024

In order to support this, should we perhaps add a --warn option to the update command to have it warn players if the number of players connected is not zero? The admin could configure the amount of time it will warn the players for, and it could warn at decreasing intervals - e.g. 1h, 45m, 30m, 20m, 15m, 10m, 5m, 4m, 3m, 2m, 1m30s, 1m, 45s, 30s, 15s, 10s, 5s

from ark-server-tools.

FezVrasta avatar FezVrasta commented on July 29, 2024

I like the idea

from ark-server-tools.

FezVrasta avatar FezVrasta commented on July 29, 2024

@klightspeed this feature should be implemented with 1.3 right?

from ark-server-tools.

klightspeed avatar klightspeed commented on July 29, 2024

Commit f3df26e would add this.

I can create a pull request with it into either 1.3 or master.

from ark-server-tools.

klightspeed avatar klightspeed commented on July 29, 2024

Unfortunately this is not in master. Do we want to add it as a hotfix, or add it to 1.4?

from ark-server-tools.

Atriusftw avatar Atriusftw commented on July 29, 2024

How can't this be in master? Didn't we just release 1.3? Isn't it routine to merge the dev branch into master upon release?
If we can patch it into the release, then lets do that.

from ark-server-tools.

FezVrasta avatar FezVrasta commented on July 29, 2024

agree

from ark-server-tools.

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.