Setting up a second world, having issues.
Okay so I've been trying to set up a second world on the same server, but I'm not sure where I messed up. I get this error:
Code:
000048 2014-06-12 15:58:11 <NUMBER OF 40 IOCP WORKTHREAD STARTED, 8 CPU DETECTED>
000049 2014-06-12 15:58:11 <NUMBER OF 81 SESSION WORKER STARTED>
000050 2014-06-12 15:58:11 FATAL ERROR - Can't found ServerInfo on funcition 'DataServer::Start_Acceptor()', need check scriptor data.
000051 2014-06-12 15:58:11 < END OF MAIN = 0 >
Here is my set-up for the second World,:
Code:
; World #1--------------------------------------------------------------------
SERVER_INFO "PG_Char_DB", 2, 0, 0, 0, "127.0.0.1", 9205, 1, 100 ; From ALL
SERVER_INFO "PG_GameLog_DB", 3, 0, 0, 0, "127.0.0.1", 9103, 1, 100 ; From ALL
SERVER_INFO "PG_World_Manager_Server", 5, 0, 0,20, "***.***.***.***", 9111, 1, 6000 ; Public IP
SERVER_INFO "PG_World_Manager_Server", 5, 0, 0, 26, "***.***.***.***", 9117, 1, 6000 ; Public IP
SERVER_INFO "PG_World_Manager_Server", 5, 0, 0, 8, "127.0.0.1", 9118, 1, 5 ; From OPTOOL
; Zone 0-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_00", 6, 0, 0,20, "***.***.***.***", 9132, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_00", 6, 0, 0, 8, "127.0.0.1", 9121, 1, 5 ; From OPTOOL
; Zone 1-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_01", 6, 0, 1,20, "192.99.149.139", 9134, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_01", 6, 0, 1, 8, "127.0.0.1", 9123, 1, 5 ; From OPTOOL
; Zone 2-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_02", 6, 0, 2,20, "***.***.***.***", 9136, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_02", 6, 0, 2, 8, "127.0.0.1", 9125, 1, 5 ; From OPTOOL
; Zone 3-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_03", 6, 0, 3,20, "***.***.***.***", 9138, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_03", 6, 0, 3, 8, "127.0.0.1", 9127, 1, 5 ; From OPTOOL
; Zone 4-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_04", 6, 0, 4,20, "***.***.***.***", 9140, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_04", 6, 0, 4, 8, "127.0.0.1", 9129, 1, 5 ; From OPTOOL
; Zone 5-2 ---------------------------------------------------------------------
SERVER_INFO "PG_Zone_05", 6, 0, 5,20, "***.***.***.***", 9142, 10, 2000 ; Public IP
SERVER_INFO "PG_Zone_05", 6, 0, 5, 8, "127.0.0.1", 9131, 1, 5 ; From OPTOOL
ODBC Set-up:
Code:
; NAME nDBID nWorldNo Connection INFO Startup Command
;ODBC_INFO "Account", 0, 0, "DSN=Account; UID=sa; PWD=************", "USE Account; SET LOCK_TIMEOUT 5000" ; world
ODBC_INFO "AccountLog", 1, 0, "DSN=AccountLog; UID=sa; PWD=************", "USE AccountLog; SET LOCK_TIMEOUT 5000" ;world
ODBC_INFO "StatisticsData", 2, 0, "DSN=StatisticsData; UID=sa; PWD=************", "USE StatisticsData; SET LOCK_TIMEOUT 5000" ; acccount db
ODBC_INFO "OPTool", 3, 0, "DSN=OPTool; UID=sa; PWD=************", "USE OperatorTool; SET LOCK_TIMEOUT 5000" ; account db
ODBC_INFO "w00_Character", 10, 0, "DSN=w00_Character; UID=sa; PWD=************", "USE w00_Character; SET LOCK_TIMEOUT 5000" ;world
ODBC_INFO "w00_GameLog", 11, 0, "DSN=w00_GameLog; UID=sa; PWD=************", "USE w00_GameLog; SET LOCK_TIMEOUT 5000" ; world
ODBC_INFO "w00_Character_2", 10, 1, "DSN=w00_Character_2; UID=sa; PWD=************", "USE w00_Character_2; SET LOCK_TIMEOUT 5000" ;world
ODBC_INFO "w00_GameLog_2", 11, 1, "DSN=w00_GameLog_2; UID=sa; PWD=************", "USE w00_GameLog_2; SET LOCK_TIMEOUT 5000" ; world
The character service config:
Code:
;-----------------------------------------------------------------------------------
; DEFINE DATA
;-----------------------------------------------------------------------------------
; [Service name] [Display name] [Server ID] [World No] [Zone No]
MY_SERVER "Character_DB_Server1", "_Character DB Server1", 2, 1, 0
#include "../9Data/ServerInfo/test_ServerInfo.txt"
#END
Databases:
http://i.imgur.com/8O6HxUp.png
ODBC:
http://i.imgur.com/hF7BK81.png
Re: Setting up a second world, having issues.
The idea is correct, but you have forgotten to edit the world numbers.
Look the server info header.
Also it's not important, but the w00 stands for world00, so you should use w00, w01, w02, ..., then the indexes are same with the world number.
Re: Setting up a second world, having issues.
Editted* Fixed this problem too. But now I only get HIGH as server population, and cant log in...
I got it fixed now with help from a friend.
Re: Setting up a second world, having issues.
High server population would have to do with the world/game in the SQL in security does not have enough perimissions. Not sure why but ya need to check them in order to get them to work. If you still having issues my skype is chocodarkangel667