4Botters


 
Go Back   4Botters" I am A Bad Ass Botter " > Online Games > Gunz Online > Gunz Main Discussion


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-13-2008, 02:00 AM
MeGaMaX's Avatar
Moderator
 
Join Date: Aug 2007
Location: SeCrEt
Posts: 146
Thanks: 20
Thanked 165 Times in 47 Posts
Default Set Up GunZ Server 100% Working

Hello Guys
This is a 100% Working and Complete Guide! to set up a GunZ Server

Ok Let Go!!


Downloads:

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]

[Only registered and activated users can see links. ]





Guide :

1- Install Microsoft SQL 2005
2- Install Microsoft SQL Server Management Studio Express
3- In Disk C Make a Folder and call GunZServer

4- Extract the Server FIle and the Clien in GunZServer, the system32 client change the folder name and put Client and the servers file put Server

Extract Xiao's June-Runnable [FileList Skip] (theduel.exe) and put it in the Client folder and overwrite the duel.exe to the new theduel.exe(Xiao's June-Runnable [FileList Skip])

5- Install Appserver, put the simple register page in C:/Appserver/www and delete all files of the www folder and put the simple page.
6. Start the Appserver, then edit Config.php

Quote:
<?php
$config['host'] = '?????/sqlexpress'; // IP Address

$config['user'] = 'sa'; // Database Username

$config['pass'] = 'your sa password'; // Database Password

$config['base'] = 'GunzDB'; // Database Name

$config['ip'] = 'Find in [Only registered and activated users can see links. ] and put the IP here'; //Your IP

$config['port'] = '6000'; // GunZ Online Port
?>
- Can I have a sa pasword??
E: Yeah [Only registered and activated users can see links. ] Open Microsoft [Only registered and activated users can see links. ] Management Studio Express log with Windows Authentication, put in Security tehn put in "sa" Properties
and in passwork change with your password jejeje xD


7- Open the Appserver and go to C/Appserver/php5 and put ntwdblib.dll and overwrite it ok
8- In desktop put in Execute and find php.ini , find
;extension=php_ming.dll and
;extension=php_mssql.dll
and delete ";" save and close



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 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' [Only registered and activated users can see links. ] 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.
Look:





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' 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 and PGradID, type in your account grade.

Account Grades
Administrator - 255
Developer - 254
Banned - 253
Mod - 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).
For Example


LOCATOR setup in the DB(in SQL)
this table can be found in tables in SQL

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 Server2=Normal MatchServer3=Clan WarServer4=Quest Server5=Event Server
dont forget to put the types in the Table servertype.dbo

Code:
1=Debug Server2=Normal MatchServer3=Clan WarServer4=Quest Server5=Event Server
open locator folder open locator.ini
and change this to yours:

[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
<?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=500SERVERID=1SERVERNAME="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" <--LEAVEMONITORPORT=9000MODE="test" <--test = Quest server, clan = Clan War, event = Event server, normal = Normal match serverCOUNTRY="BRZ" <--LEAVELANGUAGE="BRZ" <--LEAVEUSETICKET="0" <--LEAVE[LANGUAGE]LANG_TYPE="eng" <--LEAVE[LOCALE]DBAgentPort=5100 <--Must be the same in match agentDBAgentIP=127.0.0.1 <--LEAVE[FILTER]USE="0" <--LEAVEACCEPT_INVALID_IP="1"<--LEAVE[ENVIRONMENT]USE_HSHIELD="0"<--LEAVEUSE_XTRAP="0"<--LEAVEUSE_EVENT="0" <-- if this is set to 1 the it will use any event put into event.xml(found in your match server folder))USE_FILECRC="0"USE_MD5="0"<--LEAVE
Reply With Quote
The Following 2 Users Say Thank You to MeGaMaX For This Useful Post:
E.M.E (08-13-2008), UliMatEdMan (08-19-2008)
Google Adsense
  #2 (permalink)  
Old 08-13-2008, 02:01 AM
MeGaMaX's Avatar
Moderator
 
Join Date: Aug 2007
Location: SeCrEt
Posts: 146
Thanks: 20
Thanked 165 Times in 47 Posts
Default Re: Set Up GunZ Server 100% Working

10- Use the MRS pack and umpacked to system.mrs
11- open System.xml and edit it

Quote:
<?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://localhost/emblems/</EMBLEM_URL>

<TEMBLEM_URL>http://localhost/emblems/</TEMBLEM_URL>


<LOCATORLIST>
<LOCATOR id="1" IP="Put your IP here find in www.cualesmiip.com" />
</LOCATORLIST>

<TLOCATORLIST>
<LOCATOR id="1" IP="Put your IP here find in www.cualesmiip.com" />
</TLOCATORLIST>

</XML>
Then Save it and close

12- Open the Filelist [Only registered and activated users can see links. ] Maker then open the Filelist.xml and copy this

Quote:
<FILE NAME="system/channelrule.xml" CRC32="e1eace19"/>
<FILE NAME="system/chatcmds.xml" CRC32="2e73b62e"/>
<FILE NAME="system/cserror.xml" CRC32="ae600e51"/>
<FILE NAME="system/droptable.xml" CRC32="89d012bf"/>
<FILE NAME="system/filelist.xml" CRC32="3d183b38"/>
<FILE NAME="system/gametypecfg.xml" CRC32="a30ace24"/>
<FILE NAME="system/LenzFlare.xml" CRC32="aa6b8ae0"/>
<FILE NAME="system/locale.xml" CRC32="0a2e49cc"/>
<FILE NAME="system/messages.xml" CRC32="169ad71d"/>
<FILE NAME="system/notify.xml" CRC32="fcbf921e"/>
<FILE NAME="system/npc.xml" CRC32="cf8d7475"/>
<FILE NAME="system/questmap.xml" CRC32="22c19841"/>
<FILE NAME="system/scenario.xml" CRC32="f516f76d"/>
<FILE NAME="system/strings.xml" CRC32="af654afd"/>
<FILE NAME="system/system.xml" CRC32="a7f45c64"/>
<FILE NAME="system/tips.xml" CRC32="bb2c96a3"/>
<FILE NAME="system/worlditem.xml" CRC32="4149fd38"/>
<FILE NAME="system/zitem.xml" CRC32="2391710c"/>
<FILE NAME="system/zquestitem.xml" CRC32="764682ef"/>
<FILE NAME="system/zskill.xml" CRC32="3ea8a26f"/>

12- Open the system Folder and open the filelist.xml of system

put this


Quote:
<FILE NAME="system/channelrule.xml" CRC32="e1eace19"/>
<FILE NAME="system/chatcmds.xml" CRC32="2e73b62e"/>
<FILE NAME="system/cserror.xml" CRC32="ae600e51"/>
<FILE NAME="system/droptable.xml" CRC32="89d012bf"/>
<FILE NAME="system/filelist.xml" CRC32="3d183b38"/>
<FILE NAME="system/gametypecfg.xml" CRC32="a30ace24"/>
<FILE NAME="system/LenzFlare.xml" CRC32="aa6b8ae0"/>
<FILE NAME="system/locale.xml" CRC32="0a2e49cc"/>
<FILE NAME="system/messages.xml" CRC32="169ad71d"/>
<FILE NAME="system/notify.xml" CRC32="fcbf921e"/>
<FILE NAME="system/npc.xml" CRC32="cf8d7475"/>
<FILE NAME="system/questmap.xml" CRC32="22c19841"/>
<FILE NAME="system/scenario.xml" CRC32="f516f76d"/>
<FILE NAME="system/strings.xml" CRC32="af654afd"/>
<FILE NAME="system/system.xml" CRC32="a7f45c64"/>
<FILE NAME="system/tips.xml" CRC32="bb2c96a3"/>
<FILE NAME="system/worlditem.xml" CRC32="4149fd38"/>
<FILE NAME="system/zitem.xml" CRC32="2391710c"/>
<FILE NAME="system/zquestitem.xml" CRC32="764682ef"/>
<FILE NAME="system/zskill.xml" CRC32="3ea8a26f"/>
in the filelist.xml of the system folder and overwrite it


13- Ok save and Pack the system to system.mrs

then put the system.mrs to the client folder and overwrite the system.mrs to your system xD

14. Open Microsoft SQL Server Management Studio Express and find DBO.ServerStatus -Open table


Quote:
Server ID = 1
CurrPlayer = 0
MaxPlayer = 500 or 1000
Time = 30.1.08
IP = 127.0.0.1
Port = 6000
ServerName = Match ( In the sever.ini of the match server puth in servername = match)
Opened = 1
Type = 4
execute and save all

15- Open the match server, locator, and match agent ( open the match agent after the match server
Look:







Open your Client and Log and Play
Reply With Quote
  #3 (permalink)  
Old 08-13-2008, 01:28 PM
Moderator
 
Join Date: Jul 2008
Posts: 30
Thanks: 4
Thanked 3 Times in 3 Posts
Default Re: Set Up GunZ Server 100% Working

Nice job bro. iam thinking to launch a server based on thos files
__________________
  • Don't double post a new thread or it will be removed
  • Search the forum before posting any request.
  • Dont beg for anything or your post will be removed.
  • Dont write any useless topics or posts or it will be removed.
  • Any binded viruses or keyloggers will get you banned.
  • Any scam guides will get you banned.
  • Do not advertise for another website , or you will be banned.
  • Flaming mods will get you banned.
Reply With Quote
  #4 (permalink)  
Old 08-13-2008, 07:06 PM
MeGaMaX's Avatar
Moderator
 
Join Date: Aug 2007
Location: SeCrEt
Posts: 146
Thanks: 20
Thanked 165 Times in 47 Posts
Smile Re: Set Up GunZ Server 100% Working

Quote:
Originally Posted by E.M.E View Post
Nice job bro. iam thinking to launch a server based on thos files
Thank you man
Reply With Quote
  #5 (permalink)  
Old 08-28-2008, 09:57 AM
Noob
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

Doesnt work for me.
Video tutorial?
Reply With Quote
  #6 (permalink)  
Old 08-28-2008, 11:10 AM
Noob
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

LOL the fift time i did everything exacly as its noted but there is always an error Machtagent cant connect with matchserver. xD
Reply With Quote
  #7 (permalink)  
Old 09-11-2008, 04:01 AM
Noob
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

woooooooooooooooow great bro
Reply With Quote
  #8 (permalink)  
Old 09-23-2008, 05:51 AM
Noob
 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

this is awsome
Reply With Quote
  #9 (permalink)  
Old 09-23-2008, 05:52 AM
Noob
 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

thanks man alot
Reply With Quote
  #10 (permalink)  
Old 10-04-2008, 07:45 AM
~DN ~DN is offline
Noob
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: Set Up GunZ Server 100% Working

wow!!1 men good thief of guide xD this is my guide -.- xD if you want to put my guide in other web please tell me in rg
Reply With Quote
  #11 (permalink)  
Old 10-05-2008, 09:54 AM
MeGaMaX's Avatar
Moderator
 
Join Date: Aug 2007
Location: SeCrEt
Posts: 146
Thanks: 20
Thanked 165 Times in 47 Posts
Default Re: Set Up GunZ Server 100% Working

Quote:
Originally Posted by ~DN View Post
wow!!1 men good thief of guide xD this is my guide -.- xD if you want to put my guide in other web please tell me in rg
lol its dont for u
__________________


Rules ( 4BoTTeRS PServer)
Do not ask why the server is offline

Do not ask any answred questions, just search the forum or the section for your answer

Do not use any sort of hacks when you log to our server


Don't double post a new thread or it will be removed

Any binded viruses or keyloggers will get you banned.

Any scam guides will get you banned.

Do not advertise for another website , or you will be banned.
Reply With Quote
  #12 (permalink)  
Old 10-07-2008, 04:02 AM
Noob
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

Hey [Only registered and activated users can see links. ] I was wondering if u could help me out. I cant seem to be able to connect to the server, I can see the server but when i click it, it says Cannot Access Server

Thanks in advanced


Keba0thu
Reply With Quote
  #13 (permalink)  
Old 12-14-2008, 03:56 PM
Noob
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Set Up GunZ Server 100% Working

I cannot see the server............please help me.............
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Translate This Page


All times are GMT. The time now is 12:32 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.