Leecher 1 Posted June 10, 2014 Hi, I am requesting a source diff compatible for herc.ws from this post: http://rathena.org/b...g-setcashpoints/ and the source http://code.google.c...hpointsv4b.diff Thanks! Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted June 10, 2014 Hi, I am requesting a source diff compatible for herc.ws from this post: http://rathena.org/b...g-setcashpoints/ and the source http://code.google.c...hpointsv4b.diff Thanks! hercules have its own trader shop, which works exactly the same as the one you posted Example: prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; //Format: (sellitem AegisNameOrID,Price,Quantity;), Quantity and Price Field is optional end;/* allows currency to be #CASHPOINTS and #KAFRAPOINTS */OnCountFunds: setcurrency(#CASHPOINTS,#KAFRAPOINTS); //Change to Other Variable end;/* receives @price (total cost) and @points (the secondary input field for cash windows) */OnPayFunds: dispbottom "Hi: price="+@price+" and points="+@points; if( #KAFRAPOINTS < @points || #CASHPOINTS < @price-@points ) end; #KAFRAPOINTS -= @points; #CASHPOINTS -= (@price-@points); purchaseok(); end;} Quote Share this post Link to post Share on other sites
0 Leecher 1 Posted June 10, 2014 Oh! I love you herc.ws! Thank you! Quote Share this post Link to post Share on other sites
Hi,
I am requesting a source diff compatible for herc.ws from this post: http://rathena.org/b...g-setcashpoints/ and the source http://code.google.c...hpointsv4b.diff
Thanks!
Share this post
Link to post
Share on other sites