Main Menu

Server List Widget

Started by b00n, March 13, 2010, 10:50:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TeaLeaf

TL.
Wisdom doesn\'t necessarily come with age. Sometimes age just shows up all by itself.  (Tom Wilson)
Talent wins games, but teamwork and intelligence wins championships. (Michael Jordan)

Penfold

Superb :worship:




Quote from: b00n;306021Added some game icons (not stolen from gametracker):



Still need an icon for BFBC2 and L4D2 (possibly just recolour the red one to yellow/gold?).

Aside from that, does the serverlist need to be much more than this? I'm quite liking the cleanliness of its look just now.

b00n

Quote from: TeaLeaf;306025Attached.

Thanks, but seems that while the mod can export widgets just fine, it fails to import them due to some poorly written SQL.  I'll see about fixing that, if not the widget will need to be configured manually (not hard though).

Icons finished:



Have I missed any servers?

Few issues to note:
This plugin is currently not configurable - I can't find sufficient documentation on customising the admincp at the moment, and I haven't had time in any case.  Names, IP addresses, and ports of servers are hard-coded into the plugin.  Not so bad, since if you take a look at the plugin code in Plugin Manager you'll see that it isn't hard to edit, and can still be done within admincp.

ArmA2 IP address is hard-coded to .49, which means if it switches its binding to .45 it'll most likely disappear. I may be able to modify it to check both and list whichever is online, if I get around to it.

Plugin was designed around the default Home layout, which allows 240px for the right column I believe. Anything less than that will probably squish the layout.

OldBloke

Lookin' damn fine :thumb:

Whitey has been trying some tweaks to keep ArmA2 on .45
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

b00n

Quote from: OldBloke;306045Lookin' damn fine :thumb:

Whitey has been trying some tweaks to keep ArmA2 on .45

You're right, I actually hard-coded it to .45 :)

T-Bag

Very impressive, this is as good as I imagined it being and more. I like how clean it is so it doesn't need any more clutter as far as I'm concerned.
Juggling Hard Disks over concrete floors ends in tears 5% of the time.

b00n

#21
I've packaged it up as best I can, install notes included. I gave it a test install and all seemed to work as it should.

Edit: Forgot to mention, I fixed the Widget import/export mod, a fixed version is included in the zip.  If it's already installed, just replace the files with those included, no need to change anything in Admincp.

b00n

TL, have these files been uploaded to the server?  Once I can get the access to ACP sorted I can go ahead and configure the plugin.

Edit: Ah yeah, guess I'll need to remove the CSS servers as well...?

Whitey

#23
I've installed the widget as per the install instructions included but it's not displaying properly.  Have a look at the home page and let me know what I've missed. :)



EDIT: Sorted, It was an issue with the template to do with spacing/tabs but not sure exactly.  To fix it, I took one of the default widget templates and cut/pasted it into the dmw_widget_serverlist then just changed the relevant parts and it was fine.