devilman Posted November 12, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 09/11/20 Last Seen: June 3 Share Posted November 12, 2021 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) Quote Link to comment Share on other sites More sharing options...
Mael Posted November 12, 2021 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 832 Reputation: 317 Joined: 02/11/19 Last Seen: 9 hours ago Share Posted November 12, 2021 (edited) 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 November 12, 2021 by Mael more info Quote Link to comment Share on other sites More sharing options...
devilman Posted November 12, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 09/11/20 Last Seen: June 3 Author Share Posted November 12, 2021 Oh thanks and which do you suggest is better? Quote Link to comment Share on other sites More sharing options...
Mael Posted November 12, 2021 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 832 Reputation: 317 Joined: 02/11/19 Last Seen: 9 hours ago Share Posted November 12, 2021 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/ Quote Link to comment Share on other sites More sharing options...
devilman Posted November 12, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 09/11/20 Last Seen: June 3 Author Share Posted November 12, 2021 Thanks good sir Quote Link to comment Share on other sites More sharing options...
WhiteEagle Posted November 13, 2021 Group: Members Topic Count: 78 Topics Per Day: 0.02 Content Count: 473 Reputation: 64 Joined: 08/28/12 Last Seen: 7 hours ago Share Posted November 13, 2021 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; 1 Quote Link to comment Share on other sites More sharing options...
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.