-
Posts
451 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by disorder25
-
[SHARE] Gracia plus mobs for Gracia Final
disorder25 replied to kali's topic in Client Development Discussion
are these the same as the freya mobs? -
[Share]Freya jewels for Epilogue
disorder25 replied to Legend™'s topic in Client Development Discussion
hey m8 good job sharing it. Keep up the good shares. -
[share]Superman & Batman cape [Ct2.4]
disorder25 replied to darren's topic in Client Development Discussion
they look gay -
[SHARE] Acid Weapons by SoFaKi [CT 2.4]
disorder25 replied to Escordia's topic in Client Development Discussion
Another great job. Thank you for sharing it. -
[SHARE]Special Instance Event / Epilugue L2J
disorder25 replied to Rzeszut's topic in Server Development Discussion [L2J]
very nice share. Thank you -
[SHARE] Hero status Script L2J
disorder25 replied to Strength's topic in Server Development Discussion [L2J]
Now we need to fix the crest script. I have been looking to fix this for such a long time. Thank you very much for fixing the script. Please now try to make the crest.php to work with the code. This one I found it say it is for L2j but is missing the connection and database section and the query. <? 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('ftp://localhost/'.$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; } ?> And here is the original but it is for L2OFF and need to be converted. <? $id = antiinjection($_GET['id']); if(!$id) die("Error: No ID"); // db config $CONFIG['worlddbname'] = "lin2world"; // Database Name $CONFIG['dbaddress'] = "localhost"; // MSSQL IP $CONFIG['dbuser'] = ""; // MSSQL User $CONFIG['dbpass'] = ""; // MSSQL Password // db connection! $dbconnect = @mssql_connect ($CONFIG['dbaddress'], $CONFIG['dbuser'], $CONFIG['dbpass']); @mssql_select_db ($CONFIG['worlddbname'], $dbconnect); $query = "SELECT bitmap FROM Pledge_Crest WHERE crest_id = '$id'"; $result = mssql_query($query); $clan_crest = mssql_fetch_array($result); $rnd_file = tmpfile(); fwrite($rnd_file, $clan_crest['bitmap']); fseek($rnd_file, 0); $file = &$rnd_file; //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<<Cool|$b4; } function readShort($file) { $b2 = ord(fgetc($file)); $b1 = ord(fgetc($file)); return ($b1<<Cool|$b2; } ?> If anybody can convert it or do what it need to be done to make it work on L2j. Thank you very much. -
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
Ok Lauq fixed it and reshare it. http://www.maxcheaters.com/forum/index.php?topic=147426.new#new -
Lauq Thank you very much for fixing the cloaks for epilogue, I know you are busy but finally it is working fine. Thank you so Much
-
They work but the problem is they only work for heavy armor, they need to be fixed to work with light and robe armor. I think when Varo did the adaptation he missed something. Please Devangell take a look on the cloaks for epilogue and try to fix then. Thank you Lauq reshare it and it is working for epilogue now. http://www.maxcheaters.com/forum/index.php?topic=147426.new#new
-
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
Lauq can fix but have not enough time right now and Varo, he adapt it to Epilogue but he haven't been in here since. I wish someone will help to fix this problem because I added it to my server but it only work on heavy armors. -
[Guide - GR] Πως να αλλάξετε grade στα items
disorder25 replied to Belzebul's topic in Client Development Discussion
Thank you I didn't understand anything but some how it help me change the weapon type of my mordors to s84. Just to complete your work. 0=NG 1=D 2=C 3=B 4=A 5=S 6=s80 7=s84 -
[Share]L2J Donation Manager [Finished Project]
disorder25 replied to Stealth's topic in Server Development Discussion [L2J]
Excellent share. I tested on my server, it connected fine, I could load the chars and items fine but when I clicked on "Give to Character" nothing happen. What could it be or how can I fix that problem. -
[Share]Freya Monsters (Gracia Plus)
disorder25 replied to Devangell™'s topic in Client Development Discussion
One thing I found is that these mobs are missing the HP bar, so if you want to use then as monsters they are not good without HP bar. Is that a way to add the Hp bar on then? -
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
I think Varo made a mistake when he adapted it to Epilogue so he need to take a look on it and fix. SO we are waiting on Varo to reply with an answer. -
[Share] Nude Patch for EPILOGUE!!!! [CT2.4]
disorder25 replied to Escordia's topic in Client Development Discussion
This is for Epilogue don't you see the subject. Finally I got it working and it is very nice and sexy. Thanks Sofaki -
[Share]Dynasty Ruby Weapons Set CT2.4
disorder25 replied to `zэlaи's topic in Client Development Discussion
thanks for the nice share. Beautiful job. -
we have had more than 30 ppl. problem is when the server start to grow somebody start some kind of drama and they leave. Some people also left after a wipe we did about a month ago. Server is excellent and it will grow over 30 ppl. That's why I'm working hard on adding new events and custom gear. Thanks for checking us out.
-
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
if you equip the castle cloaks with robe and light armor you can't see it, but if you take the chest out (robe chest or light chest), the cloak will appear. I don't understand it. I made the stats the same as the regular cloaks and the sql I compare it and they both look the same. -
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
Same thing happen on my server, and the regular cloaks work fine. If I use it with heavy armor i can see it. If I use it with robe and light armor I can't see it. Please Lauq check it for us, I'm not the only one having the problem> -
looking for something like this for l2.
-
[REQUEST] Kamael textures for Epic armor
disorder25 replied to disorder25's topic in [Request] Client Dev Help
It worked fine. Thank you very much for it. -
I was checking the epic armor and there is no textures for the Kamael classes, when you equip the armor nothing appear just something white. Will be nice to have Epic armor for Kamael class also. Can anybody try to come up with those textures and share? Thank you all in advance.
-
[Share]Castle Cloak by LauQ For Epilogue
disorder25 replied to varo's topic in Client Development Discussion
for some reason it was not working for me on epilogue. then I added this to the cloak stats: <and> <player cloakStatus="1" /> </and> And they start to work but only with the heavy armor, light and robe doesn't work. Why is that? Can someone help me please? Thank you. -
Can one of you guys that made or can make this nice weapons come up with a 2 hand sword, rapier, crossbow and ancient sword in a mordor style? It will be nice to have this missing weapons to complete the Mordor set. Thank you>