Jump to content

Recommended Posts

Posted

this template is fail for lineage is not for professionals

 

Because this template was created for portfolios etc originally.

 

 

  • 2 weeks later...
Posted

There are many options included where you can edit the links/news/donations etc unfortunately you can't edit the flash compiled files (.swf) but if there are any uncompiled (.fla) you can find a Flash editing software and edit them too.

  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 2 months later...
Posted

but i have a error in the file check.php

 

this is the error

 

Warning: mysql_connect() [function.mysql-connect]: Host 'L2authd.lineage2.com' is not allowed to connect to this MySQL server in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 123

 

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 124

 

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 124

 

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 257

 

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 257

 

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 259

 

And this is my File

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />

<title>L][united</title>

<script language=JavaScript>

<!--

 

//Disable right mouse click Script

 

var message=Function Disabled By SiYu!";

 

///////////////////////////////////

function clickIE4(){

if (event.button==2){

alert(message);

return false;

}

}

 

function clickNS4(e){

if (document.layers||document.getElementById&&!document.all){

if (e.which==2||e.which==3){

alert(message);

return false;

}

}

}

 

if (document.layers){

document.captureEvents(Event.MOUSEDOWN);

document.onmousedown=clickNS4;

}

else if (document.all&&!document.getElementById){

document.onmousedown=clickIE4;

}

 

document.oncontextmenu=new Function("alert(message);return false")

 

// -->

</script><META NAME="DESCRIPTION" CONTENT="LineAge II CHRONICLE 5: Oath of Blood">

<META HTTP-EQUIV="" CONTENT="">

<LINK REL="StyleSheet" HREF="skins/matrix/style.css">

<title><?php echo $htitle; ?></title>

<script type="text/javascript" src="js/prototype.js"></script>

<script type="text/javascript" src="js/scriptaculousb395.js?load=effects,builder"></script>

<script type="text/javascript" src="js/lightbox.js"></script>

<script type="text/javascript" src="swfobject.js"></script>

<script type="text/javascript" src="js/rollover.js"></script>

<script type="text/javascript" src="js/display.js"></script>

<link href="layout.css" rel="stylesheet" type="text/css" />

<link href="cursor.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

 

<style type="text/css">

<!--

body,td,th {

font-size: 12px;

color: #dfd6b9;

font-family: Verdana, Arial, Helvetica, sans-serif;

}

a, a:active, a:visited {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 12px;

text-decoration: none;

color: #af9878;

}

a:hover {

color: #FFFFFF;

text-decoration: underline;

}

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

 

background-color: #000000;

}

 

-->

</style>

 

 

 

 

<center>

</tr>

<tr>

<td colspan="2" rowspan="4" width="540"> <table id="content_table" width="540" height="479" border="0" cellpadding="0" cellspacing="0">

<tr valign="top">

 

 

<td rowspan="3" background="images/complex3_66.gif" width="506"> <p><br />

      <br />

      <style type="text/css">

<!--

.style5 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }

.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF; text-align:center}

a:link {

color: #444444;

text-decoration: none;

}

a:visited {

color: #444444;

text-decoration: none;

}

a:hover {

color: #000000;

text-decoration: underline;

}

a:active {

color: #444444;

text-decoration: none;

}

-->

                        </style>

 

                          <?php

 

require_once("config.php");

 

$db = mysql_connect($server, $user, $password);

mysql_select_db($database);

isset($_GET['q]) ? $q = $_GET['q'] : $q = '';

/*if($q == '')

{

echo "<tr><td><a href='check.php?q=raids'>Raids</a>";

echo "<br><tr><td><a href='check.php?q=heroes'>Heroes</a>";

}

*/

 

if($q == 'raids')

{

echo "

<table border='1' align='center' bgcolor='#dfdfdf' cellpadding='0' cellspacing='1'>

<tr>

      <td width='10' bgcolor='#CC0000' align='center' colspan='3'><span class='style7'>Raid Bosses</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>";

$list = array('29020','29054','25054','29022','29056','29001','29019','29028','29045','29062','29065','29099','25126', '29068');

foreach($list as $mobid)

{

$cur = mysql_query ("

SELECT  npc.level, npc.name, raidboss_spawnlist.amount

FROM raidboss_spawnlist, npc

WHERE npc.id = $mobid

LIMIT 1

");

 

while ($riga = mysql_fetch_row($cur))

{

if($riga[2]) $status = "<font color='green'>Alive";

else $status = "<font color='red'>Dead";

echo "<tr>

<td width='30%'><font color='#000000'>$riga[1]

<td align='center' width='20%'><font color='#000000'>Level: $riga[0]

<td width='30%' align='center'>$status

";

}

}

echo "</table>";

}

 

elseif ($q == 'heroes')

{

isset($_GET['classe']) ? $classe = $_GET['classe'] : $classe = '';

if($classe == '')

{

/*echo "

<table border='0' align='center' bgcolor='#dfdfdf' cellpadding='1' cellspacing='1'>

<tr>

      <td width='150' bgcolor='#CC0000' align='center'><span class='style7'>Select a Class</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>";*/// original

echo "

<table border='0' align='center' bgcolor='#dfdfdf' cellpadding='1' cellspacing='1'>

    <tr>

      <td width='250' bgcolor='#CC0000' align='center'><span class='style7'>Select a Class</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>

    <tr><td><span class='style5'><a href='check.php?q=heroes&classe=88'>Duelist</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=89'>Dreadnought</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=90'>Pheonix Knight</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=91'>Hell Knight</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=92'>Saggitarius</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=93'>Adventurer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=94'>Archmage</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=95'>Soul Taker</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=96'>Arcana Lord</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=97'>Cardinal</a></span></td></tr>

      <tr><td><span class='style5'><a href='check.php?q=heroes&classe=98'>Hierophant</a></span></td></tr></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=99'>Eva's Templar</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=100'>Sword Muse</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=101'>Wind Rider</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=102'>Moonlight Sentinel</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=103'>Mystic Muse</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=104'>Elemental Master</a></span></td></tr>

      <tr><td><span class='style5'><a href='check.php?q=heroes&classe=105'>Eva's Saint</a></span></td></tr></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=106'>Shillien Templar</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=107'>Spectral Dancer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=108'>Ghost Hunter</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=109'>Ghost Sentinel</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=110'>Storm Screamer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=111'>Spectral Master</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=112'>Shillien Saint</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=113'>Titan</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=114'>Grand Khavatari</span></tr></td>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=115'>Dominator</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=116'>Doomcryer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=117'>Fortune Seeker</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=118'>Maestro</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=131'>DoomBringer</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=132'>Soul Hound - Male</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=133'>Soul Hound - Female</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=134'>TrickSter</a></span></td></tr>

 

    </table>

          <br />";

/*$classes = mysql_query("

SELECT class_name, id

FROM class_list");

while($cls = mysql_fetch_row($classes))

{

$stemp = explode('_', $cls[0]);

echo "<tr><td><span class='style5'><a href='check.php?q=heroes&classe=$cls[1]'>$stemp[1]</a></span></td></tr>";

}

//echo "</table>";*/

}

elseif($classe >= 0 && $classe < 200)

{

echo "

<table border='1' align='center' bgcolor='#dfdfdf' cellpadding='0' cellspacing='0'>

<tr>

      <td width='100%' bgcolor='#CC0000' align='center' colspan='7'><span class='style7'>Heroes</span>

    </tr>

    <tr bgcolor='#DDDDDD'>

<td width='20%' bgcolor='#CC0000' align='center'>Nick</td>

<td width='20%' bgcolor='#CC0000' align='center'>Class</td>

<td width='20%' bgcolor='#CC0000' align='center'>Hero</td>

<td width='10%' bgcolor='#CC0000' align='center'>Fights</td>

<td width='10%' bgcolor='#CC0000' align='center'>Points</td>

<td width='10%' bgcolor='#CC0000' align='center'>Wins</td>

<td width='10%' bgcolor='#CC0000' align='center'>Loses</td>

</tr>

";

 

$cur = mysql_query ("

SELECT  characters.char_name, characters.classid, characters.nobless

FROM characters

WHERE characters.classid = $classe

");

 

while ($riga = mysql_fetch_row($cur))

{

 

////// checking class name

$classname = mysql_query("

SELECT class_name

FROM class_list

WHERE $riga[1] = class_list.id");

$temp = mysql_fetch_row($classname);

 

$stemp = explode('_', $temp[0]);

 

////// checking hero status

$ishero = mysql_query("

SELECT char_name

FROM heroes

WHERE '$riga[0]' = heroes.char_name");

$temp2 = mysql_fetch_row($ishero);

if($temp2[0]) $ishero2 = "<font color='green'>Yes";

else $ishero2 = "<font color='black'>No";

 

 

 

 

echo "<tr>

<td><font color='#000000'>$riga[0]

<td><font color='#000000'>$stemp[1]

<td align='center'><font color='#000000'>$ishero2

<td><font color='#000000'>$riga[3]

<td><font color='#000000'>$riga[4]

<td><font color='#000000'>$riga[4]

<td><font color='#000000'>$riga[4]

";

}

echo "</table>";

}

else echo "\nError Occurred, Admin informed";

}

mysql_close($db);

?>

 

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

    • Mate your server used to play with full of bots, from where you find that revenue? 
    • IAM one of customers of this project. Have anti cheat, have user panel everything is working. Blocking adrenaline trashy plans without any problems.  So just GL for all lin2 project. I get support every time I need it. 
    • Convert package formats from Old to New in one click Create new packages of any format Lineage2Ver121 encryption (included in the package) Safe editing: work in a copy, full undo history (Ctrl+Z / Ctrl+Shift+Z), single "Save" button System integration Open .utx / .ugx files with a single click in Explorer (associations are registered during installation) One example: open a file and add its tab to an existing window Multilingual interface (EN, RU, UK, ES, PT, EL, KO, VI, ZH) — the language is picked up from the system Supported formats Packages: UTX, UGX Textures: RGBA8, DXT1, DXT3, DXT5, G16, P8 Resources: GFX (Scaleform) Requirements Windows. Java is not required—it's included in the build. Installation Run La2Tools-3.0.2.exe—the installer will create shortcuts and register related files. Alternatively, use the portable version. https://la2.tools/files/La2Tools_3.0.3_setup.exe   https://la2.tools/files/La2Tools_3.0.3_portable.zip  - Portable version  
    • WHEN SAYING “YES” IS A MISTAKE Not every project is worth taking on, even if the client is ready to pay. Sometimes refusing isn’t about losing money — it’s about protecting your reputation and time. Over the years, we’ve learned to quickly spot the cases that are almost guaranteed to turn into problems. Here are the most common situations where we turn down work: ▪ The client wants it “like everyone else’s,” but with lots of custom changes and on a minimal budget ▪ There are no proper source materials, yet the deadlines are already burning and everything is needed “yesterday” ▪ Constant changes to requirements after the work has already started ▪ A task with a very low chance of success, but very high expectations ▪ The client isn’t willing to discuss the process and sees us as just an executor - A good result almost always starts when both sides have an honest understanding of the risks and real possibilities of the project. If you’re currently discussing a project and unsure whether to move forward — write to us. We’ll honestly and directly tell you whether it’s worth taking on or if it’s better to look for another solution. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #drawing #photoshop #refuse #cases
  • 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..