Hello everyone,
My question is:
Does the static ip have to be used in the config settings i.e
Code:
Config.ini:
E; 配置文件
[System]
SERVERNAME =.........
MONSTER_ACTIVE_LIMIT = 40000
[GameServer]
GAMESERVER_IP =*static*
GAMESERVER_PORT =5816
SND_SIZE = 64000
RCV_SIZE = 16000
[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_NAME =my
[InternetPort]
MASTER_IP = *static*
MASTER_PORT = 8653
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 2
[BusySleep]
LEVEL1 = 20 ; > 1000 sleep 20%
LEVEL2 = 30 ; > 2000
LEVEL3 = 40 ; > 3000
LEVEL4 = 50 ; > 4000
LEVEL5 = 60 ; > 5000
Shell.ini:
; 外壳配置文件
; 2002.10.23
[System]
MAPGROUP_SIZE = 1
ACCEPT_MS = 5000
[StreamType]
TYPE = 0 ;0=正常从SOCKET,1=SOCKET记录到文件, 2=从文件读(程序调试用)
[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_DB = my
DB_NAME=my
[AccountServer]
ACCOUNT_IP =static
ACCOUNT_PORT =9865
SERVERNAME =.............
LOGINNAME =root
PASSWORD =test
; 登录表尺寸, 10-5000
MAXLOGINTABLESIZE=1500
; 登录表超时秒数,0-86400
LOGINOVERTIMESECS=120
[InternetPort]
MASTER_IP = static
MASTER_PORT = 8653
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 1
acc config.ini:
[System]
LOGINLISTENPORT = 9958
POINTLISTENPORT = 9865
SERVER_FULL_DELAY_SECS = 5000
SERVER_BUSY_DELAY_SECS = 3000
SERVERNAME = ..........
LOGINNAME = root
PASSWORD = test
SERVERIP =static
[Database]
DBHOSTNAME=127.0.0.1
DATABASENAME=my
DBUSER=root
DBPASSWORD=test
And in the oem i put the static i kno that but i want to be able to acses it thru another computer. i have port forwding for my ip but i am using my local ip : 10.1.1.1 do i need to change it to the static ip? but in the config settings.
Thanks