Jump to content
  • 0

Custom NPC folder


Erba

Question


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

Is there an custom npc script limitation?

 

because as i use trunk/npc/custom folder to add custom npc scripts.. 1 of the latest npc script doesnt load but it shows no error but when i use one any of existing text files in the running npc scripts the npc which i am trying to add loads..

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

I don't think there is a limitation.

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:  

because the npc file isnt loaded at all ...

example : npc/scripts_custom.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

because the npc file isnt loaded at all ...

example : npc/scripts_custom.conf

 

actually sir i did put it there.. but the thing is it doesnt load unless i reuse one of the existing text files..

i.e.:

i have freebie.txt[working]

i tried to add new script which is specialfreebie.txt > this doesnt load.. unless i add the script inside the freebie.txt

 

which will look like 2 custom scripts in 1 text file

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:  

ah...wrong...i forgotten ..

it should be this

npc/re/scripts_main.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

im using r16797 and pre-re

 

trunk/npc/scripts_custom.conf

 

inside it i write it like this

 

npc: npc/custom/MYOWNCUSTOM/SCRIPT.txt

 

but it doesnt load even if i dont have any errors on it..but when i put the scripts inside a working script which looks like [2script in 1 text file] the npc loads

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

1. Create a folder name MYOWNCUSTOM on your npc/custom

2. Add your SCRIPT.txt on the folder MYOWNCUSTOM located @ npc/custom

3. Add on your npc/scripts_custom.conf :

npc: npc/custom/MYOWNCUSTOM/SCRIPT.txt
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

i know how to do that @patskie.. im asking i there is a npc script limitation? because as i said in this thread that it doesnt load the newly added script unless i use an existing file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Simply add a new NPC see if it's working.

If the first step is working, then go back and check the spelling of your custom script, also not to forget the file extension.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

okay okay sir.. 

last question

 

is there an  npc script limitation?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

okay topic close ^^

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...