Jump to content

MrChuky

Members
  • Posts

    20
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About MrChuky

Contact Methods

  • Website URL
    http://www.saphire-universe.com

Profile Information

  • Gender
    Male
  • Location
    Japón
  • Interests
    Biiiiird

MrChuky's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Try this: http://www.megaupload.com/?d=GCFI7AXJ Not tested, but now all the icons were compressed to DXT1
  2. For Interlude you can download from this topic I think: http://maxcheaters.com/forum/index.php?topic=217733.0 Or (not my work, search in Google): R99, R85, R87, R95: http://depositfiles.com/files/ffy28n1nu http://depositfiles.com/files/gc05lu7ht
  3. Thanks for all your support dudes. Remember: If you found any error please, report us and we will fix it soon.
  4. You can download it from here: http://lineage2-ncsoft.ktics.co.kr/110508/engine32.cab http://lineage2-ncsoft.ktics.co.kr/110508/layout.bin http://lineage2-ncsoft.ktics.co.kr/110508/setup.exe http://lineage2-ncsoft.ktics.co.kr/110508/setup.ibt http://lineage2-ncsoft.ktics.co.kr/110508/setup.ini http://lineage2-ncsoft.ktics.co.kr/110508/setup.inx http://lineage2-ncsoft.ktics.co.kr/110508/data1.cab http://lineage2-ncsoft.ktics.co.kr/110508/data1.hdr http://lineage2-ncsoft.ktics.co.kr/110508/data2.cab http://lineage2-ncsoft.ktics.co.kr/110508/data3.cab Download all, paste in same folder, install and make full check ;)
  5. I do not understand, more accurate?, I just quoted myself from the first post and I changed the colors. I tested with many system, original system patched, your system ... and nothing. I found this which explains how to adapt ddf files to the new chronicle http://zone-game.info/lineage/client/1091/ http://forum.zone-game.info/showthread.php?t=10373 But still gives error the same files, and someone has posted saying it but nobody has responded, so I tried to ask around here. Specifically: D:\l2server\_files\L2 File Edit++\data\l2asm-disasm>l2disasm -d DAT_defs\CT2_4en \npcgrp.ddf -e DAT_defs\CT2_5en\npcgrp.ddf dec-npcgrp.dat npcgrp.txt L2 disasm 1.4.0 by M.Soltys (aka DStuff). Counting field 'npcend_cnt' referenced by 'npcend' is inappropriate (6488165). File scan error: row: 0 / 10087 field: 31 / 31 (name: npcend) D:\l2server\_files\L2 File Edit++\data\l2asm-disasm>
  6. 'and please, search ... , and you see that fileedit does not exist.' then why search? you have already responded Maybe if I knew to create the ddf not ask
  7. Hello friends I was wondering if any of you already have Fileedit for Freya I have tried to edit the system with FileEdit CT2.4 V0.9 and I can edit everything except skillgrp.dat and npcgrp.dat, which are important files for me. If anyone can share the program, greatly appreciated.
  8. Thanks for sharing By the way, the code is very similar to mine. :P http://www.maxcheaters.com/forum/index.php?topic=149513.msg1076449
  9. Credits to me ;) But I take "All telnet commands list" from l2j forum.
  10. Hi guys! With this script you can send announces in-game via web. You need configure your telnet.properties in config folder of you gameserver Example EnableTelnet = True # This is the port L2J should listen to for incoming telnet # requests. # Default: 12345 StatusPort = 12345 # If the following is not set, a random password is generated on server startup. # Usage: StatusPW = somePass StatusPW = PASSWORD # This list can contain IPs or Hosts of clients you wish to allow. Hostnames must be resolvable to an IP. # Example: 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3 # Default: 127.0.0.1,localhost ListOfHosts = 127.0.0.1,localhost Remember your php files must stay in allowed host. announce.php (or index, or what you like) <html> <head> <title>Announce</title> <style type="text/css"> <!-- .formname { width: 700px; font-size: 12px; font-family: tahoma,helvetica; color: #222222; background-color: #F1F1F1; border:2px solid #444444; border-top-width : 2px; border-right-width : 2px; border-bottom-width : 2px; border-left-width : 2px; text-indent : 2px; } .form { width: 100px; font-size: 12px; font-family: tahoma,helvetica; color: #202020; border:2px solid #000000; text-indent : 2px; } body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #cccccc; background-color: #333333; } --> </style> </head> <body> <?php echo " <br><br><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\"> <tr> <td class=\"noborderback\"><form action=\"makeannounce.php\"><input name=\"sendchat\" maxlength=\"140\" size=\"50\" type=\"text\" value=\"\" class=\"formname\"></td></tr> <tr><td align=\"right\"><input value=\"Send Announcement\" onclick=\"submit\" height=\"9\" type=\"submit\" class=\"form\"> </form></td> </tr></table> "; ?> </body> </html> makeannounce.php <?php $usetelnet = fsockopen("HOST OR IP", "TELNET PORT", $errno, $errstr, 30); if($usetelnet) { $sendchat = $_REQUEST['sendchat']; $give_string = 'announce ' . $sendchat; // Don't touch... but... "announce" is the Telnet command, maybe you can "discover" other commands. fputs($usetelnet, "PASSWORD"); //this is password of telnet in telnet.properties you can change it fputs($usetelnet, "\r\n"); // Don't touch xD fputs($usetelnet, $give_string); // Don't touch xD fputs($usetelnet, "\r\n"); // Don't touch xD fputs($usetelnet, "exit\r\n"); // Don't touch... mmmmm... Exit (?) } ?> <!-- This retunr to the "index", in this case, announce.php after sending the announcement. --> <meta http-equiv="refresh" content="0.1; URL=announce.php"> And... All telnet commands: status - displays basic server statistics. performance - shows server performance statistics. forcegc - forced garbage collection. purge - removes finished threads from thread pools. memusage - displays memory amounts in JVM. announce <text> - announces <text> in game. msg <nick> <text> - Sends a whisper to char <nick> with <text>. gmchat <text> - Sends a message to all GMs with <text>. gmlist - lists all gms online. kick - kick player <name> from server. shutdown <time> - shuts down server in <time> seconds. restart <time> - restarts down server in <time> seconds. abort - aborts shutdown/restart. give <player> <itemid> <amount> enchant <player> <itemType> <enchant> (itemType: 1 - Helmet, 2 - Chest, 3 - Gloves, 4 - Feet, 5 - Legs, 6 - Right Hand, 7 - Left Hand, 8 - Left Ear, 9 - Right Ear , 10 - Left Finger, 11 - Right Finger, 12- Necklace, 13 - Underwear, 14 - Back, 15 - Belt, 0 - No Enchant) extlist - list all loaded extension classes extreload <name> - reload and initializes the named extension or all if used without argument extinit <name> - initilizes the named extension or all if used without argument extunload <name> - unload the named extension or all if used without argument debug <cmd> - executes the debug command (see 'help debug'). jail <player> [time] unjail <player> PS: Commands that expect an answer not serve this purpose because there is no console. However you can use several like (announce, msg, gmchat, kick, shutdown, restart, give (only if char is online), enchat.... etc..) Hope you like this ;) (credits to me)
  11. Fixed for IE, now prevents "broken images" if there is no clan. (First post updated)
  12. Hi! This is two scripts thats I use in my web for some time. Now I want to share with all you ::) It shows something like: 1 PlayerName (ClanCrest)ClanName (AllyCrest)AllyName PvP or PK Number 2 PlayerName (ClanCrest)ClanName (AllyCrest)AllyName PvP or PK Number ... First this is the crest.php (If you get any error with this file, please, consult this post: http://www.maxcheaters.com/forum/index.php?topic=99196.msg1072861#msg1072861) <? if(!empty($_GET['clan_crest'])){ $name = 'Crest'; $crest = $_GET['clan_crest']; } else if(!empty($_GET['ally_crest'])){ $name = 'AllyCrest'; $crest = $_GET['ally_crest']; } else die('No Crest!'); $file = fopen('/home/admin/gameserver/data/crests/'.$name.'_'.$crest.'.bmp', 'r'); //fopen($filename,'rb'); $dds = fread($file,4); if ($dds!=='DDS ') die("Error: no hay imagen DDS"); //DDS header $hdrSize = readInt($file); $hdrFlags = readInt($file); $imgHeight = readInt($file)-4; $imgWidth = readInt($file); $imgPitch = readShort($file); //DXT1 header fseek($file, 84); $dxt1 = fread($file,4); if ($dxt1!=='DXT1') die("Error: no es formato DX1"); //here we go fseek($file, 128); header ("Content-type: image/png"); $img=imagecreatetruecolor($imgWidth,$imgHeight); for ($y=-1; $y<$imgHeight/4; $y++) { for ($x=0; $x<$imgWidth/4; $x++) { $color0_16 = readShort($file); $color1_16 = readShort($file); $r0 = ($color0_16 >> 11) << 3; $g0 = (($color0_16 >> 5) & 63) << 2; $b0 = ($color0_16 & 31) << 3; $r1 = ($color1_16 >> 11) << 3; $g1 = (($color1_16 >> 5) & 63) << 2; $b1 = ($color1_16 & 31) << 3; $color0_32 = imagecolorallocate($img,$r0,$g0,$b0); $color1_32 = imagecolorallocate($img,$r1,$g1,$b1); $color01_32 = imagecolorallocate($img,$r0/2+$r1/2,$g0/2+$g1/2,$b0/2+$b1/2); $black = imagecolorallocate($img,0,0,0); $data = readInt($file); for ($yy=0;$yy<4;$yy++) { for ($xx=0;$xx<4;$xx++) { $bb = $data & 3; $data = $data >> 2; switch ($bb) { case 0: $c = $color0_32; break; case 1: $c = $color1_32; break; case 2: $c = $color01_32; break; default: $c = $black; break; } imagesetpixel($img,$x*4+$xx,$y*4+$yy,$c); } } } } imagepng($img); ## Functions needed function readInt($file) { $b4 = ord(fgetc($file)); $b3 = ord(fgetc($file)); $b2 = ord(fgetc($file)); $b1 = ord(fgetc($file)); return ($b1<<24)|($b2<<16)|($b3<<8)|$b4; } function readShort($file) { $b2 = ord(fgetc($file)); $b1 = ord(fgetc($file)); return ($b1<<8)|$b2; } ?> This is the connection.php file: <?php $db_user = "USER"; $db_pass = "PASS"; $db_name = "l2jdb"; $db_serv = "localhost"; $db_port = "3306"; $res = mysql_connect ( $db_serv, $db_user, $db_pass, $db_port ) or die ("Coudn't connect to [$db_serv]"); mysql_select_db ( $db_name ); ?> Pkkills.php <!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=utf-8" /> <style type="text/css"> <!-- body,td,th { color: #CCCCCC; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } body { background-color: #000000; } --> </style> </head> <body> <table style="border: 1px solid; border-color: #444444; background-color:#222222;" align="center" width="100%"> <tr> <th class='Stil7' colspan="5">Top 100 PK</th> </tr> <tr> <th width="5%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Rank </th> <th width="35%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Name </th> <th width="19%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Clan </th> <th width="19%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Ally </th> <th width="20%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> PK's </th> </tr> <?php require("Connection.php"); $activity = mysql_query("SELECT char_name,pkkills,clan_name as 'pname', ally_name as 'aname', clanid, clan_data.crest_id as 'pcrest', ally_crest_id as 'acrest' FROM characters LEFT JOIN clan_data ON clan_data.clan_Id = characters.clanId Where ((pkkills >=1) AND (accesslevel = 0)) ORDER BY pkkills DESC, char_name ASC limit 100"); $i = 1; while($row = mysql_fetch_array($activity)) { if (!($i%2)) echo "<tr bgcolor='#000000' align='center'>"; else echo "<tr bgcolor='#161616' align='center'>"; echo "<td>"."<center>".$i."</center>"."</td>"; echo "<td>"."<center>".$row['char_name']."</center>"."</td>"; echo "<td align='left'>"; if ($row['pcrest'] != 0) echo "<img src='crest.php?clan_crest=".$row['pcrest']."'/> ".$row['pname'].""; echo "</td>"; echo "<td align='left'>"; if ($row['acrest'] != 0) echo "<img src='crest.php?ally_crest=".$row['acrest']."'/> ".$row['aname'].""; echo "</td>"; echo "<td>"."<center>".$row['pkkills']."</center>"."</td>"; $i++; } ?> </table> </body> </html> PvPKills.php <!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=utf-8" /> </head> <style type="text/css"> <!-- body,td,th { color: #CCCCCC; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } body { background-color: #000000; } --> </style> <body> <table style="border: 1px solid; border-color: #444444; background-color:#222222;" align="center" width="100%"> <tr> <th class='Stil7' colspan="5">Top 100 PvP</th> </tr> <tr> <th width="5%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Rank </th> <th width="35%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Nombre </th> <th width="19%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Clan</th> <th width="19%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> Ally</th> <th width="20%" style="border: 1px solid; border-color: #444444; background-color:#222222;"> PvP's </th> </tr> <?php require("Connection.php"); $activity = mysql_query("SELECT char_name,pvpkills,clan_name as 'pname', ally_name as 'aname', clan_data.crest_id as 'pcrest', ally_crest_id as 'acrest' FROM characters LEFT JOIN clan_data ON clan_data.clan_Id = characters.clanId Where ((pvpkills >=1) AND (accesslevel = 0)) ORDER BY pvpkills DESC, char_name ASC limit 100"); $i = 1; while($row = mysql_fetch_array($activity)) { if (!($i%2)) echo "<tr bgcolor='#000000' align='center'>"; else echo "<tr bgcolor='#161616' align='center'>"; echo "<td>"."<center>".$i."</center>"."</td>"; echo "<td>"."<center>".$row['char_name']."</center>"."</td>"; echo "<td align='left'>"; if ($row['pcrest'] != 0) echo "<img src='crest.php?clan_crest=".$row['pcrest']."'/> ".$row['pname'].""; echo "</td>"; echo "<td align='left'>"; if ($row['acrest'] != 0) echo "<img src='crest.php?ally_crest=".$row['acrest']."'/> ".$row['aname'].""; echo "</td>"; echo "<td>"."<center>".$row['pvpkills']."</center>"."</td>"; $i++; } ?> </table> </body> </html>
  13. This is my code, I think is same but your error is the $file var. For example: You have: $file = fopen('ftp://localhost/'.$name.'_'.$crest.'.bmp', 'r'); //fopen($filename,'rb'); Try to change, think that the file crest.php is in the same machine that server, replace "localhost" for the folder tree. My $file var: $file = fopen('/home/admin/gameserver/data/crests/'.$name.'_'.$crest.'.bmp', 'r'); //fopen($filename,'rb'); Because my server work under Linux and "fopen" read the folders in the machine. I don't know to use with ftp protocol but if you want to use localhost take my mode. If you use Windows probably is: $file = fopen('C:/server/gameserver/data/crests/'.$name.'_'.$crest.'.bmp', 'r'); //fopen($filename,'rb'); I'm not sure. Hope that helps ::) <? if(!empty($_GET['clan_crest'])){ $name = 'Crest'; $crest = $_GET['clan_crest']; } else if(!empty($_GET['ally_crest'])){ $name = 'AllyCrest'; $crest = $_GET['ally_crest']; } else die('No Crest!'); $file = fopen('/home/admin/gameserver/data/crests/'.$name.'_'.$crest.'.bmp', 'r'); //fopen($filename,'rb'); $dds = fread($file,4); if ($dds!=='DDS ') die("Error: no hay imagen DDS"); //DDS header $hdrSize = readInt($file); $hdrFlags = readInt($file); $imgHeight = readInt($file)-4; $imgWidth = readInt($file); $imgPitch = readShort($file); //DXT1 header fseek($file, 84); $dxt1 = fread($file,4); if ($dxt1!=='DXT1') die("Error: no es formato DX1"); //here we go fseek($file, 128); header ("Content-type: image/png"); $img=imagecreatetruecolor($imgWidth,$imgHeight); for ($y=-1; $y<$imgHeight/4; $y++) { for ($x=0; $x<$imgWidth/4; $x++) { $color0_16 = readShort($file); $color1_16 = readShort($file); $r0 = ($color0_16 >> 11) << 3; $g0 = (($color0_16 >> 5) & 63) << 2; $b0 = ($color0_16 & 31) << 3; $r1 = ($color1_16 >> 11) << 3; $g1 = (($color1_16 >> 5) & 63) << 2; $b1 = ($color1_16 & 31) << 3; $color0_32 = imagecolorallocate($img,$r0,$g0,$b0); $color1_32 = imagecolorallocate($img,$r1,$g1,$b1); $color01_32 = imagecolorallocate($img,$r0/2+$r1/2,$g0/2+$g1/2,$b0/2+$b1/2); $black = imagecolorallocate($img,0,0,0); $data = readInt($file); for ($yy=0;$yy<4;$yy++) { for ($xx=0;$xx<4;$xx++) { $bb = $data & 3; $data = $data >> 2; switch ($bb) { case 0: $c = $color0_32; break; case 1: $c = $color1_32; break; case 2: $c = $color01_32; break; default: $c = $black; break; } imagesetpixel($img,$x*4+$xx,$y*4+$yy,$c); } } } } imagepng($img); ## Functions needed function readInt($file) { $b4 = ord(fgetc($file)); $b3 = ord(fgetc($file)); $b2 = ord(fgetc($file)); $b1 = ord(fgetc($file)); return ($b1<<24)|($b2<<16)|($b3<<8)|$b4; } function readShort($file) { $b2 = ord(fgetc($file)); $b1 = ord(fgetc($file)); return ($b1<<8)|$b2; } ?>
×
×
  • Create New...