Just to keep everyone in the loop, I am currently working on enhancing the polling app. It was actually quickly thrown together originally and does not use multithreading. When a shard is down the poller falls behind and it often happens that not all shards get polled within the 300 second period. Once I fix that, I also want to make better graphs, as well as better status buttons. Perhaps a few so shard owners can choose the one they want.
Once the poller has been rewritten and that part is more enhanced, I am thinking of possibly writing a desktop app. I am not too knowledgeable with reverse engineering so doing the encryption thing is not a possibility for me, however with Razor we don't really have to worry about that. So instead I will concentrate on making a patch management system. TBH I'm not that familiar with how UOG or ConnectUO handled this, so I'm open to suggestions on how the app should handle patches.
What I have in mind is shard owners would have to upload their UO directory to their server and each file would have a MD5 checksum file associated with it. When a user connects, an MD5 check would be done on each of their client files (if the file exists on the shard's url). If there are differences a new directory would be created for that shard, and the proper files would be downloaded and the rest copied. A master MD5 would also be available so any further connections would be fast. It would basically tell razor where to load the client from. The UOG client would provide an easy way for shard admins to generate this folder for their website.
Keep in mind the client is just a "possible" thing at this point though, as I am busy with other projects. If there's enough demand for it, then I may do it.
Archived topic from UOG, old topic ID:5, old post ID:6
UO Gateway Poller, and possible desktop app
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
UO Gateway Poller, and possible desktop app
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Re: UO Gateway Poller, and possible desktop app
This is going fairly smooth. I do have a random crash issue I'm trying to fix. Seems to be related to multithreading but it's a tough one to find, as usual, when it comes to multithreading. I'm sure I'll find it though.
Also, another feature I am adding is the ability to receive emails. The poller will send emails under these conditions:
- If a shard has been offline for too long, it is deactivated
- If a shard that has been deactivated returns online (it's not guarantee that it even gets polled, but it may)
- If you have turned monitoring on (will be off by default) and the shard goes online or offline
I had previously coded the email part, but had turned it off since I did not want false positives to be generated when I am working in my dev environment, but I added a flag to turn it off in this case.
Archived topic from UOG, old topic ID:5, old post ID:7
Also, another feature I am adding is the ability to receive emails. The poller will send emails under these conditions:
- If a shard has been offline for too long, it is deactivated
- If a shard that has been deactivated returns online (it's not guarantee that it even gets polled, but it may)
- If you have turned monitoring on (will be off by default) and the shard goes online or offline
I had previously coded the email part, but had turned it off since I did not want false positives to be generated when I am working in my dev environment, but I added a flag to turn it off in this case.
Archived topic from UOG, old topic ID:5, old post ID:7
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Re: UO Gateway Poller, and possible desktop app
Just an update:
I still cannot figure out the random crash issue. Suspecting it has to do with the pngwriter library I am using for the graphs. I will be reading up on how to code with libpng directly, and write a wrapper class which I can then use. The other crashes seem to have been solved. Once I figure out the last crash I will do a final test on my local server for a week or so then release it. The only difference to really expect is the graphs might be redesigned and made to look nicer. Same with the "online" status buttons. I will also offer more choices.
I have started putting more attention towards my shard, but I will be turning my attention back to this project probably after Christmas. I'm kind of back and forth between the two.
Archived topic from UOG, old topic ID:5, old post ID:14
I still cannot figure out the random crash issue. Suspecting it has to do with the pngwriter library I am using for the graphs. I will be reading up on how to code with libpng directly, and write a wrapper class which I can then use. The other crashes seem to have been solved. Once I figure out the last crash I will do a final test on my local server for a week or so then release it. The only difference to really expect is the graphs might be redesigned and made to look nicer. Same with the "online" status buttons. I will also offer more choices.
I have started putting more attention towards my shard, but I will be turning my attention back to this project probably after Christmas. I'm kind of back and forth between the two.
Archived topic from UOG, old topic ID:5, old post ID:14
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Re: UO Gateway Poller, and possible desktop app
I did not forget about this, I've just been really busy IRL with other stuff.
Archived topic from UOG, old topic ID:5, old post ID:25
Archived topic from UOG, old topic ID:5, old post ID:25
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Re: UO Gateway Poller, and possible desktop app
I think I ruled out the random crash issue to be the pngwriter library. I will look at rewriting the graph generation without using it. I'll probably end up writing my own library based on libpng. Hopefully it was not actually libpng crashing, but I doubt it, it's a fairly well known/used library.
Archived topic from UOG, old topic ID:5, old post ID:39
Archived topic from UOG, old topic ID:5, old post ID:39
Honk if you love Jesus, text if you want to meet Him!
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Re: UO Gateway Poller, and possible desktop app
Yeah yeah, I know, I still did not look at this and still did not update the poller. ;D Been busy with stuff... It's on my mind, it might be on the back of my mind, but it's on my mind. It will be done. Eventually.
I think what I will end up doing is reading up on RRDtool and just use that.
Archived topic from UOG, old topic ID:5, old post ID:109
I think what I will end up doing is reading up on RRDtool and just use that.
Archived topic from UOG, old topic ID:5, old post ID:109
Honk if you love Jesus, text if you want to meet Him!
-
- Posts: 13
- Joined: Sun Feb 10, 2013 10:50 pm
Re: UO Gateway Poller, and possible desktop app
Wanted to say thanks for all your hard work Red! can't wait to see a UOG tool back in the UO free server community. It was the butter for our bread, and the bread has been bland without it!
Thanks!
Archived topic from UOG, old topic ID:5, old post ID:114
Thanks!
Archived topic from UOG, old topic ID:5, old post ID:114