WhiteEagle Posted February 10, 2014 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 2 hours ago Share Posted February 10, 2014 Hey guys, How can I change this, that can be used "credits" from the Flux-CP instead of #cashpoints? Quote Link to comment Share on other sites More sharing options...
Netsrot Posted February 10, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 77 Reputation: 5 Joined: 12/05/12 Last Seen: May 28, 2016 Share Posted February 10, 2014 (edited) Here is the npc-script. Its made from scratch and needs to be checked, maybe ^^ hmmm ??? Maybe Flux has that already implemented ??? ================ Update ==================== Just checked Flux for that, couldnt find any trace of #CASHPOINTS / #KAFRAPOINTS. Well you could write a php-script into flux/modules/donate/complete.php for example, but my experience shows in this case the NPC is faster and more save. Edited February 10, 2014 by Netsrot 1 Quote Link to comment Share on other sites More sharing options...
Netsrot Posted February 10, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 77 Reputation: 5 Joined: 12/05/12 Last Seen: May 28, 2016 Share Posted February 10, 2014 Moin Moin ^^ Flux uses the table cp_credits and there the field balance. With out a change to the source you need an NPC-Script to read `cp_credits`.`balance` and put it into #CASHPOINTS. It can be triggered with OnPCLoginEvent: I can try to do a script from scratch and post it, if you like ^^ Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted February 10, 2014 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 2 hours ago Author Share Posted February 10, 2014 Yea.. A NPC Point-Trader or couple with OnPcLoginEvent was my last suggestion. T_T Quote Link to comment Share on other sites More sharing options...
Question
WhiteEagle
Hey guys,
How can I change this, that can be used "credits" from the Flux-CP instead of #cashpoints?
Link to comment
Share on other sites
3 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.