Or if you only want to override one or two of the classes, you can simply put a style tag after the script tag, like in this example, which replaces the server up icon with your own.
__________________
No I don't wear a Concordant Opp item on my Barb...but I did stay at a Holiday Inn Express last night.
Toombs(Rogue/Ranger),Raenin(Cleric)Quiyn(FvS)Puscifer MJK(Wiz)Kunning(Bard/Barb)
Thanks oberon, I had to shrink the icons down a bit to fit the smaller version. I think the red and green up/down arrows are a more visible way to see the server status (probably just the developer in me), but I really like the DDO-esque icons.
I think I'm going to stick with the Verdana font, since just about everything on the DDO site uses it.
*edit: no Orien isn't down, I just wanted to see how it looked.
*edit #2: I think I might just make the icons the background image of the ddoServerListItem class, aligned to the right. That way you can use your own images if you don't like the default.
I'm surprised they haven't made their own yet. It's just a simple XML query to the 7 servers. I'm just using a try/catch block, if it loads the XML and reads the variables then it's up. When the server is down the XML is either blank, or redirects to sitedown.turbine.com.
The other method I haven't had a chance to test yet, is when they remove the public billing roles from the "allowed billing roles" entry in the XML. That means that it's down to the public, but up for internal testing.
well.. I wrote a simple cgi script that shows status .. Unfortunately, my public hosting location doesn't allow cgi execution, so I'll have to figure something out to work around that..
I just checked the <world_full>false</world_full> field to see if they were open. What are you using for status, Cedwin?
edit: or just use yours when you release it next week
well.. I wrote a simple cgi script that shows status .. Unfortunately, my public hosting location doesn't allow cgi execution, so I'll have to figure something out to work around that..
I just checked the <world_full>false</world_full> field to see if they were open. What are you using for status, Cedwin?
edit: or just use yours when you release it next week
The world_full flag is a good flag to look for. If it isn't there, then chances are the server is down. If they have redirects going to sitedown.turbine.com, then that flag won't be there. If it is there, it means the server is up. It will return true or false, so you can use either a server up icon, or a server full icon. An alternate way that they bring the servers down is by removing the public allowed billing roles, which means they can login, but we can't.
When this is ready, I need a newb guide to embedding it in an html box on my web site...I want to add it to the "sidebar", but so far it isn't showing up.
When this is ready, I need a newb guide to embedding it in an html box on my web site...I want to add it to the "sidebar", but so far it isn't showing up.
All you'll need to do is add the script tag, once I go live with it. I could give out the URL now, but I haven't had a chance to test it when the servers are down for maintenance. Isn't that usually on Monday or Tuesday morning?
All you'll need to do is add the script tag, once I go live with it. I could give out the URL now, but I haven't had a chance to test it when the servers are down for maintenance. Isn't that usually on Monday or Tuesday morning?
yes, but it's an emergency maintenance from the threads earlier.