Jump to content

How can I configure that the donations of the Oboro control panel, go to game cashpoints automatically?


devilman

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

I have the attention of other developers helping me to do this, but my server is Pre-Renewal and it also makes changes to the Element database, making a Renewal Server. but I really need to know how to do this because it is possible, that I just want to do it without changing my database.

(Pd: sorry for my English is not my native language)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

6 minutes ago, devilman said:

I have the attention of other developers helping me to do this, but my server is Pre-Renewal and it also makes changes to the Element database, making a Renewal Server. but I really need to know how to do this because it is possible, that I just want to do it without changing my database.

(Pd: sorry for my English is not my native language)

Find a new one and burn it. That CP does not receive updates.

Edited by Mael
more info
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

Oh thanks and which do you suggest is better? 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

29 minutes ago, devilman said:

Oh thanks and which do you suggest is better? 

https://github.com/rathena/FluxCP/commits/master

You can find many themes in the download section or you can also hire someone to design something for you here: https://rathena.org/board/thirdpartyservices/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/11/20
  • Last Seen:  

Thanks good sir

Link to comment
Share on other sites


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

Why don't use the OnPCLoginEvent?

Like:
 

-    script    DonateExchange    FAKE_NPC,{
    end;
OnPCLoginEvent:
    set @dCreds,query_sql("SELECT `balance` FROM cp_credits WHERE `account_id` = "+getcharid(3)+";",.@dCreds);
    if(!.@dCreds) {
        end;
    }
    set #CASHPOINTS,#CASHPOINTS+.@dCreds;
    .@dCreds = 0;
    query_sql("UPDATE `cp_credits` SET `balance` = "+.@dCreds+" WHERE account_id = "+getcharid(3)+";");
    dispbottom "Credis were converted into Cashpoints ["+ #CASHPOINTS +"].";
    end;

 

  • Love 1
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
Reply to this topic...

×   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...