Jump to content

Utility: Coin Exchanger


Emistry

Recommended Posts


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

File Name: Coin Exchanger

File Submitter: Emistry

File Submitted: 15 Feb 2013

File Category: Utilities

Content Author: Emistry

A NPC that enable players to change Zeny & Coins easily...

Available Exchange Options :

Zeny to CoinsCoins to Zeny

Configurations :

// server max zeny.max_zeny = 1000000000;// coin list + name + valuesetarray .coin_name$,"Silver","Gold","Mithril";setarray .coin_id,675,671,674;setarray .value,10000,1000000,100000000;

Credits : @AnnieRuru

Click here to download this file

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

can you add also sir tcg to coins, coins to tcg, and tcg to zeny vice versa

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   13
  • Joined:  11/14/11
  • Last Seen:  

At first i thought "You should use getitemname instead of the .coin_name$";

But then i saw the implode command;

And then i said "You sir have blown my mind".

 

Good script, though i miss the days where you used the for to set the menu.

You can still add the for on the OnInit: label, but still a pretty good script.

Link to comment
Share on other sites


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

@Miles

i didnt use that because i just provide an option for them to use their own custom name they want..

some ppl dont like the "original" name of item...and they prefer somekind of custom name for it..xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   13
  • Joined:  11/14/11
  • Last Seen:  

@Miles

i didnt use that because i just provide an option for them to use their own custom name they want..

some ppl dont like the "original" name of item...and they prefer somekind of custom name for it..xD

 

Well i never thought about that, and i like that. Since i have really never used the implode command, that's a nice example of it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@sir emistry, can u add coin to coin at this script ? 

example: 

user can input the value what he have 500 mithril coin,

1 mithril coin means (100m)

he want to convert to platinum. Platinum is (500m)

So when he put the input, the 500 mithril coin that he have auto convert, he will get 100 platinum coin.

Link to comment
Share on other sites


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

@mrlongshen

think think 1st ~

will update to it if i feel like wan to update it .. ..>.<

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

@mrlongshen

think think 1st ~

will update to it if i feel like wan to update it .. ..>.<

 

i hope u make it, EMISTRY THE BEST! Hehehehe xD

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

I found BIG problem here.. Hmmm..  The problem is.. When we exchange fo Coins.. Nothing problem.. But.. When we try to exchange coins into Zeny.. But when we enter "0" BAANGGG!!! map-server-sql will crash.. I tried few times to confirm and it is really this problem.. But it happen when we try to exchange coin into zeny and put 0 and enter.. Hope you can fix this bug.. Thanks...

Link to comment
Share on other sites


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

I found BIG problem here.. Hmmm..  The problem is.. When we exchange fo Coins.. Nothing problem.. But.. When we try to exchange coins into Zeny.. But when we enter "0" BAANGGG!!! map-server-sql will crash.. I tried few times to confirm and it is really this problem.. But it happen when we try to exchange coin into zeny and put 0 and enter.. Hope you can fix this bug.. Thanks...

thx..should be fixed now

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

I found BIG problem here.. Hmmm..  The problem is.. When we exchange fo Coins.. Nothing problem.. But.. When we try to exchange coins into Zeny.. But when we enter "0" BAANGGG!!! map-server-sql will crash.. I tried few times to confirm and it is really this problem.. But it happen when we try to exchange coin into zeny and put 0 and enter.. Hope you can fix this bug.. Thanks...

thx..should be fixed now

 

Yep.. im just test it and it fixed! Thanks.. But.. May i know why this happen?

 

screen_Milenia_Adventure106.jpg

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