-
[Tut]2008 Gunz Server/Client Setup
THIS IS A BETA TUT SOME THINGS MAY NOT WORK!
REQUIREMENTS
Winodws(XP(SP2+), Vista(SP1), 7(not RC or beta))
or
Windows server (2003 or 2008)
x86(32bit)
RAM:512MB(as a minimal i would give it 1gig alest)
.NET Framework 3.5
DownLoads!
Gunz Server Files!
Password: KillerStefan
Gunz Client!
Gunz Client Update!(must install)
Gunz Client Runnable(must use)
FileList Maker(CRC32 code for filelist)
MRS extractor and packer
Default.MRS(old, for replaceing broken files)
ZPatcher(for Launcher updates)
Free HEX Editor
MEF-Dump v6.0
SQL Server Express database engine
SQL Server Management Studio Express
useful links:
http://www.ipchicken.com/ - to find your WAN IP
http://www.portforward.com/ - for ports
How To Install MSSQL 2008:
SQL Server Express database engine:
click Get the Web Platform Installer(the green button)
then install it
once installed click "Finish your installation" on the web site
when the installer/downloader pops up click install
click "I Agree"
click mixed mode make a password(needs to have numbers and cap letters in it)
then click install
restart if it asks you to.
Server Management Studio Express:
when the installer/downloader pops up click install
click "I Agree"
then click install
restart if it asks you to.
How to setup your Br-Gunz Client and Server:
First Client sided:
how to use mrs.exe:
1.open startmenu then open run
2.type notepad, press enter
3.type:
To unpack/decompress use:
To pack/compress again use:
Code:
mrs.exe c foldername
then click file then click SAVE AS type:
pack.bat, unpack.bat
making sure its NOT saved as text
(make sure its on "all files" as type of file)
Changeing The Clients IP
Unpack System.MRS(found in the main folder)
open system.xml
and change it so it looks like this:
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>
<EMBLEM_URL>http://webstore.theduel.com.br/ClanManager/ClanImages</EMBLEM_URL>
<HOMEPAGE>
<URL>http://www.gunzonline.com</URL>
<TITLE>GunZ the Dual</TITLE>
</HOMEPAGE>
<LOCATORLIST>
<LOCATOR id="1" IP="WAN IP" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="WAN IP" />
</TLOCATORLIST>
</XML>
amd save it
DATA BASE AND SERVER SETUP!
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 open the Database. Click File> Open> File... and locate your GunzDB.sql file and open it.
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'(or just type odbcad32 in seach bar for vista/7 users. You should already be in the 'User DSN' tab so change it to 'System DSN' then 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 - 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 3 - 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', 'dbo.Login' and 'Edit 200 rows'.
You do not need to worry about the AID field as that is an automatic generation of account number(Login you will have to add the AID from 'dbo.Accounts'). In the UserID field, type your account ID, in the Password field, type your account password and in the UGradeID and PGradID, type in your account grade.
Account Grades
Administrator - 255
Developer - 254
Banned - 253
Administrator (with normal name) - 252
Jjang - 2 (event winner)
Normal User - 0
MAKE SHURE you have opened the dbo.login and put the same name as you have put in
dbo.Account and put you password there to
After you have typed all of that in, press enter and on the SQL Editor toolbar click 'Execute' (The exclamation mark symbol).
Item Match!:
unpack system.mrs(explanded above), open the system folder
copy zitem.xml and paste it into your matchservers main folder
LOCATOR setup in the DB(in SQL)
this table can be found in tables in SQL
http://img183.imageshack.us/img183/5497/serverdh1.png
Code:
ServerID= 1
CurrPlayer= 0
MaxPlayer= 200
Time= 11.03.2207 0:00:00 (copy and paste the time)
IP= [YOUR IP(WAN)]
Port= 6000
ServerName= MatchServer1
Opened= 1
Type=4
TYPES:
Code:
1=Debug Server
2=Normal MatchServer
3=Clan WarServer
4=Quest Server
5=Event Server
dont forget to put the types in the Table servertype.dbo
Code:
1=Debug Server
2=Normal MatchServer
3=Clan WarServer
4=Quest Server
5=Event Server
open locator folder open locator.ini
and change this to yours:
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="password"
[NETWORK]
IP="YOURWAN"
PORT="8900"
Ports to forward
6000 tcp
5100 udp
7000 to 7777 tcp and udp
8900 tcp
80 tcp
Config AgentConfig.xml
Code:
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>Name this server</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="YOU IP WAN" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
Config MatchServer
open server.ini in the matchserver folder
Code:
[DB]
DNS="GunzDB"
USERNAME="sa"
PASSWORD="123456"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="SERVER NAME(must be the same one you put in the serverstatus tabe in SQL)"
FREELOGINIP="WAN IP"
KEEPERIP="WAN IP"
MONITORIP="127.0.0.1" <--LEAVE
MONITORPORT=9000
MODE="test" <--test = Quest server, clan = Clan War, event = Event server, normal = Normal match server
COUNTRY="BRZ" <--LEAVE
LANGUAGE="BRZ" <--LEAVE
USETICKET="0" <--LEAVE
[LANGUAGE]
LANG_TYPE="eng" <--LEAVE
[LOCALE]
DBAgentPort=5100 <--Must be the same in match agent
DBAgentIP=127.0.0.1 <--LEAVE
[FILTER]
USE="0" <--LEAVE
ACCEPT_INVALID_IP="1"<--LEAVE
[ENVIRONMENT]
USE_HSHIELD="0"<--LEAVE
USE_XTRAP="0"<--LEAVE
USE_EVENT="0" <-- LEAVE
USE_FILECRC="0" <-- LEAVE
USE_MD5="0"<--LEAVE
...i havent tested the client yet(due to AVG anti -virus not letting me :C)
credits:
KillerStefan for finaly getting the files off Lambda
MAXTRAXv4,v3,v2
BoTGoD
CBWhiz
RepublicOfAstra
Emisand
maxteam
if ive missed any one tell me, ill be sure to add them
-
Re: 2008 Gunz Server/Client Setup
owwwwww nice client maxtrax but the problem is it is not working.. :\ atleast for me lets see what you guys going to say i hope that it works so i can fix my error...:ehh:
-
Re: 2008 Gunz Server/Client Setup
Good tut :)
might try to make 2008 server working from my pc some time :o
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
NoCredit
owwwwww nice client maxtrax but the problem is it is not working.. :\ atleast for me lets see what you guys going to say i hope that it works so i can fix my error...:ehh:
whats not working?
-
Re: 2008 Gunz Server/Client Setup
nice i guess. i made one too, but then stuff happened so I deleted. Pratically same setup as me except no pics
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
number12
nice i guess. i made one too, but then stuff happened so I deleted. Pratically same setup as me except no pics
yes almost the same to my other one....
i dont depemd on pics to much they tend to get deleted or changed to much
-
Re: 2008 Gunz Server/Client Setup
Yours is a little more indepth.
I deleted my thread lol :P
but still nice though
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
MAXTRAXv3
whats not working?
Client crashes just after start when using system.mrs modified for my server...
Ok. I found how to fix that: mef files has to be recreated using MEF Selector. Someone has published his mef files, but they doesn't work.
-
Re: 2008 Gunz Server/Client Setup
There is no mef "selector", only a dumper. No one has released mef files. Only xml's.
Posted via Mobile Device
-
Re: 2008 Gunz Server/Client Setup
ill try it when i get my desktop comp back
my locator wasnt working when I first tried. (always dead server 1) and even with old locator config (it said Live server 1) it still wouldn't show up in the client.
:P EDIT : Does it NEED MSSQL 2008? I'm using 2005.
-
Re: 2008 Gunz Server/Client Setup
No it doesn't. 2005 is good enough. Just make sure the 2008 DB is executed properly and for the locator, just copy the 2008 one and use it with your old configuration. It should work if you're using the 08 runnable and old configuration.
Posted via Mobile Device
-
Re: 2008 Gunz Server/Client Setup
yes MSSQL 2005 works 2 but 2005 doesnt work on windos 7 all that well from what ive seen
-
Re: 2008 Gunz Server/Client Setup
-
Re: 2008 Gunz Server/Client Setup
some files are 0kb in the runnable. Ive heard its corrupted, what then?
-
Re: 2008 Gunz Server/Client Setup
i got windows 7 will the mssql work?
-
Re: 2008 Gunz Server/Client Setup
2008 yes, ive used it before on windows 7 RC1 before
-
Re: 2008 Gunz Server/Client Setup
thx for urs share ^.^
er.. can i ask where to find agent config ?? >.<
sry im newbie...
and the gunz client i download is corruped..
got any other gunz client ??
-
Re: 2008 Gunz Server/Client Setup
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
Death4u22
i got windows 7 will the mssql work?
MSSQL works just fine.
@Maxtraxv3 Is the system.mrs decrypted? (the .mef files)
-
Re: 2008 Gunz Server/Client Setup
is this tutorial only for 32bits? cause i was trying on a 64bits and this one [Gunz Client Runnable(must use)] doesn't work!
-
Re: 2008 Gunz Server/Client Setup
Thankies, good tutorial !
-
Re: 2008 Gunz Server/Client Setup
-
Re: 2008 Gunz Server/Client Setup
Client Runnable link dont work anny more
and if i install client and install update, i get a error
when i try to start gunz :(
GunzLauncher is not a normal 32bit program
-
Re: 2008 Gunz Server/Client Setup
Good job, Max.
I'd love to give it a try but my IP is changing every single day so I gave Gunz servers a break. :(
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
yyankk
is this tutorial only for 32bits? cause i was trying on a 64bits and this one [Gunz Client Runnable(must use)] doesn't work!
can you not read?
-
Re: 2008 Gunz Server/Client Setup
Quote:
Originally Posted by
MAXTRAXv3
can you not read?
What do you mean? I can read! It's just a question. Can you answer me? I'm asking this because I already run one server on a 64bits WinVista and I don't want to go back to Vista anymore. I suggest you to type [x86(32bits)ONLY], like you did to rc or beta version of win 7 cause it sound like you didn't try on a 64bits. thats all. thx for this tuto anyways!
-
Re: 2008 Gunz Server/Client Setup
where is the agentconfig?
-
Re: 2008 Gunz Server/Client Setup
-
Re: 2008 Gunz Server/Client Setup
The client runnable isn't responding, could someone mirror it for me? Thx.
-
Re: 2008 Gunz Server/Client Setup
Uhm..
http://brclient.ath.cx/thedueljul21(alldisabled).exe doesn't work.
Are you able to skip that file?
And why the hell is everything in a strange language?
Look at the installer.
Look at messages.xml
-
Re: 2008 Gunz Server/Client Setup
Where do i find Agentconfig.xml??????
-
Re: 2008 Gunz Server/Client Setup
thank you..1!! i prefer 07
-
Re: 2008 Gunz Server/Client Setup
-
Quote:
Originally Posted by
darking123
Posted via Mobile Device
Did u port foward
If it is yes , i dunno the problem
If it is no , port foward and try it agian
-
Re: 2008 Gunz Server/Client Setup
You do realize this post is like 4 months old?
-
Re: 2008 Gunz Server/Client Setup
it would be nice if he updated it every so often lol i need that runnable
-
Re: 2008 Gunz Server/Client Setup
Wich ports axactly need to be portforwarded? i have seen so many tuts, and everytime theyre different, i use the gunz server and client 2008 from phoenix. Btw really nice ;)
My server was working fine untill i rebooted my laptop, cuz now i wont get server list :S
-
Re: 2008 Gunz Server/Client Setup
where is new runnable i click on page 1 but..
the page was not found..
-
Re: 2008 Gunz Server/Client Setup
wow man this is a great tut thankx a lot i will try to make it works on my pc though!!!
-
Re: 2008 Gunz Server/Client Setup
-
Re: [Tut]2008 Gunz Server/Client Setup
Thanks Max, even tho this topic is old anough , its still working well for some people, including me ;)
-
Re: [Tut]2008 Gunz Server/Client Setup
Great you bringed it back from the fucking dead -.-
-
Re: [Tut]2008 Gunz Server/Client Setup
Im using 2005 SQL in windows 7 and I have all things perfectly and ports open, but when I open all Matchserver, Agent, and Locator, and I go open the gunz and try to login say me Cannot access server. is everything ok, system, match, agent, locator, SQL. so wat is the problem there? in my other computer I have SQL 2005 with win xp sp2 and I don't have problems.
-
Re: [Tut]2008 Gunz Server/Client Setup
Zeid , You have 2 Things in mind of me.
1- Wrong Section
The Dead Topic just keep going when sombody Posts.
-
Re: [Tut]2008 Gunz Server/Client Setup
Quote:
Originally Posted by
NinjaPower
Zeid , You have 2 Things in mind of me.
1- Wrong Section
The Dead Topic just keep going when sombody Posts.
ye I just posted here because im using 2008 Re-Pack 3 Client
-
Re: [Tut]2008 Gunz Server/Client Setup
Thanks this is usfull but im clueless on how to turn it on
-
Re: [Tut]2008 Gunz Server/Client Setup
Runnable link doesn't work...
-
Re: [Tut]2008 Gunz Server/Client Setup
Hello i'm new to Ragezone and i have been following a tutorial how to make a gunz private server i did everything right , but when i open locator.exe i got a problem so i can't start my launcher up .. i hope this tutorial is better i will start all over again and 1 more thing can i put my questions here or do i have to make a thread about it ? thank you for answering it.