Liberty Unleashed

Off Topic => General Chat => Topic started by: IdkanYavuk X on January 16, 2013, 03:19:59 am

Title: I need a Program
Post by: IdkanYavuk X on January 16, 2013, 03:19:59 am
I need a program that copies the saved data (hashes, player passwords, etc) between two different servers, so the data can be accessed by both of them. So if anyone knows how to download it, or how to make one, it will be appreciated

Thank you in advance
Title: Re: I need a Program
Post by: Romop5 on January 17, 2013, 04:53:00 pm
The simpliest way is create one database and use it on 2 server :) Or if that servers are at same PC, you can write .bat or .sh script which would copy the newest thing on server to each other (but this is quite HARD).
Title: Re: I need a Program
Post by: Thijn on January 17, 2013, 05:16:18 pm
If you're running linux you can symlink the databases of both servers to one central place.
You could also use MySQL, and use the same server and username/password.
Title: Re: I need a Program
Post by: SugarD on January 19, 2013, 12:18:03 am
You could also use MySQL, and use the same server and username/password.
This would probably be the best method.
Title: Re: I need a Program
Post by: IdkanYavuk X on January 19, 2013, 12:35:56 am
You could also use MySQL, and use the same server and username/password.
This would probably be the best method.

Thank you! but I need more shared data, not only passwords, do I use it anyway?
Title: Re: I need a Program
Post by: SugarD on January 19, 2013, 12:37:50 am
You could also use MySQL, and use the same server and username/password.
This would probably be the best method.

Thank you! but I need more shared data, not only passwords, do I use it anyway?
If you move all your shared information into a MySQL database, you could reference it that way, yes.
Title: Re: I need a Program
Post by: IdkanYavuk X on January 19, 2013, 06:25:31 am
You could also use MySQL, and use the same server and username/password.
This would probably be the best method.

Thank you! but I need more shared data, not only passwords, do I use it anyway?
If you move all your shared information into a MySQL database, you could reference it that way, yes.

Well MySQL is an unexplored area for me... anyone who can guide me?
Title: Re: I need a Program
Post by: Thijn on January 21, 2013, 12:17:01 pm
First of all you need an mysql server.
If you have your own VPS, just google your OS and mysql and it should give you plenty of guides.

Then you need the MySQL Module (http://forum.liberty-unleashed.co.uk/index.php?topic=917.0)
Load that module, and check the wiki for the commands you can use.
MySQL uses SQL, the same language that you use to query Sqlite with.

Good luck :P