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!

[Guide]Make your sever GunZ based in server files by gregon13

Status
Not open for further replies.
Skilled Illusionist
Joined
Sep 27, 2008
Messages
369
Reaction score
223
Hi,

This guide/tutorial, is based on the files by gregon13 in [Release]GunZ Server and Client Repack

Necessary requirements:

The password of the client and serverfiles is : RaGEZONE
  1. Mirror:
  2. Mirror:
  3. Mirror:

  • or

  • Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums
    Files ".rar"
  • Shop.rar
  • QuestItemFIX.rar
  • ServerStatusFIX.rar
  • Channel.rar
  • Database.zip

Begin

Installation:

Install sqlexpr.exe and click "Next", "next" to finish.

Install SQL_Server2005SSMSEE.exe, and do the same steps to the front.

Now we go to "C:\" And we created a folder called "GunzServer" within the folder, unpack the "Client.rar" and "GunzServer.rar"

When decompressing "GunzServer" you change the name "GunzServer" to "Server" in it, decompress "Database.rar"

Create username and password:

We turn to open "SQL Express"

To change the login name (sa) and to create a key, you go to "Security" -> "Logins" -> "sa" -> Right click -> Properties.

There change the key, if you want to rename 'sa' on the other, right-click on "sa" and give it "Rename"
Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


Clever! Now you have password and a new name.

Create Database:

- Let's "Databases" -> Right click -> "New Database"
Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


- For "Name of the database," write "GunzDB" and give "OK"

- Now we will "Backup", we "Databases" -> "GunzDB" -> "Tasks" -> "Restore" -> "Databases ..."

Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


- A new window will open, looking for where it says "From device" -> "Add" -> and search for the database that extracts it by default in "C:\GunzServer\Server\Database"

- Press "Restore"

- Come to "Settings" and press "Overwrite existing database"
Now we started to "GunzDB" -> "Tables" -> "dbo.Account" -> Right click -> "Open Table" and edit the "UserID" which by default is "lol", change it to your liking.

Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


Then go to "dbo.Login" and changed again the "UserID" and created your password.
Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


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 Invisible (with normal name) - 252
Jjang - 2 (event winner)
Normal User - 0
Setting up the database

- We started to Data Sources (ODBC), by default this in "Control Panel" -> "Administrative Tools"

- When it opens, really an option that says "Add", in doing so will open a new window that says "Create New Data Source", really a list ... Choose the last in the list with the name "SQL Server"

- See some options ... For "Name" type the name of the database (GunzDB), in "Description" write the name of your server in "Server" write your user "SQL" (USER\SQLEXPRESS).

- Then click the option that says "With SQL Server authentication, using a login Id. and password entered by the user"

- Then visualize that says "login ID", type "sa" or the name you post. And then the password.

- Then set out a default database (GunzDB) -> Next -> Finish.

Client configuration

-[1]Need HexworkShop and Pe-Explorer (download link above)
WAMP and installed (download link above)

Open GunzLauncher.exe with "Pe-Explorer", click "View" -> "Resources"
Now you will see several folders, you give click in the "EXE" and selecting "Delete resource"
Now save the changes. If you get a window, you give click "YES"
Now open your "GunzLauncher" Edited by "HexWorkShop" -> Press "CTRL + F" and you will see a new window.
For "Type" select "Text String" and where it says "Value Type" Type "http"
Note: In the first search was something like this on the right side

Change the IP to your WAN IP using a hex editor

Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


The game can be changed with http:// to your website.

Note: The letters/numbers in RED posts, that's what you need to edit.

-[2]Now go to the folder "Client" and copy the "system.mrs" decompile the "system.mrs" and edit the file named "system.xml"

Code:
<?xml version="1.0" ?>
<XML>
    <XMLHEADER>version="1.0"</XMLHEADER>

    <SKIN>Default</SKIN>

    <DEFFONT>Arial</DEFFONT>

    <IME>false</IME>

    <BAREPORT>
        <ADDR>www.battlearena.com</ADDR>
        <DIR>incoming/gunz_US</DIR>
    </BAREPORT>

    <EMBLEM_URL>[COLOR=Red]YOU IP WAN[/COLOR]/gunz/emblem/upload/</EMBLEM_URL>
    <TEMBLEM_URL>[COLOR=Red]YOU IP WAN[/COLOR]/gunz/emblem/upload/</TEMBLEM_URL>

    <CASHSHOP_URL>[COLOR=Red]YOU IP WAN[/COLOR]/</CASHSHOP_URL>

    <HOMEPAGE>
        <URL>[COLOR=Red]YOU IP WAN[/COLOR]</URL>
        <TITLE>GunZ the Duel</TITLE>
    </HOMEPAGE>

    <LOCATORLIST>
        <LOCATOR id="1" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
        <LOCATOR id="2" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
        <LOCATOR id="3" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
    </LOCATORLIST>

    <TLOCATORLIST>
        <LOCATOR id="1" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
        <LOCATOR id="2" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
        <LOCATOR id="3" IP="[COLOR=Red]YOU IP WAN[/COLOR]" />
    </TLOCATORLIST>
</XML>
-[3]When you finish editing the file, you compile your "system.mrs, you simply cut and paste it into the client


-[4] Now go to the folder "Server" -> "MatchServer" -> "Server.ini"

Code:
[DB]
DNS="GunzDB"
USERNAME="[COLOR=Red]You mssql User ID[/COLOR]"
PASSWORD="[COLOR=Red]You SQL Password[/COLOR]"

[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="[COLOR=Red]YouServerName[/COLOR]"
FREELOGINIP=""
KEEPERIP="[COLOR=Red]Your IP WAN[/COLOR]"
MONITORIP="[COLOR=Red]Your IP WAN[/COLOR]"
MONITORPORT=9000
MODE="test"
COUNTRY="INTERNATIONAL"
LANGUAGE="INTERNATIONAL"
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"
---------------------------------
The modes are:
"test" (Quest server)
"clan" (Clan War)
"event" (Event server)
"Normal" (Normal match server)
---------------------------------

-[5] Now go to the folder "Server" -> "Locator" -> "Locator.ini"

Code:
[DB]
DNS="GunzDB"
USERNAME="[COLOR=Red]You UserName this MSSQL[/COLOR]"
PASSWORD="[COLOR=Red]You Pasword MSSQL[/COLOR]"

[NETWORK]
IP="[COLOR=Red]YOU IP WAN[/COLOR]"
PORT="6011"

[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"
-[6] Now go to the folder "Server" -> "MatchAgent" -> "AgentCnfig.xml"

Code:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
    <NAME>[COLOR=Red]Name this server[/COLOR]</NAME>
    <MAXCLIENT>500</MAXCLIENT>
    <MATCHSERVERADDRESS ip="[COLOR=Red]127.0.0.1[/COLOR]" tcpport="6000"/>
    <ADDRESS ip="[COLOR=Red]YOU IP WAN[/COLOR]" tcpport="7778" udpport="5100"/>
</AGENTCONFIG>
</XML>
Ready! Your server is fully configured!

Change EXP (by MAXTRAXv3 )

We go to the folder "GunzServer" -> "Matchserver" -> "formula.xml"

You need to change the 3 major commands to change the "exp" and "bounty" on your server.

<FORMULA_TABLE id="NeedExpLM"> Is how much EXP you need to lvl up.

<FORMULA_TABLE id="GettingExpLM">How much exp you get for killing


<FORMULA_TABLE id="GettingBountyLM"> how much bounty you get for killing

so on GettingExpLM is i want x18 exp i do this.

Code:
<FORMULA_TABLE id="GettingExpLM">
    <LM lower="1" upper="20">1</LM>
    <LM lower="21" upper="30">18</LM>
    <LM lower="31" upper="40">18</LM>
    <LM lower="41" upper="45">18.1</LM>
    <LM lower="46" upper="50">18.1</LM>
    <LM lower="51" upper="55">18.1</LM>
    <LM lower="56" upper="60">18.1</LM>
    <LM lower="61" upper="65">18.1</LM>
    <LM lower="66" upper="70">18.1</LM>
    <LM lower="71" upper="75">18.1</LM>
    <LM lower="76" upper="80">18.1</LM>
    <LM lower="81" upper="85">18.2</LM>
    <LM lower="86" upper="90">18.2</LM>
    <LM lower="91" upper="95">18.2</LM>
    <LM lower="96" upper="99">18.2</LM>
</FORMULA_TABLE>
save it load Gunz kill some1 and u got x18 exp =]



Website

You can use this tutorial that I think, to create your gunzweb.

Final Configurations

-Extract the file "QuestItemFIX.rar" and "ServerStatusFIX.rar, execute it and change the way "master" to "GunzDB"

Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


-Then you extract Shop.rar "and" Channel.rar "go to the folder "C:\GunzServer\Server\MatchServer" and paste these two files.

This tutorial is easy, since it does not contain many configurations, since the client is almost fully configured. Besides that includes several improvements.

Server, DB And Client Modifications:

[1]Shows ItemIDs Up to 999999 in shop (You can now view item id's past 500000)
[2]MaxPlayer Limit Removed
[3]MaxPlayer In Quest Limit Removed
[4]FirstMaster Disabled
[5]Custom Working DB (Must add Website Mods yourself)
[6]Full Ijji Quests
[7]Full Ijji Items
[8]All Items In Shop
[9]Ijji Zitem.xml CashItems Have same ID's and CashItem="True" (If you want to know how to change the cash items, visit this tutorial created by me [Tut]Items Cash/Storange])
[10]String Has Been Removed So All Items Work
[11]MatchAgent Port Has Been Changed To 7778 In Both Client and MatchServer.exe
[12]Locator Port is Now 6011 In Client And Locator.ini
[13] "..." In Duel Removed
[14]FileList Disabled
[15]Serial Enabled
[16]Restrict ALT Codes
[17]Restrict ^ In Character Names
[18]Working Clan Emblems
[19]Clans 100%
[20]Working Account Items
[21]Working QuestItem Pickup and Duration
[22]Working Shop
[23]Delete Clans Instantly (Must Relog)
[24]Includes The Original 2007 maps
[25]Includes High_Haven and Dungeon II
[26]Includes Judment/Wedding Fixes! (Just Turn on Shader in Options)
[27]Devil Set Look Fucked up? Turn off shader in options
(sorry I won't add the fix For Devil because I Don't Like It, You Can Add Yourself But You Need To Turn On Shader After)
[28]8 Player Spawn Quest Maps

The "channel.xml" has been modified by me, I created a channel "GM" more integrated channel's. The channel "GM" can only enter the Staff, and to implement a small change that did not leave without entering a user "admin" or "mod", no matter what lv. staff team, entering the server, this will be your port of entry.

End:

I hope you and it very much this tutorial is very useful to them, this tutorial is based on the archives of "gregon13. If you like this guide, press the button "
Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums
" to thank <'3!.


Credits:

  • Jizeth(Make the tut/guide and fix the channel.xml xD)
  • gregon13(DB, Modifying, testing, Collecting Files From Ijji, etc, etc)
  • MAXTRAXv3(Being the first to make a tutorial for GunZ)
  • Leoric(Server Files)
  • GUNZ2830(Launcher and Runnable)
  • Lightxdark(Arranged Shop.xml)
  • Goldoracko (Instant Clan Delete, Judgement/weding top fixes)
  • Wizkidje (Firstmaster Disabled, Clan Point Fix)
  • Creativity (Used his 8 spawn Point maps for quest)
  • Aka Gambit(For re-upload)
 
Last edited:
Newbie Spellweaver
Joined
Apr 2, 2009
Messages
19
Reaction score
0
error when restoring db please help error = the media family on device = (filelocation) is incorrectly formed.Sql server cannot process this media family.
Restore headonly is terminating abnormaly
 
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
damn that is a lot of edits to the client. Where can I download that? and when you say full ijji items that means you have it to the latest right now?
 
Newbie Spellweaver
Joined
Mar 2, 2008
Messages
27
Reaction score
0
- A new window will open, looking for where it says "From device" -> "Add" -> and search for the database that extracts it by default in "C:\GunzServer\Server\Database"

There's only the .sql file no .bkp file.

Unless I'm an idiot and missed something.
 
Skilled Illusionist
Joined
Sep 27, 2008
Messages
369
Reaction score
223
There's only the .sql file no .bkp file.

Unless I'm an idiot and missed something.

Sorry friend, really sorry, I did not notice that the most important not to put it xD

I edit the main post, as well as here in the summer the main discharge database.

damn that is a lot of edits to the client. Where can I download that? and when you say full ijji items that means you have it to the latest right now?

you can download it from here ->

  1. Mirror:
  2. Mirror:

Passowrd: RaGEZONE

and if all the last set's, weapons, and ijji updates can be found here.
 

Attachments

You must be registered for see attachments list
Skilled Illusionist
Joined
Sep 27, 2008
Messages
369
Reaction score
223
error when restoring db please help error = the media family on device = (filelocation) is incorrectly formed.Sql server cannot process this media family.
Restore headonly is terminating abnormaly

Jizeth said:
- Now we will "Backup", we "Databases" -> "GunzDB" -> "Tasks" -> "Restore" -> "Databases ..."

Jizeth - [Guide]Make your sever GunZ based in server files by gregon13 - RaGEZONE Forums


- A new window will open, looking for where it says "From device" -> "Add" -> and search for the database that extracts it by default in "C:\GunzServer\Server\Database"

- Press "Restore"

View .
 
Newbie Spellweaver
Joined
Apr 2, 2009
Messages
19
Reaction score
0
Sorry friend, really sorry, I did not notice that the most important not to put it xD

I edit the main post, as well as here in the summer the main discharge database.



you can download it from here ->

  1. Mirror:
  2. Mirror:

Passowrd: RaGEZONE

and if all the last set's, weapons, and ijji updates can be found here.

ty for that i was gone crazy as well with the sql file
 
Newbie Spellweaver
Joined
Dec 19, 2009
Messages
6
Reaction score
0
jizeth thanks! I have been of much help, but I wondered where was the GunzDB, but we'll upload.
 
Newbie Spellweaver
Joined
Oct 30, 2006
Messages
98
Reaction score
1
You should have used the repack of this I made, and that was added to gregon13's Post. It eliminates the need for the 3 updates and includes a better sql and a database backup. Also has many other additions that you can find in the post I Made there. Or in case you are lazy...

Re-Uploaded here:

I changed a few things;
- All Updates are included.
- channel.xml has been edited slightly to fix a few errors.
- MRS .bat files removed, MRSDecompiler.exe added and renamed to "Pack or Un-Pack.exe".
- "MRS Compiler" folder renamed "MRS Compiler + sys".
- system folder moved from client folder to the "MRS Compiler + sys" folder for faster compiling.
- Folders slip into multiple files so you can download only what you need.
- Client Split into multiple files with a "self-extracting exe" (SFX).
- "Database" folder contents redone. (Made a backup, and a new sql with the "IF EXISTS" command for less errors.)
- Removed all "ghost" (un-needed files left in the folder from previous use) log files.

Nothing huge, all credits go to the associated people for each file and NOT myself.

I just organized and uploaded.

Later today when I am less tired I will be releasing my re-arranged shop that sorts the items by their level.
 
Last edited:
Skilled Illusionist
Joined
Sep 27, 2008
Messages
369
Reaction score
223
You should have used the repack of this I made, and that was added to gregon13's Post. It eliminates the need for the 3 updates and includes a better sql and a database backup. Also has many other additions that you can find in the post I Made there. Or in case you are lazy...

I did not see much importance to do a "re-upload" ... Add the main post
 
Newbie Spellweaver
Joined
Oct 30, 2006
Messages
98
Reaction score
1
Its not JUST a re-upload if you read what I listed. But whatever. I am not trying to get credit just trying to help others so it really does not matter. Many people stole my work already so one more thing would not bother me even if my credits were removed lol

Unlike all the egomaniacs here I don't care for credits, if you steal it and say its yours then so what, if it helps, it helps. And thats all I want to do, is help.

The above was a general statement not directed at one person, just so you know :p
 
Last edited:
Skilled Illusionist
Joined
Sep 27, 2008
Messages
369
Reaction score
223
Its not JUST a re-upload if you read what I listed. But whatever. I am not trying to get credit just trying to help others so it really does not matter. Many people stole my work already so one more thing would not bother me even if my credits were removed lol

Unlike all the egomaniacs here I don't care for credits, if you steal it and say its yours then so what, if it helps, it helps. And thats all I want to do, is help.

The above was a general statement not directed at one person, just so you know :p

In the main post gregon13, says the new updates that are in this update, plus ... a re-upload do not see great importance ... Before responding well, check the main post and then spoke!
 
Newbie Spellweaver
Joined
Mar 2, 2008
Messages
27
Reaction score
0
Sorry friend, really sorry, I did not notice that the most important not to put it xD

I edit the main post, as well as here in the summer the main discharge database.

Oh no worries, just a simple mistake, and I should be thanking you for spoon feeding me the steps to setting up the server.
 
Newbie Spellweaver
Joined
Oct 30, 2006
Messages
98
Reaction score
1
In the main post gregon13, says the new updates that are in this update, plus ... a re-upload do not see great importance ... Before responding well, check the main post and then spoke!

Yes I have seen you have updated it but once again I HAD said it was a re-upload, but its not JUST that it has more as I explained...but I am not complaining or anything. I do not need any credits, I just want to give people the most help that I can. ^_^

Sorry if you had misunderstood my intentions. It seems a lot of people misunderstand me a lot. XD
 
Newbie Spellweaver
Joined
Oct 30, 2006
Messages
98
Reaction score
1
Oh no, I am not easily offended or upset, I just wanted to make sure that you did not think I was getting mad over it or anything. I did not want to upset you, I just wanted to help. ^_^

By the way; It's a very good guide. (Never said that before :p )
I am sure this will help a lot of people ^_^
 
Last edited:
Status
Not open for further replies.
Back
Top