Flying Squirrel Entertainment

Mount & Blade Warband: Napoleonic Wars => General Discussion => Topic started by: Hadrian on July 12, 2017, 10:20:14 pm

Title: M&B Warband Server Banner Generator
Post by: Hadrian on July 12, 2017, 10:20:14 pm
Hello all!

This is my first post here, although I've been playing the North and South mod with the 8thVA for about a year and a half.

Recently I've created a little web app that lets you generate server information banners since I couldn't find any similar sites that could provide this. I host the NA Dixieland Army servers and I wanted to be able to show the server details on my website. It is based in Python and simply scrapes the public site and places the server information over a background to create the banner. This should work for any M&B Warband (inc. mods) server.

HTTP:
http://warbandbanner.masonrowe.com/ (http://warbandbanner.masonrowe.com/)

HTTPS:
https://warbandbanner.masonrowe.com/ (https://warbandbanner.masonrowe.com/)

The banner displays information about the server, such as the name, the module being used (N&S, NW, etc.), the game mode (TDM, Battle, etc.), the current map, the current number of players on the server, and whether the server is locked or unlocked (shown in upper right).  On the web page after entering your server information, html links and forum/teamspeak links are automatically generated so you can copy and paste where desired.

Example for NW:
(https://i.imgur.com/qDaIFMc.png)

More Examples:
Spoiler
Example for N&S:
(https://i.imgur.com/CWvmFc2.png)

Another example:
(https://i.imgur.com/LyftDBl.png)

Here's all the available backgrounds:
https://warbandbanner.masonrowe.com/images.html
[close]

So far I only have seven backgrounds (3 for N&S, 2 for NW, and 2 generic), but I can add more options easily if desired. So if you have a specific background you would like to use, send it my way. The default port for a warband server is 7240, so as long as your server's webpage is accessible, i.e. http://your-server-ip:port/, then the banner can be generated.

Feel free to suggest any edits or features you'd like to see, I'm open to changes. Also, note that I may decide to add additional features which may break existing links (on your sites, signatures, teamspeak, etc.). If you notice the image isn't loading, then just visit the site again and grab a new link.

Source code can be found here: https://github.com/masonr/Warband-Banner-Generator (https://github.com/masonr/Warband-Banner-Generator)
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on July 12, 2017, 10:22:06 pm
reserved
Title: Re: M&B Warband Server Banner Generator
Post by: AeroNinja on July 12, 2017, 10:22:47 pm
That's a nice addition. Well made :)
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on July 12, 2017, 10:32:53 pm
That's a nice addition. Well made :)

Thank you!  ;D
Title: Re: M&B Warband Server Banner Generator
Post by: Fwuffy on July 12, 2017, 10:34:57 pm
really cool
Title: Re: M&B Warband Server Banner Generator
Post by: ~Midnight~ on July 12, 2017, 10:46:20 pm
From a guy that used to play North and South religiously, well done Hadrian.
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on July 12, 2017, 11:57:05 pm
really cool

Thanks! :)

From a guy that used to play North and South religiously, well done Hadrian.

Hey Midnight! Haven't seen you around in awhile. Thank you and hope all is well.
Title: Re: M&B Warband Server Banner Generator
Post by: Doer on July 14, 2017, 12:33:21 am
Awesome, I was planning on making something like this and haven't had the time.

Great job!  :D
Title: Re: M&B Warband Server Banner Generator
Post by: Norwegian13 on July 14, 2017, 11:24:08 am
Great work!
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on July 16, 2017, 02:14:08 am
Awesome, I was planning on making something like this and haven't had the time.

Great job!  :D

Thank you! Yeah, I was planning on doing it for awhile now, but finally got around to doing it. I was surprised there wasn't a gametracker option for M&B, but wasn't too hard to implement.

Great work!

Thank you kindly! :)
Title: Re: M&B Warband Server Banner Generator
Post by: Faker001 on August 08, 2017, 05:52:32 am
It sounds really cool!I'm interested in it.
Title: Re: M&B Warband Server Banner Generator
Post by: elparcero100ol on August 09, 2017, 06:26:32 pm
Oooo nice
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on September 11, 2017, 06:53:32 pm
It sounds really cool!I'm interested in it.

Thank you for the interest! :)

Oooo nice

Hey thanks!
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on September 11, 2017, 06:56:26 pm
Also worth noting that the site now support https.  Did this because some server hosters may probably want to keep all assets on their sites using https, myself included.

https://warbandbanner.masonrowe.com// (https://warbandbanner.masonrowe.com/)

Open to any suggestions that others have to make this more usable or any additional features that are desired.
Title: Re: M&B Warband Server Banner Generator
Post by: Krowbar on September 21, 2017, 02:12:12 pm
Great work, thanks!
Title: Re: M&B Warband Server Banner Generator
Post by: Dark_Knight on September 21, 2017, 04:18:29 pm
Anything similar for Holdfast servers?
good works anyway
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on September 22, 2017, 02:51:13 pm
The original domain (warbandbanner.cf) was dropped by the registrar, so the site is now reachable at warbandbanner.masonrowe.com while I try and sort it out.  Please update your links/images accordingly. My apologies for the inconvenience.
Title: Re: M&B Warband Server Banner Generator
Post by: Hadrian on April 13, 2018, 06:58:51 am
My apologies, I forgot that the site that did the banner generation was on a server that I cancelled a couple weeks ago. I moved the files to a different server of mine and everything should be back working.

Anything similar for Holdfast servers?
good works anyway

Sorry for the late reply as I didn't see this message, but yes I, in fact, did do the same thing for Holdfast servers as well

Holdfast forum topic here: http://www.holdfastgame.com/forum/index.php?topic=2357
Site here: https://holdfastbanner.masonrowe.com/

Examples:

(https://holdfastbanner.masonrowe.com/banner.py?ip=74.91.113.28&port=27003&banner=naval_battle&label=blue)

(https://holdfastbanner.masonrowe.com/banner.py?ip=103.214.111.218&port=27003&banner=british_advance&label=green)
Title: Re: M&B Warband Server Banner Generator
Post by: Foxy on April 17, 2018, 05:24:26 am
^^