Newbie Spellweaver
- Joined
- Nov 25, 2011
- Messages
- 82
- Reaction score
- 8
By DELUXX
MKZ local server setup
7. Now we need to change lan ip to 192.168.0.104,for me this was ok
8. Now make the ODBC connection to you db
User DNS
System DNS
Now we will setup the 1Ldbi.exe
- in LDBI.ini find and edit the :
ok now save the LDBI.ini .
Now we will setup the 2YPServer.exe in ypserver folder open EZS.ini and edit this:
ok now save the EZS.ini
Now we will setup the 3MKZBroadcastServer.exe in BS\cfg\ folder open server.cfg and edit this:
ok now save the server.cfg
Now we will setup the 4MKZProxyServer.exe, open C:\mkz-server\ProxyServer\ProxyServer\cfg server.cfg and edit this:
close and save.
Now we ar ready to setup the 5MKZWorldServer.exe, open C:\mkz-server\WS\cfg server.cfg
close and save.
Now we will setup the 6MetalKnightZeroServer_vc8.exe,
- open C:\mkz-server\GS\GS\cfg server.cfg and edit this:
close and save.
- open C:\mkz-server\GS\GS\cfg ProxyServer.cfg and edit this:
close and save.
Now we will setup the DBProxyS.exe:
- open C:\mkz-server\DBProxy DBProxy.ini and edit this:
- open C:\mkz-server\DBProxy Install.Bat ,right click and select edit and make sure it look this that:
close and save and start Install.Bat
- now open windows cmd and type :
net start db
Now we will setup the 8LZ.exe:
- open C:\mkz-server\LZ EZS.ini and edit this:
close and save.
Let`s start the server in this order:
------------------------ Client setup to connect - server ------------------------
note the user: twly000001
and
pwd: 96e79218965eb72c92a549dd5a330112
(password is in md5 format not decrypted)
both user and password can be found in db:
-MKZ_RUserDB_30 / table- T_UserCore
close and save and start start.bat
MKZ local server setup
- 1. Download server files
You must be registered to see links
- 2. Install Msql 2008 db
You must be registered to see links
- 3. Unrar the server files to you C partition on your HDD ( C:\mkz-server\ )
- 4. In mkz-server you will find a DataBase.zip, unrar that anywhere
- 5. Now atach the db files to your msql 2008 (if you don`t know how google)
- 6. Now we need to change PC name to user :
PHP:
-Right click to MyComputer on desktop
-Click on Properties
-Select Computer Name tab
-Now press change button
-Type in Computer name user
-Press ok and restart pc
You must be registered to see links
8. Now make the ODBC connection to you db
User DNS
PHP:
- _yp_db = MKZ_RUserDB_30
- HLdbi_GameDB = MKZ_LGameDB_30
- HLdbi_UserDB = MKZ_LUserDB_30
PHP:
- _yp_db = MKZ_RUserDB_30
- HLdbi_GameDB = MKZ_LGameDB_30
- HLdbi_UserDB = MKZ_LUserDB_30
- MKZ_LS_UserDB = MKZ_LUserDB_30
- MKZ_LZ_RDB = MKZ_LGameDB_30
Now we will setup the 1Ldbi.exe
- in LDBI.ini find and edit the :
PHP:
LUSERDBUSERNAME= your msql 2008 username
LUSERDBPASSWORD= your msql 2008 passowrd
----------------------------------------
LGAMEDBUSERNAME= your msql 2008 username
LGAMEDBPASSWORD= your msql 2008 passowrd
ok now save the LDBI.ini .
Now we will setup the 2YPServer.exe in ypserver folder open EZS.ini and edit this:
PHP:
YPDBUSERNAME= your msql 2008 username
YPDBPASSWORD= your msql 2008 passowrd
Now we will setup the 3MKZBroadcastServer.exe in BS\cfg\ folder open server.cfg and edit this:
PHP:
[__GLOBAL__]
;MKZDB数据库配置项
MKZDB_ServerIP="192.168.0.104,1433"
MKZDB_UserName="your msql 2008 username"
MKZDB_Password="your msql 2008 passowrd"
MKZDB_DatabaseName="MKZDB"
;WEB数据库配置项
MKZWebDB_ServerIP="192.168.0.104,1433"
MKZWebDB_UserName="your msql 2008 username"
MKZWebDB_Password="your msql 2008 passowrd"
MKZWebDB_DatabaseName="MKZWEB"
;统计系统数据库配置项
MKZStateDB_ServerIP="192.168.0.104,1433"
MKZStateDB_UserName="your msql 2008 username"
MKZStateDB_Password="your msql 2008 passowrd"
MKZStateDB_DatabaseName="MKZStatDB"
;LOGDB数据库配置项
MKZLOGDB_ServerIP="192.168.0.104,1433"
MKZLOGDB_UserName="your msql 2008 username"
MKZLOGDB_Password="your msql 2008 passowrd"
MKZLOGDB_DatabaseName="MKZLOGDB"
;MKZMAININFODB(mkz中心信息数据库)
MKZMAININFODB_ServerIP="192.168.0.104,1433"
MKZMAININFODB_UserName="your msql 2008 username"
MKZMAININFODB_Password="your msql 2008 passowrd"
MKZMAININFODB_DatabaseName="MKZMAININFODB"
ok now save the server.cfg
Now we will setup the 4MKZProxyServer.exe, open C:\mkz-server\ProxyServer\ProxyServer\cfg server.cfg and edit this:
PHP:
[__GLOBAL__]
;MKZDB数据库配置项
MKZDB_ServerIP="192.168.0.104,1433"
MKZDB_UserName="msql 2008 username"
MKZDB_Password="msql 2008 password"
MKZDB_DatabaseName="MKZDB"
;WEB数据库配置项
MKZWebDB_ServerIP="192.168.0.104,1433"
MKZWebDB_UserName="msql 2008 username"
MKZWebDB_Password="msql 2008 password"
MKZWebDB_DatabaseName="MKZWEB"
;统计系统数据库配置项
MKZStateDB_ServerIP="192.168.0.104,1433"
MKZStateDB_UserName="msql 2008 username"
MKZStateDB_Password="msql 2008 password"
MKZStateDB_DatabaseName="MKZStatDB"
;LOGDB数据库配置项
MKZLOGDB_ServerIP="192.168.0.104,1433"
MKZLOGDB_UserName="msql 2008 username"
MKZLOGDB_Password="msql 2008 password"
MKZLOGDB_DatabaseName="MKZLOGDB"
;MKZMAININFODB(mkz中心信息数据库)
MKZMAININFODB_ServerIP="192.168.0.104,1433"
MKZMAININFODB_UserName="msql 2008 username"
MKZMAININFODB_Password="msql 2008 password"
MKZMAININFODB_DatabaseName="MKZMAININFODB"
close and save.
- Now download this
You must be registered to see links
- Extract the MKZWorldServer.exe from MKZWorldServer过期补丁.zip and past to C:\mkz-server\WS\system ,
- Now right click on MKZWorldServer.exe and make a Create a Shortcut ,
- rename that Shortcut to 5MKZWorldServer.exe ,copy and past that Shortcut to C:\mkz-server (even replace).
Now we ar ready to setup the 5MKZWorldServer.exe, open C:\mkz-server\WS\cfg server.cfg
PHP:
[__GLOBAL__]
;MKZDB数据库配置项
MKZDB_ServerIP="192.168.0.104,1433"
MKZDB_UserName="msql 2008 username"
MKZDB_Password="msql 2008 password"
MKZDB_DatabaseName="MKZDB"
;WEB数据库配置项
MKZWebDB_ServerIP="192.168.0.104,1433"
MKZWebDB_UserName="msql 2008 username"
MKZWebDB_Password="msql 2008 password"
MKZWebDB_DatabaseName="MKZWEB"
;统计系统数据库配置项
MKZStateDB_ServerIP="192.168.0.104,1433"
MKZStateDB_UserName="msql 2008 username"
MKZStateDB_Password="msql 2008 password"
MKZStateDB_DatabaseName="MKZStatDB"
;LOGDB数据库配置项
MKZLOGDB_ServerIP="192.168.0.104,1433"
MKZLOGDB_UserName="msql 2008 username"
MKZLOGDB_Password="msql 2008 password"
MKZLOGDB_DatabaseName="MKZLOGDB"
;MKZMAININFODB(mkz中心信息数据库)
MKZMAININFODB_ServerIP="192.168.0.104,1433"
MKZMAININFODB_UserName="msql 2008 username"
MKZMAININFODB_Password="msql 2008 password"
MKZMAININFODB_DatabaseName="MKZMAININFODB"
close and save.
Now we will setup the 6MetalKnightZeroServer_vc8.exe,
- open C:\mkz-server\GS\GS\cfg server.cfg and edit this:
PHP:
[__GLOBAL__]
;MKZDB数据库配置项
MKZDB_ServerIP="192.168.0.104,1433"
MKZDB_UserName="msql 2008 username"
MKZDB_Password="msql 2008 password"
MKZDB_DatabaseName="MKZDB"
;WEB数据库配置项
MKZWebDB_ServerIP="192.168.0.104,1433"
MKZWebDB_UserName="msql 2008 username"
MKZWebDB_Password="msql 2008 password"
MKZWebDB_DatabaseName="MKZWEB"
;统计系统数据库配置项
MKZStateDB_ServerIP="192.168.0.104,1433"
MKZStateDB_UserName="msql 2008 username"
MKZStateDB_Password="msql 2008 password"
MKZStateDB_DatabaseName="MKZStatDB"
;LOGDB数据库配置项
MKZLOGDB_ServerIP="192.168.0.104,1433"
MKZLOGDB_UserName="msql 2008 username"
MKZLOGDB_Password="msql 2008 password"
MKZLOGDB_DatabaseName="MKZLOGDB"
;MKZMAININFODB(mkz中心信息数据库)
MKZMAININFODB_ServerIP="192.168.0.104,1433"
MKZMAININFODB_UserName="msql 2008 username"
MKZMAININFODB_Password="msql 2008 password"
MKZMAININFODB_DatabaseName="MKZMAININFODB"
close and save.
- open C:\mkz-server\GS\GS\cfg ProxyServer.cfg and edit this:
PHP:
[__GLOBAL__]
DBServer="192.168.0.104,1433"
UserName="msql 2008 username"
Password="msql 2008 password"
DatabaseName="MKZDB"
close and save.
Now we will setup the DBProxyS.exe:
- open C:\mkz-server\DBProxy DBProxy.ini and edit this:
PHP:
DSN="HLdbi_UserDB"
USERNAME="msql 2008 username"
PASSWORD="msql 2008 password"
- open C:\mkz-server\DBProxy Install.Bat ,right click and select edit and make sure it look this that:
PHP:
regservice install db C:\mkz-server\DBProxy\DBProxyS.exe
PAUSE
close and save and start Install.Bat
- now open windows cmd and type :
net start db
Now we will setup the 8LZ.exe:
- open C:\mkz-server\LZ EZS.ini and edit this:
PHP:
[YP]
;ypdb
YPDBDSN=_yp_db
YPDBUSERNAME=msql 2008 username
YPDBPASSWORD=msql 2008 password
[EZS]
;gameDB
GAMEDBDSN=MKZ_LZ_RDB
GAMEDBUSERNAME=msql 2008 username
GAMEDBPASSWORD=msql 2008 password
;userDB
USERDBDSN=MKZ_LS_UserDB
USERDBUSERNAME=msql 2008 username
USERDBPASSWORD=msql 2008 password
close and save.
Ok if you made all that like in tutorial server will work just fine now.
Let`s start the server in this order:
- 1Ldbi.exe
- 2YPServer.exe
- 3MKZBroadcastServer.exe
- 4MKZProxyServer.exe
- 5MKZWorldServer.exe
- 6MetalKnightZeroServer_vc8.exe
- 7ES.exe
- 8LZ.exe
------------------------ Client setup to connect - server ------------------------
- Download client from
You must be registered to see linksand install
- After you installed the client go where you installed (for me is this D:\Program Files\175PT\MetalKnightZero )
- make there a start.bat and add this in file:
PHP:
@echo on
system\MetalKnightZeroClient.exe -SHELLCONNECT -LSIP 192.168.0.104 -LSPORT 4502 -P2PIP 192.168.0.104 -P2PPORT 60481 -GSIP 192.168.0.104 -GSPORT 2008 -USER twly000001 -PWD 96e79218965eb72c92a549dd5a330112 -CHECKID test2 -CHECKTEX test -PartnerCode ??? -BIGZONEID 1 -BIGZONENAME [Test] -ZONEID 1 -ZONENAME [Test] -GSID 1 -GSNAME test
pause
note the user: twly000001
and
pwd: 96e79218965eb72c92a549dd5a330112
(password is in md5 format not decrypted)
both user and password can be found in db:
-MKZ_RUserDB_30 / table- T_UserCore
close and save and start start.bat
- 云和山的彼端 - for releasing the files!
- hsca10156 - Sharing the password !! [Thanks alot mate!]
- Naty48 - For creating the theard and gather all the info&mirrors .
- ModGift - For creating the ftp links
- GameDebug - For releasing the MKZWorldServer.exe cracked
- sys3rr0r - For releasing the start.bat config
- DELUXX (Me) - For first full tutorial