Welcome!

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!

[Tut] How to Make your own Gunz Private server! (Basic)

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 7, 2006
Messages
15
Reaction score
0
i followed this tut and couldnt see any servers on the list,
fixed it by just getting a different client,

i downloaded the client from the gregon13 tutorial (look on the sticky threads)

hope it helped ya.. :rolleyes:
 
Initiate Mage
Joined
Jan 11, 2010
Messages
2
Reaction score
0
Re: [Tut] (fixed) How to Make your own Gunz Private server! (Basic)

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:
Español:

DOWNLOADS
Server:
Client:

MRS Decompiler:
Microsoft SQL Server 2005:
Microsoft SQL Server Management Studio Express:

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
Code:
Account Grades
Administrator - 255
Developer - 254
Banned - 253
Administrator (with normal name) - 252
Jjang - 2 (event winner)
Normal User - 0
PGradeID: Same as UGradeID
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: )

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:
Code:
<?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>
9) Save

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:
7) Find your Port Fowarding page and enter this information:

eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums


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

Awesome tutorial dude.. Thanks a lot..:thumbup:
 
Junior Spellweaver
Joined
Jun 7, 2009
Messages
195
Reaction score
24
guys where should insert the password at the account.dbo?

Password goes under dbo.login, not account.


In that part above, what login/pass do we use..? Please reply ASAP. So far the TuT is great.

SA is the login and the pass is whatever you used when installing SQL Server 2005, the same one you use when you login into SQL Server management express.


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!

The client will report a virus (gunzlauncher.exe, ignor it for the meantime)

System.mrs should be in the client folder, but you need to decompile it using the method in the tutorial to find system.xml


Awesome tutorial dude.. Thanks a lot..:thumbup:

Thanks, hope it helped you.
 
Last edited:
D

Deleted member 472871

Guest
hey how do i give admin and donator items to people cant find out how to give myself admin items in my server.
 
Master Summoner
Joined
Jun 28, 2009
Messages
523
Reaction score
15
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?
 
Master Summoner
Joined
Jun 28, 2009
Messages
523
Reaction score
15
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
 
Master Summoner
Joined
Jun 28, 2009
Messages
523
Reaction score
15
what mysql because when i try the one i got it comes up as 1 letter when trying to execute
 
Master Summoner
Joined
Jun 28, 2009
Messages
523
Reaction score
15
Is anyone gonna help please help please

edit: srry for caps
 
Newbie Spellweaver
Joined
May 27, 2009
Messages
44
Reaction score
16
Someone knows how to open Ports in a ZyXel Router ? O.O (It's so annoying)
Everytime when i try to click Connect it says "Cannot acces server".
PLEASE HELP :(

~Veon
 
Initiate Mage
Joined
Mar 25, 2009
Messages
1
Reaction score
0
Ok how do i launch it now i get this when i launch agent and chet
eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums
 
Newbie Spellweaver
Joined
Feb 8, 2010
Messages
85
Reaction score
5
i need help pls look my screenshots
i dont see my server select anyone can help me solve it

please help me solve my problem

eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums



LOOK MY SERVER IS RUNNING FINE BUT CANT SEE MY SERVER SELECT

eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums


eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums


eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums
 
Last edited:
Junior Spellweaver
Joined
Jun 7, 2009
Messages
195
Reaction score
24
Make sure your ports are forwarded correctly, and double check the tutorial to make sure you followed it down to the last word exactly.
 
Junior Spellweaver
Joined
Apr 20, 2010
Messages
122
Reaction score
22
8/10 u coz there is another Tut and Coz U put Extra info! :p

---------- Post added at 06:12 PM ---------- Previous post was at 06:10 PM ----------

i need help pls look my screenshots
i dont see my server select anyone can help me solve it

please help me solve my problem

eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums



LOOK MY SERVER IS RUNNING FINE BUT CANT SEE MY SERVER SELECT

eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums


eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums


eagledude4 - [Tut] How to Make your own Gunz Private server! (Basic) - RaGEZONE Forums
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 in
And U can Put hamchi Ip And Another People Join to ur Hamchi Room And then they Can Log In
 
Joined
Mar 10, 2010
Messages
2
Reaction score
0
Wtf..i couldnt find any sql server to connect to...i started up the express thing...and fore server name i clicked on browse fro more...pressed + and nothing came up..
 
Status
Not open for further replies.
Back
Top