Jump to content
  • 0

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


Question

Posted

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

4 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...