Stop using Hamachi!

Page 1 of 2 12 LastLast
Results 1 to 25 of 29
  1. #1
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Stop using Hamachi!

    OK, so many have tried and many have failed to setup behind a router. Does anyone know why......... Yes i do. Basically, everyone has been setting up the files incorrectlly for years.

    First, stop thinking that this is ment to be ran on one system. Now, with that in mind, think about what each part of the sysytem is. we have the login system, the world and 3 - 5 zones (mattering on whatfiles your using). You will need a congig sheet for each of these sections.

    Now, after all of that you are probably lost wondering how you use 6 differant config sheets. Ok, you will find a line in the base config of the exe, that referse to the main config.


    pulled from one of my zones
    Code:
    ;         [Service name]     [Display name]   [Server ID] [World No] [Zone No]
    MY_SERVER "Zone_Server00", "_OS_Zone Server00",   6,          0,         0
    
    #include "../9Data/ServerInfo/ServerInfoZone00.txt"
    notice it looks to a config i names for just that zone.

    each part wil have to be edited so it reads the proper config. you should have 5 - 7 differant serverinfo configs made at this point and all the exe configs edited.

    ServerInfo_Login.txt
    ServerInfo_World.txt
    ServerInfoZone00.txt
    ServerInfoZone01.txt
    ServerInfoZone02.txt
    ServerInfoZone03.txt

    each one needs a place to listen and a place to find other server exe's.
    Code:
    ;
    ; Server info for RELEASE SERVICE
    ; 2007.4 By Blacksky
    ; 
    
    ;-----------------------------------------------------------------------------------
    ; DEFINE SCRIPTOR COMMAND
    ;-----------------------------------------------------------------------------------
    
    #DEFINE WORLD_NAME
      <INTEGER>		; World No
      <STRING>		; Name
      <STRING>		; Data path
    #ENDDEFINE
    		
    #DEFINE SERVER_INFO ; Listen socket information
      <STRING>          ; Name
      <INTEGER>         ; Server ID
      <INTEGER>         ; Server World No
      <INTEGER>         ; Server Zone No
      <INTEGER>         ; From Server ID
      <STRING>          ; IP Address == '' then Use my IP Address
      <INTEGER>         ; Port Number
      <INTEGER>         ; Backlog Count == 0 then Use SOMAXCONN
      <INTEGER>         ; Maximum of accept socket
    #ENDDEFINE
    
    #DEFINE ODBC_INFO
      <STRING>          ; DB Name
      <INTEGER>         ; DB ID
      <INTEGER>         ; World No
      <STRING>          ; ODBC Connection info
      <STRING>          ; DB Startup command
    #ENDDEFINE
    
    ;-----------------------------------------------------------------------------------
    ; Server ID
    ;-----------------------------------------------------------------------------------
    
    ; 0 SERVER_ID_DB_ACCOUNT    
    ; 1 SERVER_ID_DB_ACCOUNTLOG 
    ; 2 SERVER_ID_DB_CHARACTER  
    ; 3 SERVER_ID_DB_GAMELOG    
     
    ; 4 SERVER_ID_LOGIN         
    ; 5 SERVER_ID_WORLDMANAGER  
    ; 6 SERVER_ID_ZONE          
     
    ; 7 SERVER_ID_PATCH     
    ; 8 SERVER_ID_OPTOOL    
    ; 9 SERVER_ID_WEB       
    ;10 SERVER_ID_UNKNOWN   
     
    ;19 SERVER_ID_LAUNCHER  
    ;20 SERVER_ID_CLIENT    
    
    ;-----------------------------------------------------------------------------------
    ; DB ID
    ;-----------------------------------------------------------------------------------
    
    ;define DB_ID_ACCOUNT      0
    ;define DB_ID_ACCOUNTLOG   1
    ;define DB_ID_STATICSTICS  2
    ;define DB_ID_OPTOOL_LOG   3
    ;define DB_ID_CHARACTER	  10
    ;define DB_ID_GAMELOG	  11
    
    ;-----------------------------------------------------------------------------------
    ; DEFINE WORLD NAME
    ;-----------------------------------------------------------------------------------
    
    WORLD_NAME 0, "TEVA", "../9Data/Shine"
    ;WORLD_NAME 1, "APOLINE", "../9Data/apoline"
    ;WORLD_NAME 2, "BIJOU", "../9Data/Bijou"
    ;WORLD_NAME 3, "EPITH", "../9Data/Bijou"
    ;WORLD_NAME 4, "CYPION", "../9Data/Bijou"
    ;WORLD_NAME 5, "LEGEL", "../9Data/Bijou"
    ;WORLD_NAME 6, "BIJOU", "../9Data/Bijou"
    ;WORLD_NAME 7, "BIJOU", "../9Data/Bijou"
    
    ;-----------------------------------------------------------------------------------
    ; CJC SERVER INFO
    ;-----------------------------------------------------------------------------------
    
    ;
    ; [ID] = Server ID, [W] = World No, [Z] = Zone No, [F] = From Server ID
    ;
    ;           [Name]             [ID, W, Z, F] [IP]               [Port] [Backlog] [Maximum of accept socket]
    ;
    ; Patch server ---------------------------------------------------------------
    ;SERVER_INFO "Patch_Manager",  7, 0, 0,19, "71.88.176.141",		2500,  10,		 2100   ; From Launcher/OPTOOL/PatchDataServer
    ;SERVER_INFO "Patch_Server1",  7, 1, 0,19, "71.88.176.141",	2502,  10,		2100   ; From Launcher/OPTOOL/PatchDataServer
    
    ; DB,Login server ------------------------------------------------------------
    SERVER_INFO "Account_DB",     0, 0, 0, 0, "[listening port ipaddress]",	9000,  1,        100	; where the service listens 
    SERVER_INFO "AccountLog_DB",  1, 0, 0, 0, "[listening port ipaddress]",		9005,  1,        100	; where the service listens 
    
    SERVER_INFO "Login_Server",   4, 0, 0,20, "[listening port ipaddress]",	9010,  10,       200    ; where the service listens 
    SERVER_INFO "Login_Server",   4, 0, 0, 5, "[listening port ipaddress]",	9015,  1,        50     ; where the service listens 
    SERVER_INFO "Login_Server",   4, 0, 0, 8, "[listening port ipaddress]",		9016,  1,        30     ;where the service listens (for OpTool)
    
    ; World #0 -------------------------------------------------------------------
    SERVER_INFO "PG_Char_DB",        2, 0, 0, 0, "[[IP address]",	9100,  1,        100    ; From ALL
    SERVER_INFO "PG_GameLog_DB",     3, 0, 0, 0, "[[IP address]",	9101,  1,        100    ; where to sent the service
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0,20, "[IP address]",	9110,  1,       6000   ; where to sent the service
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0, 6, "[IP address]",	9115,  1,        6000   ; where to sent the service
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0, 8, "[listening port ipaddress]",	9116,  1,        5     ;where to sent the service (for OpTool)
    ; Zone 0 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_00",        6, 0, 0,20, "[IP address]",	9120,  10,       2000   ; where to sent the service
    SERVER_INFO "PG_Zone_00",        6, 0, 0, 8, "[[IP address",	9121,  1,        5     ; where to sent the service (for OpTool)
    ; Zone 1 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_01",        6, 0, 1,20, "[IP address]",	9122,  10,       2000   ; where to sent the service
    SERVER_INFO "PG_Zone_01",        6, 0, 1, 8, "[IP address]",	9123,  1,        5     ; where to sent the service (for OpTool)
    ; Zone 2 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_02",        6, 0, 2,20, "[IP address]",	9124,  10,       2000   ; where to sent the service
    SERVER_INFO "PG_Zone_02",        6, 0, 2, 8, "[IP address]",	9125,  1,        5     ; where to sent the service (for OpTool)
    ; Zone 3 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_03",        6, 0, 3,20, "[IP address]",	9126,  10,       2000   ; where to sent the service
    SERVER_INFO "PG_Zone_03",        6, 0, 3, 8, "[IP address]",	9127,  1,        5     ; where to sent the service (for OpTool)
    
    
    
    ;-----------------------------------------------------------------------------------
    ; ODBC INFO
    ;-----------------------------------------------------------------------------------
    ;         NAME           nDBID nWorldNo         Connection INFO                 Startup Command
    ;ODBC_INFO "Account",     0,    0, "DSN=Account;	UID=sa; PWD=[password]", "USE Account; SET LOCK_TIMEOUT 5000" ; world
    ODBC_INFO "AccountLog",  1,    0, "DSN=AccountLog;	UID=sa; PWD=[password]", "USE AccountLog; SET LOCK_TIMEOUT 5000" ;world 
    ODBC_INFO "Statistics",  2,    0, "DSN=Statistics;	UID=sa; PWD=[password]", "USE StatisticsData; SET LOCK_TIMEOUT 5000" ; acccount db
    ODBC_INFO "OPTool",      3,    0, "DSN=OPTool;	UID=sa; PWD=[password]", "USE OperatorTool; SET LOCK_TIMEOUT 5000" ; account db
    
    ODBC_INFO "w00_Character",   10,   0, "DSN=Character;	UID=sa; PWD=[password]", "USE w00_Character; SET LOCK_TIMEOUT 5000"  ;world
    ODBC_INFO "w00_GameLog",     11,   0, "DSN=GameLog;	UID=sa; PWD=[password]", "USE w00_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    #END
    the listening port ipaddress is where it will listen for information.
    The IP address is where is sends (whatever is requesting) to find the service.
    So, in the case of being behind a router the listen port address is the local address within the router network. and the ip address would be your ipaddress. Now in your router you will have to forward the ports for the game or use the dmz. i would go for the port forwarding myself so not to open to many. you will also need to open ports in the windows firewall for those same ports that are needed by the game.

    good luck and enjoy setup without himachi.

    I had to figure this out for my test server cause i hate hamachi and wanted people to log in for testing the server.


  2. #2
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    -----
    Last edited by xWhiteCore; 03-12-12 at 12:40 AM.

  3. #3
    Valued Member Riko is offline
    MemberRank
    Sep 2009 Join Date
    105Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    You, calling yourself hacker & coder, are not able to set the IP ?

    Anyway...it seems u set the IP for Character to ur WAN too. This is not needed.

    But if you want it that way you need to forward the 9100.

    Normally there ports are enough:

    Code:
    9010, 9110, 9115, 9120, 9122, 9124

  4. #4
    Member d4xyjen is offline
    MemberRank
    Aug 2008 Join Date
    83Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    oops it worked on the old files lol my Bad


    But make sure you are not using a shared Public IP
    Last edited by d4xyjen; 02-12-12 at 08:03 PM.

  5. #5
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    -------
    Last edited by xWhiteCore; 03-12-12 at 12:40 AM.

  6. #6
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    its all about sending the correct info to the client and where those exe's need to listen for info

    yes char and gamelog can stay local

    whatever exe is being setup by the comfig you need that one to be local listening and all the others will be the wan ip.

    optool can be local

    also thier are more ports that need opened if you want things to work proper.

  7. #7
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    -----
    Last edited by xWhiteCore; 03-12-12 at 12:41 AM.

  8. #8
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    thats correct

  9. #9
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    -----
    Last edited by xWhiteCore; 03-12-12 at 12:41 AM.

  10. #10
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    are you using more than 1 config sheet?

    also use the local address for char and gamelog, no need for them to go outside

  11. #11
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    i use one config.. so.. Char and Gamelog run on local.. and now doesn't start world manager.. omg wtf ???

  12. #12
    Valued Member Riko is offline
    MemberRank
    Sep 2009 Join Date
    105Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    Quote Originally Posted by xWhiteCore View Post
    Lugapha let's talk about it over Skype is this ok ?

    or can y say me ... what y mean like this ?

    [IP address] = My Wan Address ? (Google: What is my IP)

    [listening port ipaddress] My Local IP that still stand in DMZ an Port Forwading ? 192.168.0.XX


    is this Correct ?


    i gave u the ports. just forword these and set the WAN ip in the config where these ports are

  13. #13
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    you should have 5 - 7 differant serverinfo configs made at this point and all the exe configs edited.

    ServerInfo_Login.txt
    ServerInfo_World.txt
    ServerInfoZone00.txt
    ServerInfoZone01.txt
    ServerInfoZone02.txt
    ServerInfoZone03.txt

    thats what i said before, so if you have 1 config you are doing it wrong

  14. #14
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    Why 6 Configs ????? this shit.. ?!?!?! LOL ?????

    It must also run with one config..

    with 6 or more configs is Hamachi better.... LOL ???


    Shit of this tutorial LOL ?!??!?!

  15. #15
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    cause thats how it is supposed to be, thats how it was built. ask ons onsoft.

    each one tells what to listen on and then what to tell the client where to find the place it needs to go. I would try to explain more but i went through all of that with someone already and they didn't really understand till we did it. If a tut says to make 6 you make 6, don't try to do it with one cause i said you need more.

  16. #16
    Valued Member Riko is offline
    MemberRank
    Sep 2009 Join Date
    105Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    Quote Originally Posted by Lugapha View Post
    cause thats how it is supposed to be, thats how it was built. ask ons onsoft.

    each one tells what to listen on and then what to tell the client where to find the place it needs to go. I would try to explain more but i went through all of that with someone already and they didn't really understand till we did it. If a tut says to make 6 you make 6, don't try to do it with one cause i said you need more.
    I'm using just 1 config too~

  17. #17
    Proficient Member xWhiteCore is offline
    MemberRank
    Jun 2012 Join Date
    193Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    Quote Originally Posted by Iocere View Post
    I'm using just 1 config too~
    Deutsch;

    Eben.. weil es keinen unterschied macht weil ob jz mit 6 Configs oder 1 config.. wenn überall das selbe drinnen steht...

    Englisch;

    Use Google Translate !

    Just .. because it makes no difference because if now 6 config's or 1 one .. if everywhere is the same inside ...

  18. #18
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    everything in the configs are not the same inside. you have to have differant info for each exe. So, yes you need more configs.

  19. #19
    Coeven Tronic is offline
    MemberRank
    Apr 2010 Join Date
    LocalhostLocation
    238Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    thats not true, if u are using the server on only one pc you need only 1 config. if u are running the server on 3 or more pc then u need 1 config for each pc (Thats why Outspark files have lots of folders and lots of configs - its a mess)

  20. #20
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    do you see the title? this is about not using hamachi whenn you are behind a router. and if you want to do that you need more than 1. and you are supposed to have one pc for accounts and login, 1 for the world and 1 for each zone.

  21. #21
    Coeven Tronic is offline
    MemberRank
    Apr 2010 Join Date
    LocalhostLocation
    238Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    Quote Originally Posted by Lugapha View Post
    do you see the title? this is about not using hamachi whenn you are behind a router. and if you want to do that you need more than 1
    Yes i read the title... i do run the server behind a router with just 1 config and not using hamachi, if you fail Port forwarding or port mapping then u have to use hamachi. Again only 1 Config is needed if u run the server on one dev pc, more than 1 is stupid cause they all share same ip and odbc info.

  22. #22
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    then explain how to do it with one config. cause if you just port forward and set to your wan it would not be able to see the listen port and if you are inside and set to local lan address then people outside your network can't get on the world server.

    maybe i missed something, so please do explain as thier has been many times people have asked how to do it and no one ever could answer.

  23. #23
    Coeven Tronic is offline
    MemberRank
    Apr 2010 Join Date
    LocalhostLocation
    238Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    ok.. i will post config im using later when i get back home

    Config.txt:
    Code:
    ;
    ; Server info for RELEASE SERVICE
    ; 2007.4 By Blacksky
    ; 
    
    ;-----------------------------------------------------------------------------------
    ; DEFINE SCRIPTOR COMMAND
    ;-----------------------------------------------------------------------------------
    
    #DEFINE WORLD_NAME
      <INTEGER>		; World No
      <STRING>		; Name
      <STRING>		; Data path
    #ENDDEFINE
    		
    #DEFINE SERVER_INFO ; Listen socket information
      <STRING>          ; Name
      <INTEGER>         ; Server ID
      <INTEGER>         ; Server World No
      <INTEGER>         ; Server Zone No
      <INTEGER>         ; From Server ID
      <STRING>          ; IP Address == '' then Use my IP Address
      <INTEGER>         ; Port Number
      <INTEGER>         ; Backlog Count == 0 then Use SOMAXCONN
      <INTEGER>         ; Maximum of accept socket
    #ENDDEFINE
    
    #DEFINE ODBC_INFO
      <STRING>          ; DB Name
      <INTEGER>         ; DB ID
      <INTEGER>         ; World No
      <STRING>          ; ODBC Connection info
      <STRING>          ; DB Startup command
    #ENDDEFINE
    
    ;-----------------------------------------------------------------------------------
    ; Server ID
    ;-----------------------------------------------------------------------------------
    
    ; 0 SERVER_ID_DB_ACCOUNT    
    ; 1 SERVER_ID_DB_ACCOUNTLOG 
    ; 2 SERVER_ID_DB_CHARACTER  
    ; 3 SERVER_ID_DB_GAMELOG    
     
    ; 4 SERVER_ID_LOGIN         
    ; 5 SERVER_ID_WORLDMANAGER  
    ; 6 SERVER_ID_ZONE          
     
    ; 7 SERVER_ID_PATCH     
    ; 8 SERVER_ID_OPTOOL    
    ; 9 SERVER_ID_WEB       
    ;10 SERVER_ID_UNKNOWN   
     
    ;19 SERVER_ID_LAUNCHER  
    ;20 SERVER_ID_CLIENT    
    
    ;-----------------------------------------------------------------------------------
    ; DB ID
    ;-----------------------------------------------------------------------------------
    
    ;define DB_ID_ACCOUNT      0
    ;define DB_ID_ACCOUNTLOG   1
    ;define DB_ID_STATICSTICS  2
    ;define DB_ID_OPTOOL_LOG   3
    ;define DB_ID_CHARACTER	  10
    ;define DB_ID_GAMELOG	  11
    
    ;-----------------------------------------------------------------------------------
    ; DEFINE WORLD NAME
    ;-----------------------------------------------------------------------------------
    
    WORLD_NAME 0, "TEVA", "../_CONF/shine"
    ;WORLD_NAME 1, "APOLINE", "../9Data/apoline"
    ;WORLD_NAME 2, "BIJOU", "../9Data/Bijou"
    ;WORLD_NAME 3, "EPITH", "../9Data/Bijou"
    ;WORLD_NAME 4, "CYPION", "../9Data/Bijou"
    ;WORLD_NAME 5, "LEGEL", "../9Data/Bijou"
    ;WORLD_NAME 6, "BIJOU", "../9Data/Bijou"
    ;WORLD_NAME 7, "BIJOU", "../9Data/Bijou"
    
    ;-----------------------------------------------------------------------------------
    ; CJC SERVER INFO
    ;-----------------------------------------------------------------------------------
    
    ;
    ; [ID] = Server ID, [W] = World No, [Z] = Zone No, [F] = From Server ID
    ;
    ;           [Name]             [ID, W, Z, F] [IP]               [Port] [Backlog] [Maximum of accept socket]
    ;
    ; Patch server ---------------------------------------------------------------
    ;SERVER_INFO "Patch_Manager",  7, 0, 0,19, "IP",		2500,  10,		 2100   ; From Launcher/OPTOOL/PatchDataServer
    ;SERVER_INFO "Patch_Server1",  7, 1, 0,19, "IP",	2502,  10,		2100   ; From Launcher/OPTOOL/PatchDataServer
    
    ; DB,Login server ------------------------------------------------------------
    SERVER_INFO "Account_DB",     0, 0, 0, 0, "IP",	9000,  1,        100	; From ALL
    SERVER_INFO "AccountLog_DB",  1, 0, 0, 0, "IP",		9005,  1,        100	; From ALL
    
    SERVER_INFO "Login_Server",   4, 0, 0,20, "IP",	9010,  10,       200    ; From Client
    SERVER_INFO "Login_Server",   4, 0, 0, 5, "IP",	9015,  1,        50     ; From World manager
    SERVER_INFO "Login_Server",   4, 0, 0, 8, "127.0.0.1",		9016,  1,        30     ; From OPTOOL
    
    ; World #0 -------------------------------------------------------------------
    SERVER_INFO "PG_Char_DB",        2, 0, 0, 0, "IP",	9100,  1,        100    ; From ALL
    SERVER_INFO "PG_GameLog_DB",     3, 0, 0, 0, "IP",	9101,  1,        100    ; From ALL
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0,20, "IP",	9110,  1,       6000   ; Public IP
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0, 6, "IP",	9115,  1,        6000   ; Public IP
    SERVER_INFO "PG_World_Manager_Server",  5, 0, 0, 8, "127.0.0.1",	9116,  1,        5     ; From OPTOOL
    
    ; Zone 0 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_00",        6, 0, 0,20, "IP",	9120,  10,       2000   ; Public IP
    SERVER_INFO "PG_Zone_00",        6, 0, 0, 8, "127.0.0.1",	9121,  1,        5     ; From OPTOOL
    
    ; Zone 1 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_01",        6, 0, 1,20, "IP",	9122,  10,       2000   ; Public IP
    SERVER_INFO "PG_Zone_01",        6, 0, 1, 8, "127.0.0.1",	9123,  1,        5     ; From OPTOOL
    
    ; Zone 2 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_02",        6, 0, 2,20, "IP",	9124,  10,       2000   ; Public IP
    SERVER_INFO "PG_Zone_02",        6, 0, 2, 8, "127.0.0.1",	9125,  1,        5     ; From OPTOOL
    
    ; Zone 3 ---------------------------------------------------------------------
    SERVER_INFO "PG_Zone_03",        6, 0, 2,20, "IP",	9124,  10,       2000   ; Public IP
    SERVER_INFO "PG_Zone_03",        6, 0, 2, 8, "127.0.0.1",	9125,  1,        5     ; From OPTOOL
    
    ; World #0 -------------------------------------------------------------------
    ;SERVER_INFO "w0_Char_DB",        2, 0, 0, 0, "127.0.0.1",	9100,  1,        1000   ; From ALL
    ;SERVER_INFO "w0_GameLog_DB",     3, 0, 0, 0, "127.0.0.1",	9101,  1,        1000   ; From ALL
    
    ;SERVER_INFO "w0_World_Manager",  5, 0, 0,20, "127.0.0.1",	9110,  10,       2500   ; From Client
    ;SERVER_INFO "w0_World_Manager",  5, 0, 0, 6, "127.0.0.1",	9115,  1,        100    ; From Zone
    ;SERVER_INFO "w0_World_Manager",  5, 0, 0, 8, "127.0.0.1",	9116,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w0_Zone_00",        6, 0, 0,20, "127.0.0.1",	9120,  10,       1700   ; From Client
    ;SERVER_INFO "w0_Zone_00",        6, 0, 0, 8, "127.0.0.1",	9121,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w0_Zone_01",        6, 0, 1,20, "127.0.0.1",	9122,  10,       1700   ; From Client
    ;SERVER_INFO "w0_Zone_01",        6, 0, 1, 8, "127.0.0.1",	9123,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w0_Zone_02",        6, 0, 2,20, "127.0.0.1",	9124,  10,       1700   ; From Client
    ;SERVER_INFO "w0_Zone_02",        6, 0, 2, 8, "127.0.0.1",	9125,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w0_Zone_03",        6, 0, 3,20, "127.0.0.1",	9126,  10,       1700   ; From Client
    ;SERVER_INFO "w0_Zone_03",        6, 0, 3, 8, "127.0.0.1",	9127,  1,        30     ; From OPTOOL
    
    ; World #1 -------------------------------------------------------------------
    ;SERVER_INFO "w1_Char_DB",        2, 1, 0, 0, "209.44.118.162",	9200,  1,        100    ; From ALL
    ;SERVER_INFO "w1_GameLog_DB",     3, 1, 0, 0, "209.44.118.162",	9201,  1,        100    ; From ALL
    
    ;SERVER_INFO "w1_World_Manager",  5, 1, 0,20, "209.44.118.162",	9210,  10,       2500   ; From Client
    ;SERVER_INFO "w1_World_Manager",  5, 1, 0, 6, "209.44.118.162",	9215,  1,        100    ; From Zone
    ;SERVER_INFO "w1_World_Manager",  5, 1, 0, 8, "209.44.118.162",	9216,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w1_Zone_00",        6, 1, 0,20, "209.44.118.162",	9220,  10,       1700   ; From Client
    ;SERVER_INFO "w1_Zone_00",        6, 1, 0, 8, "209.44.118.162",	9221,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w1_Zone_01",        6, 1, 1,20, "209.44.118.162",	9222,  10,       1700   ; From Client
    ;SERVER_INFO "w1_Zone_01",        6, 1, 1, 8, "209.44.118.162",	9223,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w1_Zone_02",        6, 1, 2,20, "209.44.118.162",	9224,  10,       1700   ; From Client
    ;SERVER_INFO "w1_Zone_02",        6, 1, 2, 8, "209.44.118.162",	9225,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w1_Zone_03",        6, 1, 3,20, "209.44.118.162",	9226,  10,       1700   ; From Client
    ;SERVER_INFO "w1_Zone_03",        6, 1, 3, 8, "209.44.118.162",	9227,  1,        30     ; From OPTOOL
    
    ;           [Name]             [ID, W, Z, F] [IP]               [Port] [Backlog] [Maximum of accept socket]
    ; World #2 -------------------------------------------------------------------
    ;SERVER_INFO "w2_Char_DB",        2, 2, 0, 0, "209.44.118.162",	9300,  1,        100    ; From ALL
    ;SERVER_INFO "w2_GameLog_DB",     3, 2, 0, 0, "209.44.118.162",	9301,  1,        100    ; From ALL
    
    ;SERVER_INFO "w2_World_Manager",  5, 2, 0,20, "209.44.118.162",	9310,  10,       2500   ; From Client
    ;SERVER_INFO "w2_World_Manager",  5, 2, 0, 6, "209.44.118.162",	9315,  1,        100    ; From Zone
    ;SERVER_INFO "w2_World_Manager",  5, 2, 0, 8, "209.44.118.162",	9316,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w2_Zone_00",        6, 2, 0,20, "209.44.118.162",	9320,  10,       1700   ; From Client
    ;SERVER_INFO "w2_Zone_00",        6, 2, 0, 8, "209.44.118.162",	9321,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w2_Zone_01",        6, 2, 1,20, "209.44.118.162",	9322,  10,       1700   ; From Client
    ;SERVER_INFO "w2_Zone_01",        6, 2, 1, 8, "209.44.118.162",	9323,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w2_Zone_02",        6, 2, 2,20, "209.44.118.162",	9324,  10,       1700   ; From Client
    ;SERVER_INFO "w2_Zone_02",        6, 2, 2, 8, "209.44.118.162",	9325,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w2_Zone_03",        6, 2, 3,20, "209.44.118.162",	9326,  10,       1700   ; From Client
    ;SERVER_INFO "w2_Zone_03",        6, 2, 3, 8, "209.44.118.162",	9327,  1,        30     ; From OPTOOL
    
    
    ; World #3 -------------------------------------------------------------------
    ;SERVER_INFO "w3_Char_DB",        2, 3, 0, 0, "209.44.118.162",	9400,  1,        100    ; From ALL
    ;SERVER_INFO "w3_GameLog_DB",     3, 3, 0, 0, "209.44.118.162",	9401,  1,        100    ; From ALL
    
    ;SERVER_INFO "w3_World_Manager",  5, 3, 0,20, "209.44.118.162",	9410,  10,       2500   ; From Client
    ;SERVER_INFO "w3_World_Manager",  5, 3, 0, 6, "209.44.118.162",	9415,  1,        100    ; From Zone
    ;SERVER_INFO "w3_World_Manager",  5, 3, 0, 8, "209.44.118.162",	9416,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w3_Zone_00",        6, 3, 0,20, "209.44.118.162",	9420,  10,       1700   ; From Client
    ;SERVER_INFO "w3_Zone_00",        6, 3, 0, 8, "209.44.118.162",	9421,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w3_Zone_01",        6, 3, 1,20, "209.44.118.162",	9422,  10,       1700   ; From Client
    ;SERVER_INFO "w3_Zone_01",        6, 3, 1, 8, "209.44.118.162",	9423,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w3_Zone_02",        6, 3, 2,20, "209.44.118.162",	9424,  10,       1700   ; From Client
    ;SERVER_INFO "w3_Zone_02",        6, 3, 2, 8, "209.44.118.162",	9425,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w3_Zone_03",        6, 3, 3,20, "209.44.118.162",	9426,  10,       1700   ; From Client
    ;SERVER_INFO "w3_Zone_03",        6, 3, 3, 8, "209.44.118.162",	9427,  1,        30     ; From OPTOOL
    
    
    ; World #4 -------------------------------------------------------------------
    ;SERVER_INFO "w4_Char_DB",        2, 4, 0, 0, "209.44.118.162",	9500,  1,        100    ; From ALL
    ;SERVER_INFO "w4_GameLog_DB",     3, 4, 0, 0, "209.44.118.162",	9501,  1,        100    ; From ALL
    
    ;SERVER_INFO "w4_World_Manager",  5, 4, 0,20, "209.44.118.162",	9510,  10,       2500   ; From Client
    ;SERVER_INFO "w4_World_Manager",  5, 4, 0, 6, "209.44.118.162",	9515,  1,        100    ; From Zone
    ;SERVER_INFO "w4_World_Manager",  5, 4, 0, 8, "209.44.118.162",	9516,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w4_Zone_00",        6, 4, 0,20, "209.44.118.162",	9520,  10,       1700   ; From Client
    ;SERVER_INFO "w4_Zone_00",        6, 4, 0, 8, "209.44.118.162",	9521,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w4_Zone_01",        6, 4, 1,20, "209.44.118.162",	9522,  10,       1700   ; From Client
    ;SERVER_INFO "w4_Zone_01",        6, 4, 1, 8, "209.44.118.162",	9523,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w4_Zone_02",        6, 4, 2,20, "209.44.118.162",	9524,  10,       1700   ; From Client
    ;SERVER_INFO "w4_Zone_02",        6, 4, 2, 8, "209.44.118.162",	9525,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w4_Zone_03",        6, 4, 3,20, "209.44.118.162",	9526,  10,       1700   ; From Client
    ;SERVER_INFO "w4_Zone_03",        6, 4, 3, 8, "209.44.118.162",	9527,  1,        30     ; From OPTOOL
    
    
    ; World #5 -------------------------------------------------------------------
    ;SERVER_INFO "w5_Char_DB",        2, 5, 0, 0, "209.44.118.162",	9600,  1,        100    ; From ALL
    ;SERVER_INFO "w5_GameLog_DB",     3, 5, 0, 0, "209.44.118.162",	9601,  1,        100    ; From ALL
    
    ;SERVER_INFO "w5_World_Manager",  5, 5, 0,20, "209.44.118.162",	9610,  10,       2500   ; From Client
    ;SERVER_INFO "w5_World_Manager",  5, 5, 0, 6, "209.44.118.162",	9615,  1,        100    ; From Zone
    ;SERVER_INFO "w5_World_Manager",  5, 5, 0, 8, "209.44.118.162",	9616,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w5_Zone_00",        6, 5, 0,20, "209.44.118.162",	9620,  10,       1700   ; From Client
    ;SERVER_INFO "w5_Zone_00",        6, 5, 0, 8, "209.44.118.162",	9621,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w5_Zone_01",        6, 5, 1,20, "209.44.118.162",	9622,  10,       1700   ; From Client
    ;SERVER_INFO "w5_Zone_01",        6, 5, 1, 8, "209.44.118.162",	9623,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w5_Zone_02",        6, 5, 2,20, "209.44.118.162",	9624,  10,       1700   ; From Client
    ;SERVER_INFO "w5_Zone_02",        6, 5, 2, 8, "209.44.118.162",	9625,  1,        30     ; From OPTOOL
    
    ;SERVER_INFO "w5_Zone_03",        6, 5, 3,20, "209.44.118.162",	9626,  10,       1700   ; From Client
    ;SERVER_INFO "w5_Zone_03",        6, 5, 3, 8, "209.44.118.162",	9627,  1,        30     ; From OPTOOL
    
    
    ;-----------------------------------------------------------------------------------
    ; ODBC INFO
    ;-----------------------------------------------------------------------------------
    ;         NAME           nDBID nWorldNo         Connection INFO                 Startup Command
    ;ODBC_INFO "Account",     0,    0, "DSN=Account;	UID=sa; PWD=Password", "USE Account; SET LOCK_TIMEOUT 5000" ; world
    ODBC_INFO "AccountLog",  1,    0, "DSN=AccountLog;	UID=sa; PWD=Password", "USE AccountLog; SET LOCK_TIMEOUT 5000" ;world 
    ODBC_INFO "Statistics",  2,    0, "DSN=Statistics;	UID=sa; PWD=Password", "USE StatisticsData; SET LOCK_TIMEOUT 5000" ; acccount db
    ODBC_INFO "OPTool",      3,    0, "DSN=OPTool;	UID=sa; PWD=Password", "USE OperatorTool; SET LOCK_TIMEOUT 5000" ; account db
    
    ODBC_INFO "w00_Character",   10,   0, "DSN=w00_Character;	UID=sa; PWD=Password", "USE w00_Character; SET LOCK_TIMEOUT 5000"  ;world
    ODBC_INFO "w00_GameLog",     11,   0, "DSN=w00_GameLog;	UID=sa; PWD=Password", "USE w00_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    ; for second world
    ;ODBC_INFO "w1_Character",   10,   1, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w01_Character; SET LOCK_TIMEOUT 5000"  ;world
    ;ODBC_INFO "w1_GameLog",     11,   1, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w01_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    ; for third world
    ;ODBC_INFO "w2_Character",   10,   2, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w02_Character; SET LOCK_TIMEOUT 5000"  ;world
    ;ODBC_INFO "w2_GameLog",     11,   2, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w02_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    ; for forth world
    ;ODBC_INFO "w3_Character",   10,   3, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w03_Character; SET LOCK_TIMEOUT 5000"  ;world
    ;ODBC_INFO "w3_GameLog",     11,   3, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w03_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    ; for fifth world
    ;ODBC_INFO "w4_Character",   10,   4, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w04_Character; SET LOCK_TIMEOUT 5000"  ;world
    ;ODBC_INFO "w4_GameLog",     11,   4, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w04_GameLog; SET LOCK_TIMEOUT 5000" ; world
    
    ; for sixth world
    ;ODBC_INFO "w5_Character",   10,   5, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w05_Character; SET LOCK_TIMEOUT 5000"  ;world
    ;ODBC_INFO "w5_GameLog",     11,   5, "DSN=Fiesta;	UID=Password; PWD=Password", "USE w05_GameLog; SET LOCK_TIMEOUT 5000" ; world
    #END
    Each .Exe have the txt using this config.txt
    for portforward u need to do ipconfig on cmd get the router ip and add new Virtual Server with Ports:
    Code:
    9000 - 9005 - 9010 - 9015 - 9100 - 9101 - 9110 - 9115 - 9120(zone) - 9122(zone1) - 9124(zone2)
    Last edited by Tronic; 03-12-12 at 09:42 PM.

  24. #24
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    i'll try it later but i don't see how that can work at all. Can you explain the transfer of info? what keeps the exe from sending you to the wrong address?

    and doing it my way you don't build no virtual server. you are only running the exe's from onson and thats it.
    Last edited by Lugapha; 04-12-12 at 05:25 PM.

  25. #25
    Valued Member Riko is offline
    MemberRank
    Sep 2009 Join Date
    105Posts

    Re: !!!!!!!!stop using hamachi!!!!!

    idk what he mean with virtual server either ~

    nvm.

    Hex the services/edit the txt's so they point to the same config file.

    Then just put the WAN to the needed port's

    Code:
    9010, 9110, 9115, 9120, 9122, 9124
    and you're done.

    And to make sure that we're talkin about the same config:

    Code:
    test_ServerInfo.txt
    I dont mean the txt's in each zone folder.


    Your folder setup should be like this then:

    folder.png

    And the content of each zone/service like this:

    Code:
    ;-----------------------------------------------------------------------------------
    ; DEFINE DATA
    ;-----------------------------------------------------------------------------------
    
    ;         [Service name]     [Display name]   [Server ID] [World No] [Zone No]
    MY_SERVER "Zone_Server00", "_Zone Server00",   6,          0,         0
    
    
    #include "../9Data/ServerInfo/test_ServerInfo.txt"
    
    #END



Page 1 of 2 12 LastLast

Advertisement