Jump to content

@reloadnpc : Easy Way to Reload Single File NPC


mazvi

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   6
  • Joined:  11/26/12
  • Last Seen:  

This is the easiest way to reload npc only once a command.

  1. Type @reloadnpc
  2. Enter an accurate directory location of npc without npc/ and without .txt and click OK
    example: custom/jobmaster
  3. wait 2 seconds and NPC successfully reloading

NOTE:

  • Make sure this script npc is already installed on athena_script.conf
  • Only GM with level 99 can use @reloadnpc

If this script help you, please help me to upvote and rate 5 stars this topic.

 

Edited by Cyro
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

@reloadnpc is already a command in rathena

https://github.com/rathena/rathena/blob/7dc6f7577c972e0544b6ef30a598cdd419832283/doc/atcommands.txt#L1450

 

---------------------------------------

@reloadnpcfile <path>

Unloads and loads an NPC.
Same as @unloadnpcfile and @loadnpc but ran as one command.

Example:
@reloadnpcfile npc/custom/jobmaster.txt

---------------------------------------

 

https://github.com/rathena/rathena/blob/7dc6f7577c972e0544b6ef30a598cdd419832283/conf/atcommand_athena.conf#L65

reloadnpcfile: ["reloadnpc"]

 

  • Upvote 2
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   6
  • Joined:  11/26/12
  • Last Seen:  

oh :D thx i dont know if their command has avaible on atcommand :D iam sorry...

but my command is more easy because only type location without npc/ and .txt so i thinks is very small different :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

2 hours ago, mazvi said:

oh :D thx i dont know if their command has avaible on atcommand :D iam sorry...

but my command is more easy because only type location without npc/ and .txt so i thinks is very small different :)

and you should release files here here , so your file will be tested and get approved

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   6
  • Joined:  11/26/12
  • Last Seen:  

thanks very much @Cyro i will upload it

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
Reply to this topic...

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