Jump to content

Recommended Posts

Posted (edited)

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 3
Posted

@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
Posted

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 :)

Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...