Jump to content
  • 0

Finding script/npc dir


BTNX

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   3
  • Joined:  04/02/12
  • Last Seen:  

What's the fastest/easiest way to find out the dir or file.txt that holds the script of an NPC...

Lets say, I want to edit Kafra1 in prontera, how do I find out which file to edit?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

You can search the npc folder with a (built-in) search function of your operating system that supports searching text in files. That's the normal search for Windows or 

grep -n "search string" npc/*

for Linux.

Link to comment
Share on other sites


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

notepad++ can help you too .... 

ua43htI.jpg

 

 

 

 

the window search option also can search for file name ..but not sure if you plan to search for the content inside the file..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

I use BareGrep on Windows as it's countless times faster than the Windows search bar.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

I use BareGrep on Windows as it's countless times faster than the Windows search bar.

 

Wow great program. I use TSearch and WinGrep but I think Euphy's option might be faster.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

Grep is amazinggg and lets you choose extensions to check in as well

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   3
  • Joined:  04/02/12
  • Last Seen:  

^Thanks for the reply guys... The thing is, sometimes, multiple NPCs are stored in one text files... Meaning, I'd have to also search the content of the files in order to find the NPC...

Anyway, yeah, I know about windows search... I'm just trying to find the most efficient way to figure out which text file contains the scrip and such.

Let's say you want to edit the first default NPC you encounter in the novice training area but you don't know the DIR of that NPC, how do you guys go about finding the script?

Ima go try baregrep and wingrep in a bit


wow, that baregrep is awesome thanks

Edited by BTNX
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...