Jump to content
  • 0
aspd197

How to add more shop in quest_shop.txt

Question

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

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.