<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HopZones Community - [L2J Contest - Share]Npc To Pc Polymorph Interlude]]></title>
	<link rel="self" href="http://www.hopzones.net/forum/feed/atom/topic/174/"/>
	<updated>2010-05-06T19:35:41Z</updated>
	<generator>PunBB</generator>
	<id>http://hopzones.net/forum/topic/174/</id>
		<entry>
			<title type="html"><![CDATA[[L2J Contest - Share]Npc To Pc Polymorph Interlude]]></title>
			<link rel="alternate" href="http://hopzones.net/forum/post/261/#p261"/>
			<content type="html"><![CDATA[<p>If gracia+ has it, why cant interlude Tongue</p><p>This is a npc to pc polymorph just like darky999&#039;s and the one my brother made for L2J-Archid. Well its not so advanced as them but this dose the job right, it polymorphs with the correct packet length. <img src="http://hopzones.net/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Heres a picture of a pre-made SQL Entry named Alex:</p><p><span class="postimg"><img src="http://img151.imageshack.us/img151/8274/shot00048f.jpg" alt="http://img151.imageshack.us/img151/8274/shot00048f.jpg" /></span></p><p>Features:<br />- It supports null name and title<br />- No item id Weapons<br />- Armor set parser to add a armor set to the morphed npc Smiley (like you see in the picture Apella set id 49)</p><p>With all that said heres the code:</p><div class="quotebox"><blockquote><p><a href="http://pastebin.com/YAat39nG">http://pastebin.com/YAat39nG</a></p></blockquote></div><p>And sql:</p><div class="quotebox"><blockquote><p>SET FOREIGN_KEY_CHECKS=0;<br />-- ----------------------------<br />-- Table structure for `max_poly`<br />-- ----------------------------<br />DROP TABLE IF EXISTS `max_poly`;<br />CREATE TABLE `max_poly` (<br />&nbsp; `name` varchar(22) default NULL,<br />&nbsp; `title` varchar(22) default NULL,<br />&nbsp; `sex` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `hair` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `hairColor` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `face` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `classId` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `npcId` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `weaponIdRH` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `weaponIdLH` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `weaponIdEnc` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `armorId` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `head` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `hats` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `faces` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `chest` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `legs` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `gloves` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `feet` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `abnormalEffect` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `pvpFlag` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `karma` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `recom` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `clan` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `isHero` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `pledge` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `nameColor` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; `titleColor` decimal(22,0) NOT NULL default &#039;0&#039;,<br />&nbsp; PRIMARY KEY&nbsp; (`classId`)<br />) ENGINE=InnoDB DEFAULT CHARSET=latin1;</p><p>-- ----------------------------<br />-- Records of max_poly<br />-- ----------------------------<br />INSERT INTO `max_poly` VALUES (&#039;Alex&#039;, &#039;Captain&#039;, &#039;1&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;31&#039;, &#039;30291&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;49&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;, &#039;1&#039;, &#039;0&#039;, &#039;0&#039;, &#039;0&#039;)</p></blockquote></div><p>Have fun. ^_~</p>]]></content>
			<author>
				<name><![CDATA[Admin-Hz]]></name>
				<uri>http://hopzones.net/forum/user/5/</uri>
			</author>
			<updated>2010-05-06T19:35:41Z</updated>
			<id>http://hopzones.net/forum/post/261/#p261</id>
		</entry>
</feed>

