Server Status Thread

General discussion and socializing.
User avatar
noindyfikator
Posts: 1478
Joined: Fri Jul 15, 2011 11:10 am

Re: Server Status Thread

Post by noindyfikator »

Havenasket wrote:
WESKERBOY wrote:down again?
Both as a simple player and a supporter of a f2p game I am a little bit annoyed by recent server crashes and lags. It would be nice to have something done it about, here are my ideas:
- Notifications about server status from devs
- Reserve server to switch while first one is down
- Notifications live to devs about server status, semi-live communication through Discord or other SM channel about server issues.
- Post some details of server's current hardware and investigate lags.

I will be honest - early game is most fun and being switched out of the loop for 2 days straight makes both me and my friends kinda "meh", thinking about dropping the game. There goes the premium, loyalty cascade etc etc.

Where is H&H hosted? Server is single-threaded I believe? Is it a self-hosted solution? Cant we just throw more daka-dakas at it in a typical H&H way? Open a crowd-funding campaign, tell us the exact price of that Intel Core i9 5.8HHz or Ryzen 9 5.6HHz, wont this solve lags?
More SSD, more RAM - what do we need for this game? Make a special premium hat+support package for this goal in the store and we ll get that upgrade in no time.
Dude, breathe
TheServant
Posts: 616
Joined: Wed Apr 09, 2014 1:07 am

Re: Server Status Thread

Post by TheServant »

loftar wrote:
TheServant wrote:You need a better alarm
Probably, but I think you do too. Previously, I've just been grepping the syslog over SSH, but now I wrote this which should hopefully be a bit more robust:

Code: Select all

#!/usr/bin/python3

import sys, os, urllib.request, time
url = "http://www.havenandhearth.com/mt/srv-mon"
spath = os.path.join(os.getenv("HOME"), "audio/sounds/takeya.wav")

while True:
    try:
        with urllib.request.urlopen(url) as s:
            while ln := s.readline():
                words = ln.decode("ascii").split()
                if len(words) == 0:
                    sys.stderr.write("haven-alarm: connected\n")
                    continue
                if words[0] == "state" and words[1] == "crashed":
                    os.system("play -q " + spath)
    except urllib.error.URLError as exc:
        sys.stderr.write("haven-alarm: warning: could not connect: %s\n" % exc)
        time.sleep(60)
        sys.stderr.write("haven-alarm: reconnecting\n")
        continue
Using /mt/srv-mon is nicer, because it gives you the information both immediately, without having to do repetitive requests and without having to parse HTML.

Your code is not working, brother!! :mrgreen: :mrgreen: :mrgreen:
"Occasionally I drop a teacup to shatter on the floor. On purpose. I'm not satisfied when it doesn't gather itself up again. Someday perhaps, a cup will come together."
ClothGown
Posts: 1
Joined: Sun Jan 09, 2022 7:38 am

Re: Server Status Thread

Post by ClothGown »

they're looking for new rats to power the server, last ones got into a fight and died while he was asleep (again)
HamsterBBT
Posts: 15
Joined: Tue Dec 28, 2021 9:08 am

Re: Server Status Thread

Post by HamsterBBT »

Again waste time, last time is 12 hours, and now how much ??
Havenasket
Posts: 56
Joined: Sun Apr 04, 2021 8:44 pm

Re: Server Status Thread

Post by Havenasket »

HamsterBBT wrote:Again waste time, last time is 12 hours, and now how much ??
1 more hour of downtime and Imma gonna write a negative review on this game in Steam, I swear.
renren2
Posts: 2
Joined: Sat May 30, 2015 3:23 am

Re: Server Status Thread

Post by renren2 »

seems devs woke up
You do not have the required permissions to view the files attached to this post.
Harunobu
Posts: 165
Joined: Sat Jan 22, 2011 3:29 pm

Re: Server Status Thread

Post by Harunobu »

Havenasket wrote:
HamsterBBT wrote:Again waste time, last time is 12 hours, and now how much ??
1 more hour of downtime and Imma gonna write a negative review on this game in Steam, I swear.
Don't you realize how annoying and pathetic you sound?
Mr_Bober
Posts: 579
Joined: Thu Jan 31, 2019 8:51 pm

Re: Server Status Thread

Post by Mr_Bober »

Harunobu wrote:
Havenasket wrote:
HamsterBBT wrote:Again waste time, last time is 12 hours, and now how much ??
1 more hour of downtime and Imma gonna write a negative review on this game in Steam, I swear.
Don't you realize how annoying and pathetic you sound?
Pretty sure that was a joke, chill...
WESKERBOY
Posts: 233
Joined: Fri Oct 16, 2015 9:50 am
Location: Mexico

Re: Server Status Thread

Post by WESKERBOY »

Havenasket wrote:
WESKERBOY wrote:down again?
Both as a simple player and a supporter of a f2p game I am a little bit annoyed by recent server crashes and lags. It would be nice to have something done it about, here are my ideas:
- Notifications about server status from devs
- Reserve server to switch while first one is down
- Notifications live to devs about server status, semi-live communication through Discord or other SM channel about server issues.
- Post some details of server's current hardware and investigate lags.

I will be honest - early game is most fun and being switched out of the loop for 2 days straight makes both me and my friends kinda "meh", thinking about dropping the game. There goes the premium, loyalty cascade etc etc.

Where is H&H hosted? Server is single-threaded I believe? Is it a self-hosted solution? Cant we just throw more daka-dakas at it in a typical H&H way? Open a crowd-funding campaign, tell us the exact price of that Intel Core i9 5.8HHz or Ryzen 9 5.6HHz, wont this solve lags?
More SSD, more RAM - what do we need for this game? Make a special premium hat+support package for this goal in the store and we ll get that upgrade in no time.
I personally think that the devs has Made a amazing job bringing us haven, is still a beta and this problems won't stop, as players we should understand and wait, still there would be Nice to know server status in Game Window in that way we could know if server is up or not
W5 hermit
W6 hermit
Dropout
1/2 w11 hermit other 1/2 citizen of Arkona
fulma
Posts: 75
Joined: Sat Feb 03, 2018 7:37 pm

Re: Server Status Thread

Post by fulma »

did you already tried to put the whole server code inside a try catch?

Return to “The Inn of Brodgar”