Guest Posted January 7, 2017 File Name: FluxCP Credits for In-Game Shop File Submitter: Normynator File Submitted: 07 Jan 2017 File Category: Plugins Plugin for using credits from FluxCP donations in your in-game shop. How to install? https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager Click here to download this file Quote Share this post Link to post Share on other sites
Aeromesi 180 Posted January 7, 2017 I think I saw this being made on an archived http://www.upaste.me link or am I wrong? Quote Share this post Link to post Share on other sites
Guest Posted January 7, 2017 I think I saw this being made on an archived http://www.upaste.me link or am I wrong? If so, not by me. I made it last week because i needed it for my server and couldnt find any solution to this particular problem. Btw ty for approving my file. Quote Share this post Link to post Share on other sites
Aeromesi 180 Posted January 7, 2017 You never decided to share the code? I know I saw some kind of file somewhere that I knew right away it was for FluxCP and had your name all over it. xDNo problemo's! Quote Share this post Link to post Share on other sites
Guest Posted January 7, 2017 (edited) You never decided to share the code? I know I saw some kind of file somewhere that I knew right away it was for FluxCP and had your name all over it. xD No problemo's! Where and when have you seen it? I cant remember, this one is a fresh project from last week EDIT: I guess i know why, check your private messages pls Edited January 7, 2017 by Guest Quote Share this post Link to post Share on other sites
Tidus 3 Posted January 8, 2017 (edited) Aeromesi must have seen my script, I made an NPC to convert the credits a few years ago. Download: http://forum.brathena.org/index.php/files/file/3230-resources-fluxcp-bra/ // _______________________________________________________ // / \ // | _ _ _ _ | // | | |__ _ __ / \ | |_| |__ ___ _ __ __ _ | // | | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | | // | | |_) | | / ___ \ |_| | | | __/ | | | (_| | | // | |_.__/|_|/_/ \_\__|_| |_|\___|_| |_|\__,_| | // | | // | brAthena Script | // |-------------------------------------------------------| // | Nome do Script: Conversor de Créditos | // |-------------------------------------------------------| // | Criado por: Tidus | // |-------------------------------------------------------| // | Versões: rA/brA 2015 ~ | // |-------------------------------------------------------| // | Descrição: Script para converter créditos do paypal em| // | cashpoints automaticamente. | // \_______________________________________________________/ - script RetornoPaypal -1,{ OnPCLoginEvent: query_sql "SELECT `balance` FROM `cp_credits` WHERE `account_id` = '"+getcharid(3)+"'",.@balance; if(.@balance > 0){ set #CASHPOINTS,#CASHPOINTS+.@balance; dispbottom "ROPs Creditados"; query_sql "UPDATE `cp_credits` set `balance` = '0' WHERE `account_id` = '"+getcharid(3)+"'"; end; } end; } It's a very simple npc, so hopefully it's just a coincidence. Nice Work. Edited January 8, 2017 by Tidus Quote Share this post Link to post Share on other sites
Guest Posted January 8, 2017 Aeromesi must have seen my script, I made an NPC to convert the credits a few years ago. Download: http://forum.brathena.org/index.php/files/file/3230-resources-fluxcp-bra/ // _______________________________________________________ // / \ // | _ _ _ _ | // | | |__ _ __ / \ | |_| |__ ___ _ __ __ _ | // | | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | | // | | |_) | | / ___ \ |_| | | | __/ | | | (_| | | // | |_.__/|_|/_/ \_\__|_| |_|\___|_| |_|\__,_| | // | | // | brAthena Script | // |-------------------------------------------------------| // | Nome do Script: Conversor de Créditos | // |-------------------------------------------------------| // | Criado por: Tidus | // |-------------------------------------------------------| // | Versões: rA/brA 2015 ~ | // |-------------------------------------------------------| // | Descrição: Script para converter créditos do paypal em| // | cashpoints automaticamente. | // \_______________________________________________________/ - script RetornoPaypal -1,{ OnPCLoginEvent: query_sql "SELECT `balance` FROM `cp_credits` WHERE `account_id` = '"+getcharid(3)+"'",.@balance; if(.@balance > 0){ set #CASHPOINTS,#CASHPOINTS+.@balance; dispbottom "ROPs Creditados"; query_sql "UPDATE `cp_credits` set `balance` = '0' WHERE `account_id` = '"+getcharid(3)+"'"; end; } end; } It's a very simple npc, so hopefully it's just a coincidence. Nice Work. I wrote that kind of script too, but the problem was i wanted to display the same amount in ingame shop and fluxcp. But well yeah, script is always a good way too. Quote Share this post Link to post Share on other sites
jupeto 3 Posted April 14, 2017 (edited) Sorry to bump this but using #CASHPOINTS doesn't affect the credits in FluxCP Edited April 14, 2017 by jupeto Quote Share this post Link to post Share on other sites
Guest Posted April 19, 2017 Sorry to bump this but using #CASHPOINTS doesn't affect the credits in FluxCP In which scenario? What are you trying to do? Are there errors? Quote Share this post Link to post Share on other sites
jupeto 3 Posted April 19, 2017 from an NPC script I have a command that gives cashpoint to a user using #CASHPOINTS += 100; the player's cashpoint increments as seen in the cash shop, but never in Flux credit points Quote Share this post Link to post Share on other sites
Guest Posted April 20, 2017 That is not supported. The plugin is just for unmodified InGame-Shops. Quote Share this post Link to post Share on other sites