Jump to content

Utility: Multi Currency Shop


Emistry

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

File Name: Multi Currency Shop

File Submitter: Emistry

File Submitted: 29 Jul 2012

File Category: Utilities

Content Author: Emistry

This is a Shop that Allow Players to buy Items using Different type of Currency.

The Currency used can be Items , Zeny , Cash , CustomVariable.

https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/

Topic Detail :

http://rathena.org/b..._120#entry92489


Click here to download this file

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Thank you sir Emistry :)

But how do you allow to buy something like a package..

For example..

You'll get 10red potion and 10 white potion for 1 jellopy..

How do I make 2 or more items to be bought just by dealing one? xD

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

my script doesnt support multiple items as requirements......

use Euphy Script's......

i create this script just allow player to buy item using different currency

a shop that sell item without using any Zeny...

but not as a "Quest" based shop....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

I mean is.. multiple items as reward.. is that possible in your script?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

it is possible...but i didnt make it as multiple reward ....

it is just a 1-to-1 exchange.....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Could you make one? :D or should I post at script requests?

Same script as yours..

Choose Currency..

Then multiple rewards or single reward :)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

post at script request section...

didnt think to make / edit the current 1...

beside, busy with school events...not much time to make it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Okay sir

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   2
  • Joined:  09/11/12
  • Last Seen:  

Quick question Emistry:

When I buy 2 or more items in bulk and I get asked to confirm by pressing "ENTER" to hit the "OK" button, it doesn't work, I assume due to "break;" instead of "close2;", however when I add "close2;" after:

function ShopSettings {

switch( getarg(0) ){

Case 1: //== Basic Tools:

//== Currency: [Choose either Item Identification and or Variable Name compatible.]

set @Currency$,"Zeny";

//== Basic Tools Shop: [input Item Identification below:]

setarray @ItemLists[0],1065,601,602,717,1750,1752,1751,7709,506,501,502,503,504,645,656,657,611,610;

//== Shop Item Price: [input Items Zeny Price below:]

setarray @ItemCost[0],100,60,300,600,1,3,3,350,40,50,200,550,1200,800,1500,3000,40,4000;

close2;

The shop opens, however when I select buy, the items do not go into my inventory.

P.S: The whole point is, it gets annoying when you can't press ENTER to buy the multiple items.

And, would it be possible to add a "Sell Menu" integrated using the 'function' command, a shop that just BUYS items directly, just like a regular shop?

Cheers.

Edited by Babylonian
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

why are you adding a "close2" at there script ???? it just simply break the script .....

i was able to purchase 50x Yggdrasilberry at once..

49Pj7.pngAWtjU.png

I was able to purchase more than 1 type of items at once..

HgZbp.png5K3Z9.png

make sure you are alway using the latest updated script......

And about this

And, would it be possible to add a "Sell Menu" integrated using the 'function' command, a shop that just BUYS items directly, just like a regular shop?

if you want to make suggestion...make sure you clarify what's its and what it does...elaborate it...

Link to comment
Share on other sites

  • 4 years later...
  • 4 months later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   1
  • Joined:  05/21/17
  • Last Seen:  

On 7/29/2012 at 5:09 AM, Emistry said:

File Name: Multi Currency Shop

File Submitter: Emistry

File Submitted: 29 Jul 2012

File Category: Utilities

Content Author: Emistry

This is a Shop that Allow Players to buy Items using Different type of Currency.

The Currency used can be Items , Zeny , Cash , CustomVariable.

 

https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/

Topic Detail :

http://rathena.org/b..._120#entry92489

 


Click here to download this file

how to change to credits ?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   5
  • Joined:  03/09/17
  • Last Seen:  

how can i remove menu selection?

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  06/23/18
  • Last Seen:  

bug on merchant class using discount skill

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

×
×
  • Create New...