Jump to content
FeuerSturm

[WIP] Battalion 1944 Gameserver Live Status Banner

Recommended Posts

Hello server admins,

I just wanted to present my current "work in progress" (WIP) to you:
It's a Battalion 1944 Gameserver Live Status Banner!

As the name already implies, it' a graphic that shows some information about your
Battalion 1944 game server like

  • country that your gameserver is situated in
  • server name
  • ip/port
  • current map & gamemode
  • current playercount / max player count

Furthermore it uses a corresponding image to the map that is currently being played as background
and shows if the gameserver is password protected (small lock icon).

Here's 3 examples that I saved when testing (those are just images, NOT a live view!):
banner1.png
banner2.png
banner3.png


I'm already hosting the status banner script (PHP!) on my webspace for further testing, so
if you're running a Bat1944 gameserver and would like to try it out already, feel free to do so:

Generate your own Live Gameserver Banner!

If you have your own webspace and would like to customize the look and feel of your banner, feel free to

download the files from GitHub HERE! and make sure to read the instructions HERE!

Feedback is much appreciated!

P.S.:
Please keep in mind, this is work in progress, not a finished "product"!

 

Edited by FeuerSturm
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites

hi guys,

yes, my test server is offline, that's correct, I shut it down after testing.

Did you use the query port when trying the status banner? It will not work if you use the game port instead.

Share this post


Link to post
Share on other sites

That's really strange, I've tried around 20 different servers and all worked without a problem...

What's your gameserver's ip/port?

Here's some random LIVE examples as a proof that it should be working:
status.php?ip=198.27.90.64&port=7793
status.php?ip=139.99.131.80&port=25923
status.php?ip=74.91.125.243&port=7780

Share this post


Link to post
Share on other sites

when r u giving out  the webserver files m8 ? as i would love to have them :D try my ip please 176.57.140.13:28600

Edited by MoAZeR

Share this post


Link to post
Share on other sites

@MoAZeR
I'm already cleaning up the code and will make the files available on GitHub probably by tomorrow evening.

If this is your server, your queryport is 28615 instead of 28600:
status.php?ip=176.57.140.13&port=28615

Share this post


Link to post
Share on other sites
26 minutes ago, FeuerSturm said:

@MoAZeR
I'm already cleaning up the code and will make the files available on GitHub probably by tomorrow evening.

If this is your server, your queryport is 28615 instead of 28600:
status.php?ip=176.57.140.13&port=28615

thx m8 now its woprks i did try that 15 before as well :D you gonna have any more features on that server tracking?

 

 

Share this post


Link to post
Share on other sites
2 hours ago, MoAZeR said:

when r u giving out  the webserver files m8 ? as i would love to have them :D

the files are now available on GitHub, see download link in first post!

28 minutes ago, Tek'S said:

Good Job !

thanks! :)

Share this post


Link to post
Share on other sites

Hi there, no matter what i do the script tells me server is offline. I used one of the ip's and ports shown in a previous post (176.57.140.13 port 28615) to test it.

I firstly used the banner generator you have above and it worked fine.

Then i uploaded the script to my domain, edited line 12 of the config script to 

$bind_gameserver = "176.57.140.13:28615";

saved all and went to the address  and this is all i get   status.php?ip=176.57.140.13&port=28615

The above banner is live btw. Any help please

Edited by crazynex

Share this post


Link to post
Share on other sites

Hey crazynex,

the problem seems to be that your webspace doesn't allow UDP connections so the script
doesn't get any information from your gameserver.
If you're using free webhosting it's likely that they will not enable this, if it's paid webhosting,
a short support ticket is usually enough and they will enable UDP connections for you.

Share this post


Link to post
Share on other sites

Nice work FeuerSturm works great for me.

Only problem i found was it displays the query port rather than the server port is that right?

Also just for anyone else trying this banner its usually +3 on your server port when entering the port number but it all depends how it was set up in the first place.

Share this post


Link to post
Share on other sites

Hi Excel,

oh, now that you mention it...I actually meant to change that to game port already...must have forgotten, will do right now.

Thanks for letting me know!

Share this post


Link to post
Share on other sites

Hi FeuerSturm,

No problem, easy thing to miss but still a great banner you made :)

Upvoted!

Edited by Excel

Share this post


Link to post
Share on other sites

I am a graphic designer and was already thinking of trying to do something similar to this. I would love to be able to customize the background / color scheme. I support this 110%!!!

Share this post


Link to post
Share on other sites

Hi 5narkY,

you can customize alot if you download the script from GitHub and use it on your webspace.
Here's some stuff that can be changed via config file:

  • ability to bind status banner to single gameserver so it's not needed to supply ip and port via URL
  • change images for game logo, default background for unknown maps, error logo, error background
  • change font used and font size for data/error messages
  • enable/disable GeoIP features to display country flag according to gameserver's location, can be set manually as well
  • show either game or query port in the status banner
  • change font & shadow colors for all different texts
  • set max length of server name before cropping it
  • adjust cache time (default 60seconds, min 10sec, max 300sec)
  • enable/disable gameserver IP filter to prevent others from using your hosting to display their gameservers
  • change the texts for error messages and descriptions, so you can translate them to your language

Share this post


Link to post
Share on other sites

Thanks!! I customized some stuff and set ip and uploaded to our webserver. I am getting Gameserver offline...

Sent you a DM

Edited by 5narkY

Share this post


Link to post
Share on other sites

Just a little update (v0.6) to the script:

Changes:

  • removed release information from servername
  • by default game port instead of query port will be displayed

If you're using the script on your own webspace, please download the latest version from GitHub,
if you're using my hosted script, you don't have to do anything, changes are already applied to my webspace.

Share this post


Link to post
Share on other sites

Small update to my website:

If you don't know your query port, you can leave it empty now, my banner generator script
will query the steam master servers and will list all Battalion 1944 game servers for the specified IP.
You can simply choose your game server then.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×