[Tut]2008 Gunz Server/Client Setup

Page 1 of 4 1234 LastLast
Results 1 to 15 of 48
  1. #1
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    [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:

    Code:
    mrs.exe d file.mrs
    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

    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
    Last edited by MAXTRAXv3; 10-01-10 at 07:16 PM.


  2. #2
    Novice NoCredit is offline
    MemberRank
    Jan 2010 Join Date
    2Posts

    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...

  3. #3
    What year is this? pluke001 is offline
    MemberRank
    Nov 2008 Join Date
    LithuaniaLocation
    941Posts

    Re: 2008 Gunz Server/Client Setup

    Good tut :)
    might try to make 2008 server working from my pc some time :o

  4. #4
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: 2008 Gunz Server/Client Setup

    Quote Originally Posted by NoCredit View Post
    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...
    whats not working?

  5. #5
    Animu Addicted Number12 is offline
    MemberRank
    Apr 2008 Join Date
    Old Sunny CALocation
    1,264Posts

    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

  6. #6
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: 2008 Gunz Server/Client Setup

    Quote Originally Posted by number12 View Post
    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
    Last edited by MAXTRAXv3; 11-01-10 at 05:50 AM.

  7. #7
    Animu Addicted Number12 is offline
    MemberRank
    Apr 2008 Join Date
    Old Sunny CALocation
    1,264Posts

    Re: 2008 Gunz Server/Client Setup

    Yours is a little more indepth.
    I deleted my thread lol :P
    but still nice though

  8. #8
    Apprentice D 'Ogi is offline
    MemberRank
    Dec 2009 Join Date
    7Posts

    Re: 2008 Gunz Server/Client Setup

    Quote Originally Posted by MAXTRAXv3 View Post
    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.
    Last edited by D 'Ogi; 12-01-10 at 12:11 AM.

  9. #9
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    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

  10. #10
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    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.

  11. #11
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    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

  12. #12
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    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

  13. #13
    Novice Fireo is offline
    MemberRank
    Jan 2010 Join Date
    1Posts

    Re: 2008 Gunz Server/Client Setup

    Ty Ty Ty Ty

  14. #14
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: 2008 Gunz Server/Client Setup

    some files are 0kb in the runnable. Ive heard its corrupted, what then?

  15. #15

    Re: 2008 Gunz Server/Client Setup

    i got windows 7 will the mssql work?



Page 1 of 4 1234 LastLast

Advertisement