Go Back   DUNGEONS & DRAGONS ONLINE®: Eberron Unlimited™ Forums > News & Discussion > General DDO Discussion

General DDO Discussion General discussion of topics related to DDO.


Advertisement
Reply
 
Thread Tools Search this Thread Display Modes
Old 02-27-2010, 11:02 PM   #1
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default DDO Server Status Widget

DDO Server Status Script Instructions



View it in action: www.ddostuff.com

You can also add this widget to your iGoogle.

To add this widget to your website, add the following script tag wherever you want it to appear.

Code:
<script type="text/javascript" src="http://www.ddostuff.com/status.ashx"></script>
I've also allowed for complete customization by looking for a css querystring, which will prevent the widget from sending over the default CSS.

Code:
<script type="text/javascript" src="http://www.ddostuff.com/status.ashx?css=0"></script>
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.

Code:
<script type="text/javascript" src="http://www.ddostuff.com/status.ashx"></script>
<style type="text/css">
.ddoServerUp {
   background-image: url(yourserverupicon.jpg);
}
</style>
Here are the available CSS classes that can be modified.

Code:
.ddoContainer{
   border:1px solid white;
   margin:0 auto;
   width:175px;
   background-color:#000000;
   font-family:Verdana;
}
.ddoStatusTitle{
   font-size:14px;
   font-weight:bold;
   background-color:#7B1515;
   padding:5px;
   text-align:center;
   color:#FFFFFF;
}
.ddoServerListItem{
   padding:5px;
   width:125px;
   margin-left:20px;
   background-repeat:no-repeat;
   background-position:right center;
   font-weight:bold;
   font-size:12px;
}
.ddoServerUp{
   background-image:url(images/up.jpg);
   color:#FFFFFF;
}
.ddoServerDown{
   background-image:url(images/down.jpg);
   color:#FF0000;
}
.ddoFooter{
   font-size:8px;
   color:Yellow;
   padding:3px;
   text-align:center;
}
This is what the HTML looks like with CSS classes, showing one server up and one server down.

Code:
<div class="ddoContainer">
   <div class="ddoStatusTitle">DDO Server Status</div>

   <div class="ddoServerListItem ddoServerUp">Khyber</div>
   <div class="ddoServerListItem ddoServerDown">Orien</div>

   <div class="ddoFooter">Update: [TimeStamp]</div>
</div>
Feel free to PM me if you have any questions.

*edit: I've started working on a Windows Sidebar Gadget as well.

*edit: Thanks to Oberon for the great ideas.

Last edited by Cedwin; 03-11-2010 at 03:43 PM.
Cedwin is offline   Reply With Quote
Old 02-27-2010, 11:07 PM   #2
soupertc
Community Member
 
soupertc's Avatar
 
Join Date: Jan 2007
Location: Grindville
Posts: 1,368
soupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commendedsoupertc the Commended
Default

very nice.
__________________
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)
soupertc is offline   Reply With Quote
Old 02-27-2010, 11:27 PM   #3
oberon131313
Community Member
 
oberon131313's Avatar
 
Join Date: Mar 2006
Posts: 1,432
oberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commended
Default

I like it
__________________
Quote:
Originally Posted by Gunga
His pant muscles aren't as big as ours...

Last edited by oberon131313; 02-28-2010 at 12:22 AM.
oberon131313 is online now   Reply With Quote
Old 02-28-2010, 12:14 AM   #4
oberon131313
Community Member
 
oberon131313's Avatar
 
Join Date: Mar 2006
Posts: 1,432
oberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commended
Default

check your PMs
__________________
Quote:
Originally Posted by Gunga
His pant muscles aren't as big as ours...
oberon131313 is online now   Reply With Quote
Old 02-28-2010, 01:05 AM   #5
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Quote:
Originally Posted by oberon131313 View Post
check your PMs
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.

Last edited by Cedwin; 02-28-2010 at 01:47 AM.
Cedwin is offline   Reply With Quote
Old 02-28-2010, 01:41 AM   #6
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Current HTML with CSS classes, showing Khyber Up, and Orien Down.

Code:
<div class="ddoContainer">
   <div class="ddoStatusTitle">DDO Server Status</div>

   <div class="ddoServerListItem ddoServerUp">Khyber</div>
   <div class="ddoServerListItem ddoServerDown">Orien</div>

   <div class="ddoFooter">Update: [TimeStamp]</div>
</div>
*edit: Updated the OP

Last edited by Cedwin; 02-28-2010 at 01:47 AM.
Cedwin is offline   Reply With Quote
Old 02-28-2010, 01:47 AM   #7
oberon131313
Community Member
 
oberon131313's Avatar
 
Join Date: Mar 2006
Posts: 1,432
oberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commended
Default

No worries man, I thought you might have to resize them to fit, and I like the idea of setting it through .css. It looks great!
__________________
Quote:
Originally Posted by Gunga
His pant muscles aren't as big as ours...
oberon131313 is online now   Reply With Quote
Old 02-28-2010, 10:59 AM   #8
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Got some good testing in this morning. Now lets bring the rest of the servers down. lol.

Cedwin is offline   Reply With Quote
Old 02-28-2010, 11:10 AM   #9
Zenako
Community Member
 
Zenako's Avatar
 
Join Date: Aug 2006
Location: Massachusetts
Posts: 7,783
Zenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the HonoredZenako the Honored
Default

Quote:
Originally Posted by Cedwin View Post
Got some good testing in this morning. Now lets bring the rest of the servers down. lol.

How Sad, but alas also true....

Nice work on this...
__________________
Sarlona - Stormreach Requisition Company (SRC):Jareko-Elf Ranger12Rogue8; Hennako-Human Cleric20; Rukio-Human Paladin17; Taellya-Halfling Rogue16; Zenako-Dwarf Fighter10Cleric1; Daniko-Drow Bard20; Kerriganko-Human Cleric18; Buket-WF Fighter6; Xenophilia-Human Wiz20; Zenakotwo-Dwarf Cleric16; Yadnomko-Halfling Ftr12; Gabiko-Human Bard15;more
Zenako is online now   Reply With Quote
Old 02-28-2010, 11:59 AM   #10
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Depending on the demand, I could add in a time offset variable.

something like /url/to/widget.ashx?gmt=-2

Since the refresh time listed is always in EST time.

Or, I could add some javascript that will pull the current time from the user's browser. I think that may be the more elegant solution.
Cedwin is offline   Reply With Quote
Old 02-28-2010, 12:21 PM   #11
moorewr
Community Member
 
moorewr's Avatar
 
Join Date: Jan 2007
Location: <--here
Posts: 5,455
moorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commendedmoorewr the Commended
Default

Looking great!
__________________
House Tharashk || “Lasciate ogne speranza, voi ch’intrate.”

AEsahaettr | Pantalaimon | Paracelsus | PeterMurphy | Weesham etc.
moorewr is offline   Reply With Quote
Old 02-28-2010, 12:25 PM   #12
Lorien_the_First_One
Community Member
 
Lorien_the_First_One's Avatar
 
Join Date: Dec 2006
Posts: 15,261
Lorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of StormreachLorien_the_First_One the Champion of Stormreach
Default

They need to put this on the DDO site
Lorien_the_First_One is offline   Reply With Quote
Old 02-28-2010, 12:33 PM   #13
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Quote:
Originally Posted by Lorien_the_First_One View Post
They need to put this on the DDO site
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.
Cedwin is offline   Reply With Quote
Old 02-28-2010, 05:26 PM   #14
binnsr
Founder
 
binnsr's Avatar
 
Join Date: Feb 2006
Location: somewhere with halfling stew and catsup
Posts: 3,784
binnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthybinnsr the Trustworthy
Default

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
__________________
Proud Officer of Giant Slayers, Inc - Thelanis (RIP Tharashk)
Putting food on Tarrant's table since 2005!

Last edited by binnsr; 02-28-2010 at 05:33 PM.
binnsr is offline   Reply With Quote
Old 03-01-2010, 05:25 PM   #15
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Quote:
Originally Posted by binnsr View Post
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.

Or just use mine.
Cedwin is offline   Reply With Quote
Old 03-01-2010, 05:40 PM   #16
Mockduck
 
Mockduck's Avatar
 
Join Date: Jun 2006
Posts: 4,118
Mockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the ConsecratedMockduck the Consecrated
Default

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.
__________________
DDOcast - A weekly podcast about DDO!
Characters: Sarlona: Mockduck (Cleric): Beefheart (Fighter): Mockduk (Ranger/Rogue): Monkduck (Monk): Veiovis (Fvs/Rog) Guild: Officer w/Sacred Flame Guardians Orien (Build Guild): Mockduck (Rogue) Cannith: Mockduck (Fvs/Rogue) Twitter Facebook
Mockduck is offline   Reply With Quote
Old 03-01-2010, 06:00 PM   #17
hebularks
Community Member
 
hebularks's Avatar
 
Join Date: Jun 2009
Posts: 59
hebularks the Neutral
Default

would love to have a igoogle box with it ...
__________________
Retired from the Keeper
Active player of Argonnessen

Quote:
Originally Posted by FlimsyFirewood View Post
grinding the same quest over and over is boring.
hebularks is offline   Reply With Quote
Old 03-01-2010, 07:15 PM   #18
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Quote:
Originally Posted by Mockduck View Post
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?
Cedwin is offline   Reply With Quote
Old 03-01-2010, 07:17 PM   #19
oberon131313
Community Member
 
oberon131313's Avatar
 
Join Date: Mar 2006
Posts: 1,432
oberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commendedoberon131313 the Commended
Default

Quote:
Originally Posted by Cedwin View Post
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.
__________________
Quote:
Originally Posted by Gunga
His pant muscles aren't as big as ours...
oberon131313 is online now   Reply With Quote
Old 03-01-2010, 07:20 PM   #20
Cedwin
Community Member
 
Join Date: Jun 2006
Location: MD
Posts: 3,090
Cedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the PeopleCedwin the Hero of the People
Default

Quote:
Originally Posted by oberon131313 View Post
yes, but it's an emergency maintenance from the threads earlier.
Ah ok. They used to bring the servers down once a week for maintenance. I guess they aren't doing that anymore?
Cedwin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:21 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2005-2009 Turbine, Inc. All rights reserved.

Dungeons & Dragons Online® : Eberron Unlimited™ interactive video game © 2010 Turbine, Inc. © 2010 Wizards of the Coast LLC © 2010 Atari, Inc. All rights reserved. Dungeons & Dragons Online, Eberron Unlimited, Dungeons & Dragons, D & D and Wizards of the Coast and related logos are trademarks or registered trademarks of Wizards of the Coast LLC in the U.S. and/or other jurisdictions, and are used with permission. Hasbro and its logo are trademarks or registered trademarks of Hasbro, Inc. in the U.S. and/or other jurisdictions, and are used with permission. Atari and the Atari logo are trademarks owned by Atari Interactive, Inc. Turbine and the Turbine logo are trademarks or registered trademarks of Turbine, Inc. in the U.S. and/or other jurisdictions. The ESRB rating icons are registered trademarks of the Entertainment Software Association. All other trademarks are the property of their respective owners.