It’s been about a year since I last released something, so I am going to throw these little utility classes up.
A long time ago I downloaded some PHP script that demonstrated parsing LogMeIn’s Hamachi web status indicator to build a little Hamachi list for a web site. I cannot for the life of me find the little script – I suspect it was just a forum post I found. Anyway, over the years I rewrote the damn thing three times over, trying to get it into a more generalized form. Thus I introduce my two Hamachi status classes.
HamachiClient – represents an individual Hamachi client. Basically, just instantiate one of these buggers with a 5.x.x.x IP and then ask it what its state is. Pretty simple I hope.
HamachiList – can contain multiple HamachiClient classes. You can instantiate this class without any parameters and add the IP addresses later. or you can feed it one array of IP addresses and aliases in the beginning. Then either ask it for the state of each client, or have it return the complete array. I also included a method to output an HTML list that can be formatted with CSS.
Note: I also got annoyed with the fact that only clients version 1.0.x can enable the web status indicator. The obvious implications are that Linux and Mac versions of Hamachi are left in the cold. I included the possibility of pinging these clients if the web indicator doesn’t work. That’s an advanced parameter and you’ll have to look in the code to figure out what to do
Please visit the snippets section to download…
Unknown8063 Studio Announcement
All our servers will be shutting down on Saturday, August 30th. I will try to get them back up on Sunday, but it might take until Monday to be back online.
Unknown8063 Studio Announcement
I’ve been having technical issues with my main laptop for a month or so and recently learned it is the result of overheating. I’ve decided to regularly turn off the computer when I am not using it (*gasp* I must be insane!). This is hopefully temporary until I can come up with a good air flow solution, but in the meantime it means my Windows HFS server will be offline during much of the weekday hours as well as during the night. I apologize for the inconvenience this may cause. Please be sure to notify me if you want to access the server and have trouble doing so during the evening when I am not at work – I probably forgot to turn it on.
Again, this is regarding the Cuotl File Server. My Linux server that this site, the forums, and member sites are hosted on is unaffected.
Thank you for your understanding,
8063
Unknown8063 Studio Announcement
Hey all,
It has been awefully quiet at BluHelix, and I appologize. Lots and lots of things have been creeping into my to-do list but only a handfull of things are actually progressing at the moment.
Among the changes I’m tossing around are a number of site upgrades, including a overhall of the sub-domain mechanics (consolidation and streamlining, with a possible extension to allow users to access their own settings!), as well as, duh duh duh, WordPress integration. Ben at http://benford.bluhelix.com/ has successfully deployed a WordPress engine already on the Czin server and I have been considering doing the same. This would do away with the sometimes clunky forum integration and ease the transition to phpBB3. I’m not sure if there would be any historical postings. Perhaps there will. Anyway this might be a long ways off, but it’s something on the list.
Also on the list – Kevin has given me a copy of RPG Maker XP that is Vista compatible! The question is: Resurrect my current project or start anew. It’s a question I’m continuously debating and would like to hear feedback on. My former project made the increadible milestone of 50% maps complete (which is not to be confused with 50% complete). Any thoughts? If this spurs interest I might post the old projects page on this from last year. Currently, only the screen shots are accessible.
Unknown8063 Inside BluHelix, Studio Announcement
Welcome back. The BCIS server is back online so our address is back to normal. There are a few minor glitches that need sorting but overall things are going very well.
The first thing you will probably notice is that BluHelix Studios has received a face lift. I hope everyone enjoys our new look and expect to see more features added as time goes on.
As mentioned earlier, the calendar has been axed. However I am working on a Google integration so it might just be resurrected.
Unknown8063 Studio Announcement