Dissidia Posted September 7, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted September 7, 2017 A script that can clean never logged in account? Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted September 7, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 7 hours ago Share Posted September 7, 2017 (edited) A Simple SQL Query Will Do for deleting an account that hasnt been log in yet DELETE FROM `login` WHERE `logincount` = 0; Edited September 7, 2017 by crazyarashi Quote Link to comment Share on other sites More sharing options...
1 Chaos92 Posted September 7, 2017 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share Posted September 7, 2017 DELETE FROM loginWHERE logincount=0; But I didnt recommend you delete any accounts Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted September 7, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Yesterday at 07:50 PM Share Posted September 7, 2017 7 minutes ago, Chaos92 said: DELETE FROM loginWHERE logincount=0; But I didnt recommend you delete any accounts there is no problem deleting accounts that didn't login even once no char or items connected to the account Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted September 7, 2017 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share Posted September 7, 2017 1 minute ago, sader1992 said: there is no problem deleting accounts that didn't login even once no char or items connected to the account login from fluxcp does it count ? if any account related database for example voteforpoints, freebies, or any other fluxcp addon? Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted September 7, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: Yesterday at 07:50 PM Share Posted September 7, 2017 1 minute ago, Chaos92 said: login from fluxcp does it count ? if any account related database for example voteforpoints, freebies, or any other fluxcp addon? i am not good in web development but let's say it's true he can also delete all the variables for that account too and also flux wont give the account id to a new account it <<(i don't know what but that tested in every server i made[not sure if flux side or rathena side]) so even if he didn't delete the variables no one will get them if they made new account cuz they can't get the same id (unless it added in the database manualy) Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted September 7, 2017 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share Posted September 7, 2017 Just now, sader1992 said: i am not good in web development but let's say it's true he can also delete all the variables for that account too and also flux wont give the account id to a new account it <<(i don't know what but that tested in every server i made[not sure if flux side or rathena side]) so even if he didn't delete the variables no one will get them if they made new account cuz they can't get the same id (unless it added in the database manualy) yeah its true.. but u will have redundancy of data if u didnt check thoroughly for any other related data to login table. for sure it should work im just saying, I didnt recommended that. Quote Link to comment Share on other sites More sharing options...
0 Dissidia Posted September 7, 2017 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 7, 2017 Thank you guys, I'll try it. I will also look for the flux that needs to delete. Quote Link to comment Share on other sites More sharing options...
Question
Dissidia
A script that can clean never logged in account?
Link to comment
Share on other sites
7 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.