Author Topic: I need a Program  (Read 2946 times)

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
I need a Program
« 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

Romop5

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +2/-1
  • A student of university and creator of LHMP.
    • View Profile
    • LHMP
Re: I need a Program
« Reply #1 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).

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +27/-17
    • View Profile
Re: I need a Program
« Reply #2 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.

SugarD

  • Argonath RPG Dev/Manager
  • Tester
  • Sr. Member
  • ****
  • Posts: 816
  • Karma: +37/-78
  • STOP IN THE NAME OF THE COLESLAW!
    • View Profile
    • Clan Xperience
Re: I need a Program
« Reply #3 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.

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: I need a Program
« Reply #4 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?

SugarD

  • Argonath RPG Dev/Manager
  • Tester
  • Sr. Member
  • ****
  • Posts: 816
  • Karma: +37/-78
  • STOP IN THE NAME OF THE COLESLAW!
    • View Profile
    • Clan Xperience
Re: I need a Program
« Reply #5 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.

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: I need a Program
« Reply #6 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?

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 526
  • Karma: +27/-17
    • View Profile
Re: I need a Program
« Reply #7 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
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

 

© Liberty Unleashed Team.