[TuT] Making Your Own GunZ Server 100% Right !
Well I had much problems building my own Gunz but after one week i solved them all...and that's cuz many helped me
when i solved those problems i found that i need to make tutorial cuz 3/4 fro this tutorials existed now are wrong !
Downloads:
.Net Framework 3.5
Gunz Server Files Rev5
Gunz Client
MRS Decmpiler - Dor Editing MRS files
Microsoft SQL Server 2005
SQL Server Managment Studio Express
HOW TO INSTALL AND MAKE:
download and install Microsoft SQL server 2005 while you installing it you will encouter a page asking for MIXED MODE/WINDOWS AUTHENTICATION
choose MIXED MODE and you will enable writing th password for "sa" user!
now install Microsoft SQL server managment studio express, this two prgrams are so easy and fast to install :P
now go to Start > All Programs > and expand SQL server managment studio express > and open it :
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)
now write click on DataBase and click New Database.. > name it GunzDB > click Ok
go File>Open>File.. and locate Database_GunzDB.sql founded in server files rev5 > in database folder..
and the toolbar in SQL you will find a drop down list with a name master change it to GunzDB, then click Excute!
and done with saving database.(ignore any errors !)
now do referesh and expand GunDB>Tables>dbo.Account:
AID - will set automaticlly after you register
UserID - your user name
UGradeID - account garde
Code:
such as :
Administrator - 255
Developer/GM - 254
Banned - 253
Police/Normal Admin - 252
jjang for Event - 2
Normal - 0
PGradeID - same as UGradeID
RegDate - your defined register date!(means today's date)
Name - your name !
Press enter then Press the little symbol from up to Excute (!)
now go to dbo.Login Open Table :
UserID - your account name as you used in dbo.Account
AID - Id of the account you provided in dbo.Account
Password - Account's password
and Enter then Excute !
dbo.ServerStatus:
Code:
ServerID= 1
CurrPlayer= 0
MaxPlayer= 500
Time= 0:00:00
IP= YourIP
Port= 6000
ServerName= MatchServer1
Opened= 1
Type=4
1=Debug server
2-Match Server
3-Clan Server
4-Quest Server
5-Event Server
enter and Excute !
you can close now SQL server
Setting UP ODBC:
Start > Run.. > odbcad32
choose the last one as "SQL Server"
and press Finish
then Add..
Code:
Name: GunzDB
Description: Type whatever you like
Server: "Server name" that you use to login to Sql Server Management Stdio express
Click next
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(sa)/pass. Click next.
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.
Click "OK" again to finish.
Setting Server:
Extract server files to C:/Gunz Server and do the following:
go to MatchServer > Server.ini:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="Password you use for SQL Server management express"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="MatchServer1"
FREELOGINIP=""
KEEPERIP="127.0.0.1"
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"
NOTE:in MODE = "write test if you put in dbo.serverstatus the number 4"
and debug if you put 1
and match if you put 2
and clan if you put 3
and event if you put 5
Close and Save !
MatchAgent > Agentconfig.xml right click Edit (or open by notepab):
Code:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>MatchServer1</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="YourIP" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
Locator > Locator.ini:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="Password you use for SQL Server management express"
[NETWORK]
IP="YourIP"
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"
now close them all and Save!
Go to Client Folder after downloading it and Extract MRS Decompiler there:
open Decompiler.exe and write system in the Decompile Box then press Decompile then go to the folder system and Edit the system.xml to 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://YourIP/emblems/</EMBLEM_URL>
<TEMBLEM_URL>http://YourIP/emblems/</TEMBLEM_URL>
<LOCATORLIST>
<LOCATOR id="1" IP="YourIP" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="YourIP" />
</TLOCATORLIST>
</XML>
Close and Save ! then go back to Client Folder open MRS De....exe and write in the Compile box system and press Compile and that's it you're done ! no need to Edit Config as some Tuts say !
most Gunz games don't edit it go check :P
now time for PORTS >>>
first you have to know if you have router/modem :
if you have modem you don't have to do the following step cuz your IP doesn't change ... but if you have router your IP is Dynamic and changes every tie you return your router so you have to port forward the IP to allow traffic computers to access your server <3
Let's Start >>
Go to start > run.. >cmd > write "ipconfig" > then press enter
find Default Gateway and IP Address/IPv4 Address/IPv6Address
go to browser (firefox/internet explorer/google chrome):
write in the URL - Default Gateway
it will asks for username/password know your router kind then go to this website for Default Router Passwords
and find your default username/password if it's wrong then it must be u changed the username/password call your internet company they will give u :D
now after Login go to Advanced > Find Port Forwarding Page and add this ports :
Name: Gunz (if they asked about name)
IP Address : write the IP Address/IPv4 Address/IPv6 Address
*Note : this IP maybe diffirent as he IP in the website YourIP
and forward the following PORTS :
5100 TCP/UDP
6000 TCP/UDP
8900 TCP/UDP
7000 - 7777 TCP/UDP
80 TCP = if you made a website for the game it's Web Server Port !
-Link removed-
Re: [TuT] Making Your Own GunZ Server 100% Right !
Hmm, looks like it's all correct. (I just did a quick skim through) But Maxtrax's tutorial, Jizeth's and EagleDude's all work perfectly fine lol
Re: [TuT] Making Your Own GunZ Server 100% Right !
Maxtrax's tut is better, sorry. But nice try. 7/10
Re: [TuT] Making Your Own GunZ Server 100% Right !
btw Phoenix i didn't try to advertising xD i didn't know even if it's not allowed :P
and guys any way i tried to help by the way can u give me Maxtrax's tut link ?
---------- Post added at 11:38 AM ---------- Previous post was at 11:37 AM ----------
and mine is perfect i did my Own server with this all worked perfectly and didn;t waste any money for VPS or other thing :D all learned at school :)
Re: [TuT] Making Your Own GunZ Server 100% Right !
Quote:
can u give me Maxtrax's tut link ?
http://forum.ragezone.com/f497/br-ja...client-444565/
Lol it's the second sticky in the Tut section
Re: [TuT] Making Your Own GunZ Server 100% Right !
are you kidding guys i know every thing in Computers !!! -.-' i just tried to help ! if this guy's tut is better i'll be so happy i even don't care me and him any ways have the same goal it's to help you guys making your Own server ... moreover i didn't say mine is the best and you can do what ever you want xD i didn't kill any body to read mine :P
Re: [TuT] Making Your Own GunZ Server 100% Right !
My apologies, lets say yours is simple, and his is advance.
But you did a good tut for new users nowadays since that tut is like 09.
Re: [TuT] Making Your Own GunZ Server 100% Right !
hhh :P i know btw he is good i saw his tutorial WOW i think he is genies :D
Re: [TuT] Making Your Own GunZ Server 100% Right !
hey when i click [ browse for more ]
it don't Show me !!! :/: please help me !!
i ill make you admin in my server GM :w00t:
---------- Post added at 09:04 PM ---------- Previous post was at 08:57 PM ----------
idont care if the tut is better i care if my proplem SOLVED !!
Re: [TuT] Making Your Own GunZ Server 100% Right !
Re: [TuT] Making Your Own GunZ Server 100% Right !
@tannous3
1. You don't know everything about computers.
2. Your tutorial does work but so does the million other ones that have been posted over about 7 years.
3. No.
4. Thank you, lol.
Re: [TuT] Making Your Own GunZ Server 100% Right !
Re: [TuT] Making Your Own GunZ Server 100% Right !
Quote:
Originally Posted by
iceman4154
@tannous3
1. You don't know everything about computers.
2. Your tutorial does work but so does the million other ones that have been posted over about 7 years.
3. No.
4. Thank you, lol.
as you like <3 :P i know i'm noob O.o
Re: [TuT] Making Your Own GunZ Server 100% Right !
Nice one but they're all the same lol.
Re: [TuT] Making Your Own GunZ Server 100% Right !
All you did was supply links...?