Yeehaaaa...!!!!... i was having a school short semester break right now.....xD
Previously,...my laptop was damaged....so not much stuffs has been done ...>.< anyway.....during my break time....i was still able to fix some script of mine...using my old test server... ( eAthena Beginner v4 ) LOL.....>.<
so here is the good news...xD
[ Update ] : Modified Multi Currency Shop Script :
Description :
It is a Simple Shop take use Item Currency to Buy items. It Support Multiple Shop in 1 NPC. This Script is based on the Idea of those other TCG / POD / etc Shop that users keep requesting.
The only different is, this Script only use 1 NPC + 1 Shop ( Invinsible ) NPC to settle all your Problems.
Of Course, that this script can fulfill certain User Request like ,
You can add around ~128 Shop in this NPC. Add the Shop Selection at the Menu / New Cases for each of it.
but i think the limit for a Shop Window is just around 100 normally...
Simple Explaination :
A Script that allow setup several Shop that using Different Items as Currency to buy Items for the Corresponding Shop...
Possible Currency...
Item ID ( TCG , Proof Of Donation , etc... )
Variable ( Zeny , #CASHPOINTS , CustomPoints , etc... )
Script Configurations
you only need to edit this part...the rest....left it alone if you dont know what it does...
switch( getarg(0) ){
Case 1:
// Currency [ Item ID / Variable Name ]
set @Currency$,"7227";
// Item ID Lists
setarray @ItemLists[0],2301,2302,2303,2304,2305,2306;
// Item Price
setarray @ItemCost[0],1,2,3,4,5,6;
break;
Case 2:
// Currency [ Item ID / Variable Name ]
set @Currency$,"Zeny";
// Item ID Lists
setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
// Item Price
setarray @ItemCost[0],2,2,3,4,5,6;
break;
Case 3:
// Currency [ Item ID / Variable Name ]
set @Currency$,"#CASHPOINTS";
// Item ID Lists
setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
// Item Price
setarray @ItemCost[0],20,22,34,445,52,641;
break;
// Case 4,5,6.....etc...
default:
ErrorNotice( "Invalid Menu Selection for Menu "+@menu+"." );
close;
}
the Item Listing and Pricing...as usual...do the same...just list down the itemID and price for each of them...
however....the new updated things in Version 5 - Currency Settings...
and i also added some error message for making debug problem easier whenever there is misconfiguration in the settings...
bug that listed before..should be able to fixed right now..
Possible Currency...
Item ID ( TCG , Proof Of Donation , etc... )
Variable ( Zeny , #CASHPOINTS , CustomPoints , etc... )
Example :
// Use Variable as Currency
set @Currency$,"Zeny"; - Use Zeny
set @Currency$,"#CASHPOINTS"; - Use CashPoints
set @Currency$,"#KAFRAPOINTS"; - Use KafraPoints
// Use Item as Currency
set @Currency$,"7539"; - Use Poring Coin
set @Currency$,"909"; - Use Jellopy
set @Currency$,"607"; - Use Yggdrasilberry
but no matter the currency is Number or Name of variable....you have to write it within the ( " " ) Quotation marks....
Multi Currency Shop [ Version 5 ]
Changelog :
Scripts : View ♥ Download
Please let me know if there is any problems. As well as any Suggestion to Improve it.