Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[TUTORIAL]2 servers in game

Status
Not open for further replies.
Experienced Elementalist
Joined
Mar 23, 2011
Messages
230
Reaction score
2
so what you did to make it work?
thx for explanation :)
 
Junior Spellweaver
Joined
Jan 25, 2011
Messages
146
Reaction score
3
humm. in all ip local use 127.0.0.1? for example my is 192.168.0.10 change all for 127.0.0.1?
 
Initiate Mage
Joined
Nov 15, 2011
Messages
3
Reaction score
0
Not work, error in port 9002, please make video tuturial or another tuturial.
 
Newbie Spellweaver
Joined
Oct 12, 2011
Messages
73
Reaction score
6
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:
Newbie Spellweaver
Joined
Oct 12, 2011
Messages
73
Reaction score
6
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:
Experienced Elementalist
Joined
Mar 23, 2011
Messages
230
Reaction score
2
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.
 
Newbie Spellweaver
Joined
Dec 27, 2011
Messages
36
Reaction score
0
lol..you guys try over again.. read carefully.. i made it easily..:D
 
Experienced Elementalist
Joined
Mar 23, 2011
Messages
230
Reaction score
2
yea but if same game_server -.-
we wanna run it with different game_server's
READ IT
 
Newbie Spellweaver
Joined
Dec 27, 2011
Messages
36
Reaction score
0
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
 
Junior Spellweaver
Joined
Jul 14, 2011
Messages
181
Reaction score
18
@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.
 
Newbie Spellweaver
Joined
Dec 27, 2011
Messages
36
Reaction score
0
@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.

so what do i need to copy??

is it only:
-game & db folder?? then rename it to db1 and game1??
 
Experienced Elementalist
Joined
Dec 4, 2011
Messages
224
Reaction score
15
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:
Experienced Elementalist
Joined
Mar 23, 2011
Messages
230
Reaction score
2
& guys u need to change (with different name & descriptin) servername & serverdescription in both server_user.ini then u dont get 9002 error

its not only from name & description bcuz it give again that error
 
Newbie Spellweaver
Joined
Apr 15, 2012
Messages
16
Reaction score
0
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!
 
Experienced Elementalist
Joined
Mar 23, 2011
Messages
230
Reaction score
2
yea i know that
but if we want to use different game_servers?
 
Newbie Spellweaver
Joined
Apr 15, 2012
Messages
16
Reaction score
0
i think is impossibile #5 but maybe someone will find a way to make it possibile
 
Status
Not open for further replies.
Back
Top