Posts: 302
Threads: 56
Joined: Oct 2014
Reputation:
0
I was told before that Y_INI and Sqlite are a bad thing to mix, I didn't think it would make much difference, so I removed Sqlite from my script, but now I find it is better to ban a player using the Sqlite then it is using Y_INI, but I save my players in Y_INI. I needed to know if it would effect the script if I mixed them together, as it's easier to ban using Sqlite then it is in Y_INI, but I find it hard to write a saving accounts system in Sqlite, so I have stuck with Y_INI. Please could you tell me if it will effect the script or not!
Thank you.
Posts: 1,206
Threads: 39
Joined: Feb 2014
Reputation:
0
My ban system goes like this:
-A new userfile is being created in a separate folder exactly like how the regular userfile is created.
-I hold in that file: Who banned them, why they got banned and their IP.
-Whenever the player connects, I check if the file exists or not. If it does: I load the information inside it and show him a dialog with that information.
To unban you just remove the file of that player.
Posts: 302
Threads: 56
Joined: Oct 2014
Reputation:
0
And this is using Y_INI? It sounds good, I was thinking of something like this, so it bans their IP and Accounts plus shows the reason.
Posts: 302
Threads: 56
Joined: Oct 2014
Reputation:
0
I can't write with Sqlite, I find it really hard, but I have a back up of my old banning system, but I will try what you've said, I will make it so it bans the accounts plus IP, hope it works out fine! Thanks for replying anyway! Enjoy the holidays!
Posts: 124
Threads: 7
Joined: Oct 2014
Go for mysql both y INI and sqlite suck