Jump to content
  • 0

help 1 login for more than 1 DB


llbranco

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   1
  • Joined:  12/19/12
  • Last Seen:  

Hi

i will try to explane my doubt

 


i've my "RO-Renewal server" and my forum 'PHPB3'

but i want to serve more games like 'ragnarok old times', 'flyff', 'wow' and probably 'the mana world'

but each game has your own SQL DB and phpbb too

it give me more than 4 registers for each player

 

i know for RO and 'mana world' (maybe) i can make it as sub-server using the same login db and same login server (maybe with same grf and hexed too)

 

how about the other games?
 

can i make a new DB and a new CP to "merge/integrate/generalize" the register?

how to do that? someone can give me one light here, please?

 

i don't know exactly the terms to search 'bout that on search engines

 

Edited by llbranco
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

If I'm not mistaken, when they register it's via online right? Well if that's the case, there is PHP code, that specifies what is to happen upon saying confirm/accept or w/e it is they press. Either way, it usually, just has it send information to a SQL DB, and then a query is run. You SHOULD be able to have it merely send the same information to all of your SQL DBs. While this won't solve your request to have only 1 DB. It should make it so they only need to register once, and thus all games, should have the same login information.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i believe it's your NPC script problem....

perhap you are using query_sql and retrieve data...but didnt provide enough of variable to store the data...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   1
  • Joined:  12/19/12
  • Last Seen:  

If I'm not mistaken, when they register it's via online right? Well if that's the case, there is PHP code, that specifies what is to happen upon saying confirm/accept or w/e it is they press. Either way, it usually, just has it send information to a SQL DB, and then a query is run. You SHOULD be able to have it merely send the same information to all of your SQL DBs. While this won't solve your request to have only 1 DB. It should make it so they only need to register once, and thus all games, should have the same login information.

how to do that?

can u send me some example?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Well, I can't give an exact example, because I'm not sure how your current registrations are coded. But it would be something similar to this, if using Flux CP. Seeing as how they deal with SQL DBs to store account information, there would most likely be something similar to what is listed HERE.

 

You'll see in that page that it sends a query to a SQL db with information they entered, all you should have to do, is add additional queries below it, to make it send the information to multiple DBs. Atleast this is how most games do it, when they make it so your GameAccount is the same for Forums. In retrospect, should be quite similar.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...