Help with Server. Very Detailed. Thanks. :)

01/01/2013 23:16 Reasoner#1
I will show you how my files are set-up and I am curious if anyone could point out my problem.

The problem is that I cannot connect. When I open my client it tells me that the server is offline.

Thank you.

I have read many tutorials but I believe it is a simple mistake either with the client or an IP I put in the wrong place that was not supposed to be changed.

Anywhere that says MYIP is my ACTUAL IP from ipchicken.com


I did not want to post my actual IP.

I have the following ports forwarded on my router. They are all open.
5816
9958
9865
8653

Account.cfg (In ACCServer)
Code:
[Account1]
SERVERNAME=Test
LOGINNAME=root
PASSWORD=test
FREE_DEBUG=3
Config.cfg (In ACCServer)
Code:
[System]
LOGINLISTENPORT	= 9958
POINTLISTENPORT = 9865
SERVER_FULL_DELAY_SECS	= 5000
SERVER_BUSY_DELAY_SECS	= 3000
SERVER_TITLE = ZO
Config.cfg (In GameServer)
Code:
[GameServer]
;外网设置
GAMESERVER_IP	= MYIP
GAMESERVER_PORT	= 5816
SND_SIZE	= 64000
RCV_SIZE	= 16000

[Database]
DB_IP		= MYIP
DB_USER		= root
DB_PW		= test
DB_NAME		= JZ
Shell.cfg (In GameServer)
Code:
[System]
MAPGROUP_SIZE	= 5
[Database]
DB_IP		= MYIP
DB_USER		= root
DB_PW		= test
DB_NAME		= JZ
DB_DB		= JZ
[AccountServer]
;---------------------------------外网设置
ACCOUNT_IP	= 127.0.0.1
ACCOUNT_PORT	= 9865
SERVERNAME	= ZO
LOGINNAME	= root
PASSWORD	= test
; 登录表尺寸, 10-5000
MAXLOGINTABLESIZE=1500
; 登录表超时秒数,0-86400
LOGINOVERTIMESECS=120

[InternetPort]
CURRENT_PORTID	= 0
PORT_SIZE	= 5
MASTER_IP	= MYIP
MASTER_PORT	= 8653

[DumpAttack]
DB_IP		= MYIP
DB_USER		= root
DB_PW		= test
DB_NAME		= JZ
Server Files - my.cfg (In mysql)
Code:
[mysqld]
basedir=D:/mysql
datadir=D:/mysql/data
[WinMySQLadmin]
Server=D:/mysql/bin/mysqld-nt.exe
user=root
password=test
01/03/2013 23:47 Riku.Ansem#2
In everywhere sites where you put "myip" you need put "127.0.0.1".
Only need put your IP on shell.ini.... (hamachi ip).

I'm triying do it without Hamachi... but I can't...
01/04/2013 06:35 idlemonkey#3
did you make a host or make sure your localhost is active at least?
and database ip should be 127.0.0.1 alctually all of the ips can be 127.0.0.1 except the acc ip and the master ip i see i n yoru shell config you have it backwards also look in authorizedatabase config and make sure the information is the same it should look the same in all files for db ip gameserver master etc
01/05/2013 02:29 Reasoner#4
I want others to be able to connect. So all IP need to be 127.0.0.1 or local host?

None of them need to actually be MYIP?
01/05/2013 05:33 idlemonkey#5
Quote:
Originally Posted by Reasoner View Post
I want others to be able to connect. So all IP need to be 127.0.0.1 or local host?

None of them need to actually be MYIP?
no none of them need to be your ip but if you want people to access it from outside the accserver ip and master ip has to be... (unless you point it to it in your hosts files which is messy) and if you dont keep some local (ie database and gameserver) then it listens for it and you can be vulnerable to sql injection and other exploits... but the only ones you really need to change are master and accserver ip ...
honestly these ips can be "any" ip they dont have to be limited to one either but all of them have to be the same for each [ie: master ip has to be the same in all files db ip the same in all files etc] just like the server name and accserver and mysql login