Jump to content
  • 0

How to add more shop in quest_shop.txt


aspd197

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  05/02/18
  • Last Seen:  

Hello,
I would like to know about how to add more shop in quest_shop.txt.

What I've tried to do is:
- adding more dummy shop.
- adding more "getarg(x)" in Function Add.

The result:
- Separated Shop NPC appeared in my desired location, but the items doesn't appear.
- Already tried to input "@reloadscript" and restarting server, but items still doesn't appear.

Can somebody please help me with the script below?

Thanks!

quest_shop.txt

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

setarray .Shops$[1],"Costumes","Equipments","Accessory","etc";

Where are the names of shops 5, 6, 7 ?

Edited by Capuche
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  05/02/18
  • Last Seen:  

32 minutes ago, Capuche said:

setarray .Shops$[1],"Costumes","Equipments","Accessory","etc";

Where are the names of shops 5, 6, 7 ?

ah yeah,
I already tried that too, @Capuche..
All NPC appear, but the Jellopy appear in shop instead of the desired items.

Should I edit another function too?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  05/02/18
  • Last Seen:  

Hello @Capuche,
It seems like I modify some numbers in Function that causing this errors.
And yeah,
after I double-checked my folders, it turns out that I forgot to put the modified .txt with the additional shop names, sorry! ?

It is now fixed after I do something like this:
- Copy script from here.
- Add more shops as I desired (I copy paste the shop from my modified  txt).
- Add more dummy shops in the end of the script (I don't know what's the maximum shop amount, but I add dummy up to qshop10).
- After that, I didn't edit any functions.

I restart my server and it is now fixed.

Thank you!

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