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

    • Tool that allows you to download the Lineage 2 game client directly from the official publisher CDNs. It fetches the CDN's file list and downloads every patch file, decompresses it (LZMA / Zip) and writes the finished client to disk — and can resume or repair an existing installation instead of starting over. It runs several client downloads at once through a batch queue, so you can prepare multiple regions or versions in a single session.   Supported: NCSoft CDNs (TW / KR / JP / NA) and  4game CDNs(RU / EU)   Download: https://drive.google.com/file/d/11SDcNASqO2GKOBT79LFu7mqvSRSJZvBS
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
  • 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..