orange 4 Posted February 10, 2014 [*]1st, getting this together has only been possible thanks to Yommy [*]2nd, really, without Yommy's help this wouldn't have worked [*]3rd, did I already mention Yommy made this possible? i guess we cant do without yommy Quote Share this post Link to post Share on other sites
arisgamers 6 Posted May 14, 2014 you can give yourself and players cash points using @cash command how to use @cash command ? Quote Share this post Link to post Share on other sites
arisgamers 6 Posted May 14, 2014 #KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database. greetings Tepoo i can not found global_reg_value table in my database. i found : 1. global_acc_reg_num_db and 2. global_acc_reg_str_db which one is the correct one ? Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted May 14, 2014 #KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database. greetings Tepoo i can not found global_reg_value table in my database. i found : 1. global_acc_reg_num_db and 2. global_acc_reg_str_db which one is the correct one ? its not from both of them Those #CASHPOINTS and #KAFRAPOINTS variables are stored in acc_reg_num_db Quote Share this post Link to post Share on other sites
arisgamers 6 Posted May 14, 2014 #KAFRAPOINTS and #CASHPOINTS in the global_reg_value table of your database. greetings Tepoo i can not found global_reg_value table in my database. i found : 1. global_acc_reg_num_db and 2. global_acc_reg_str_db which one is the correct one ? its not from both of them Those #CASHPOINTS and #KAFRAPOINTS variables are stored in acc_reg_num_db mine is empty Quote Share this post Link to post Share on other sites
jaBote 438 Posted May 14, 2014 When a value is zero, the variable is destroyed server-side. If you want to add a variable to an account, just insert a row. Just remember: account_id is the account ID of the player you want to give points to; key is the variable name (DO NOT FORGET ABOUT THE '#'!), in this case #KAFRAPOINTS or #CASHPOINTS; index is the index of the var. Leave to 0 by default since if you use any other, you should access to #var[index]; value is obvious, don't you think? Quote Share this post Link to post Share on other sites
arisgamers 6 Posted May 14, 2014 When a value is zero, the variable is destroyed server-side. If you want to add a variable to an account, just insert a row. Just remember: account_id is the account ID of the player you want to give points to; key is the variable name (DO NOT FORGET ABOUT THE '#'!), in this case #KAFRAPOINTS or #CASHPOINTS; index is the index of the var. Leave to 0 by default since if you use any other, you should access to #var[index]; value is obvious, don't you think? Got it, thanks for the answer (to Dastgir & jaBote) I will try cash shop feature Quote Share this post Link to post Share on other sites
rans 7 Posted January 19, 2015 Hi Is there any way to adjust/ resize the cash shop window? Quote Share this post Link to post Share on other sites
xcethx 0 Posted June 30, 2015 (edited) Hello, Solved * Did something wrong. thank you Edited August 2, 2015 by xcethx Quote Share this post Link to post Share on other sites
HyperSonic2097 1 Posted September 9, 2017 Hi, just a little question... In cash shop there is 9 tabs, and in cashshop_db.conf 8 tabs. The tab "Special" is missing? And, there is any way to rename tabs and descriptions? Quote Share this post Link to post Share on other sites
elkun1510 0 Posted November 11, 2020 how to change cash shop banner and charge link:https://prnt.sc/vhfzt3 Quote Share this post Link to post Share on other sites
Ridley 295 Posted November 11, 2020 4 hours ago, elkun1510 said: how to change cash shop banner and charge link:https://prnt.sc/vhfzt3 \data\luafiles514\lua files\datainfo\tb_cashshop_banner.lub Quote Share this post Link to post Share on other sites
brunosc 2 Posted March 10, 2021 (edited) Good! Edited March 10, 2021 by brunosc Quote Share this post Link to post Share on other sites
torjackboi 0 Posted May 8, 2021 Hi, Im not sure if im on the right place im new in this forum i would like to know if this window can be removed from the cashshop npc when purchasing item prontera,121,104,3 script Test 4_F_KAFRA3,{ openshop("Scroll_Shop"); end; OnInit: waitingroom "Kafra Shop!",0; end; } - trader Scroll_Shop 1_M_01,{ OnInit: tradertype(NST_CUSTOM); sellitem Angel_Scroll,350; sellitem Angel_Spirit,350; end; OnCountFunds: setcurrency(#KAFRAPOINTS); end; OnPayFunds: if( #KAFRAPOINTS < @points ) end; #KAFRAPOINTS -= @price-@points; purchaseok(); close; } Thanks po Quote Share this post Link to post Share on other sites
hadiesyafiq 7 Posted August 25, 2021 hi all dev how to set my cash shop to use kafrapoints(@points) not use cashpoints(@cash) i already open db and cashshop_db.conf there no option to set default currency... i just need change currency from cashpoints to kafrapoints... what i ask is for cash shop not npc...npc i already know how to set the currency by using NST_CUSTOM thanks in advance... Quote Share this post Link to post Share on other sites