Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!I put this tutorial together because alot of similar tutorials here are either too complicated, poorly structured or just wrong. THIS TUTORIAL WAS MADE TO GET YOUR SERVER RUNNING AND PLAYABLE. NOTHING MORE!'
I also translated this page into French and Spanish for the non-English users here.
Français:You must be registered to see links
Español:You must be registered to see links
DOWNLOADS
Server:You must be registered to see links
Client:You must be registered to see links
MRS Decompiler:You must be registered to see links
Microsoft SQL Server 2005:You must be registered to see links
Microsoft SQL Server Management Studio Express:You must be registered to see links
Your anti-virus may detect the launcher as a virus, so it may get deleted.
Before you do anything, you are going to need to install Microsoft SQL Server 2005 using MIXED MODE, NOT WINDOWS AUTHENTICATION, then install Microsoft SQL Server Management Studio Express.
Server Management Studio Express Setup
Setup
1) Start up Server management studio express and connect using the following settings:
Code:Server Type: Database Engine Server Name: (If this box is empty, click the drop down arrow and choose browse for more, than expand the database engine using the + and select whatever comes up) Authentication: Sql Server Authentication Username: sa Password: (whatever you used when installing SQl Server 2005)
2) Within the Object Explorer Panel, right click the "database" folder, then click "New Database". A New Database form will open. In the text input type "GunzDB" and click OK, your database has been created.
3) The next thing you are going to do is load the Database. Click File > Open > File... and locate "Database_GunzDB.sql" in your Gunz ServerFiles Rev 5/Database folder and open it.
4) In the toolbar there is a drop-down menu with the "master" database selected, click on the arrow and select the 'GunzDB' database and click the red ! button next to the drop-down menu to execute.
IGNORE ANY ERRORS
Configuration
1) Bring up SMSE and expand the 'Database' folder if it hasn't already been done.
2) Expand "GunzDB", then expand 'Tables' and right click on 'dbo.Account' and 'Open table'. If there are no tables, repeat step 4 until there is.
3) Enter the information below. (once a field is completed, hit enter to proceed to the next)
AID: Generated automatically at the end of account creation
UserID: Desired username used for logging in.
UGradeID: Refer to the grades below
PGradeID: Same as UGradeIDCode:Account Grades Administrator - 255 Developer - 254 Banned - 253 Administrator (with normal name) - 252 Jjang - 2 (event winner) Normal User - 0
RegDate: 0:00:00
Name: Your first name.
4) Hit execute and your done with account.dbo
5) Right click on 'dbo.Login' and 'Open table'.
7) Enter the AID of your account, your username and your desired password.
8) Hit execute and your done with Login.dbo
9) Right click on 'dbo.ServerStatus' and 'Open table'.
10) Change the settings to this:
Code:ServerID= 1 CurrPlayer= 0 MaxPlayer= 50 Time= 0:00:00 IP= YOURWANIP Port= 6000 ServerName= MatchServer1 Opened= 1 Type=4
11) Execute and proceed to locatorstatus.dbo
12) Change the settings to the ones below:
Code:LocatorID: 1 IP: YOURWANIP Port: 8900 RecvCount: 0 SendCount: 0 BlockCount: 0 UpdateElapsed: 0 DuplicatedCount: 0 UpdateElapsed: 1000 Last Update: 11/9/2009 12:00:00 AM
13) Execute and your done with Microsoft SQL Server Management Studio Express
ODBC Setup
1) Click Start> Run> and type 'odbcad32'. You should already be in the 'User DSN' tab so switch to the 'System DSN' tab, and click "Add"
2) In the new window, scroll all the way down to the bottom and select 'SQL Server' then click 'Finish'.
3) Another window will pop-up, enter the info below:
Code:Name: GunzDB Description: Type whatever you like Server: "Server name" that you use to login to Sql Server Management Stdio express
4) Click next
5) In the next window, change the connection type from Windows NT to SQL Server Authentication, and check "Connect to Sql Server" and enter your Login/pass. Click next.
6) Now in this next part, click on the tick box and select 'GunzDB' from the drop-down menu and click Next and finally click Finish.
7) Click "OK" again to finish.
Server Setup
1) Make this directory: "C:\GunzServer", and extract the server files into it.
2) Replace the contents of the following files with the code I have provided:
(YOURWANIP can be found at:You must be registered to see links)
MatchServer.ini in MatchServer folder"
Code:[DB] DNS="GunzDB" USERNAME="sa" PASSWORD="Password you use for SQL Server management express" [SERVER] MAXUSER=50 SERVERID=1 SERVERNAME="MatchServer1" FREELOGINIP="WAN IP (or NO-IP Address if you have a dynamic IP)" KEEPERIP="WAN IP (or NO-IP Address if you have a dynamic IP)" MONITORIP="127.0.0.1" MONITORPORT=9000 MODE="test" COUNTRY="BRZ" LANGUAGE="BRZ" USETICKET="0" [LANGUAGE] LANG_TYPE="eng" [LOCALE] DBAgentPort=5100 DBAgentIP=127.0.0.1 [FILTER] USE="0" ACCEPT_INVALID_IP="1" [ENVIRONMENT] USE_HSHIELD="0" USE_XTRAP="0" USE_EVENT="0" USE_FILECRC="0" USE_MD5="0"
AgentConfig.xml in MatchAgent folder
Code:<?xml version="1.0" encoding="euc-kr"?> <XML> <AGENTCONFIG> <NAME>MatchServer1</NAME> <MAXCLIENT>200</MAXCLIENT> <MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/> <ADDRESS ip="YOURWANIP (or NO-IP Address if you have a dynamic IP)" tcpport="7777" udpport="5100"/> </AGENTCONFIG> </XML>
locator.ini in Locator folder
Code:[DB] DNS="GunzDB" USERNAME="sa" PASSWORD="Password you use for SQL Server management express" [NETWORK] IP="WANIP (or NO-IP Address if you have a dynamic IP)" PORT="8900" [ENV] ID="1" LOCATOR_UID_HIGH="5" LOCATOR_UID_LOW="0" MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000" UDP_LIVE_TIME="10000000" MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9" BLOCK_TIME="0" UPDATE_UDP_MANAGER_ELAPSED_TIME="3" MARGIN_OF_ERROR_MIN="500000" USE_COUNTRY_CODE_FILTER="no" GMT_DIFF="-3" ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000" ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000" ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000" UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68" TEST_SERVER="0"
Client Setup
1) Download and install the client.
2) Extract the contents to C:\Progran Files\Gunz Client.
3) Decompile system.mrs using the "How to Compile/Decompile .mrs files" method below.
4) Once decmpiled, Right click "system.xml" and select open with wordpad.
5) Replace the contents with this code:
Code:<?xml version="1.0" encoding="UTF-8" ?> <XML> <XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER> <SKIN>Default</SKIN> <DEFFONT>Arial</DEFFONT> <IME>true</IME> <BAREPORT> <ADDR>www.battlearena.com</ADDR> <DIR>incoming/gunz_global</DIR> </BAREPORT> <HOMEPAGE> <URL>http://www.gunzonline.com</URL> <TITLE>GunZ the Dual</TITLE> </HOMEPAGE> <EMBLEM_URL>http://gunzonline.com/emblems/</EMBLEM_URL> <TEMBLEM_URL>http://gunzonline.com/emblems/</TEMBLEM_URL> <LOCATORLIST> <LOCATOR id="1" IP="YOURWANIP (or NO-IP Address if you have a dynamic IP)" /> </LOCATORLIST> <TLOCATORLIST> <LOCATOR id="1" IP="YOURWANIP (or NO-IP Address if you have a dynamic IP)" /> </TLOCATORLIST> </XML>
6) Save and Compile system.mrs
7) Open Gunz Client and Right click "config.xml" and select open with wordpad.
8) Change the top part with this:
9) SaveCode:<?xml version="1.0" encoding="UTF-8"?> <XML> <SERVER> <IP>WANIP (or NO-IP Address if you have a dynamic IP)</IP> <PORT>6000</PORT> </SERVER>
How to Compile/Decompile .mrs files
Download the "MRS Decompiler.exe" and extract the files to C:\GunzServer\MRS
To Decompile:
1) Copy your desired .mrs file to the "C:\GunzServer\MRS" directory.
2) Run MRS Decompiler.exe and in the "decompile" box, type in "system". Your newly generated decompiled .mrs folder should appear!
To Compile:
1) Run the MRS Decompiler.exe and in the "compile" box, type in system. Your newly generated compiled .mrs file should appear!
Paste the newly generated system.mrs over the existing one in the "C:\Program Files\Gunz Client" directory.
Port Forwarding
1) Click Start> Run> and type "cmd"
2) Once you are prompted with a black window, type "ipconfig"
3) Find "Default Gateway" and remember it
4) Find "IP Adress" and remember that also
5) Open your internet browser and type your Default Gateway into the url box.
6) Enter the username (default admin) and password (default admin) when prompted. If you don't know your username/password go here:You must be registered to see links
7) Find your Port Fowarding page and enter this information:
8) Enter the last 3 numbers of your ipadress (192.168.1.***) and enter those numbers into the ipaddress boxes
Your done!
~ Credits to:
Me for fixing and restructuring MAXTRAVV3's tutorial.
MAXTRAVV3's tutorial for links and tutorial base.
EpikBaby for being a douchebag.
Not accepting msn friend requests. Please Private message me AFTER trying your best to complete the tutorial.
Added Dynamic IP Settings
guys where should insert the password at the account.dbo?
In that part above, what login/pass do we use..? Please reply ASAP. So far the TuT is great.
help me please D:
im on the client bit, i download the client, says theres a virus, and click 'x' , after it downloaded, theres no system.mrs or system.xml =/ cant some1 please help me!
Awesome tutorial dude.. Thanks a lot..
hey how do i give admin and donator items to people cant find out how to give myself admin items in my server.
Please Help EagleDude4
is there any other way to do this than using these:
Microsoft SQL Server 2005:
Microsoft SQL Server Management Studio Express:
because i cant download and install its not working for me any other programs?
its been 5 hours
Coz its ur Ip u can see the server Another peaple Can See And If u want to see Change iT To 127.0.0.1 But theis just u can Log ini need help pls look my screenshots
i dont see my server select anyone can help me solve it
please help me solve my problem
LOOK MY SERVER IS RUNNING FINE BUT CANT SEE MY SERVER SELECT