![]() |
|
![]() |
||||||||
| Gunz Main Discussion Discuss topics related to Gunz Online !! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
![]() |
|
![]() |
||||||||
| Gunz Main Discussion Discuss topics related to Gunz Online !! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] 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. Sorry you can't view links because you are not registered. [ Click here to register ]] 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. Sorry you can't view links because you are not registered. [ Click here to register ]] Open Microsoft [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] 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. Sorry you can't view links because you are not registered. [ Click here to register ]] 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 |
| The Following 7 Users Say Thank You to MeGaMaX For This Useful Post: | ||
Closo (06-08-2010), Dragosh (09-08-2009), E.M.E (08-13-2008), TroHunter (02-21-2010), UliMatEdMan (08-19-2008), XHACLERX (07-24-2010), |^ØnëwïngëÐ^| (10-13-2009) | ||
| Google Adsense |
|
||||
|
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. Sorry you can't view links because you are not registered. [ Click here to register ]] 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 |
|
|||
|
Nice job bro.
iam thinking to launch a server based on thos files
__________________
![]()
|
|
||||
|
Quote:
|
|
||||
|
Quote:
__________________
![]() Sorry you can't view links because you are not registered. [ Click here to register ]
|
|
|||
|
Hey [Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] 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 |
|
|||
|
[Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]]
[Only registered and activated users can see links. Sorry you can't view links because you are not registered. [ Click here to register ]] |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Release]GunZ Server Tools | Sperminator | Gunz Edits | 1 | 06-12-2010 12:40 PM |
| [Release] Server Patch 5162 - none hamchi - Ninja Full Working - Horses Full Working | elgahed | TQ Binaries | 3 | 12-25-2009 11:59 PM |
| [Release] GunZ Register Page | Sperminator | Gunz Edits | 0 | 08-26-2009 07:37 PM |
| [RELEASE] My X-GunZ Interface | Sperminator | Gunz Edits | 0 | 08-26-2009 07:29 PM |
| [Request] Gunz Host need 24/7 | zerolight | Gunz Main Discussion | 0 | 08-25-2009 05:08 PM |