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

    • Mobius project got its own forum page and website, consider to use those to speak about it. I know it's a new project and you need some visibility, but it's not the way to handle it.     Ty for the advice.
    • ⭐ 100% Safe on your personal Gmail: Zero VPN needed, worldwide access, and backed by 24/7 customer replacement support.     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • Version 0.8.0 - Export to Blender. Map tile transfer. Main/Classic support. New shadows   Download   Location export to Blender   Export works both from the main menu and inside a loaded world.   - Export location… saves one or more tiles (up to 25) into one glTF file (.glb) with textures. The file holds:   - the terrain, with all its layers baked into one texture of 2048, 4096 or 8192 px;   - the level geometry, static meshes, doors and, if you want, the grass. - Neighbouring tiles meet without gaps. Shared textures are written only once. - Water looks like the viewer's realistic water. It is smooth, with ripples, and its colour depends on the depth: turquoise over sand, dark in deep places. - Scale: 1 client unit = 4 cm, so people are 1.8 m tall. - A part exports a square of 200–1300 m instead of the whole tile. - Place NPCs from npcpos places the NPCs from the server's npcpos.txt. For each kind of NPC it writes a separate file with its skeleton and animations. - Time of day takes the client's sun, light, fog and sky (clouds, sun, moon) for the chosen hour.   NPC and player character export   - Export NPC… finds an NPC by name, title, id or mesh. It saves the NPC as glTF with its skeleton and all its animations: idle, walk, run, attacks, death and more. - NPCs built from player race parts, such as guards in armour, are exported too, with their weapons and shields. - Player character mode makes a character of any race in the armour and weapons you choose.   Open in Blender   - Every export comes with the open-in-blender.py script. If Blender is installed, an "Open in Blender" button appears after the export. - A character opens with its textures at once: the camera looks at its face, the idle animation plays, the bones are hidden, and the animations loop. - Locations and characters are lit by their own sun and sky, with shadows. - Each tile and each of its parts (terrain, meshes, grass) is in its own collection, so one checkbox hides it.   Copy, move and swap map tiles   - In Copy, move or swap tiles… you pick the source tile and a place on the map. Cruma shifts all the coordinates in the map. - The geodata region and the spawns from npcpos.txt can move along with the tile. A tile can also come from another client. If the two clients are from different chronicles, correct results are not guaranteed, so make a backup first. - Build from the map builds the geodata of the moved tiles again, and Rebuild pathnodes rebuilds the pathnode graph. - Update map image updates the map image in the start menu after the operation. - The dialog shows which world you are picking the tile in and which client will be changed.   Main and Classic worlds   - Clients with Classic maps have a Main / Classic switch. Classic opens X_Y_Classic.unr. - The Classic world has its own folders for captures, the map image and geodata. - If a client has no Classic maps, the switch is dimmed and cannot be changed.   Shadows (Custom Lighting) Note: the custom lighting must be enabled in settings/scene settings   - NPCs now also cast sun shadows on the ground and walls, and get darker in the shade of buildings and trees. - Shadows of buildings and trees are much sharper, with crisp edges on roofs and walls. - This has almost no effect on performance. Thanks, appreciate it!
    • 🎬 Creator Subscriptions: CapCut Pro, Canva Pro, and Adobe Creative Cloud available with instant automated setup!   FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
  • 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..