Перейти к содержимому
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.

IW4M: online 4D1 Serverlist

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

Hey guys,

 

I was bored and so I coded a little website which lists the 4D1 server :D

see here (cache intervall = 60sec)

 

http://www.tdc-clan.eu/4d1

 

Features:

  • sortable servertable
  • Hostname
  • IP and Port, flag of the country
  • Map, Gametype, Mod (if available)
  • Players online
  • Serverversion (r22 or r90 and so on)
  • website of the server owner
  • connect feature (iw4m://... ;; xfire support)
  • filter

 

ToDo:

  • display colors in the hostname??
  • optmize the table (sorting)
  • optimizing the cache
  • custom filter
  • Connector (just click on the link "connect" - bГ¤hm, you joined this server) :D
  • fix the broken country flag
  • show (if available) the mod running on the server behind the Gametype
  • rename custom Gametypes, Maps to the displayed names ingame

 

please report missing Maps, Gametypes and Mods!

I would like to get feedback :)

 

greetings,

insane

  • Ответы 100
  • Просмотры 14,5k
  • Created
  • Последний ответ

Top Posters In This Topic

Most Popular Posts

  • TDC - iNS4NE
    TDC - iNS4NE

    thank you ToDo added

  • TMJ' Emphasis
    TMJ' Emphasis

    yes! i can sort on revision ^^ thank you man and it looks good!

  • NTAuthority
    NTAuthority

    ._.   $gametypes = array('rush' => 'Rush', 'sd' => 'Search and Destroy', /* ... */ ); $gametype = $gametypes[$gametype];

Featured Replies

Опубликовано:
  • Автор
DataTables warning (table id = 'example'): Cannot reinitialise DataTable.

To retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy

aww.

 

Joar, da hatte ich ein wenig rumgespielt und mich vertippt ;)

 

 

EDIT:

- added xfire support (thx to Ras)

 

 

any suggestions what to do now?

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

It is very laggy while scrolling.

and I also have huge delays while using searchbox -> I think it shouldn't filter servers when is search term only one character long.

awesome job, thank you so much for it.

 

Uhh.. i dont have any delays while typing in the searchbox Oo

This is jquery, i'll shorten the files in future, this will maybe helps a little bit..

 

thank you :)

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

Well, the filtering is using one whole CPU core:

27548c3fa418191eed049331d2dcc21e.png

Also scrolling does the same thing, and I believe it didn't use to be like that :|

 

 

WOOW, okay, i think i'll implement a non-script version until this is fixed..

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

I've created a Modern Warfare 2 Server Status Script (PHP) based on COD4ServerStatus.php (unknown owner).

 

So there's my (well managed) Script:

codss.php

codss_base.php

tools.php

 

Use it as follows:

$objStatus = new \Classes\CODServerStatusClass($objServer[0], $objServer[1]);
if($objStatus->getServerStatus() == E_CODSRESP_SUCCESS && $objStatus->parseServerData() == E_CODSRESP_SUCCESS)
{
// get stuff like this: $objStatus->getServerData("mapname")
// or just print_r($this->arrServerData) from CODServerStatusClass inside, to see all available keys
}
else
{
// something went wrong o:
}

 

Just simple. if you need it: theres a nice function for colors :3 // see codss.php

Опубликовано:
ToDo:
  • display colors in the hostname??

 

Try this:

$servername = str_replace("^0","",$servername);
$servername = str_replace("^1","",$servername);
$servername = str_replace("^2","",$servername);
$servername = str_replace("^3","",$servername);
$servername = str_replace("^4","",$servername);
$servername = str_replace("^5","",$servername);
$servername = str_replace("^6","",$servername);
$servername = str_replace("^7","",$servername);
$servername = str_replace("^8","",$servername);
$servername = str_replace("^9","",$servername);
echo "" . $servername . "";

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

Hi, I can't see the flag country in each server, I wanted to know if it was my problem or can not be viewed.

Just that. Thanks

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.