DOH! Network

  • News
  • ...
  • Johnny Leche

Welcome to the DOH! Network — The Official Website of Johnny Leche.

DOH! In a previous gamedig update, I mentioned how I deleted the folder where the gamedig javascript file was that is needed to start gamedig on server startup. I didn't change anything when I rebuilt the server because the website content is on a separate hard drive that doesn't need to be touched when rebuilding a server. Looking at the javascript that starts gamedig, it was pointing to a location that doesn't exist. And like last time, I had another copy floating around on the server. Pointed my crontab file to that and the DOH! Network Game Server Stats page is working again.

Once Node and gamedig are install, you can check a server's status by doing this at the command prompt... gamedig --type minecraft dohnetwork.com:25565. If it is working correctly, you should get a response like this... {   'name': 'Welcome to the DOH! Network',   'map': '',   'password': false,   'raw' :{     'vanilla': {     'name':'',     'map': '',     'password': false,       'raw': {         'previewsChat': false,         'description': {           'text': 'Welcome to the DOH! Network'         },         'players': {           'max': 20,           'online': 0         },         'version': {           'name': '1.19',           'protocol': 759         }       },       'maxplayers': 20,       'players': [],       'bots': [],       'connect': 'dohnetwork.com:25565',       'ping': 6     }   },   'maxplayers': 20,   'players': [],   'bots': [],   'ping': 0,   'connect': 'dohnetwork.com:25565' } Add this to your crontab... @reboot /usr/local/bin/node /path/to/your/gamedig.jsSee the official Node gamedig page for the contents of gamedig.js. I am using pretty much the same code displayed there.

Reinstalling Node and gamedig. I was going to post how I did it but I tried so many things and then left it for a couple of days and now I don't remember what all I did. I tried these steps below but had no luck and then I tried npm install game today and it actually downloaded something where it use to break before downloading.

  1. Download the latest Node tar file from the official site. I grabbed the Linux version so the rest of the instructions will be for that version.
  2. Upload it to the server if you didn't wget it.
  3. Run tar -zxvf node-v16.15.1.tar.gz. Actual node version number may be different.
  4. Switch to the admin role if you aren't already logged in as root.
  5. Run ./configure
  6. Run make install
  7. Wait. I waited overnight while it downloaded and then tried installing gamedig but it failed.
  8. I think I tried some other things in the folloing days. Could even have downloaded a different version of Node. Eventually had too much other stuff going on and didn't look into it for a couple of days.
  9. Left it sitting for a week and tried installing this morning and it worked.

Now to refresh my memory on how to run gamedig on the server.

Blizzard has announced Overwatch 2 will be free to play on October 4th. Hopefully they don't mess it up. I wonder if the Overwatch 2 beta test gave them some info that swayed them to go this way. Hopefully they don't mess it up because I really like Overwatch but if they start trying to get money out of me to keep up, I'm out.

Ok. The Minecraft server is back up. Java has to be installed manually as it is not included with Slackware. Thanks to this Java install guide I was able to get it installed but towards the end following the instructions would cause the Plex server to not start on reboot. The profile stuff on this page helped and then I looked at the Minecraft 'start.sh' and realized I needed top update that as well. So now the Minecraft server is running but trying to connect will return an 'authentication servers are down' error message. Looks like it's only occurring with the DOH! Network Minecraft server as connecting to other servers works. I also have to set up the Apache virtual hosts for 'games.dohnetwork.com' and the other subpages if the site as well as GameDig.

The server is back in its official spot and not under the desk. Managed to get Plex to start up on reboot so I don't have to do that not that the server needs to reboot that often but if it does, Plex will start.

Got the DOH! Network url working internally as well so that cool. Sent a ticket to the DNS host to see about updating the name server IP so maybe the external url will work as well. Hopefully the internet provider doesn't mind my low traffic site being out there. The port for mail is blocked though so no ecards for now. Looking at the site, I'm thinking of changing it to React but considering I updated the news to load dynamically but never implemented it shows I don't have much urgency to do any kind of update.

dialog youtube