realRO Posted December 10, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Share Posted December 10, 2016 Hi guys. Requesting an NPC Kafra Cashpoints converter to Cashpoints. Example 10 or 50 #KAFRAPOINTS ( amount can be changed anytime) can be convert to cashpoints #CASHPOINTS ( amount can be exchanged anytime) thanks in advance! Quote Link to comment Share on other sites More sharing options...
-1 Emistry Posted December 11, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 11, 2016 (edited) prontera,155,181,5 script Sample 4_F_KAFRA1,{ mes "Change Kafra Point to Cash Point?"; input .@amount,0,#KAFRAPOINTS; .@amount = ( .@amount / 100 ); if ( .@amount ) { #KAFRAPOINTS -= ( .@amount * 100 ); #CASHPOINTS += .@amount; } mes "Exchanged "+( .@amount * 100 )+" Kafra Point to "+.@amount+" Cash Point."; close; } Edited December 20, 2016 by Emistry added images. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 11, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 11, 2016 prontera,155,181,5 script Sample 4_F_KAFRA1,{ mes "Change Kafra Point to Cash Point?"; input .@amount,0,#KAFRAPOINTS; if ( .@amount ) { #KAFRAPOINTS -= .@amount; #CASHPOINTS += .@amount; } mes "Exchanged "+.@amount+" Kafra Point to Cash Point."; close; } try this. Quote Link to comment Share on other sites More sharing options...
0 realRO Posted December 11, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted December 11, 2016 @Emistrywhere should I put the "changing" amount for kafra points and cashpoints? Thank you! Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 11, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 11, 2016 14 minutes ago, realRO said: @Emistrywhere should I put the "changing" amount for kafra points and cashpoints? Thank you! #KAFRAPOINTS -= .@amount; #CASHPOINTS += .@amount; Quote Link to comment Share on other sites More sharing options...
0 realRO Posted December 11, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted December 11, 2016 1 minute ago, Emistry said: So it should be like this? Quote #KAFRAPOINTS -= .@amount,100 ; #CASHPOINTS += .@amount,1 ; Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 11, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 11, 2016 if you're asking for guide to convert to eAthena emulators...read this Quote Link to comment Share on other sites More sharing options...
0 realRO Posted December 11, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted December 11, 2016 @Emistry no sir, I'm sorry. I'm using rAthena. I was just wondering on where to put the Kafra Points amount. I'm very noob. I think the script is 1 is to 1 exchanger? Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 11, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted December 11, 2016 11 minutes ago, realRO said: I think the script is 1 is to 1 exchanger? yes 11 minutes ago, realRO said: where to put the Kafra Points amount you put the amount of kafra point in-game when your char talk to NPC. Quote Link to comment Share on other sites More sharing options...
0 realRO Posted December 11, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted December 11, 2016 @Emistry sir. Iwas looking if you I can change it to 100 kafrapoints = 1 cash point @Emistry wow, I see you need to put a () bracket and * is multiply. I learned something today. Thank you so much for replying my thread. Quote Link to comment Share on other sites More sharing options...
0 realRO Posted December 17, 2016 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 12/24/13 Last Seen: June 13, 2017 Author Share Posted December 17, 2016 (edited) @Emistry yo emistry, itried it and I have 1000kafrapoints. I exchaged it and input 100 Kafrapoint, all my kafrapoints where removed. Edited December 17, 2016 by realRO Quote Link to comment Share on other sites More sharing options...
Question
realRO
Hi guys. Requesting an NPC Kafra Cashpoints converter to Cashpoints.
Example 10 or 50 #KAFRAPOINTS ( amount can be changed anytime) can be convert to cashpoints #CASHPOINTS ( amount can be exchanged anytime)
thanks in advance!
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.