Jump to content
  • 0

How to location and Remove NPC script


Rain408

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

So I paid for a service to set up a server and wanted to remove some npc forever but don't know how.

 

I know there a command where i can just kill the npc, but it will appear again upon npc reload.

 

The program im using is WinSCP.

 

& While I'm at it, what is the sql for? I notice when i make changes on the SQL it doesnt appear in game.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

find and remove it in the configuration files.

Adding_a_Script#Configuration_Files

 

SQL used to store server data, most of the time it will autosave every short interval, 300 seconds by default.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  09/22/15
  • Last Seen:  

I think it'll be hard to find them with just WinSCP...

 

Maybe the best way could be to find your NPC by his name or location on https://github.com/rathena/rathena/npc, and comment it in the txt file.

 

Ex :

 

You want to remove "Kafra Leilah", you find it in npc/kafras/kafras.txt

You'll have to comment line 29 to 113 (with //) and reload npc

 

If you NPC has a single TXT file, you just have to comment his import line in npc/scripts_athena.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

Thank you github help out a lot

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...