• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Server HOWTO: Make a GameTracker Windows Desktop Gadget

Colonel Panic

Grizzled Veteran
Jul 5, 2009
313
5
For people with Windows Vista/7, you can make a desktop gadget that tracks your clan server. Here are some examples of gadgets I made for my servers:
http://skycommand.org/killingfloor/ckfc1.gadget
http://skycommand.org/killingfloor/ckfc2.gadget

You can easily modify these to display your own clan servers, and change the layout and stats displayed besides. Here's how:

Step 1: Go to GameTracker.com and register and claim ownership of your server (claiming ownership isn't necessary, but some tracking features won't work until it has been done)

Step 2: Click the link to get HTML server banner code. Choose a banner type and customize it until it looks the way you want. Vertical banners will work best, and smaller is usually better in this case.

Step 3: If you don't know the rest from here, download one of my gadgets above to use as a template. Use WinRAR to open the gadget file and extract all files to a folder. Do not close WinRAR.

Step 4: Copy the banner code you generated earlier, and take note of the dimensions tagged onto the end for width and height. Open the HTML file and replace the <iframe>...</iframe> section of code with your own (or if you like my layout, you can just change the IP address it points to). Notice the width and height CSS in the style block at the top. Change those values to match the width and height of your gadget--the height needs to be YourGadgetHeight+29, to accommodate the reload button that will appear at the bottom of the gadget

Step 5: In the XML file you can change different properties of the gadget such as name, icon, etc. Be sure that if you change the name of the icon in the XML file, you have a matching filename for the icon you desire, and include it in the package.

Step 6: You should still have the .gadget file open in WinRAR. You can now drag and drop the modified XML and HTML files into the archive and overwrite the existing ones. If you have an icon of your own to use, you may include that also, and delete or overwrite the existing kfc.jpg in the archive. When you're all done, go to the File menu and save a copy of the archive as Filename.gadget

Step 7: Profit! you should now be able to install the gadget on your desktop or sidebar and have it display updated server information. Share the gadget with your clan.
 

Attachments

  • gadgets.jpg
    gadgets.jpg
    94.9 KB · Views: 2
Last edited: