Non-SQL server database
Posted: Thu Sep 12, 2019 12:58 pm
I cannot seem to find any good server databases for use with love2d that do not require external components (like sql servers, etc).
I tried to setup FlatDB, but I'd have to rewrite the whole thing because it uses io.open/io.write. I tried switching the basics checks to love.filesystem checks and got it to see the directory in .local/share/love (im on linux), but that's as far as I can get.
Im building a multiplayer rpg (could be mmo, highly doubt it would get to that nor do i care) and I've already laid out how the game will function, so now I need to back to the foundation to make it multiplayer.
I am making a client with Single Player/Server/Multiplayer capabilities, and also a standalone server, similar to how minecraft works. I'm working on the server now. I'm using bitser for serialization and I have communication setup between a client and server. I just need to choose a database.
One concern I do have is amount of writes being done to a disk from the server. Should I setup a save interval every 5 minutes or so?
The database just needs to save tables/variables. Nothing special, no functions, etc.
I also have no experience with network security. I've read I need a salt and hash on user passwords but I have no clue how to do this. I could probably easily do a sha256 on the password before it's sent, but I'm worried about security because the game is open source. This is secondary atm after database, so I'll read up on this further but help in this area also would be great.
Thanks
I tried to setup FlatDB, but I'd have to rewrite the whole thing because it uses io.open/io.write. I tried switching the basics checks to love.filesystem checks and got it to see the directory in .local/share/love (im on linux), but that's as far as I can get.
Im building a multiplayer rpg (could be mmo, highly doubt it would get to that nor do i care) and I've already laid out how the game will function, so now I need to back to the foundation to make it multiplayer.
I am making a client with Single Player/Server/Multiplayer capabilities, and also a standalone server, similar to how minecraft works. I'm working on the server now. I'm using bitser for serialization and I have communication setup between a client and server. I just need to choose a database.
One concern I do have is amount of writes being done to a disk from the server. Should I setup a save interval every 5 minutes or so?
The database just needs to save tables/variables. Nothing special, no functions, etc.
I also have no experience with network security. I've read I need a salt and hash on user passwords but I have no clue how to do this. I could probably easily do a sha256 on the password before it's sent, but I'm worried about security because the game is open source. This is secondary atm after database, so I'll read up on this further but help in this area also would be great.
Thanks