Server Status Thread

General discussion and socializing.

Re: Server Status Thread

Postby noindyfikator » Fri Oct 27, 2023 5:16 pm

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
User avatar
noindyfikator
 
Posts: 1452
Joined: Fri Jul 15, 2011 11:10 am

Re: Server Status Thread

Postby TheServant » Fri Oct 27, 2023 5:17 pm

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:
Image
User avatar
TheServant
 
Posts: 613
Joined: Wed Apr 09, 2014 1:07 am

Re: Server Status Thread

Postby ClothGown » Fri Oct 27, 2023 5:19 pm

they're looking for new rats to power the server, last ones got into a fight and died while he was asleep (again)
ClothGown
 
Posts: 1
Joined: Sun Jan 09, 2022 7:38 am

Re: Server Status Thread

Postby HamsterBBT » Fri Oct 27, 2023 5:19 pm

Again waste time, last time is 12 hours, and now how much ??
HamsterBBT
 
Posts: 7
Joined: Tue Dec 28, 2021 9:08 am

Re: Server Status Thread

Postby Havenasket » Fri Oct 27, 2023 5:25 pm

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.
Havenasket
 
Posts: 10
Joined: Sun Apr 04, 2021 8:44 pm

Re: Server Status Thread

Postby renren2 » Fri Oct 27, 2023 5:27 pm

seems devs woke up
You do not have the required permissions to view the files attached to this post.
renren2
 
Posts: 2
Joined: Sat May 30, 2015 3:23 am

Re: Server Status Thread

Postby Harunobu » Fri Oct 27, 2023 5:29 pm

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?
Harunobu
 
Posts: 165
Joined: Sat Jan 22, 2011 3:29 pm

Re: Server Status Thread

Postby Mr_Bober » Fri Oct 27, 2023 5:35 pm

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...
Mr_Bober
 
Posts: 455
Joined: Thu Jan 31, 2019 8:51 pm

Re: Server Status Thread

Postby WESKERBOY » Fri Oct 27, 2023 6:24 pm

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
WESKERBOY
 
Posts: 233
Joined: Fri Oct 16, 2015 9:50 am
Location: Mexico

Re: Server Status Thread

Postby fulma » Fri Oct 27, 2023 9:07 pm

did you already tried to put the whole server code inside a try catch?
fulma
 
Posts: 60
Joined: Sat Feb 03, 2018 7:37 pm

PreviousNext

Return to The Inn of Brodgar

Who is online

Users browsing this forum: BLEX [Bot], Claude [Bot] and 7 guests