[Add-On]How to Remove NPCs

Results 1 to 23 of 23
  1. #1
    Infraction Banned DayStory is offline
    MemberRank
    Mar 2009 Join Date
    42Posts

    [Add-On]How to Remove NPCs

    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
    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>
    and Server restart, and you are done.
    Last edited by Shawn; 13-01-11 at 05:07 PM.


  2. #2
    Sorcerer Supreme Shadow465 is offline
    Member +Rank
    Jul 2008 Join Date
    437Posts

    Re: [Tut]How to Remove NPCs

    Nice tut for the beginners. Hopefully this'll decrease some thread counts. (:

  3. #3
    Grand Master meetoo is offline
    Grand MasterRank
    Jul 2008 Join Date
    Canada ~eh.Location
    542Posts

    Re: [Tut]How to Remove NPCs

    lol Nice Tut.< You Beat Meh to it.. xD I was just Starting Now.. , xD Nice. xD

  4. #4
    Infraction Banned DayStory is offline
    MemberRank
    Mar 2009 Join Date
    42Posts

    Re: [Tut]How to Remove NPCs

    Quote Originally Posted by Shadow465 View Post
    Nice tut for the beginners. Hopefully this'll decrease some thread counts. (:
    Hopefully yea o.o...

  5. #5
    Elite Member KnightStoryTeam is offline
    Member +Rank
    Nov 2008 Join Date
    SOMEWHERE ....WLocation
    239Posts

    Re: [Tut]How to Remove NPCs

    Finally Some one realsed something useful for the nubs

  6. #6
    Grand Master ~Justin~ is offline
    Grand MasterRank
    Jul 2008 Join Date
    Up Your Buttt ALocation
    905Posts

    Re: [Tut]How to Remove NPCs

    Nice tut for noobs.

  7. #7
    Grand Master cihadpx68 is offline
    Grand MasterRank
    Oct 2008 Join Date
    www.sixty8story.comLocation
    827Posts

    Re: [Tut]How to Remove NPCs

    Nice tut foor noobs yea xD

  8. #8
    Member ifanta is offline
    MemberRank
    Aug 2008 Join Date
    68Posts

    Re: [Tut]How to Remove NPCs

    Everybody already said it, but it's a great tut for noobs :P ... So many people wanting to get rid of those Maple TV's :D

  9. #9
    Newbie Blackpuppy is offline
    MemberRank
    Dec 2008 Join Date
    4Posts

    Re: [Tut]How to Remove NPCs

    How about if you dont have that one? o.o

  10. #10
    Member yogiram12345 is offline
    MemberRank
    Mar 2009 Join Date
    28Posts

    Re: [Tut]How to Remove NPCs

    What if you wanna remove lets say Sera?
    Cause You had someone else you wanted more.?
    Then what?
    o-o

  11. #11
    Elite Member Flareon is offline
    Member +Rank
    Mar 2009 Join Date
    163Posts

    Re: [Tut]How to Remove NPCs

    Heh Thx , Will be helpful :O

  12. #12
    Newbie CYLay is offline
    MemberRank
    Mar 2009 Join Date
    21Posts

    Re: [Tut]How to Remove NPCs

    Thank You so much! i been looking for it for so long... thankkkkk youuuuuu.

  13. #13
    Elite Member iqasdfg is offline
    Member +Rank
    Apr 2009 Join Date
    111Posts

    Re: [Tut]How to Remove NPCs



    i get stuck at the character screen still
    i've done everything correctly, from mysql to wz files
    help please !

  14. #14

    Re: [Tut]How to Remove NPCs

    Quote Originally Posted by iqasdfg View Post


    i get stuck at the character screen still
    i've done everything correctly, from mysql to wz files
    help please !
    There's Nothing Wrong...

  15. #15
    Member galex23 is offline
    MemberRank
    Mar 2009 Join Date
    39Posts

    Re: [Tut]How to Remove NPCs

    Quote Originally Posted by Shadow465 View Post
    Nice tut for the beginners. Hopefully this'll decrease some thread counts. (:

    probably not T.T people will still continue macking threads asking how to do this.

  16. #16
    Newbie MapleLeafs is offline
    MemberRank
    Oct 2010 Join Date
    Under.Your.Bed.Location
    2Posts

    Re: [Tut]How to Remove NPCs

    Wow,This helped Thanks. xD

  17. #17
    Newbie lisa205 is offline
    MemberRank
    Nov 2009 Join Date
    16Posts

    Re: [Tut]How to Remove NPCs

    I tried to delete scrooge and fredrick. I deleted what you said and restarted server but it didnt get removed.... help plz? o.o

  18. #18

    Re: [Add-On]How to Remove NPCs

    Quote Originally Posted by DayStory View Post
    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
    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>
    and Server restart, and you are done.
    Hey.

    I don't have either of these options, I'm running v117 and there is no spawns in the DB and the Map.wz only has Fredrick Scrooge and the MapleTV.

    Any chance you can help me with what to do next to remove the NPC's?

  19. #19
    That one pokemon thing Luxray is offline
    Grand MasterRank
    Apr 2010 Join Date
    2,043Posts

    Re: [Add-On]How to Remove NPCs

    Quote Originally Posted by Chac View Post
    Hey.

    I don't have either of these options, I'm running v117 and there is no spawns in the DB and the Map.wz only has Fredrick Scrooge and the MapleTV.

    Any chance you can help me with what to do next to remove the NPC's?
    The customlife table

  20. #20

    Re: [Add-On]How to Remove NPCs

    Thanks bro :)

  21. #21
    Sorcerer Supreme maxcloud is offline
    Member +Rank
    Feb 2009 Join Date
    312Posts

    Re: [Add-On]How to Remove NPCs

    I'm necro-posting. I released a packet to enable and disable npcs. There is no need to delete any data in the xml file(s). Use the search feature.

  22. #22
    Newbie herchie08 is offline
    MemberRank
    Feb 2016 Join Date
    4Posts

    Re: [Add-On]How to Remove NPCs

    Lol this tutorial gave me the idea on how to add the npc's permanently .. thankyou xD

  23. #23
    Elite Member klyster is offline
    Member +Rank
    Apr 2008 Join Date
    242Posts

    Re: [Add-On]How to Remove NPCs

    Well im having some issue here.... I dont want to delete the NPC, but edit by the JavaScript scripting NPC way, but its already have a String script on the string.wz what i should do to accomplish my mission?



Advertisement