Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Custom NPC

Initiate Mage
Joined
Apr 28, 2009
Messages
30
Reaction score
1
Well I'm trying to add a new npc for shits and giggles.What I did was added the npc into npc.xml

Code:
<NPC id="30000001" Name="Catacomb gear" Grade="4" Type="npc" MeshPath="NPC/hm_fighter" MeshName="hm_fighter" AniPrefix="none_" MinLevel="45" MaxLevel="45" MaxHP="18000" AP="4500" ArmorType="neutral" AutoAssist="False" SightRange="0" Huge="False" Speed="170" RunSpeed="450" RotateSpeed="0" Rooted="False" Attackable="NONE" CounterAttack="False" AA="NONE" Scale="1.1" Interact="True" AlignTerrain="False" BeatenModValue="1" KnockbackModValue="1" StunModValue="1" DeflectModValue="1" ThrowupModValue="1" KnockdownModValue="1" UpperedModValue="1" BeatenModWeight="1" KnockbackModWeight="1" StunModWeight="1" DeflectModWeight="1" ThrowupModWeight="1" KnockdownModWeight="1" UpperedModWeight="1" PartsHair="10002001" PartsFace="10002101" PartsHead="1010" PartsChest="1011" PartsLeg="1012" PartsHands="1013" PartsFeet="1014" PartsWeaponR="63" TitleBone="dummy_ef_body" TitleHeight="96" SkinColor="FDC689" HairColor="000000" VoiceType="male3" IType1="trade" IAct1="100001" />

Then the NPC shop
Code:
	<NPCSHOP id="100001" dialog="200" buymod="1" sellmod="1" repairable="true">
                <ITEM id="62300~62364" />
	</NPCSHOP>
Then into the 3.field.xml
Code:
        <SPAWN id="1000" group="0" name="[NPC] ¶óÀ̼¾½º Æ®·¹À̳Ê" x="46843.785160" y="55842.390630" z="2330.029297" dir_x="-0.984808" dir_y="0.173648" dir_z="0.000000" radius="0.000000" random_dir="false" enabled="true" start_time="0" respawn_time="0" roam_radius="0" roam_depth="0" combat_radius="0" color="0,128,255">
            <NPC id="30000001" default="true" rate="10" />
        </SPAWN>
Then copied the files over in every server folder. But it wont spawn. Why? Not even using the spawn command
 
Junior Spellweaver
Joined
Feb 8, 2011
Messages
117
Reaction score
34
Just editing the NPC file isnt enough. The data for the NPCs are stored in other files aswell. And i think you need to sync the data changed in the client to or you wont be able to see the spawned NPC.
 
Initiate Mage
Joined
Apr 28, 2009
Messages
30
Reaction score
1
Can't sync the data with the client yet can we? Also I've been playing your server for quite sometime.
 
Last edited:
Back
Top