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

    • Yes he have account in MXC but didn't came here and didn't post nothing to protect his reputation, and MXC administration doing nothing about scammers seems old scammers accounts was unblocked too.
    • Thank you, Can I have the password ?
    • I'd love to get involved, add me on discord: ilikebeer.
    • Forever Lineage Interlude mid-rate built for people with one hour a night Chronicle: Interlude XP/SP: 25x  |  Drop: 10x  |  Adena: 12x  |  Spoil: 15x Enchant: Safe +3  |  Max +21 Fresh start: 11 September 2026 - server is live now Website: https://l2forever.eu Discord: https://discord.gg/96rdukHvbs Why this server exists I have wanted my own Lineage 2 server since I was a teenager. I tried, failed, came back, failed again. Fifteen years later I am a developer with a full-time job, a family, and maybe an hour before bed. Every server I tried as an adult made that hour feel wasted - log in, kill a few mobs, no real progress, log out annoyed. So I built the server I actually wanted to play. Everything below is designed around one question: can you log in, make real progress, and log out on your own terms in one session? What is different Rebirth and Talent Tree - hit level 80, reset to level 1, keep your gear and skill enchants, earn talent points. Build a different character every rebirth. Bounty Hunter - daily hunt tasks with rank progression, Bounty Coins, and rare bounties. One bounty fits one session. Companions - a summonable tank, healer, or damage ally for any class. First one costs three bounties. Solo play without a solo class. Auto-farm - your character farms on its own for 2 hours a day at full XP and half loot. Solo, monsters only. The only automation allowed. Alchemy - brew stronger HP/MP potions from monster drops, no recipe needed. Custom Gludin start zone - buffs, passive mobs, and the NPCs you need, through your first 20 levels. Shorter class quests - 1st, 2nd, 3rd class, Subclass and Noblesse, all through one NPC. Champions - 5% spawn above level 40, 3x HP, 8x XP, 4-5x loot. Worth stopping for. Scheme buffer, shop up to C-grade, teleporter - B-grade and above come from crafting, drops, and quests. Seasons - each season brings Talent Tree changes. Your master account, titles, and cosmetics carry over. The rules I hold myself to Solo is the default, not a punishment. No clan required, no raid schedule, no guilt when you log off. Paid tiers add convenience and time, not power - the free baseline is the full game. No surprise wipes: if another fresh start ever happens, it is announced at least a month ahead. One developer, no shady admin, and I play on it myself. This is the server I needed fifteen years ago. Come see what I made. https://l2forever.eu  
    • 🚀 September Restock Live! Upgrade your personal Gmail to 5TB + Gemini Pro 12-18 Months instantly. 100% private and automated delivery!
  • 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..