AfterWorld Survival Forum

Discussions => Talks and Yaks => Topic started by: Leopold "Shaqan" Mutter on August 26, 2012, 12:59:58 pm

Title: Small program for AW server status checking.
Post by: Leopold "Shaqan" Mutter on August 26, 2012, 12:59:58 pm
Got bored. Result
(http://www.upload.ee/image/2627772/tray.png)

I do not post ready executable for obvious reasons. But you can get source from http://www.hot.ee/kami002//AW_Status.au3 (http://www.hot.ee/kami002//AW_Status.au3)

How to compile:

Download AutoIT3 http://www.autoitscript.com/site/autoit/downloads/ (http://www.autoitscript.com/site/autoit/downloads/)
Download Scite4AutoIT3 http://www.autoitscript.com/site/autoit-script-editor/downloads/ (http://www.autoitscript.com/site/autoit-script-editor/downloads/)
Install both

Start Scite (Start menu - All Programs - AutoIT v3 - Scite - Scite.exe)
Open the souce code in it.
go to Tools - Compile
(http://www.upload.ee/thumb/2627809/compile.png) (http://www.upload.ee/image/2627809/compile.png)
(http://www.upload.ee/thumb/2627813/compile2.png) (http://www.upload.ee/image/2627813/compile2.png)
"Target" means target executable to be created. Easiest is to choose Desktop and type in any name you like. If you use 64bit windows, feel free to choose 64bit output.
 You can also compile both simultaneously if you wish. Makes no difference.
(http://www.upload.ee/thumb/2627821/compile3.png) (http://www.upload.ee/image/2627821/compile3.png)

All the activity this "thingy" does is downloading roughly 450byte file in every other minute from my.afterworld.ru, saving it as txt-file in user's Temp folder and parsing it using regular expression function. Result is visible when hovering the mouse over the icon on tray. Right-click opens a menu where you can choose "Exit". That's pretty much all.
Compiled executable is self-contained and roughly 860kb in size (most of it being AutoIT3 "engine" itself)
Title: Re: Small program for AW server status checking.
Post by: Jarod "Brickwit" McBrickerton on August 26, 2012, 08:29:25 pm
Nice utility. There was a player a while back (more than a year ago I think) that created a Windows Desktop Gadget that would pull in the same information and display it in the gadget, but it never seemed to work for me.
Title: Re: Small program for AW server status checking.
Post by: Leopold "Shaqan" Mutter on August 26, 2012, 11:27:20 pm
thought about gadget-like skinned gui at upper right corner, figured minimalistic beats it.

Might do a skinned "gadget" if there is a clear wish from someone..

EDIT: What's with the forum.. Gateway timeout-s..check and everything seems fine then double posts appear quite a bit later..
Title: Re: Small program for AW server status checking.
Post by: Leopold "Shaqan" Mutter on August 26, 2012, 11:28:45 pm
edited out