21 thoughts on “EQ2 Server Status – Dethdlr’s Version

  1. I haven’t given up on GuildLaunch yet, but I’m coming close. From what I can tell, GuildLaunch doesn’t already use JQuery, but if you include it, it breaks their site. I can get the server status to work on GuildLaunch, but as Tickii mentioned, it breaks other things on the site when it’s there. (Nevermind the fact that even without adding anything to GuildLaunch, there’s ALREADY an error in their code because they’re calling a function that they haven’t defined/included.) I’m still fiddling though.

    Update: I’m going old school. 🙂 I’m going to work on re-writing this without using JQuery to see if I can get it to work for GuildLaunch.

    Update 2: Even stripping out the JQuery and going directly to XMLHttpRequest gave me problems with GuildLaunch. I finally ended up using an iframe. I’ve updated the article to show how to use it with GuildLaunch. Let me know if it gives you any more problems.

  2. @Tickii: There is a way to set the text color and background colors to whatever colors you want, however, making the background transparent seemed inconsistent from browser to browser when I tried it using the iframe. In IE, I got a white background. In Firefox, it was transparent. I did a bit more research and believe I’ve figured out how to make it work. Try this:

    <iframe src="http://tools.eq2wire.com/serverstatus2/serverstatusgl.html?bg=transparent&c=white" width="130" height="450" frameborder="0" allowTransparency="true"></iframe>

    Note: allowTransparency="true" is for IE, otherwise, it doesn’t work right. You also have to set bg=transparent in the address as shown. Let me know if it works.

  3. @Lothain: Which one are you trying to get to work on guildportal? Makya above apparently got it to work there so it sounds like at least one version will work.

    Update: I got the iframe one to work in a “Free Form Text/HTML” widget. One thing you may need to do is to edit the html in Raw/Script mode when you paste in the code.

    Update 2: I got the original one working as well. Just leave out the first script tag and paste it into a “Free Form Text/HTML” widget while editing the html in Raw/Script mode like this:

    <script type="text/javascript" src="http://tools.eq2wire.com/serverstatus2/serverstatus.js"></script>
    <span name="EQ2Wire:ServerStatus" id="EQ2Wire:ServerStatus">Loading…</span>

  4. It works great in IE and chrome, but for some reason in firefox it doesn’t change the font color to white. I turned no script off and retested it and it still didn’t change the font color. Any ideas?

  5. Hmm. I tried it in IE and Firefox and had it working in both. If it’s viewable to the public, can you email the link to dethdlr at eq2wire dot com? If not, email the exact code you’re using to that address and I’ll see if I can tell what’s wrong.

  6. @sirchivar: You’re right, it wasn’t accurate during the power outage. Neither was SOE’s status page. They had something that got stuck and didn’t unstick it until I started asking about it. It’s also had some issues with stale data that I’ve been working with the developer on. Apparently, there’s something odd going on with the system that holds the data that both the SOE status page and my page is reading from. The developer is going to look into it. In the mean time, anytime the data gets more than 10 minutes old, the UP icon will have a question mark in the middle of it to indicate that something might not be quite right and give you a visual queue to hover your cursor over it to see how long ago the data was updated.

    @Gaean: I’ve got a special page that I set up for Tickii that solves the text color in firefox. Try using the iframe version but instead of serverstatusgl.html use serverstatustransparentwhite.html instead. Also, I should be able to put together a single server one for guildlaunch. Just let me know which version you’re using for the multiple server one so I know which one to tweak for you. For the single server status one, you can try the iframe version and replace the filename with singleserverstatus.html and see if that works for you. If you need the colors flipped, let me know, that version isn’t coded to do anything special with colors.

  7. @Gaean: Send an email to dethdlr at eq2wire dot com and let me know which version you can get to work so I know which version you’d like modified to work with a black or transparent background. I should be able to take care of it for you.

Leave a Reply