Posts Tagged ‘unfinished’

SysAlive 3 Screenies

Programming Bank | Posted by Godmode
Oct 07 2008

Just cause I’m feeling generous.  Click for bigger image on the second one.

What happens when the server dies?

What happens when the server dies?

The main UI

The main UI - I know Last 5 Events shows 6+ in the window, screen was taken before I fixed the glitch.

I might just get this done soon ^_^

Edited 5am: configuration menu’s about half done (icons and sounds aren’t configurable yet, but the dialog’s face time, fade time, and fade speed are all configurable, along with the delay, timeout, and maximum alerts for the servers).

Features as of right now:

  • Core is made of Awesome
  • Tray icon has 4 graphics; one for normal, one as an alternate image for flashing, one for when there’s servers in warn status and one for when there’s servers in alert status.
  • Saving and Loading is done and compatible with the old SysAlive files, minus a few useless things the other one stored (such as HC for an addon I never finished)
  • Able to choose between ConnectOnly (the old SysAlive style) and HTTP (the New and Improved SysAlive style) on a server-by-server basis.  HTTP will attempt to download the page served by the server and search for a <body tag; if it finds it, great, server’s online.  If it doesn’t, it means one of two things:  Either the webpage is throwing an error and it doesn’t have a fancy error page with a <body> tag in it, or the server’s down.  Either way, SA3′ll mark it as dead since any good page shouldn’t be returning errors anyways.
  • Annoying Sound Effects.  Yes, I brought these back; nothing like being awoken out of a sound sleep to some of the loudest sound effects you want to be woken up with when a server is offline :)

So yeah, the to-do list still has some stuff on it that was considered “standard” in the old SysAlive (minimize to tray, automatically loading the Servers.XML on startup), but those are generally fairly easy to do.  The help file for this on the other hand…Not so much.

SysAlive 3

Programming Bank | Posted by Godmode
Oct 07 2008

*clippy!*  Hit this plz: http://livewire90210.com/wordpress/tag/sysalive/ There are updates to the status of SysAlive 3, and that link will get you to all of them, including the latest release information.

For legacy/archive reasons, the rest of the post is here, but it is indeed available.

But seriously, I’m starting to love and hate Google all at the same time.  Three hours of code got squashed by 30 seconds of copy/paste to make it do one notch better than it used to – in particular, it used to only be able to check if it could open a connection to a website.

Now it downloads the page that website serves, the theory being if it connects and is able to get the page, the server is not only able to accept connections, but is ALSO able to actually serve pages.  I’ve seen x10’s (my paid hosting company) free servers do similar, where Apache is up and running but so bogged down or overloaded that it actually can’t serve pages anymore.  SysAlive 2 would say it’s online, whereas SysAlive 3 would bail out and call it down or non-responsive.

No ETA on it yet though.  I’ve still gotta do a bunch of things I took for granted on the original, namely the alert popups, sounds (which needed tweaking anyways), XML read/write, and some basic program settings, and minimize to tray…I should make a to-do list so I don’t actually miss anything.

And on the subject, why is it that I can’t code for ****?  I’m having to spend lots of time just translating my own code from the old SysAlive to something with comments that I can actually use.