• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Modern AAC] Advanced Server Info v2

hodleo

Formerly cbrm -Crypto enthusiast, Retired scripter
Staff member
Global Moderator
Joined
Jan 6, 2009
Messages
6,598
Solutions
3
Reaction score
955
Location
Caribbean Sea
2vw8wuh.jpg

This new awesome script displays essential info of your OT. You only have to set the location of your server directory to make it work! The script loads the info from three of your server files.

This script does not work if you install it via Admin Panel, so don't install it that way.


Create new script @ /system/pages/info.php
PHP:
<?php 
  ############################################### 
 #*   Advanced Server Info Page for Modern AAC  *# 
#*   Scripted by Cybermaster(CyberM, Cybershot)  *# 
 #*   © OTLand.NET Home of TheForgottenServer   *# 
  ############################################### 

if(!defined('BASEPATH')) exit('No direct script access allowed'); 

//LOAD SERVER DIRECTORY, SET YOURS HERE 
$DIR = 'C:/otserv/'; 
     
//LOAD FILES TO READ 
if(is_dir($DIR)) { 
    $config = parse_ini_file($DIR.'/config.lua'); 
    $client = simplexml_load_file($DIR.'/data/XML/servers.xml'); 
    $stages = simplexml_load_file($DIR.'/data/XML/stages.xml'); 
     
//BAN FOR KILLING 
    $kill_length = explode('*', $config['killsBanLength']); 
    $kill_length = $kill_length[0].(count($kill_length) == 4 ? ' days' : ' hours'); 
    $kill_daily = is_numeric($config['dailyFragsToBanishment']) ? $config['dailyFragsToBanishment'] : $config['dailyFragsToRedSkull'];
    $kill_weekly = is_numeric($config['weeklyFragsToBanishment']) ? $config['weeklyFragsToBanishment'] : $config['weeklyFragsToRedSkull'];
    $kill_monthly = is_numeric($config['monthlyFragsToBanishment']) ? $config['monthlyFragsToBanishment'] : $config['monthlyFragsToRedSkull'];
     
//SKULLS && FRAGS 
#White Skull Time 
    $white_time = explode('*', $config['whiteSkullTime']); 
    $white_time = $white_time[0].(count($white_time) == 3 ? ' minutes' : ' seconds'); 
#Red Skull Length 
    $red_length = explode('*', $config['redSkullLength']); 
    $red_length = $red_length[0].(count($red_length) == 4 ? ' days' : ' hours'); 
#Black Skull Length 
    $black_length = explode('*', $config['blackSkullLength']); 
    $black_length = $black_length[0].(count($black_length) == 4 ? ' days' : ' hours'); 
#Black Skull Frags 
    $black_daily = is_numeric($config['dailyFragsToBlackSkull']) ? $config['dailyFragsToBlackSkull'] : $config['dailyFragsToRedSkull'];
    $black_weekly = is_numeric($config['weeklyFragsToBlackSkull']) ? $config['weeklyFragsToBlackSkull'] : $config['weeklyFragsToRedSkull'];
    $black_monthly = is_numeric($config['monthlyFragsToBlackSkull']) ? $config['monthlyFragsToBlackSkull'] : $config['monthlyFragsToRedSkull'];

//OTHER 
    $idle = explode('*', $config['idleKickTime']);     
    $pz_lock = explode('*', $config['pzLocked']);
	$v1 = intval($client->server['versionMin']);
	$v2 = intval($client->server['versionMax']);
    if($v1 == $v2) 
		{
			$version = str_split($v1); 
			$version = $version[0].'.'.$version[1].$version[2]; 
		}
	else
		{
			$v1 = str_split($v1); 
			$v2 = str_split($v2); 
			$version = $v1[0].'.'.$v1[1].$v1[2].'~'.$v2[0].'.'.$v2[1].$v2[2]; 
		}

    echo '<span class="servername"><center>'.$config['serverName'].'</center></span>
		<span class="title">General Information</span><br/> 
        <ul class="list"> 
            <li><span class="subTitle">IP: </span>'.$_SERVER['HTTP_HOST'].'</li> 
            <li><span class="subTitle">Port: </span>'.$config['loginPort'].'</li> 
            <li><span class="subTitle">Client: </span>'.$version.'</li> 
            <li><span class="subTitle">World Type: </span><span class="cap">'.$config['worldType'].'</span></li>
            <li><span class="subTitle">Message of the Day: </span>'.$config['motd'].'</li> 
            <li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' minutes</li> 
            <li><span class="subTitle">PZ Lock time: </span>'.$pz_lock[0].' seconds</li> 
            <li><span class="subTitle">Protection Level: </span>'.$config['protectionLevel'].'</li>
			<li><span class="subTitle">Required Level to Buy House: </span>'.$config['levelToBuyHouse'].'</li>
        </ul> 

        <br/><span class="title">Rates</span> 
        <ul class="list"> 
            <li><span class="subTitle">Experience: </span>'.floor($config['rateExperience']).'x |
			<span class="subTitle">Skill: </span>'.floor($config['rateSkill']).'x |
            <span class="subTitle">Magic: </span>'.floor($config['rateMagic']).'x |
            <span class="subTitle">Loot: </span>'.floor($config['rateLoot']).'x</li> 
        </ul> 
         
        <br/><span class="title">Frags</span> 
        <ul class="list"> 
            <li><span class="subTitle">White Skull Time: </span>'.$white_time.'</li> 
            <li><span class="subTitle2">Red Skull</span>
				<p style="text-indent:15px;">
					<span class="subTitle">Length:</span> '.$red_length.'
					<span class="subTitle">Frags(Daily: </span>'.$config['dailyFragsToRedSkull'].' | <span class="bold">Weekly: </span>'.$config['weeklyFragsToRedSkull'].' | <span class="bold">Monthly: </span>'.$config['monthlyFragsToRedSkull'].'<span class="bold">)</span></p></li>';
         
    if ($config['useBlackSkull']) 
        echo'<li><span class="subTitle2">Black Skull</span>
				<p style="text-indent:15px;">
					<span class="subTitle">Length: </span>'.$black_length.' 
					<span class="subTitle">Frags(Daily: </span>'.$black_daily.' | <span class="bold">Weekly: </span>'.$black_weekly.' | <span class="bold">Monthly: </span>'.$black_monthly.'<span class="bold">)</span></li>';    
        echo'<li><span class="subTitle2">Banishment for Killing</span>
				<p style="text-indent:15px;">
					<span class="subTitle">Length: </span>'.$kill_length.' 
					<span class="subTitle">Frags(Daily: </span>'.$kill_daily.' | <span class="bold">Weekly: </span>'.$kill_weekly.' | <span class="bold">Monthly: </span>'.$kill_monthly.'<span class="bold">)</span></li>            
        </ul>'; 

    if ($config['experienceStages']) { 
        echo'<br/><span class="title">Experience Stages</span><ul class="list">'; 
        foreach($stages->world->stage as $stage => $value) 
            echo '<li><span class="subTitle">Level</span> '.$value['minlevel'].($value['maxlevel'] != '' ? '~'.$value['maxlevel'] : ' onwards').': <span class="bold">'.$value['multiplier'].'x</span><br/>'; 
    }     
} 
else{alert('Error loading data. Directory address must be valid.');}?> 

<style type="text/css">      
    .servername { 
        color: white; 
        font-family: Garamond; 
        font-size: 60px; 
        line-height: 60px; 
        text-shadow: black 0.1em 0.1em 0.2em 
    } 
     
    .bold { 
        font-weight: bold; 
    } 
     
    .cap { 
        text-transform: capitalize; 
    } 
     
    .list { 
        list-style-type:square; 
    } 
     
    .title { 
        font-family: Garamond; 
        font-size: large; 
        font-weight: bold; 
    }    
    .subTitle { 
        font-weight: bold; 
        list-style-type:square; 
    } 
   .subTitle2 { 
        font-weight: bold; 
		text-decoration:underline;
        list-style-type:square; 
    } 
</style>

In the script, set the location of your server dir in:
PHP:
//LOAD SERVER DIRECTORY, SET YOURS HERE
$DIR = 'C:/otserv/';
Then the page address will be: http://localhost//index.php/p/v/info

You can customize the style of the script, in the bottom there's the CSS Styles Codes:
Code:
<style type="text/css">      
    .servername { 
        color: white; 
        font-family: Garamond; 
        font-size: 60px; 
        line-height: 60px; 
        text-shadow: black 0.1em 0.1em 0.2em 
    } 
     
    .bold { 
        font-weight: bold; 
    } 
     
    .cap { 
        text-transform: capitalize; 
    } 
     
    .list { 
        list-style-type:square; 
    } 
     
    .title { 
        font-family: Garamond; 
        font-size: large; 
        font-weight: bold; 
    }    
    .subTitle { 
        font-weight: bold; 
        list-style-type:square; 
    } 
   .subTitle2 { 
        font-weight: bold; 
		text-decoration:underline;
        list-style-type:square; 
    } 
</style>
If you don't use black skull it won't appear in the page. The same goes for the experience stages.
This does not work for multiworld. Try it ^^
 
Last edited:
i don't have linux to test, but might work
if you get errors of "lines" you must remove the indicated commented lines from config.lua (--Message bla bla bla)
 
nice TY im using it
Wondering Souls - 8.54.

one error the idle kick time on my server is 24hrs not 24minutes. thats just the first # in the line. i switched it around and put 60 first and it showed 60 minutes as the idle kick time.
 
nice TY im using it
Wondering Souls - 8.54.

one error the idle kick time on my server is 24hrs not 24minutes. thats just the first # in the line. i switched it around and put 60 first and it showed 60 minutes as the idle kick time.
if you have it like
Lua:
idleKickTime = 24 * 60 * 60 * 1000
then in the php script, change
PHP:
<li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' minutes</li>
to
PHP:
<li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' hours</li>
 
if you have it like
Lua:
idleKickTime = 24 * 60 * 60 * 1000
then in the php script, change
PHP:
<li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' minutes</li>
to
PHP:
<li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' hours</li>

hmm maybe:
PHP:
<li><span class="subTitle">Idle Kick time: </span>'.$idle[0].' '.(intval($idle[0])>59)?'hours':'minutes'.'</li>

I added new idle time, like:
Idle Time: 3 days, 15 hours, 30 minutes, 15 seconds

[php]
<?php 
################################################### 
#/                                               \# 
#*   Advanced Server Info Page for Modern AAC    *# 
#*   Scripted by Cybermaster(CyberM, Cybershot)  *# 
#*   © OTLand.NET Home of TheForgottenServer     *# 
#\_______________________________________________/# 
################################################### 

if(!defined('BASEPATH')) exit('No direct script access allowed'); 

//LOAD SERVER DIRECTORY, SET YOURS HERE 
$DIR = 'C:/otserv/'; 
     
//LOAD FILES TO READ 
if(is_dir($DIR)) { 
    $config = parse_ini_file($DIR.'/config.lua'); 
    $client = simplexml_load_file($DIR.'/data/XML/servers.xml'); 
    $stages = simplexml_load_file($DIR.'/data/XML/stages.xml'); 
     
//BAN FOR KILLING 
    $kill_length = explode('*', $config['killsBanLength']); 
    $kill_length = $kill_length[0].(count($kill_length) == 4 ? ' days' : ' hours'); 
    $kill_daily = is_numeric($config['dailyFragsToBanishment']) ? $config['dailyFragsToBanishment'] : $config['dailyFragsToRedSkull'];
    $kill_weekly = is_numeric($config['weeklyFragsToBanishment']) ? $config['weeklyFragsToBanishment'] : $config['weeklyFragsToRedSkull'];
    $kill_monthly = is_numeric($config['monthlyFragsToBanishment']) ? $config['monthlyFragsToBanishment'] : $config['monthlyFragsToRedSkull'];
     
//SKULLS && FRAGS 
#White Skull Time 
    $white_time = explode('*', $config['whiteSkullTime']); 
    $white_time = $white_time[0].(count($white_time) == 3 ? ' minutes' : ' seconds'); 
#Red Skull Length 
    $red_length = explode('*', $config['redSkullLength']); 
    $red_length = $red_length[0].(count($red_length) == 4 ? ' days' : ' hours'); 
#Black Skull Length 
    $black_length = explode('*', $config['blackSkullLength']); 
    $black_length = $black_length[0].(count($black_length) == 4 ? ' days' : ' hours'); 
#Black Skull Frags 
    $black_daily = is_numeric($config['dailyFragsToBlackSkull']) ? $config['dailyFragsToBlackSkull'] : $config['dailyFragsToRedSkull'];
    $black_weekly = is_numeric($config['weeklyFragsToBlackSkull']) ? $config['weeklyFragsToBlackSkull'] : $config['weeklyFragsToRedSkull'];
    $black_monthly = is_numeric($config['monthlyFragsToBlackSkull']) ? $config['monthlyFragsToBlackSkull'] : $config['monthlyFragsToRedSkull'];

//OTHER 
    $idle = intval(intval($config['idleKickTime'])/1000); 
	$idleTime = array();
	$idleTime["y"] = intval($idle/31536000);	$idle -= (31536000*intval($idle/31536000));
	$idleTime["m"] = intval($idle/2592000);	$idle -= (2592000*intval($idle/2592000));
	$idleTime["d"] = intval($idle/86400);		$idle -= (86400*intval($idle/86400));
	$idleTime["h"] = intval($idle/3600);		$idle -= (3600*intval($idle/3600));
	$idleTime["i"] = intval($idle/60);			$idle -= (60*intval($idle/60));
	$idleTime["s"] = $idle;
	$idleReturn = ((($idleTime["y"]>0)?$idleTime["y"]." years,":"").(($idleTime["m"]>0)?$idleTime["m"]." mounths,":"").(($idleTime["d"]>0)?$idleTime["d"]." days,":"").(($idleTime["h"]>0)?$idleTime["h"]." hours,":"").(($idleTime["m"]>0)?$idleTime["m"]." minutes,":"").$idleTime["s"]." seconds");
    $pz_lock = explode('*', $config['pzLocked']);     
    $version = str_split($client->server['versionMax']); 
    $version = $version[0].'.'.$version[1].$version[2]; 

    echo '<span class="servername"><center>'.$config['serverName'].'</center></span><br/> 
        <span class="title">General Information</span><br/> 
        <ul class="list"> 
            <li><span class="subTitle">IP: </span>'.$_SERVER['HTTP_HOST'].'</li> 
            <li><span class="subTitle">Port: </span>'.$config['loginPort'].'</li> 
            <li><span class="subTitle">Client: </span>'.$version.'</li> 
            <li><span class="subTitle">World Type: </span><span class="cap">'.$config['worldType'].'</span></li>
            <li><span class="subTitle">Message of the Day: </span>'.$config['motd'].'</li> 
            <li><span class="subTitle">Idle Kick time: </span>'.$idleReturn.' minutes</li> 
            <li><span class="subTitle">PZ Lock time: </span>'.$pz_lock[0].' seconds</li> 
            <li><span class="subTitle">Protection Level: </span>'.$config['protectionLevel'].'</li>
        </ul> 

        <span class="title">Rates</span> 
        <ul class="list"> 
            <li><span class="subTitle">Skill: </span>'.floor($config['rateSkill']).'x</li> 
            <li><span class="subTitle">Magic: </span>'.floor($config['rateMagic']).'x</li> 
            <li><span class="subTitle">Loot: </span>'.floor($config['rateLoot']).'x</li> 
        </ul> 
         
        <span class="title">Frags</span> 
        <ul class="list"> 
            <li><span class="subTitle">White Skull Time: </span>'.$white_time.'</li> 
            <br/><li><span class="subTitle">Red Skull:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length:</span> '.$red_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$config['dailyFragsToRedSkull'].' | <span class="bold">Weekly: </span>'.$config['weeklyFragsToRedSkull'].' | <span class="bold">Monthly: </span>'.$config['monthlyFragsToRedSkull'].'</p></li>';
         
    if ($config['useBlackSkull']) 
        echo'<li><span class="subTitle">Black Skull:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length: </span>'.$black_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$black_daily.' | <span class="bold">Weekly: </span>'.$black_weekly.' | <span class="bold">Monthly: </span>'.$black_monthly.'</li>';    
        echo'<li><span class="subTitle">Ban for Killing:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length: </span>'.$kill_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$kill_daily.' | <span class="bold">Weekly: </span>'.$kill_weekly.' | <span class="bold">Monthly: </span>'.$kill_monthly.'</li>            
        </ul>'; 

    if ($config['experienceStages']) { 
        echo'<span class="title">Experience Stages</span><ul class="list">'; 
        foreach($stages->world->stage as $stage => $value) 
            echo '<li><span class="subTitle">Level:</span> '.$value['minlevel'].($value['maxlevel'] != '' ? '-'.$value['maxlevel'] : '').' : <span class="bold">'.$value['multiplier'].'x</span><br/>'; 
    }     
} 
else{alert('Error loading data. Directory address must be valid.');}?> 

<style type="text/css">      
    .servername { 
        color: white; 
        font-family: Garamond; 
        font-size: 60px; 
        line-height: 60px; 
        text-shadow: black 0.1em 0.1em 0.2em 
    } 
     
    .bold { 
        font-weight: bold; 
    } 
     
    .cap { 
        text-transform: capitalize; 
    } 
     
    .list { 
        list-style-type:square; 
    } 
     
    .title { 
        color: darkgreen; 
        font-family: Garamond; 
        font-size: large; 
        font-weight: bold; 
    } 
         
    .subTitle { 
        font-weight: bold; 
        color: darkblue; 
        list-style-type:square; 
    } 
</style>
 
Last edited by a moderator:
omfg, i cannot edit my post -,-
I added new idle time, like:
Idle Time: 3 days, 15 hours, 30 minutes, 15 seconds

PHP:
<?php 
################################################### 
#/                                               \# 
#*   Advanced Server Info Page for Modern AAC    *# 
#*   Scripted by Cybermaster(CyberM, Cybershot)  *# 
#*   © OTLand.NET Home of TheForgottenServer     *# 
#\_______________________________________________/# 
################################################### 

if(!defined('BASEPATH')) exit('No direct script access allowed'); 

//LOAD SERVER DIRECTORY, SET YOURS HERE 
$DIR = 'C:/otserv/'; 
     
//LOAD FILES TO READ 
if(is_dir($DIR)) { 
    $config = parse_ini_file($DIR.'/config.lua'); 
    $client = simplexml_load_file($DIR.'/data/XML/servers.xml'); 
    $stages = simplexml_load_file($DIR.'/data/XML/stages.xml'); 
     
//BAN FOR KILLING 
    $kill_length = explode('*', $config['killsBanLength']); 
    $kill_length = $kill_length[0].(count($kill_length) == 4 ? ' days' : ' hours'); 
    $kill_daily = is_numeric($config['dailyFragsToBanishment']) ? $config['dailyFragsToBanishment'] : $config['dailyFragsToRedSkull'];
    $kill_weekly = is_numeric($config['weeklyFragsToBanishment']) ? $config['weeklyFragsToBanishment'] : $config['weeklyFragsToRedSkull'];
    $kill_monthly = is_numeric($config['monthlyFragsToBanishment']) ? $config['monthlyFragsToBanishment'] : $config['monthlyFragsToRedSkull'];
     
//SKULLS && FRAGS 
#White Skull Time 
    $white_time = explode('*', $config['whiteSkullTime']); 
    $white_time = $white_time[0].(count($white_time) == 3 ? ' minutes' : ' seconds'); 
#Red Skull Length 
    $red_length = explode('*', $config['redSkullLength']); 
    $red_length = $red_length[0].(count($red_length) == 4 ? ' days' : ' hours'); 
#Black Skull Length 
    $black_length = explode('*', $config['blackSkullLength']); 
    $black_length = $black_length[0].(count($black_length) == 4 ? ' days' : ' hours'); 
#Black Skull Frags 
    $black_daily = is_numeric($config['dailyFragsToBlackSkull']) ? $config['dailyFragsToBlackSkull'] : $config['dailyFragsToRedSkull'];
    $black_weekly = is_numeric($config['weeklyFragsToBlackSkull']) ? $config['weeklyFragsToBlackSkull'] : $config['weeklyFragsToRedSkull'];
    $black_monthly = is_numeric($config['monthlyFragsToBlackSkull']) ? $config['monthlyFragsToBlackSkull'] : $config['monthlyFragsToRedSkull'];

//OTHER 
    $idle = intval(intval($config['idleKickTime'])/1000); 
	$idleTime = array();
	$idleTime["y"] = intval($idle/31536000);	$idle -= (31536000*intval($idle/31536000));
	$idleTime["m"] = intval($idle/2592000);	$idle -= (2592000*intval($idle/2592000));
	$idleTime["d"] = intval($idle/86400);		$idle -= (86400*intval($idle/86400));
	$idleTime["h"] = intval($idle/3600);		$idle -= (3600*intval($idle/3600));
	$idleTime["i"] = intval($idle/60);			$idle -= (60*intval($idle/60));
	$idleTime["s"] = $idle;
	$idleReturn = ((($idleTime["y"]>0)?$idleTime["y"]." years,":"").(($idleTime["m"]>0)?$idleTime["m"]." mounths,":"").(($idleTime["d"]>0)?$idleTime["d"]." days,":"").(($idleTime["h"]>0)?$idleTime["h"]." hours,":"").(($idleTime["m"]>0)?$idleTime["m"]." minutes,":"").$idleTime["s"]." seconds");
    $pz_lock = explode('*', $config['pzLocked']);     
    $version = str_split($client->server['versionMax']); 
    $version = $version[0].'.'.$version[1].$version[2]; 

    echo '<span class="servername"><center>'.$config['serverName'].'</center></span><br/> 
        <span class="title">General Information</span><br/> 
        <ul class="list"> 
            <li><span class="subTitle">IP: </span>'.$_SERVER['HTTP_HOST'].'</li> 
            <li><span class="subTitle">Port: </span>'.$config['loginPort'].'</li> 
            <li><span class="subTitle">Client: </span>'.$version.'</li> 
            <li><span class="subTitle">World Type: </span><span class="cap">'.$config['worldType'].'</span></li>
            <li><span class="subTitle">Message of the Day: </span>'.$config['motd'].'</li> 
            <li><span class="subTitle">Idle Kick time: </span>'.$idleReturn.' minutes</li> 
            <li><span class="subTitle">PZ Lock time: </span>'.$pz_lock[0].' seconds</li> 
            <li><span class="subTitle">Protection Level: </span>'.$config['protectionLevel'].'</li>
        </ul> 

        <span class="title">Rates</span> 
        <ul class="list"> 
            <li><span class="subTitle">Skill: </span>'.floor($config['rateSkill']).'x</li> 
            <li><span class="subTitle">Magic: </span>'.floor($config['rateMagic']).'x</li> 
            <li><span class="subTitle">Loot: </span>'.floor($config['rateLoot']).'x</li> 
        </ul> 
         
        <span class="title">Frags</span> 
        <ul class="list"> 
            <li><span class="subTitle">White Skull Time: </span>'.$white_time.'</li> 
            <br/><li><span class="subTitle">Red Skull:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length:</span> '.$red_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$config['dailyFragsToRedSkull'].' | <span class="bold">Weekly: </span>'.$config['weeklyFragsToRedSkull'].' | <span class="bold">Monthly: </span>'.$config['monthlyFragsToRedSkull'].'</p></li>';
         
    if ($config['useBlackSkull']) 
        echo'<li><span class="subTitle">Black Skull:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length: </span>'.$black_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$black_daily.' | <span class="bold">Weekly: </span>'.$black_weekly.' | <span class="bold">Monthly: </span>'.$black_monthly.'</li>';    
        echo'<li><span class="subTitle">Ban for Killing:</span><br/><p style="text-indent:15px;"><span class="subTitle">Length: </span>'.$kill_length.' 
            <span class="subTitle">Frags: </span><span class="bold">Daily: </span>'.$kill_daily.' | <span class="bold">Weekly: </span>'.$kill_weekly.' | <span class="bold">Monthly: </span>'.$kill_monthly.'</li>            
        </ul>'; 

    if ($config['experienceStages']) { 
        echo'<span class="title">Experience Stages</span><ul class="list">'; 
        foreach($stages->world->stage as $stage => $value) 
            echo '<li><span class="subTitle">Level:</span> '.$value['minlevel'].($value['maxlevel'] != '' ? '-'.$value['maxlevel'] : '').' : <span class="bold">'.$value['multiplier'].'x</span><br/>'; 
    }     
} 
else{alert('Error loading data. Directory address must be valid.');}?> 

<style type="text/css">      
    .servername { 
        color: white; 
        font-family: Garamond; 
        font-size: 60px; 
        line-height: 60px; 
        text-shadow: black 0.1em 0.1em 0.2em 
    } 
     
    .bold { 
        font-weight: bold; 
    } 
     
    .cap { 
        text-transform: capitalize; 
    } 
     
    .list { 
        list-style-type:square; 
    } 
     
    .title { 
        color: darkgreen; 
        font-family: Garamond; 
        font-size: large; 
        font-weight: bold; 
    } 
         
    .subTitle { 
        font-weight: bold; 
        color: darkblue; 
        list-style-type:square; 
    } 
</style>
c00l :D
 
o well, i just did it with the default values of config.lua :p
Lua:
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
 
now i plan to replicate tibia spells page for maac :D
 
why send me this error?

Code:
A PHP Error was encountered
Severity: Warning
Message: syntax error, unexpected '(' in C:\Documents and Settings\Administrator\Desktop\cryingdamson6pl1-gui\cryingdamson6pl1-gui\cryingda
mson6pl1-gui\cryingdamson6pl1-gui/config.lua on line 17
Filename: pages/info.php
Line Number: 17
 
why send me this error?

Code:
A PHP Error was encountered
Severity: Warning
Message: syntax error, unexpected '(' in C:\Documents and Settings\Administrator\Desktop\cryingdamson6pl1-gui\cryingdamson6pl1-gui\cryingda
mson6pl1-gui\cryingdamson6pl1-gui/config.lua on line 17
Filename: pages/info.php
Line Number: 17
Because you must remove that commented line (--Message bla bla) in your config.lua. When you remove all the indicated lines it'll work :)
 
Great work :D:D Really like this one :p No need to edit the information at the site anymore <3
BUT... I didn't liked the darkblue color you had..... it hurt my eyes </3
 
Back
Top