Register for your free account! | Forgot your password?

You last visited: Today at 17:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Website addon kingdom players

Discussion on [Release] Website addon kingdom players within the Metin2 PServer Designs, Websites & Scripts forum part of the Metin2 Private Server category.

Closed Thread
 
Old   #1
 
vBanex's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 30
Received Thanks: 6
Thumbs up [Release] Website addon kingdom players

Hello Guys, today i am gonna release one addon for your website which show's all the players in every kingdom! [R.I.P Eng]


PHP Code:
<!-- Online Status -->
<!-- mysql_connect($dbhost,$dbuser,$dbpass); -->

<div id="info">
<table>
<?php
        
include("config.php");
        
mysql_connect($dbhost,$dbuser,$dbpass);         // MySQL ->
        
mysql_select_db("player");

    
$rotes "SELECT COUNT (*) as count from play_index WHERE empire NOT LIKE '2%' and ampire NOT LIKE '3%' ";
    
$rotes_count mysql_fetch_object ($rotes) -> count+1;
    
$blaues "SELECT COUNT (*) as count from player_index WHERE empire NOT LIKE '1%' and empire NOT LIKE '2%';";
    
$blaues_count mysql_fetch_object ($blaues) -> count+1;
    
$gelbes "SELECT COUNT (*) from player_index WHERE empire NOT LIKE '1%' and empire NOT LIKE '3%';";
    
$gelbes_count mysql_fetch_object ($gelbes) -> count+1;
    
$online_count  $gelbes_count $blaues_count $rotes_count;
    
    echo 
"<tr>";
    
    echo 
"<div class='info'>";
    
    echo 
"<tr><th><p>Rotes Reich: </th><th><b style='color:#BB232B'>$rotes_count</b></th></p></tr>";  
    
    echo 
"</div>";
    
    echo 
"<br />";
    
    echo 
"<tr><th><p>Blaues Reich: </th><th><b style='color:#0022FF'>$blaues_count</b></th></p></tr>"
    
    echo 
"<br />";

    echo 
"<tr><th><p>Gelbes Reich: </th><th><b style='color:#FFD500'>$blaues_count</b></th></p></tr>"
    
    echo 
"<div class='acleear'>";
    
    echo 
"<hr noshade width='100' size='1' align='left' color='#726E56'>";
    
    echo 
"</div>";
    
    echo 
"<br />";
    
    echo 
"<tr><th><h1 style='color:#A0A0A0'>Gesamt: </th><th><b style='color:#A0A0A0'>$online_count</b></th></h1></tr>"
    
    echo 
"</tr>";
?>

</table>
</div>

Don't Forget to say thanks!
vBanex is offline  
Thanks
2 Users
Old 03/18/2014, 22:22   #2
 
LovecKrys's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 210
Received Thanks: 199
Easier to use web API.
LovecKrys is offline  
Old 03/18/2014, 23:36   #3
 
vBanex's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 30
Received Thanks: 6
Quote:
Originally Posted by LovecKrys View Post
Easier to use web API.
I Know,but i post this if someone need it.
vBanex is offline  
Old 03/19/2014, 06:38   #4
 
elite*gold: 0
Join Date: Aug 2009
Posts: 67
Received Thanks: 23
its give you the count of account, not the players, and not only online accounts.
MityQ is offline  
Old 03/19/2014, 14:54   #5
 
DexterSK's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 160
Received Thanks: 161
$rotes = "SELECT COUNT (*) as count from play_index WHERE empire NOT LIKE '2%' and ampire NOT LIKE '3%' ";

DDDDDDDD
DexterSK is offline  
Old 03/19/2014, 15:42   #6


 
kangar00's Avatar
 
elite*gold: 23
Join Date: Nov 2013
Posts: 885
Received Thanks: 747
It isn´t a big release, so post it here:


#closerequest
kangar00 is offline  
Old 03/19/2014, 19:40   #7


 
Zevion's Avatar
 
elite*gold: 906
Join Date: Sep 2009
Posts: 17,295
Received Thanks: 4,400
#closed
Zevion is offline  
Closed Thread


Similar Threads Similar Threads
[Release] Faust Addon, This addon is gonna kill u
04/28/2010 - WoW Exploits, Hacks, Tools & Macros - 29 Replies
hiho. I made a little addon which will make your wow unable to connect to any server after it was run once. If you are now thinking about why someone made an addon that crashes your wow: sent some1 you dont like... or make him type: /script ConsoleExec("decorateAccountName 1") here is the addon. have fun :D Download hell ps. pls dont move it to addons section since its not a "normal" addon
WoW Addon - World of Warcaft - Kingdom of the Dragon(Emu)
03/20/2008 - WoW Private Server - 52 Replies
World of Warcraft - Kingdom of the Dragon Was ist World of Warcraft - Kingdom of the Dragon? World of Warcraft - Kingdom of the Dragon ist ein User Addon zu World of Warcraft. Das extra für Mangos Server programmiert wird. Dies ist quasie eine Neuauflage von WoW, sämtliche Quest, Items, NPCs, Mobs werden enterfernt sprich eine Leere SDB wird genommen. Und Komplett neu aufgebaut. Doch vorerst erscheint ein Addon, dass folgende Erneuerungen bringt.



All times are GMT +1. The time now is 17:06.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.