[TUTORIAL]2 servers in game

Status
Not open for further replies.
Sorry, have not been on in a couple days. Do exactly as he says. Just when you do it the
[server]
Capability = "64"
ListenIp = "127.0.0.1"
ListenPort = "9002"
In the login/login_user file use the 127.0.0.1 address there and wherever you see the ListenPort = "9002" make sure the address is 127.0.0.1 ok?

There is so much more to it, if you want to put it into practice on your server.
Especially if you want to use two different game servers. I am working on it and will post my findings.
 
Last edited:
This ones the Login/login_user file



  • Capability = "3000"
    ListenIp = "192.168.52.128"
    ListenPort = "8888"
    [user]
    Capability = "2000"
    ListenIp = "192.168.52.128"
    ListenPortal = "192.168.52.128"
    ListenPort = "8885"
    StateLev1 = 500
    StateLev2 = 1000
    [server]
    Capability = "64"
    ListenIp = "127.0.0.1" << Here <<
    ListenPort = "9002"
    [db]
    BindIP = ""
    BindPort = ""
    ConnectIp = "127.0.0.1"
    ConnectPort = "9006"
    [billing]
    use = false
    ConnectIp = "127.0.0.1"
    ConnectPort = "9020"
    [guard]
    Description = ""
    GuardPort = "8002"
    UseGuard = "false"
    [Login]
    Name="login_OPT"
    Accept="a7aaaa"
    [autostat]
    Enable = false
    [licenseport]
    port = 9101
    [licenseserver]
    sv1 = "192.168.52.128"

    This is the Game/server_user file



    [client]
    Capability = "2000"
    UseGate = "false"
    ListenIp = "192.168.52.128"
    ListenPortal = "192.168.52.128"
    ListenPort = "8886"
    [login]
    BindIP = ""
    BindPort = ""
    ConnectIp = "127.0.0.1" << Here <<
    ConnectPort = "9002"
    [game_db]
    BindIP = ""
    BindPort = ""
    ConnectIp = "127.0.0.1"
    ConnectPort = "9006"
    [log_db]
    BindIP = ""
    BindPort = ""
    ConnectIp = "127.0.0.1"
    ConnectPort = "9006"
    [server]
    Description = "poland_test_server"
    name = "Server"
    location = "192.168.52.128"
    Idx = 1
    Order = 1
    ListPv = 0
    [anti_robot]
    OpenFlag = "false"
    ClientDetect = "false"
    StartAuto = "false"
    EctypeAskFlag = "false"
    [licenseport]
    port = 9101
    [licenseserver]
    sv1 = "192.168.52.128"
    sv2 = "192.168.52.128"
    sv3 = "192.168.52.128"
 
Last edited:
i see this files are for 1 server not for 2 servers .
its only 1 db there at login file.
this help with nothing , yea it will be connected but server 2 will give again port error.
 
how to edit inside DB_1 folder:
-is it like this?

*db_game1
*db_game分1 ← Lost in this part coz it has already "1" do i need to rename it to "db_game分11" ??
*db_gmtool1
*db_log1
 
@TalismanPH
Lol you dont have to duplicate DB_.Neither you need it in server files.Once you have injected these files in Navicat.You can delete them.
 
how to edit inside DB_1 folder:
-is it like this?

*db_game1
*db_game分1 ← Lost in this part coz it has already "1" do i need to rename it to "db_game分11" ??
*db_gmtool1
*db_log1

ya u need db_game分11

make sure to edit this too

[log_db]

BindIP = ""

BindPort = ""

ConnectIp = "127.0.0.1"

ConnectPort = "9007"

alpesh76 i have question for you ..
u said "delete account.sql file

Note :- dont attach db_account1 in navicate"

and why to delete db_account.sql??

and i was thinking in case we need to run server using different game_server.evp .. like one server high rate and other low rate so we can also do that ...

see i wrote go in DB_1 folder then delete account.sql bcz we dont need that folder

already we have DB_\account.sql folder

if u want Low & high servers id & pass r same then u dont need to attach account1.sql in navicate
& if u want to LOW & High Rated server so u need to change data path in server side i think thats u know very well




& guys u need to change (with different name & descriptin) servername & serverdescription in both server_user.ini then u dont get 9002 error
 
Last edited:
Problem solved.
1. You must use same game_server.evp in both servers! (game and game1 must have same game_server.evp)
2. U have to set up the IP in that game_server.evp too and watch up here to be good too!
3. Watch up at the ports! Set up exactly like he sayd!
 
Status
Not open for further replies.
Back