Can't log in - problem with ips. (2.3)

smoochy boys on tour

Mezoko

Dedicated Member
Dedicated Member
Oct 13, 2005
131
0
62
Hi, I am using TDs 2.3 files, and have come across a problem when attempting to get my server online. It let's me create usernames, log in, create a character, but when I select my character and log in, i get the 'black screen' error. All ports are forwarded, all gates are open, but i can't, and no-one else can get in-game.

Here is a list of the appropriate files which have ip changes in them.
(My lan ip is 192.168.0.2 and my Global IP is 90.201.201.207)

DB Server:

!addrtable.txt:

192.168.0.2
192.168.0.2

!serverinfo.txt:

192.168.0.2 90.201.201.207 7200

dbsrc.ini:

[Reg]
Key=0123456789
ServerAddr=192.168.0.2
ServerPort=60320
[SQL]
SQLType=mssql
SQLHost=(local)
SQLPort=3306
SQLDatabase=lom2
SQLUsername=sa
SQLPassword=mirserver
[Setup]
ServerName=Diamond
ServerAddr=192.168.0.2
ServerPor=6000
MapFile=C:\mirserver\Mir200\Envir\MapInfo.txt
ViewHackMsg=1
GateAddr=192.168.0.2
GatePort=5100
DynamicIPMode=0
BackupClearData=0
ShowItemName=1
DBName=HeroDB
[Server]
IDSAddr=192.168.0.2
IDSPort=5600
[DBClear]
Interval=1000
Level1=1
Level2=7
Level3=14
Day1=7
Day2=62
Day3=124
Month1=0
Month2=0
Month3=0
[DB]
Dir=C:\mirserver\DBServer\FDB\
IdDir=C:\mirserver\DBServer\FDB\
HumDir=C:\mirserver\DBServer\FDB\
FeeDir=C:\mirserver\DBServer\FDB\
BackupDir=C:\mirserver\DBServer\Backup\
ConnectDir=C:\mirserver\DBServer\Connection\
LogDir=C:\mirserver\DBServer\Log\
[Backup]
AutoBackup=1
BackupTime=18000000

Game Gate:

config.ini:

[RunGate]
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5000
GateAddr=192.168.0.2
GatePort=7200
ShowLogLevel=10
ShowBite=0
ServerCheckTimeOut=180000
ClientSendBlockSize=500
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=6420
NomClientPacketSize=190
MaxClientMsgCount=100
kickOverPacket=1
ClientTimeOutTime=5000
[GameGate]
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=7000
NomClientPacketSize=150
MaxClientMsgCount=15
kickOverPacket=1
ClientTimeOutTime=5000
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5000
GateAddr=192.168.0.2
GatePort=7200
ShowLogLevel=6
ShowBite=1
ServerCheckTimeOut=180000
ClientSendBlockSize=1000

Login Gate:

config.ini:

[LoginGate]
KeepConnectTimeOut=60000
MaxConnOfIPaddr=10
BlockMethod=0
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5500
GateAddr=0.0.0.0
GatePort=7000
ShowLogLevel=3

Login Srv:

!addrtable.txt:

;No space allowed
;Server Title Remote Public Gate...
Diamond Diamond 192.168.0.2 90.201.201.207 90.201.201.207:7100

!serveraddr.txt:

192.168.0.2

Logsrv.ini:

[server]
DBServer=192.168.0.2
DBSPort=16303
FeePort=16301
LogPort=16305
ReadyServers=0
EnableMakingID=1
EnableTrial=FALSE

CountLogDir=C:\mirserver\LoginSrv\CountLog\
WebLogDir=C:\mirserver\LoginSrv\GameWFolder\
GateAddr=192.168.0.2
GatePort=5500
ServerAddr=192.168.0.2
ServerPort=5600
MonAddr=0.0.0.0
MonPort=3000
TestServer=1
DynamicIPMode=0
FeeServer=192.168.0.2
LogServer=192.168.0.2
...

M2Server:

!runaddr.txt:

90.201.201.207

!servertable.txt:

; Followings have to be arrayed by server no.
;server no. connect-addr port
0 90.201.201.207 7200

!setup.txt

...
GateAddr=192.168.0.2
GatePort=5000
DBAddr=192.168.0.2
DBPort=6000
IDSAddr=192.168.0.2
IDSPort=5600
MsgSrvAddr=192.168.0.2
MsgSrvPort=4900
LogServerAddr=192.168.0.2
LogServerPort=10000
...

SelGate:

config.ini:

[SelGate]
KeepConnectTimeOut=60000
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5100
GateAddr=0.0.0.0
GatePort=7100
ShowLogLevel=3
MaxConnOfIPaddr=10
BlockMethod=0

Could someone please identify what is wrong with the ips that is making me, and others, unable to play on the server?
Any help would be highly appreciated :)
You can also add [email protected] and speak to me on msn.
 

Jeffking

Dedicated Member
Dedicated Member
Sep 29, 2008
36
0
33
InHeaven
You must to change like this:
What is in red you make wrong, and must to change:
DB Server:

!addrtable.txt:

192.168.0.2 90.201.201.207

!serverinfo.txt:

192.168.0.2 90.201.201.207 7200

dbsrc.ini:

[Reg]
Key=0123456789
ServerAddr=192.168.0.2
ServerPort=60320
[SQL]
SQLType=mssql
SQLHost=(local)
SQLPort=3306
SQLDatabase=lom2
SQLUsername=sa
SQLPassword=mirserver
[Setup]
ServerName=Diamond
ServerAddr=192.168.0.2
ServerPor=6000
MapFile=C:\mirserver\Mir200\Envir\MapInfo.txt
ViewHackMsg=1
GateAddr=192.168.0.2
GatePort=5100
DynamicIPMode=0
BackupClearData=0
ShowItemName=1
DBName=HeroDB
[Server]
IDSAddr=192.168.0.2
IDSPort=5600
[DBClear]
Interval=1000
Level1=1
Level2=7
Level3=14
Day1=7
Day2=62
Day3=124
Month1=0
Month2=0
Month3=0
[DB]
Dir=C:\mirserver\DBServer\FDB\
IdDir=C:\mirserver\DBServer\FDB\
HumDir=C:\mirserver\DBServer\FDB\
FeeDir=C:\mirserver\DBServer\FDB\
BackupDir=C:\mirserver\DBServer\Backup\
ConnectDir=C:\mirserver\DBServer\Connection\
LogDir=C:\mirserver\DBServer\Log\
[Backup]
AutoBackup=1
BackupTime=18000000

Game Gate:

config.ini:

[RunGate]
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5000
GateAddr=192.168.0.2
GatePort=7200
ShowLogLevel=10
ShowBite=0
ServerCheckTimeOut=180000
ClientSendBlockSize=500
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=6420
NomClientPacketSize=190
MaxClientMsgCount=100
kickOverPacket=1
ClientTimeOutTime=5000
[GameGate]
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=7000
NomClientPacketSize=150
MaxClientMsgCount=15
kickOverPacket=1
ClientTimeOutTime=5000
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5000
GateAddr=192.168.0.2
GatePort=7200
ShowLogLevel=6
ShowBite=1
ServerCheckTimeOut=180000
ClientSendBlockSize=1000

Login Gate:

config.ini:

[LoginGate]
KeepConnectTimeOut=60000
MaxConnOfIPaddr=10
BlockMethod=0
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5500
GateAddr=192.168.0.2
GatePort=7000
ShowLogLevel=3

Login Srv:

!addrtable.txt:

;No space allowed
;Server Title Remote Public Gate...
Diamond Diamond 192.168.0.2 90.201.201.207 90.201.201.207:7100 192.168.0.2:7100 ;;;if u want to use 1 local ip local near with public IP

!serveraddr.txt:

192.168.0.2
90.201.201.207

Logsrv.ini:

[server]
DBServer=192.168.0.2
DBSPort=16303
FeePort=16301
LogPort=16305
ReadyServers=0
EnableMakingID=1
EnableTrial=FALSE

CountLogDir=C:\mirserver\LoginSrv\CountLog\
WebLogDir=C:\mirserver\LoginSrv\GameWFolder\
GateAddr=192.168.0.2
GatePort=5500
ServerAddr=192.168.0.2
ServerPort=5600
MonAddr=192.168.0.2
MonPort=3000
TestServer=1
DynamicIPMode=0
FeeServer=192.168.0.2
LogServer=192.168.0.2
...

M2Server:

!runaddr.txt:
192.168.0.2
90.201.201.207

!servertable.txt:

; Followings have to be arrayed by server no.
;server no. connect-addr port
;0 90.201.201.207 7200 -> wrong
;Must u be:
192.168.0.2
90.201.201.207


!setup.txt

...
GateAddr=192.168.0.2
GatePort=5000
DBAddr=192.168.0.2
DBPort=6000
IDSAddr=192.168.0.2
IDSPort=5600
MsgSrvAddr=192.168.0.2
MsgSrvPort=4900
LogServerAddr=192.168.0.2
LogServerPort=10000
...

SelGate:

config.ini:

[SelGate]
KeepConnectTimeOut=60000
Title=Diamond
ServerAddr=192.168.0.2
ServerPort=5100
GateAddr=192.168.0.2
GatePort=7100
ShowLogLevel=3
MaxConnOfIPaddr=10
BlockMethod=0

This is tested and work! For online you must forwarding your modem/router ports only this : 5000, 5600,5500 but NOT and 7200 to protect your DB (SQL), my server is online from 6 years and work just fine and today,with the same WinXP+Sp(3).(PS:I dont like Vista). I strongy recommand you for your protect files , and the program ZoneAlarm...this is other story...

See ya!
 
Last edited:
Upvote 0

Mezoko

Dedicated Member
Dedicated Member
Oct 13, 2005
131
0
62
Are you sure you know what you're talking about? lol.
No one has ever said to forward ports 5000, 5500 and 5600 before... Also you can't just type in random stuff in all of the txt files...

Like in the !servertable.txt you can't change:
; Followings have to be arrayed by server no.
;server no. connect-addr port
0 90.201.201.207 7200

Into:

192.168.0.2
90.201.201.207

...

Unless someone can prove you right, i'll just wait until someone else looks at it and tells me what to do :P
 
Upvote 0

Primal

LOMCN VIP
VIP
Jun 28, 2004
1,756
102
259
Are you sure you know what you're talking about? lol.
No one has ever said to forward ports 5000, 5500 and 5600 before... Also you can't just type in random stuff in all of the txt files...

Like in the !servertable.txt you can't change:
; Followings have to be arrayed by server no.
;server no. connect-addr port
0 90.201.201.207 7200

Into:

192.168.0.2
90.201.201.207

...

Unless someone can prove you right, i'll just wait until someone else looks at it and tells me what to do :P

he doesnt no much m8 wait for someone else to tell you.... he seems to think u can still get ingame by blocking ports 7200 7100 and 7000 lol
 
Upvote 0