Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

Hey, some days ago, I started to work a lil bit with PHP again and decided to create a dynamic server banner. I know that this already exists, but it was only ment as some kind of exercise, but i finaly decided to release it.

The banners work with MW1/2/3 & W@W, but it won't show custom maps unless you added them (here).

 

To generate one click here! (Site by Avail)

 

Live preview of an mw2 server:

banner.php?ip=server.teamhazard.org&port=28961&color=404040

 

Maybe another one ;) :

banner.php?ip=178.63.72.133&port=28930&color=404040

 

For MW3 you have to use the query port! - Patched, you can now use the normal port

 

Tell me your opinion or give me ideas to optimize them. I'd be happy to see you using them :)

Those who are interested can get the source here and the images here!

Click here to add your custom MW1/WAW map!

 

Credit to:

-BlooDONE for the watermark on the first background

-Avail for the online generator

-Icedream for his API

  • Ответы 53
  • Просмотры 2,3k
  • Created
  • Последний ответ

Top Posters In This Topic

Featured Replies

Опубликовано:

Really nice! ;)

Will come in handy for several people :D

 

Many people were asking me about this kind of thing. Now they have a good option ;)

 

Edit:

Just a feedback...

I entered my IW5M server and the banner kept saying that there was nobody on the server. I waited a while and it never changed.

Then I tried it with my IW4M server, and it was saying that 1 player was there (I checked with status and there was nobody there). Then I joined the server, I was alone there and the banner was saying that there were 2 players on the server. When I left, it kept saying that there was 1 there.

Опубликовано:
  • Автор
Nice ! But i think water mark is will be add more final style to banner.

Something like this:

[attachment=0]img.png[/attachment]

Good idea, if you want, I can pm you the gradient background, you do the photoshop thingy and i'll add it!

Btw, I also wanted to add some kind of shadow to the map preview, but as I'm new to this GD library, I'd need to do it with a new image or so.

Опубликовано:
  • Автор
Edit:

Just a feedback...

I entered my IW5M server and the banner kept saying that there was nobody on the server. I waited a while and it never changed.

Then I tried it with my IW4M server, and it was saying that 1 player was there (I checked with status and there was nobody there). Then I joined the server, I was alone there and the banner was saying that there were 2 players on the server. When I left, it kept saying that there was 1 there.

 

Hmm, okay, normaly this shouldn't happen. I'll check the code if there is an error!

Опубликовано:
  • Автор
Wow nice work. Maybe add some checkboxes and then we can change the width and height from the banners.

Hm, okay. Maybe I'll add this. But all errors (socket slot and player display) should be fixed now, but if you already have a banner, then you need to regenerate one, as i changed my host to get unlimited socket slots!

If anyone is interested, I can release the source!

Опубликовано:
  • Автор
You can also use Richard Perry's Banners for IW5

Then let's wait for Richard to open here a topic to explain how it works. Until then, I'll just stick with Momo's

The thing is, i formerly used 'LGSL' as my API, but it saves it's information into an sql database. As my hosts socket connections were limited, i had switched to another host, which strangly doesn't support sql. But as there was no alternative, I coded my custom algorithm, but without temporary sql save. And of course it only supports Quake3 based games!

  • 3 weeks later...
Опубликовано:
  • Автор
Uhh, if I use them with tags, it doesn't display properly? (can just see the url). Know why, momo?

Just generate a new one. Get the link and wrap img tags around it and it should be fine.

Опубликовано:

if you download momo's source, you'll see '$image_width = 400;' edit that 400 to whatever you wish, and it's done :P Obviously you'll have to resize the background picture though

Опубликовано:
  • Автор

I'm on optimizing it ;)

edit:

if you download momo's source, you'll see '$image_width = 400;' edit that 400 to whatever you wish, and it's done :P Obviously you'll have to resize the background picture though

 

No, you don't have to resize the background xD you just had to replace this

imagecopyresampled( $imagecontainer, $background, 0, 0, 0, 0, $image_width, $image_height,  $image_width, $image_height );

by this

imagecopyresampled( $imagecontainer, $background, 0, 0, 0, 0, $image_width, $image_height, 400, 100 );

 

But now you can customize the width with the ganerator or let it automaticaly detect the perfect width :)

  • 2 weeks later...
  • 2 weeks later...
Опубликовано:

I just started using these banners for the two servers I'm running. They were both working fine, but suddenly the banner for my US server isn't showing up: http://nosmacktards.net/serverstatus

 

Is there a problem with the site?

 

*edit* Nevermind. It's working now...

Опубликовано:
GrossKopf":3k95oark]I just started using these banners for the two servers I'm running. They were both working fine, but suddenly the banner for my US server isn't showing up: http://nosmacktards.net/serverstatus

 

Is there a problem with the site?

 

*edit* Nevermind. It's working now...

It takes a while for the banners to appear cause they're on a free host, why don't you try downloading all the images and the .php file and hosting it yourself? Should be faster that way.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.