Newbie Spellweaver
- Joined
- Mar 15, 2009
- Messages
- 24
- Reaction score
- 4
During the past few times, I saw so many posts about
how to remove NPCs.
So here, this might be useful to some, or I might get ended up flamed >.>
Anyways, here it is
There are two ways you can remove it from.
First, if you created a NPC by !pnpc,
Follow this.
First, lets say that you !pnpc'ed spinel by accident.
Than go to your MySql, or whatever your database is,
Click spawns table,
Something like that should come out.
Ctrl + F it and find the NPC Id that you !pnpc'ed on, in this case, 9000020 is Spinel
You press Edit,
And right click the row, and click delete row >.>
Now if the NPC was there, but it wasnt spawned by !pnpc, or
the method above does not work, follow this,
-Go to your wz. files. It's in your repack if you don't know.
-and Click Map.wz
-and click Map again,
-than, you should be in the folder where there are folders named Map0 ~ Map9
Now, lets say that the NPC that you want to remove is in the FM,(910000000)
Since the map id of fm is 910000000, you should go to Map9 since the starting
number of the Map's ID is 9.
-Now than, find your map ID, in this case, I'm going to pick FM (910000000)
-Right click - Edit
-Now Ctrl + F and find "life"
-Lets say that the NPC i want to delete is Shanks(22000), than I would delete this
and Server restart, and you are done.
how to remove NPCs.
So here, this might be useful to some, or I might get ended up flamed >.>
Anyways, here it is
There are two ways you can remove it from.
First, if you created a NPC by !pnpc,
Follow this.
First, lets say that you !pnpc'ed spinel by accident.
Than go to your MySql, or whatever your database is,
Click spawns table,
Something like that should come out.
Ctrl + F it and find the NPC Id that you !pnpc'ed on, in this case, 9000020 is Spinel
You press Edit,
And right click the row, and click delete row >.>
Now if the NPC was there, but it wasnt spawned by !pnpc, or
the method above does not work, follow this,
-Go to your wz. files. It's in your repack if you don't know.
-and Click Map.wz
-and click Map again,
-than, you should be in the folder where there are folders named Map0 ~ Map9
Now, lets say that the NPC that you want to remove is in the FM,(910000000)
Since the map id of fm is 910000000, you should go to Map9 since the starting
number of the Map's ID is 9.
-Now than, find your map ID, in this case, I'm going to pick FM (910000000)
-Right click - Edit
-Now Ctrl + F and find "life"
-Lets say that the NPC i want to delete is Shanks(22000), than I would delete this
Code:
<imgdir name="2">
<string name="type" value="n"/>
<string name="id" value="22000"/>//Shanks
<int name="x" value="-276"/>
<int name="y" value="34"/>
<int name="mobTime" value="0"/>
<int name="f" value="0"/>
<int name="hide" value="0"/>
<int name="fh" value="80"/>
<int name="cy" value="65"/>
<int name="rx0" value="-226"/>
<int name="rx1" value="-326"/>
</imgdir>
Last edited by a moderator: