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] July and December Client and Server SETUP Guide!

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 3, 2006
Messages
59
Reaction score
0
Setting up a GunZ Server - Complete Tutorial

What you are going to need:
  • Server files (Password = ragezone.com) -
  • SQL Database -
  • Client -
  • Legacy Gamers Patch (For IP Input) -
  • Microsoft SQL Server Management Studio Express
  • Microsoft SQL Server 2005
  • MRS Unpacker -
  • WinRAR
(Downloads which have no link can easily be searched for to find the program)

Before you do anything, you are going to need to install Microsoft SQL Server Management Studio Express and Microsoft SQL Server 2005.

Step 1 - Setting up the Database and ODBC:

Creating/Connecting the Database

Open Server Management Studio Express* (SMSE). Within the Object Explorer Panel you will notice the 'Database' folder, right click it, click 'New Database...'.

A 'New Database' form will open, and in the text input type 'GunzDB' and click OK, your database has been created.

The next thing you are going to want to do is restore the Database. Click File> Open> File... and locate your GunzDB.sql file and open it. You are going to have to connect to the database engine, the settings are alright so all you need to do is click 'Connect'. Now right click on 'File' and allow the 'SQL Editor' tool bar to show.

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 button next to the drop-down menu, 'Execute'. A message showing 'Command(s) completed successfully.' should notify you that you have done this all correctly.

Creating the ODBC

Click Start> Run> and in the windows input type 'odbcad32'. You should already be in the 'User DSN' tab so click on 'Add'. Another window should pop-up. You'll have to scroll all the way down to the bottom and select 'SQL Server' then click 'Finish'.

Another window/form will pop-up needing information for your new Data Source. For the name, type 'GunzDB', for the description you may type whatever you like, but for the SQL server you which to connect to, you must go back into SMSE*, look in the SQL Editor tool bar and click the 2nd icon which will disconnect you from data engine. Now click the 1st icon which will re-connect you, but make sure to copy the 'Server name' this time, then click 'Connect'.

Now having that in hand, you can go back to creating your ODBC and in the 'Server' text input, paste in your server name. Click next since the settings are currently fine. Now in the next part, click on the tick box and select 'GunzDB' from the drop-down menu and click 'Next' and finally click 'Finish'.

If you would like to check your data source, click 'Test Data Source...' in the window or you can just click 'OK' to finish. Now to completely finish it, click 'OK' again.

Step 2 - Patching GunZ:

Install your GunZ game to a directory of your choice. Now open the Legacy Gamers patch and find the directory where you installed your GunZ game into, and run the patch. After that is done, this step is complete.

Step 3 - Configuring the Server:


Place the server files in your C:\ drive and extract them into a folder with the name 'GunzServer'. Once in the folder, go to the 'Locator' folder and then open the 'Locator.ini' file. Somewhere in the file you should see these lines of code:
[NETWORK]
IP="217.0.0.1"
PORT="8900"
You can either change the '217.0.0.0' to your actual IP or localhost which is '127.0.0.1'. Besides that everything else is fine.

Make your way to the MatchServer folder and run 'MatchServer.exe', once loaded you may minimize it.

Step 4 - Creating an Account (Manually):


Bring up SMSE and expand the 'Database' folder if it hasn't already been done. Expand 'GunzDB', expand 'Tables' and right click on 'dbo.Accounts' and 'Open table'.

You do not need to worry about the AID field as that is an automatic generation of account number. In the UserID field, type your account ID, in the Password field, type your account password and in the UGradeID, type in your account grade.
Account Grades
Administrator - 255
Developer - 254
Banned - 253
Normal User - *Leave Blank*
After you have typed all of that in, press enter and on the SQL Editor toolbar click 'Execute' (The exclamation mark symbol).

Step 5 - Configuring 'config.xml' to connect to your server:

With that all done, go to the folder where you installed GunZ/Legacy Gamers Patch and find the file 'config.xml'. Right click on it and open with notepad, or similar. You will see this portion of code:
<SERVER>
<IP>legacygamers.com</IP>
<PORT>6000</PORT>
</SERVER>
You are going to need to change the 'legacygamers.com' section to the IP you wrote in the 'Locator.ini', if you wrote the localhost IP just change it to read:
<SERVER>
<IP>127.0.0.1</IP>
<PORT>6000</PORT>
</SERVER>
Then save the file, File> Save and close it.

Step 6 - Unpacking 'system.mrs':

Extract 'mrs.rar' into your GunZ directory. Create a folder called 'MRS' inside your GunZ directory and place the files 'mrs.exe, zlib.dll and system.mrs' into that folder.

Now, you will need to open WinRAR, direct yourself to the 'MRS' folder in your hard drive. Highlight 'system.mrs' and click the 'Add' button. A window will pop-up, select RAR for the archive format and click 'OK'. Now go back to your 'MRS' folder and create a new 'Text File' with any name you like, but in the file type:
mrs.exe d system.mrs
Now save it and change the file extension to '.bat' from '.txt'. Now run that file and a folder named 'system' should come up. Go into that folder and copy the file 'zitem.xml'.

Go back to your 'MatchServer' folder and paste the 'zitem.xml' over the one that is in there. You might need to run your MatchServer.exe again for it to take changes.

Step 7 - Logging in


Run your GunZ client and type the account ID and account password that you used when you made your account in SMSE, you should login.

Congratulations, you have made your GunZ server, enjoy!


Credits:

LGKeiz and Legacy Gamers
Mythical
China
Whoever created the MRS Unpacker
Anyone else who had input into creating these files

(If I missed anything or you need any help, just post here and I'll fix it/help you)
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Dec 30, 2006
Messages
28
Reaction score
0
perfect just perfect thanks i needed a lame trem one even lower then noob i still couldnt get what thay where saying thank you
 
Newbie Spellweaver
Joined
Sep 3, 2006
Messages
59
Reaction score
0
Thank you.

Yeah I basically wrote it so people who didn't know anything about this kind of stuff can still make one. :)
 
Junior Spellweaver
Joined
Apr 24, 2006
Messages
173
Reaction score
2
What's the PassWord for ServerFile huh ???
Serverfiles is passworded...
 
Newbie Spellweaver
Joined
Dec 30, 2006
Messages
28
Reaction score
0
you missed one thing the password for the server files
 
Newbie Spellweaver
Joined
Dec 30, 2006
Messages
5
Reaction score
0
Password for Server files I think is ragezone.com
 
Newbie Spellweaver
Joined
Dec 29, 2006
Messages
11
Reaction score
0
password for the serverfiles ; ragezone.com

these files are the previous files that LGKeiz pinned in this Forum
 
Newbie Spellweaver
Joined
Sep 3, 2006
Messages
59
Reaction score
0
Sorry, I'll add that in now, for the people that haven't read those topics yet.
 
Newbie Spellweaver
Joined
Dec 30, 2006
Messages
5
Reaction score
0
This tutorial is cool and all but when I launched gunz and attempt to loggin i go out and it says DB Connection Lost. I guess this is a problem.
 
Junior Spellweaver
Joined
Sep 17, 2005
Messages
158
Reaction score
2
I don't have understand MRS unpacking,where put??Server file FOlder or client folder??What I do with WinRar??System.mrs is only in Client,right??I don't have found into zip file.
Thanks for helping.
 
Newbie Spellweaver
Joined
Jun 3, 2005
Messages
39
Reaction score
0
thnx a lot ppl

thnx for all your work in developing this emulated server so fast...
I'll enjoy it to the max with my lan buddies.

I mean, give credits to the ppl who did the development and searching, and don't forget. Try to be careful about live servers yet. I'm not sure Mayet will gubble this fast enough.


Good luck in the new year and let's hope the db will be hastely complete.

Till then, all good wishes and prosperity from a romanian dude

Cya.Godspeed


P.S. Ever considered hacking the CABAL official sites in getting a "server"???? i know u can do it...whacha' waitin' 4??? :p
 
Last edited:
Newbie Spellweaver
Joined
Dec 30, 2006
Messages
28
Reaction score
0
and whats the pass for the other files then if this web is not the pass?
 
Newbie Spellweaver
Joined
Jul 18, 2006
Messages
51
Reaction score
0
thx for the TUT everythings perfect!!! i have many prems in shop, but 1 question: du you know how to make quest mode(i ahve DM,TDM,DM+BRSK....but not quest mode)?
 
Junior Spellweaver
Joined
Sep 17, 2005
Messages
158
Reaction score
2
I got router,server work but i can't login because I doo't have understand
how do MRS unpacking...
 
Newbie Spellweaver
Joined
Sep 3, 2006
Messages
59
Reaction score
0
thnx for all your work in developing this emulated server so fast...
I'll enjoy it to the max with my lan buddies.

I mean, give credits to the ppl who did the development and searching, and don't forget. Try to be careful about live servers yet. I'm not sure Mayet will gubble this fast enough.


Good luck in the new year and let's hope the db will be hastely complete.

Till then, all good wishes and prosperity from a romanian dude

Cya.Godspeed


P.S. Ever considered hacking the CABAL official sites in getting a "server"???? i know u can do it...whacha' waitin' 4??? :p
I didn't make these files, nor am I taking credit for them. You'll have to wait until someone else does them.

For those that are needing help, it will have to tended to later or by someone else as I don't have access to a PC right now (I'm using a Nintendo Wii).
 
Newbie Spellweaver
Joined
Jul 18, 2006
Messages
51
Reaction score
0
so if i need to play quest mode, i need tro edit something in the database(create new table)?
 
Status
Not open for further replies.
Back
Top