Points to Item Exchanger

Mumbles

Former Global Moderator
Messages
618
Points
0
Location
California
Discord
Mumbles#0001
Github
datmumbles
Last edited by a moderator:
thank you sir mumbles! it helps alot! thank you sir!
default_smile.png


 
last question sir!
default_smile.png
do you have a script that converting zeny to 3 different coins?
default_smile.png


 
Hello Mumbles any chance you can change how many cashpoints you can trade?  like 10 cashpoints = 1 POD

 
@Mumbles another favor bro PLEASE? incase if you are not busy, i just need a small assistance on this script.
I'm really bad at conversion.

What i want is. Every 1 x .pod_id = 10 .points_var$ = "#CASHPOINTS";
Vice-Versa.

If you have 2 x .pod_id = 20 points (.point_var$)
https://raw.githubusercontent.com/datmumbles/Scripts/master/util/points2item.txt
 
If you want to change the rate of points per PoD, just change:

.rate = 20;


to your desired rate, in which case would be:

.rate = 10;


 It is located on Line 129, under the Configuration heading.

 
If you want to change the rate of points per PoD, just change:

.rate = 20;

.rate = 20;


to your desired rate, in which case would be:

.rate = 10;

.rate = 10;


 It is located on Line 129, under the Configuration heading.
I tried this method before but it doesn't work. if you know what i mean......
Again,

I want to exchange the 1 Coin it's going to be 10 .points_var$
A. if i change 2 coins to points = 20 .points_var$
B. if i want to change exchange my 20 points to coin is going to be 2pcs Coin

 
I tried this method before but it doesn't work. if you know what i mean......
Again,

I want to exchange the 1 Coin it's going to be 10 .points_var$
A. if i change 2 coins to points = 20 .points_var$
B. if i want to change exchange my 20 points to coin is going to be 2pcs Coin
I wrote this script many years ago in response to a request, and it doesn't look like I designed it to be reconfigurable in that direction in a user-friendly manner. Some operations needed to be flipped around for the requested effect. You can view the diff for that here: https://www.diffchecker.com/PlW5DQYU/

I have uploaded an alternate version of this script that converts points to items, 10:1. You can download it here: https://github.com/datmumbles/Scripts/blob/master/util/points2item_v1.0a.txt

Now you should be able to change the value of .rate and it will convert the way you wanted.

I also realize @XtriC asked for this particular function many years ago, and I hadn't realized it wasn't going to do what he asked. Four years late, but this is the solution lol

 
Back
Top