Jump to content
  • 0

diff regarding complicated NPC (allow @reloadnpc)


Gidz Cross

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

Can i request a diff for us to allow the use of @reloadnpc to complicated NPC's such as Euphy Quest shop? Thanks!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

move the dummy shop to upper part of the script, with that @reloadnpcfile can be used freely

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

21 hours ago, Litro Endemic said:

move the dummy shop to upper part of the script, with that @reloadnpcfile can be used freely

Thank you so much for the reply. Which line should i move it? Thanks!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

17 hours ago, Gidz Cross said:

Thank you so much for the reply. Which line should i move it? Thanks!

the dummy shops in the bottom parts of script, move it to first line...

// Dummy shop data -- copy as needed.
//============================================================
-	shop	qshop1	-1,909:-1
-	shop	qshop2	-1,909:-1
-	shop	qshop3	-1,909:-1
-	shop	qshop4	-1,909:-1
-	shop	qshop5	-1,909:-1

I suppose you have faced with the situation where when you reloadnpcfile the shop is only have jellopy in it?, that because reloadscript and reloadnpcfile is different, reloadnpcfile, is applying script from start to end, reloadscript is from end to start (I think I have seen annieruru or someone else said this somewhere), so with reloadscript the dummy shops have been there for core quest shop script to manage the shop entry, but not the case with reloadnpcfile, the shop is not there in server memory yet because it was unloaded, this is under my assumption of how the src code do it work wit (re)load-ing the script and what I have tried and it worked for me.

Edited by Litro Endemic
wrong item name
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

23 hours ago, Litro Endemic said:

the dummy shops in the bottom parts of script, move it to first line...

// Dummy shop data -- copy as needed.
//============================================================
-	shop	qshop1	-1,909:-1
-	shop	qshop2	-1,909:-1
-	shop	qshop3	-1,909:-1
-	shop	qshop4	-1,909:-1
-	shop	qshop5	-1,909:-1

I suppose you have faced with the situation where when you reloadnpcfile the shop is only have jellopy in it?, that because reloadscript and reloadnpcfile is different, reloadnpcfile, is applying script from start to end, reloadscript is from end to start (I think I have seen annieruru or someone else said this somewhere), so with reloadscript the dummy shops have been there for core quest shop script to manage the shop entry, but not the case with reloadnpcfile, the shop is not there in server memory yet because it was unloaded, this is under my assumption of how the src code do it work wit (re)load-ing the script and what I have tried and it worked for me.

Makes a lot of sense. Thank you so much for the enlightenment.

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