Jump to content

Recommended Posts

Posted

you need to make a check that checks if the ip and port is opened i dont exactly remember the words for example

if ip=xxx port=xxx show Online

else if ip= port= off show Offline sth like that

Posted

you need to make a check that checks if the ip and port is opened i dont exactly remember the words for example

if ip=xxx port=xxx show Online

else if ip= port= off show Offline sth like that

you can give me the html code plz? i need the code and i change the ip port..

Posted

Fotostats.png

 

config.php 

<?php

// Configurações do MySQL
$sql['usr'] = "root";    # Usuário, Ex: "root" (Geralmente é root mesmo)
$sql['pass'] = "";                  # Senha, caso não tenha definido, deixe em branco, Ex: ""
$sql['db'] = "l2jdb";       # Database, Ex: "l2jdb"
$sql['host'] = "localhost";   # Endereço do servidor MySQL, Ex: "localhost"
// Fim das configurações do MySQL


// Não mexer abaixo
$open = mysql_connect($sql['host'], $sql['usr'], $sql['pass']) or die("Não foi possível conectar-se à database.");
$select_db = mysql_select_db($sql['db'], $open) or die("Database não encontrada ou inexistente.");
// Não mexer acima


// STATUS DO SERVIDOR 
//Configurações para mostrar Servidor Online/Offline no Site
$servidor = 'ip';//IP onde o Server está hospedado
$loginserver = @fsockopen($servidor, 2106, $errno, $errstr, 2);
$gameserver = @fsockopen($servidor, 7777, $errno2, $errstr2, 2);

// OPÇÃO DOS PLAYERS ONLINE
//$select = mysql_query("SELECT * FROM characters WHERE online = '1'") or die (mysql_error());
//$co = mysql_num_rows($select);
// OPÇÃO DOS PLAYERS ONLINE

//PLAYERS ONLINE 
	$online_add = "27";#ADICIONE AQUI O NUMERO A MAIS DE PLAYERS
	
	switch($online_add){
		case $online_add < 0;
		echo "Valor da variavel esta incorreto";
		break;
		exit;
	}
	
	$seleciona_valores = mysql_query("SELECT * FROM characters WHERE online = '1'") or die (mysql_error());



// Configurações Gerais

$ddos = "Active";
$guard = "Active"; 

$update1 = "Fixed Reward Siege"; 
$update2 = "Fixed Reward Events"; 
$update3 = "Fixed TW Event"; 
$update4 = "Fixed Blessed 90%"; 
$update5 = "Fixed Quake Announce"; 
$update6 = "Fixed PvP/Pk Announce"; 
$update7 = "Fixed PVP AREA - Field of whispers"; 


// VOTES 

$votegs = "http://www.gamesites200.com/lineage2/in.php?id=33341";
$votetop = "http://www.topservers200.com/in.php?id=8829";
$votejbr = "http://top.l2jbrasil.com/index.php?a=in&u=la2lmserver";

// DOWNLOADS 
$system = "http://la2lm.com/system.zip";
$systemtextures = "http://la2lm.com/textures.zip";
$client = "http://la2lm.com/client.zip";




?>

status.php

<div class="sidebar-left">


<div class="bar_box"><span class="style-1">STATUS SERVER</span></div>
<div class="pt_box">

<span class="style-2">Loginserver :</span><?php print $loginserver ? '<img src="imgs/check.png"/>' : '<img src="imgs/error.png"/>'; ?>
<span class="style-2">Gameserver : </span><?php print $gameserver ? '<img src="imgs/check.png"/>' : '<img src="imgs/error.png"/>'; ?>
<div align="center" style="padding:10px 0;"><img src="imgs/line.png" width="172" height="2" alt="line" /></div>
<span class="style-3">Players Online :  </span> <span class="style-4"><?php print(mysql_num_rows($seleciona_valores)+$online_add); ?></span>
<span class="style-3">DDOS : </span> <span class="style-4"><?php echo $ddos; ?></span>
<span class="style-3">GUARD : </span> <span class="style-4"><?php echo $guard; ?></span>

</div>


<div class="bar_box" style="padding:0 19px;"><span class="style-1">UPDATES</span></div>
<div class="pt_box">

<div class="style-5"><?php echo $update1; ?></div>
<div class="style-5"><?php echo $update2; ?></div>
<div class="style-5"><?php echo $update3; ?></div>
<div class="style-5"><?php echo $update4; ?></div>
<div class="style-5"><?php echo $update5; ?></div>
<div class="style-5"><?php echo $update6; ?></div>
<div class="style-5"><?php echo $update7; ?></div>
<div class="style-6"><a href="#">» See more updates</a></div>


</div>



<div class="bar_box" style="padding:0 19px;"><span class="style-1">GALLERY</span></div>
<div class="pt_box">

<div class="align-quads">
<div class="quad-gallery-1"></div>
<div class="quad-gallery-2"></div>
<div class="quad-gallery-3"></div>
<!-- ABAIXA BLOCOS -->
<div class="quad-gallery-4"></div>
<div class="quad-gallery-5"></div>
<div class="quad-gallery-6"></div>
</div><!-- Align Quads -->

<div class="style-7"><a href="#">» See the full gallery</a></div>

</div>



<div class="bar_box" style="padding:0 10px;"><span class="style-1">NETWORKS</span></div>
<div class="pt_box">

<div style="width:200px; padding:20px 20px; margin:0 auto;" align="center">
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/lineage.lm" data-width="200" data-height="153" data-show-faces="false" data-stream="false" data-header="false"></div>

</div>

</div>

<div class="bar_box" style="padding:0 17px;"><span class="style-1">COUNTER</span></div>
<div class="pt_box">

<div style="width:200px; padding:20px 0px; margin:0 auto;" align="center">
<!-- CODIGO FLAG COUNTER -->
<a href="http://info.flagcounter.com/pOu8"><img src="http://s07.flagcounter.com/count/pOu8/bg_6F5934/txt_FFFFFF/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0"></a>
<!-- CODIGO FLAG COUNTER -->
</div>

</div>



</div>
Posted

 

Fotostats.png

 

config.php 

<?php

// Configurações do MySQL
$sql['usr'] = "root";    # Usuário, Ex: "root" (Geralmente é root mesmo)
$sql['pass'] = "";                  # Senha, caso não tenha definido, deixe em branco, Ex: ""
$sql['db'] = "l2jdb";       # Database, Ex: "l2jdb"
$sql['host'] = "localhost";   # Endereço do servidor MySQL, Ex: "localhost"
// Fim das configurações do MySQL


// Não mexer abaixo
$open = mysql_connect($sql['host'], $sql['usr'], $sql['pass']) or die("Não foi possível conectar-se à database.");
$select_db = mysql_select_db($sql['db'], $open) or die("Database não encontrada ou inexistente.");
// Não mexer acima


// STATUS DO SERVIDOR 
//Configurações para mostrar Servidor Online/Offline no Site
$servidor = 'ip';//IP onde o Server está hospedado
$loginserver = @fsockopen($servidor, 2106, $errno, $errstr, 2);
$gameserver = @fsockopen($servidor, 7777, $errno2, $errstr2, 2);

// OPÇÃO DOS PLAYERS ONLINE
//$select = mysql_query("SELECT * FROM characters WHERE online = '1'") or die (mysql_error());
//$co = mysql_num_rows($select);
// OPÇÃO DOS PLAYERS ONLINE

//PLAYERS ONLINE 
	$online_add = "27";#ADICIONE AQUI O NUMERO A MAIS DE PLAYERS
	
	switch($online_add){
		case $online_add < 0;
		echo "Valor da variavel esta incorreto";
		break;
		exit;
	}
	
	$seleciona_valores = mysql_query("SELECT * FROM characters WHERE online = '1'") or die (mysql_error());



// Configurações Gerais

$ddos = "Active";
$guard = "Active"; 

$update1 = "Fixed Reward Siege"; 
$update2 = "Fixed Reward Events"; 
$update3 = "Fixed TW Event"; 
$update4 = "Fixed Blessed 90%"; 
$update5 = "Fixed Quake Announce"; 
$update6 = "Fixed PvP/Pk Announce"; 
$update7 = "Fixed PVP AREA - Field of whispers"; 


// VOTES 

$votegs = "http://www.gamesites200.com/lineage2/in.php?id=33341";
$votetop = "http://www.topservers200.com/in.php?id=8829";
$votejbr = "http://top.l2jbrasil.com/index.php?a=in&u=la2lmserver";

// DOWNLOADS 
$system = "http://la2lm.com/system.zip";
$systemtextures = "http://la2lm.com/textures.zip";
$client = "http://la2lm.com/client.zip";




?>

status.php

<div class="sidebar-left">


<div class="bar_box"><span class="style-1">STATUS SERVER</span></div>
<div class="pt_box">

<span class="style-2">Loginserver :</span><?php print $loginserver ? '<img src="imgs/check.png"/>' : '<img src="imgs/error.png"/>'; ?>
<span class="style-2">Gameserver : </span><?php print $gameserver ? '<img src="imgs/check.png"/>' : '<img src="imgs/error.png"/>'; ?>
<div align="center" style="padding:10px 0;"><img src="imgs/line.png" width="172" height="2" alt="line" /></div>
<span class="style-3">Players Online :  </span> <span class="style-4"><?php print(mysql_num_rows($seleciona_valores)+$online_add); ?></span>
<span class="style-3">DDOS : </span> <span class="style-4"><?php echo $ddos; ?></span>
<span class="style-3">GUARD : </span> <span class="style-4"><?php echo $guard; ?></span>

</div>


<div class="bar_box" style="padding:0 19px;"><span class="style-1">UPDATES</span></div>
<div class="pt_box">

<div class="style-5"><?php echo $update1; ?></div>
<div class="style-5"><?php echo $update2; ?></div>
<div class="style-5"><?php echo $update3; ?></div>
<div class="style-5"><?php echo $update4; ?></div>
<div class="style-5"><?php echo $update5; ?></div>
<div class="style-5"><?php echo $update6; ?></div>
<div class="style-5"><?php echo $update7; ?></div>
<div class="style-6"><a href="#">» See more updates</a></div>


</div>



<div class="bar_box" style="padding:0 19px;"><span class="style-1">GALLERY</span></div>
<div class="pt_box">

<div class="align-quads">
<div class="quad-gallery-1"></div>
<div class="quad-gallery-2"></div>
<div class="quad-gallery-3"></div>
<!-- ABAIXA BLOCOS -->
<div class="quad-gallery-4"></div>
<div class="quad-gallery-5"></div>
<div class="quad-gallery-6"></div>
</div><!-- Align Quads -->

<div class="style-7"><a href="#">» See the full gallery</a></div>

</div>



<div class="bar_box" style="padding:0 10px;"><span class="style-1">NETWORKS</span></div>
<div class="pt_box">

<div style="width:200px; padding:20px 20px; margin:0 auto;" align="center">
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/lineage.lm" data-width="200" data-height="153" data-show-faces="false" data-stream="false" data-header="false"></div>

</div>

</div>

<div class="bar_box" style="padding:0 17px;"><span class="style-1">COUNTER</span></div>
<div class="pt_box">

<div style="width:200px; padding:20px 0px; margin:0 auto;" align="center">
<!-- CODIGO FLAG COUNTER -->
<a href="http://info.flagcounter.com/pOu8"><img src="http://s07.flagcounter.com/count/pOu8/bg_6F5934/txt_FFFFFF/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0"></a>
<!-- CODIGO FLAG COUNTER -->
</div>

</div>



</div>

you have html code for this i need game server and login server status..

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


  • Posts

    • 🚀 September Restock Live! Upgrade your personal Gmail to 5TB + Gemini Pro 12-18 Months instantly. 100% private and automated delivery!
    • [WTB / HIRING] High-End Gracia Final Source Code & Custom Pack Bundle [Serious Budget / Paid] Hello MaxCheaters Community, We are launching a new international High-End PvP project and are actively looking to acquire a complete, stable Gracia Final Source Code package OR hire an experienced L2J developer/team for custom module integration. We are looking for a solid foundation with the following specifications: 1. Full Java Source Code (.java) - Absolutely required. We need full access to edit core mechanics, custom items, weapons, and balance. No compiled-only .jar files. 2. Premium Geodata & Pathfinding - 100% complete and fixed Geodata for Gracia Final (no wall-shooting, no falling through map). 3. Modern QoL & Systems - Fully working Auto-Farm engine with clean client UI. - VIP/Premium subscription system (non-P2W rates/features). 4. Custom Content & Balance Ready - Ability to easily inject custom armor sets, weapons with custom glows/auras, and PvP zones. 5. Anti-Bot / Security Integration - Core ready to pair with top protection solutions (Active Anticheat, SmartGuard, or equivalent). 6. Client Tools & System Patch Support - Patch files and editing tools for itemname-e.dat, armorgrp.dat, weapongrp.dat, and custom interfaces. -------------------------------------------------- FORMAT OF COOPERATION: - We can purchase a ready, bug-free Source Code package. - We are also open to hiring a dedicated developer for custom task-based modules. - Fast payment via Crypto / PayPal / Bank Transfer. If you have a working build or offer dev services, PM me here or drop your Telegram/Discord contact below. Thanks!
    • WARFRONT is an Interlude faction PvP server built around one idea: the battlefield should never feel static. Choose your side. Angels vs Demons.   Capture Outposts to move the frontline and your faction's respawns. Fight for the Main Outpost to unlock dynamic events and HQ assaults. Push into enemy territory and destroy their Headquarters to win the battle. But WARFRONT goes far beyond traditional faction PvP.     ▶️ Dynamic Outpost & territory warfare ▶️ Daily Faction Castle Siege ▶️ Weekly Clan Siege ▶️ Grand Boss events ▶️ Kamaloka instanced party content ▶️ Reworked Interlude classes ▶️ Skill & Ability Tree  ▶️ Battlefield Contracts ▶️ Faction & individual rankings ▶️ Long-term character progression ▶️  Battle Pass & cosmetic progression ▶️  30-minute rotating battlefields   We've also reworked classes that are traditionally overlooked in faction PvP. Bishop can enter an offensive Inquisitor role, Daggers have Shadow Step, Prophet has its own combat toolkit, Overlord supports the entire faction, and several other classes have received new mechanics and balance changes. ▶️  SKILL & ABILITY TREE  Skill & Ability Tree system designed to add another layer of character progression and build choice to WARFRONT. Rather than simply increasing stats, the goal is to give players meaningful choices that can change how their character develops and how their class performs on the battlefield. This system is currently being tested, with more information and previews coming soon. The goal isn't to replace Interlude. It's to make Interlude faction PvP exciting again.   ▶️ CLOSED BETA: 03 OCTOBER 2026 Closed Beta will be our opportunity to push the systems, class balance and battlefield mechanics as hard as possible before Grand Opening. We built it. Now we need you to break it. ▶️  Website & Closed Beta Registration https://l2warfront.com ▶️  Discord https://discord.gg/u93YhB5Exy
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..