devilman Posted November 12, 2021 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
Mael Posted November 12, 2021 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
devilman Posted November 12, 2021 Author Posted November 12, 2021 Oh thanks and which do you suggest is better? Quote
Mael Posted November 12, 2021 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
WhiteEagle Posted November 13, 2021 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; 2 Quote
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.