Jump to content
  • 0

Single Database for a PVP and Non-PVP Server Possible?


Titan

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  11/23/12
  • Last Seen:  

Hi guys,

 

Just want to ask if this is possible or someone tried this already?

 

I want to create a server for pvp and nonpvp in different VPS but sharing a single database and client.

 

thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

You can just edit you're clientinfo.xml to be able to connect in PvP Server and Non-PvP Server in different VPS.
 
Example:

   <connection>
      <display>PvP Server</display>
      <balloon>Play!</balloon>
      <desc>Play PvP Server</desc>
      <address>127.0.0.1</address>
      <port>6900</port>
      <version>46</version>
      <langtype>0</langtype>
      <registrationweb></registrationweb>
        <aid>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
            <admin>2000003</admin>`
            <admin>2000005</admin>
            <admin>2000006</admin>
            <admin>2000007</admin>
            <admin>2000008</admin>
            <admin>2000009</admin>
        </aid>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
            <image>loading05.jpg</image>
            <image>loading06.jpg</image>
            <image>loading07.jpg</image>
        </loading>
   </connection>
   <connection>
      <display>Non-PvP Server</display>
      <balloon>Play!</balloon>
      <desc>Play Non-PvP Server</desc>
      <address>127.0.0.2</address>
      <port>6901</port>
      <version>46</version>
      <langtype>0</langtype>
      <registrationweb></registrationweb>
        <aid>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
            <admin>2000003</admin>`
            <admin>2000005</admin>
            <admin>2000006</admin>
            <admin>2000007</admin>
            <admin>2000008</admin>
            <admin>2000009</admin>
        </aid>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
            <image>loading05.jpg</image>
            <image>loading06.jpg</image>
            <image>loading07.jpg</image>
        </loading>
   </connection>

 
or try this one at you're own risk.
1 Login 2 Char 2 Map

Edited by Lelouch vi Britannia
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Yes I agree with @Lelouch vi Britannia, it looks risky to share 1 db among 2 servers.

Personally I'd go with using each separated db for each servers.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  11/23/12
  • Last Seen:  

You can just edit you're clientinfo.xml to be able to connect in PvP Server and Non-PvP Server in different VPS.

 

Example:

   <connection>
      <display>PvP Server</display>
      <balloon>Play!</balloon>
      <desc>Play PvP Server</desc>
      <address>127.0.0.1</address>
      <port>6900</port>
      <version>46</version>
      <langtype>0</langtype>
      <registrationweb></registrationweb>
        <aid>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
            <admin>2000003</admin>`
            <admin>2000005</admin>
            <admin>2000006</admin>
            <admin>2000007</admin>
            <admin>2000008</admin>
            <admin>2000009</admin>
        </aid>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
            <image>loading05.jpg</image>
            <image>loading06.jpg</image>
            <image>loading07.jpg</image>
        </loading>
   </connection>
   <connection>
      <display>Non-PvP Server</display>
      <balloon>Play!</balloon>
      <desc>Play Non-PvP Server</desc>
      <address>127.0.0.2</address>
      <port>6901</port>
      <version>46</version>
      <langtype>0</langtype>
      <registrationweb></registrationweb>
        <aid>
            <admin>2000000</admin>
            <admin>2000001</admin>
            <admin>2000002</admin>
            <admin>2000003</admin>`
            <admin>2000005</admin>
            <admin>2000006</admin>
            <admin>2000007</admin>
            <admin>2000008</admin>
            <admin>2000009</admin>
        </aid>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
            <image>loading05.jpg</image>
            <image>loading06.jpg</image>
            <image>loading07.jpg</image>
        </loading>
   </connection>

 

or try this one at you're own risk.

1 Login 2 Char 2 Map

 

 

Yes I agree with @Lelouch vi Britannia, it looks risky to share 1 db among 2 servers.

Personally I'd go with using each separated db for each servers.

 

I want my players to login their account in both servers with the save data but not simultaneously.

 

Does the server recognize the account if it is still login in other server. example i first login it in nonPVP but not log it out, will it detect when i log it in the PVP server like what I have when using @autotrade notice?

 

thanks guys  /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

I want my players to login their account in both servers

 

I think thats imposible. Well i would suggest maybe you can try my suggestions or try to find some post here in rA that would suit you're needs.

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...