Jump to content
  • 0

Ingame Cashshop


WhiteEagle

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   5
  • Joined:  12/05/12
  • Last Seen:  

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 by Netsrot
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  77
  • Reputation:   5
  • Joined:  12/05/12
  • Last Seen:  

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 ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Yea.. A NPC Point-Trader or couple with OnPcLoginEvent was my last suggestion. T_T

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...