Search the Community
Showing results for tags 'online'.
Found 3 results
-
Hello again guys, I created this video with the idea of promoteing again the tales of pirates private server community. Here you can see my web service related post: Server Files/Game/My Webserver consumers: https://drive.google.com/open?id=1A4O161L36d0qJx2AnCksm5crg0Nktdt5 Microsoft SQL SERVER 2014/2017 Installation Guides i used: Good Lucks guys
-
upd_13.06.2021: new domain + add serverdev.net -+-+-+-+-+-+-+-+-+-+-+-+ Опубликовал online-архивы, нашего любимого maindev.ru и ServerDev.net. Встроен яндекс.поиск по архивам. Версия #1: http://main-dev.ru/old/Dev/forum.maindev.ru/index.html http://main-dev.ru/old/Dev/forum.maindev.ru/index.html ================================================================================================ ================================================================================================ ================================================================================================ Версия #2: http://main-dev.ru/last/ http://main-dev.ru/last/ /*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*- ещё две версии, отличия не искал. 1) http://main-dev.ru/ver3/forum.maindev.ru/index.php 2) http://main-dev.ru/ver4/forum.maindev.ru/index.php /*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*-/*- ================================================================================================ ================================================================================================ ================================================================================================ -=:ServerDev.Net:=- ================================================================================================ ================================================================================================ ================================================================================================ #1. nodate_serverdev Link: http://main-dev.ru/serverdev/serverdev/index.php.htm scr: site: http://main-dev.ru/serverdev/serverdev/index.php.htm $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ #2. ServerDev 2015 Link: http://main-dev.ru/serverdev2015/serverdev2015/ scr: site: http://main-dev.ru/serverdev2015/serverdev2015/ @V3ct0r, если требуется поддержка или продление хостинга этих архивов, сообщи пожалуйста в пм. Дам доп. контакты для связи со мной.
- 6 replies
-
- 1
-
-
- ONLINE arhive MAINDEV.RU
- maindev.ru
-
(and 7 more)
Tagged with:
-
With this script you can show to players who is online from HD and GM. <?php $db_host = ''; $db_user = ''; $db_pass = ''; $db_name = 'GameDB'; $hd_level = 30; if (mssql_connect($db_host, $db_user, $db_pass) == false) { die ('<b>Error: </b> Can not connect to MSSQL server!'); } if (mssql_select_db($db_name) == false) { die ('<b>Error: </b> Can not select game database!'); } $sql = 'SELECT c.cha_name, a.gm FROM character AS c LEFT JOIN account AS a ON (c.act_id = a.act_id) WHERE c.mem_addr > 0 AND a.gm > 0'; $query = mssql_query($sql); if ($query == false) { die ('<b>Error: </b> Can not get list of online HD and GM!'); } $stuff = array(); while ($cha = mssql_fetch_object($query)) { $stuff[] = $cha; } mssql_close(); ?> <html> <head> <title>Список HD и GM в игре</title> </head> <body> <h1>Список HD и GM в игре</h1> <?php $stuff_online = ''; $n = count($stuff); if ($n > 0) { for ($i = 0; $i < $n; $i++) { if ($stuff[$i]->gm > $hd_level) { $stuff_online .= '[GM] ' . $stuff[$i]->cha_name; } else { $stuff_online .= '[HD] ' . $stuff[$i]->cha_name; } if ($i != ($n - 1)) { $stuff_online .= ', '; } else { $stuff_online .= '.'; } } } else { $stuff_online = 'All HD and GM are offline.'; } print $stuff_online; ?> </body> </html>