Jump to content
  • 0

Euphy's Quest Shop - Remove Category


SkyDragon

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

Hello,

I would like to know if there's a way to remove the categories from the Euphy's Quest Shop script (npc/custom/quests/quest_shop.txt). This way when the user clicks on the npc it will directly show the items available to "Purchase".

Thanks in advance.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.02
  • Content Count:  101
  • Reputation:   5
  • Joined:  12/04/16
  • Last Seen:  

8 minutes ago, Yoh Asakura said:

Hello,

I would like to know if there's a way to remove the categories from the Euphy's Quest Shop script (npc/custom/quests/quest_shop.txt). This way when the user clicks on the npc it will directly show the items available to "Purchase".

Thanks in advance.

prontera,164,203,6 script Quest Shop#1 998,{ callfunc "qshop"; }
prontera,165,203,6 script Quest Shop#2 998,{ callfunc "qshop",1,2; } // call the shop 1 and 2 defined below


prontera,165,203,6 script Quest Shop#2 998,{ callfunc "qshop",1; } // call the shop 1

prontera,165,203,6 script Quest Shop#2 998,{ callfunc "qshop",2; } // call the shop 2

 

  • Like 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

That was too easy. I feel embarrassed, haha.
Thank you @spawnn

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

@ update

solved, I just did not use the shops in the end, this way the items don't get duplicated.

 

@spawnn

Not sure why but it's showing duplicate of all items on each npc. The strange thing is that in my localhost is normal, but in the host server is duplicating all items, one normal and one item with discount price (for all characters classes).

 

I found out that loading the npc manually by using @loadnpc the items being sold in the shops do not get duplicated, but if I set the script to be loaded using script_custom.conf all the items on those shops get duplicated. In the map-server I get warnings saying that the items are being sold for free (but they are not since it's a quest shop), and if I set the price to 10 or some small amount it says Item xxx  [IDhere] discounted buying price (1->0) is less than overcharged selling price (5->6) in file 'npc/custom/quests/quest_shop.txt'

 

Is there an easy way to solve this or I will have to make Emistry Patch to disable discount on that map and items?

Edited by Yoh Asakura
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...