Jump to content

ower12

Members
  • Posts

    18
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by ower12

  1. someone help me adapt to l2jacis ?? PLZZ!! ENABLE_DDOS_PROTECTION_SYSTEM = getBoolean(properties, override,"EnableDdosProSystem", false); DDOS_COMMAND_BLOCK = getString(properties, override, "Deny_noallow_ip_ddos", "/sbin/iptables -I INPUT -p tcp --dport 7777 -s $IP -j ACCEPT"); ENABLE_DEBUG_DDOS_PROTECTION_SYSTEM = getBoolean(properties, override, "Fulllog_mode_print", false);
  2. YES LAST REV FREE 290
  3. Hello people I have a problem with the soe and return skils the use and the casting but not take me to the city... I HAVE ACIS PACK.. P.D: Sorry for my bad English.. HELP ME PLS
  4. in date base dont have npc.sql.. <?php error_reporting(0); $servidor = 'localhost'; // MySQL HOST $usuario = 'root'; // MySQL Login $senha = ''; // MySQL Senha $db = 'acis'; // L2JDB $ip = '127.0.0.1'; // MySQL IP $con = mysql_connect($servidor, $usuario, $senha) or die(mysql_error()); mysql_select_db($db, $con) or die(mysql_error()); include ("../configs/anti-inject-base64.php"); include ("../configs/anti_inject.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Grand Boss</title> <link rel="shortcut icon" href="../imagens/favicon2.ico" type="image/x-icon" /> <style type="text/css" media="screen"> body { background:#000 url(../imagens/page_bg.jpg) left top repeat-x; color:#fff; font-family:Arial, Helvetica, sans-serif } a:link, a:visited, a:hover { color:#f2f2f2; text-decoration:none; } a:active { color:#fff; text-decoration:underline; } .style1 { background-color:#252525 } .style2 { color:#900; font-weight:bold; } .style3 { background-color:#353535; } .style10 { font-size:12px; } .vivo { color:#0c0; } .morto { color:#f00; } .spawn { color:#09f } .respawntime { color:#f90 } #table_boss { border:none; color:#fff; width:100%; } #table_boss caption { padding:5px 0 } #table_boss tr td { text-align:center; border:1px solid #444; } #table_boss tr.t_corpo:hover td { background-color:#444; color:#ff0; font-weight:bold; } #table_boss tr.topo { color:#fff; font-weight:bold; font-size:16px; } #table_boss tr.topo td { background-color:#252525; background:#191919 url(../imagens/menu_hover.png) left bottom repeat-x; } #table_boss tr.topo td.t1 { width:40% } #table_boss tr.topo td.t2 { width:1% } </style> </head> <body> <a href="bosses.php" title="RaidBoss">Raid Boss</a> <?php $raidspawn = mysql_query("SELECT boss_id,respawn_time FROM grandboss_data ORDER BY respawn_time DESC"); $total = mysql_num_rows($raidspawn); $max_pag = 80; $paginas = (($total % $max_pag) > 0) ? (int)($total / $max_pag) + 1 : ($total / $max_pag); if (isset($_GET['pagina'])){ $pagina = (int)$_GET['pagina']; }else{ $pagina = 1; } $pagina = max(min($paginas, $pagina), 1); $inicio = ($pagina - 1) * $max_pag; $sql = "SELECT boss_id,respawn_time FROM `grandboss_data` ORDER BY `respawn_time` DESC LIMIT ".$inicio.", ".$max_pag; $query = mysql_query($sql); echo '<table id="table_boss" cellpadding="1" cellspacing="0">'; echo '<tr class="topo"> <td class="t1"><span class="respawntime">Raid Boss</span></td> <td class="t2">Status</td> </tr>'; while(list($boss_id,$respawn_time) = mysql_fetch_row($query)){ $raidnames = mysql_query("SELECT name,level FROM npc WHERE id = $boss_id"); $text = '<span class="vivo">Alive</span>'; $respawn = '<span class="spawn">Spawn</span>'; if($respawn_time > 0){ $respawntime = date('d/m/Y \\s H:i:s',($respawn_time / 1000)); $text = '<span class="morto">Not Alive</span>'; } while(list($raidname,$levelup) = mysql_fetch_row($raidnames)){ echo '<tr class="style10 t_corpo"> <td class="style1">'.$raidname.'</td> <td class="style3">'.$text.'</td> </tr>'; } } ?> </div> </body> </html>
  5. look http://www.subirimagenes.com/imagen-sinttulo-8458136.html
  6. Hello anyone have script for l2jacis raidboss?? others dont work pd.sorry for my bad engish
  7. i change id for 9210,9211,9212,9213 ... and he say you dont have items..... i need change count and dont know!
  8. L2JACIS Interlude
  9. i talk with the NPC i click in become nobles and he say You don't have enough items and me have items.. understand?
  10. I do not understand you can not edit for me? sorry for the trouble I'm new to this pd srry for my bad engish.
  11. else if (command.startsWith("become_noble")) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); if (!player.isNoble()) { //then you check for the level 78 if(player.getLevel()>=78){ //then you ask for items if( player.getInventory().getItemByItemId(9210/**1 item id **/).getCount()>=9210/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(9211/**2 item id **/).getCount()>=9211/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(9212/**3 item id **/).getCount()>=9212/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(9213/**4 item id **/).getCount()>=9213/** Is bigger or equals required item count **/ ){ player.setNoble(true, true); player.getInventory().addItem("tiara", 7694, 1, player, null);//give nobless tiara player.sendPacket(new UserInfo(player)); html.setFile("data/html/classmaster/nobleok.htm"); }else player.sendMessage("You don't have enough items."); } else player.sendMessage("Your level must be 78 or higher."); } else html.setFile("data/html/classmaster/alreadynoble.htm"); player.sendPacket(html); //and don't forget the imports for l2iteminstance etc.. } and me go speak with npc and say me: You don't have enough items ... who is?
  12. yes is npc noble i have problem in line tiara anyone can repair pls! and send me
  13. i have problem i line tiara can help me? pls else if (command.startsWith("become_noble")) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); if (!player.isNoble()) { //then you check for the level 78 if(player.getLevel()>=78){ //then you ask for items if( player.getInventory().getItemByItemId(12345/**1 item id **/).getCount()>=12345/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(12345/**2 item id **/).getCount()>=12345/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(12345/**3 item id **/).getCount()>=12345/** Is bigger or equals required item count **/ && player.getInventory().getItemByItemId(12345/**4 item id **/).getCount()>=12345/** Is bigger or equals required item count **/ ){ L2ItemInstance tiara = player.getInventory().addItem("tiara", 7694, 1, player, null);//give nobless tiara player.getInventory().equipItemAndRecord(tiara);//equip the tiara if you want player.setNoble(true, true); player.sendPacket(new UserInfo(player)); html.setFile("data/html/classmaster/nobleok.htm"); }else player.sendMessage("You don't have enough items."); } else player.sendMessage("Your level must be 78 or higher."); } else html.setFile("data/html/classmaster/alreadynoble.htm"); player.sendPacket(html); //and don't forget the imports for l2iteminstance etc.. }
  14. ello you ask someone save items for noblest try make many times and I can not if someone can make me want to ask 4 items and you have to be lvl 78 .. thanks .. p.d srry for my bad engish else if (command.startsWith("become_noble")) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); if (!player.isNoble()) { player.setNoble(true, true); player.sendPacket(new UserInfo(player)); html.setFile("data/html/classmaster/nobleok.htm"); player.sendPacket(html); } else { html.setFile("data/html/classmaster/alreadynoble.htm"); player.sendPacket(html); } }
  15. hello you ask someone save items for noblest try make many times and I can not if someone can make me want to ask 4 items and you have to be lvl 78 .. thanks .. p.d srry for my bad engish else if (command.startsWith("become_noble")) { NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); if (!player.isNoble()) { player.setNoble(true, true); player.sendPacket(new UserInfo(player)); html.setFile("data/html/classmaster/nobleok.htm"); player.sendPacket(html); } else { html.setFile("data/html/classmaster/alreadynoble.htm"); player.sendPacket(html); } }
×
×
  • Create New...