Trying to get online.. spot my error

Join Discord

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
255
♫♪♫ ♦♥♠♣ ♀♂♀
Hello all..

just trying to get online as i always did but i can't spot my error..

i will be adding my settings here so that you can look at them..

network lan ip which is running the server is 192.168.1.100
external wan ip is covered by a dns which is mstation.no-ip.censured

DBSERVER FILES:
-!addrtable.txt
192.168.1.100
192.168.1.100


-!serverinfo.txt
192.168.1.100 mstation.no-ip.censured 7200

-dbsrc.ini
[SQL]
SQLType=mssql
SQLHost=192.168.1.100
SQLPort=3306
SQLDatabase=mir2
SQLUsername=omitted
SQLPassword=omitted
[Setup]
ServerName=Diamond
ServerAddr=192.168.1.100
ServerPor=6000
MapFile=C:\mirserver\Mir200\Envir\MapInfo.txt
ViewHackMsg=1
GateAddr=192.168.1.100
GatePort=5100
DynamicIPMode=0
BackupClearData=0
ShowItemName=1
DBName=HeroDB
[Server]
IDSAddr=192.168.1.100
IDSPort=5600
[DBClear]
Interval=1000
Level1=1
Level2=7
Level3=14
Day1=7
Day2=62
Day3=124
Month1=0
Month2=0
Month3=0
...


GAMEGATE FILES:
-Config.ini
[RunGate]
Title=Diamond
ServerAddr=192.168.1.100
ServerPort=5000
GateAddr=192.168.1.100
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.1.100
ServerPort=5000
GateAddr=0.0.0.0
GatePort=7200
ShowLogLevel=6
ShowBite=1
ServerCheckTimeOut=180000
ClientSendBlockSize=1000


LOGINGATE FILES
-Config.ini
[LoginGate]
KeepConnectTimeOut=60000
MaxConnOfIPaddr=10
BlockMethod=0
Title=Diamond
ServerAddr=192.168.1.100
ServerPort=5500
GateAddr=0.0.0.0
GatePort=7000
ShowLogLevel=3


LOGINSRV FILES
-!addrtable.txt
Diamond Diamond 192.168.1.100 mstation.no-ip.censured mstation.no-ip.censured:7100

-!serveraddr.txt
192.168.1.100

-LoginSrv.ini
[server]
DBServer=192.168.1.100
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.1.100
GatePort=5500
ServerAddr=192.168.1.100
ServerPort=5600
MonAddr=0.0.0.0
MonPort=3000
TestServer=1
DynamicIPMode=0
FeeServer=192.168.1.100
LogServer=192.168.1.100
EnableGetbackPassword=0
AutoClear=0
AutoClearTime=3000
AdminName=
DisableNumber=0
...


SELGATE FILES
-Config.ini
[SelGate]
KeepConnectTimeOut=60000
Title=Diamond
ServerAddr=192.168.1.100
ServerPort=5100
GateAddr=0.0.0.0
GatePort=7100
ShowLogLevel=3
MaxConnOfIPaddr=10
BlockMethod=0


M2SERVER FILES
-!runaddr.txt
192.168.1.100

-!servertable.txt
0 192.168.1.100 7200

-!Setup.txt
[SQL]
UseSQL=TRUE
SQLHost=192.168.1.100
SQLUsername=omitted
SQLPassword=omitted
SQLDatabase=mir2
SQLType=mssql
SQLPort=3306
SQLCharDatabase=mir2

[Server]
ServerIndex=0
ServerName=Diamond
...
GateAddr=192.168.1.100
GatePort=5000
DBAddr=192.168.1.100
DBPort=6000
IDSAddr=192.168.1.100
IDSPort=5600
MsgSrvAddr=192.168.1.100
MsgSrvPort=4900
LogServerAddr=192.168.1.100
LogServerPort=10000
...



At last some more additional info.. the client connects perfectly within the network using other computer with 192.168.1.xxx and in the router i have forwarded like always ports 7000, 7100, 7200..

i have tried to connect several times outside the lan using my no-ip dns but i keep on getting connection closed..

any help will be very appreciated!
 

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
You changed loads of ip's that really don't need changing, are you sure mstation.no-ip.censured works with 2.3 ? because i know that got coded into ripmans/lifco's 2.6 files so not sure if it will work on 2.3. follow this guide always worked for me...

Code:
2.3 files online setup

dbserver folder serverinfo txt file
internal ip your external ip 7200 (space inbetween each entry)
Gamegate folder config file
[GameGate]
Title=Diamond <----- change to your server name
ServerAddr=127.0.0.1
ServerPort=5000
GateAddr=servers internal ip,, usually 192.168.0.* if on a router or 127.0.0.1 if not
GatePort=7200
ShowLogLevel=10
ShowBite=0
ServerCheckTimeOut=180000
ClientSendBlockSize=500
MaxConnOfIPaddr=50
BlockMethod=0
MaxClientPacketSize=6420
NomClientPacketSize=190
MaxClientMsgCount=100
kickOverPacket=1
ClientTimeOutTime=5000
Login server folder - addrtable txt file
Diamond Diamond 127.0.0.1 your external ip your external ip:7100
(change server names to yours , change internal ip to yours)
M2server folder
runaddr txt file
your external ip
servertable txt file
; Followings have to be arrayed by server no.
;server no. connect-addr port
0 external ip 7200

this will get the server online, all the other ips in the files need to be set to your internal ip, 127.0.0.1 or 192.168.*.* if on a router or left alone if they display 0.0.0.0
for lan playing you need the files above to have your internal ip on them 192.168.*.* and ports wil still need to be forwarded , for lan play the client mir2.exe will need the internal ip in its config / ini files.
 
Upvote 0

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
255
♫♪♫ ♦♥♠♣ ♀♂♀
i do think you gotta use a ip for the exe to conn with.

do you mean in the server.ini and mir2.ini? because this has been already done.. i have done this a lot of times and i'm sure also having all those 192.168.1.100 will work as having all those 127.0.0.1..

if you mean you have to edit the mir.exe using hex then i didnt try it out yet because i didnt remember that this had to be done..
 
Upvote 0