[Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures)

Page 1 of 13 12345678911 ... LastLast
Results 1 to 15 of 189
  1. #1
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    thumbs up [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures)

    I removed some images and change it to Links, to see the full version, visit my blog


    My Blog


    Well here we go!
    Table of Contents

    Code:
    1. Installing WAMP Server
    2. Importing Database Files into WAMP's MySQL
    3. Creating the Web Registration for the Game
    4. Setting up Gunbound Server Files
    5. Installing Gunbound Client
    6. Setting up in LAN
    Requirements:



    Download Wamp Server 2.0:
    Download

    Gunbound Classic Client

    Gunbound Server Files

    Gunbound Web Files (old)

    Gunbound Web Files(newer)


    Note: I change the download link to use WAMP Server 2.0 than 2.2 because there are some problems regarding Entering the Server which shows the Please Wait message. But the pictures below, i used 2.2 but they are have same procedure.


    Instructions:


    1. Install WAMP Server

    Click Next
    1.jpg


    Select Accept and Click Next
    2.jpg

    Choose your Destination to Install (i choose c:\wamp which is the default)
    3.jpg

    Wait to complete the installation, do facebook or anything, this will not take too look ^_^
    4.jpg

    Dont touch this part, dont change the localhost,just click next
    5.jpg

    Done! now click finish to fire up your WAMP server!
    6.jpg

    You will see on the notification bar the WAMP Icon is green, this means your want runs smoothly

    Note: If your wamp icon is orange/red, thres some problems in your computer like:
    -Conflict WAMP with IIS(Internet Information Services)=Turn off your ISS by Run inetmgr
    -Conflict WAMP with MSSQL


    -Conflict WAMP with MAMP,XAMP


    7.jpg


    2. Importing Database Files into WAMP's MySQL

    a. Extract GB_Serv.rar to Drive C: (I choose this so i can access it easily and the path is short that Desktop). Below is the extracted files.
    8.jpg

    b. Now open your intenet browser and browse http://localhost , you will be directed to this page below
    9.jpg

    c. Click on phpMyAdmin below the Tools and youll be inside phpmyadmin
    Click on Databases Tab and create the following database:

    Code:
    Admin, batch, gunbound, and user
    10.jpg

    d. now you see below the 4 databases i created (i checked them so you can see them as highlighted).
    11.jpg

    e. now click on the admin database and youll see this page
    12.jpg

    f. Now click on the Import tab (if you cant see it, click on More) and then click on the browse.. button, this will upload the backup database to be set on the admin database, go to your C:\GB_Serv (where you extracted the GB_Serv.rar) then open the DB Folder inside the GB_Serv and choose Admin.sql then after choosing, browse down and click the Go Button to Execute the Importing.
    13.jpg

    g. Now if you see this error, open the Admin.sql (This occurs depends on the version of MySQL in WAMP)
    13b.jpg

    h. Once you open it, Replace TYPE=MyISAM into ENGINE=MyISAM
    (use ctrl+h to open the replace window and Enter TYPE=MyISAM on the Search String and Enter ENGINE=MyISAM and click the Replace ALL button)
    Then Save.



    i. Now Go back again to your browser and on the Import Window, Upload the edited Admin.sql and thats it youll be seeing the Message below



    j. NOW, Repeat the steps 2.e.- 2.f. except that youll select different database and upload different SQL files.

    Like this :
    Open batch database, Import and Upload batch.sql (do the same editing trick if error occurs)
    Open gunbound database, Import and Upload gunbound.sql (do the same editing trick if error occurs)
    Open user database, Import and Upload user.sql (do the same editing trick if error occurs)

    k. go to gunbound database, click the applicationsetting table from the sidebar and click the INSERT tab

    Enter the following like in the image

    Code:
    BaseURL: 127.0.0.1
    
    
    NoticeURL: 127.0.0.1/notice.txt
    
    
    FullDownloadURL: 127.0.0.1/fetch.php

    Ignore the ApplicationId and VersionLimit then click GO.




    3. Creating the Web Registration for the Game

    a. Extract the files inside www.rar or www._v2 into the www path of the wamp. (c:\wamp\www)
    below is the extracted files of the www.rar
    Note:if you use the www_v2.rar, its no need to extract the files from www.rar (the www_v2.rar is more easier since the original creator of the www.rar code has errors but works for the registration of user)



    b. go to your web browser and navigate http://localhost/gunbound
    youll see the registration site, now register for a GB Account




    Now youve successfully created an account.

    4. Setting up Gunbound Server Files

    a. Go to c:\GB_Serv
    Note: We see that inside this folder, there is a folder named as Server
    This folder is for modifying the IP Connection for the game, so as off now, we shouldn't touch this until error occurs.


    b. open install-service.bat, this will install the Gunbound Server Services
    if you see this window, youre close to finish this!



    c. now open start-server.bat, this will start your gunbound serve
    below you see a new application open, this is you server broker

    in the server ip, if the ip is not 127.0.0.1 like the one below, change it to 127.0.0.1 the click set server ip button and then click restart server

    you here can also change you channel's name

    Dont close this or you cant be connect to your server



    5. Installing Gunbound Client

    a. Install the Gunbound Classic Client (the installer named Gunbound_Classic_315.exe)









    b. Now go to start button of your desktop then click RUN and type regedit (shortcut is ctrl+r for Run)



    the navigate this in Registry Editor:

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\SoftNyx\GunBound
    Then make some changes :

    Code:
    BuddyIP=127.0.0.1
    
    
    IP=127.0.0.1
    
    
    Url_Fetch=http://127.0.0.1/fetch.php
    
    
    Url_ForgotPwd=(none)
    
    
    Url_Notice=http://127.0.0.1/notice.txt
    
    
    Url_Signup=http://127.0.0.1/gunbound


    Now your registry should be like this:



    Now Run your Gunbound.exe from your start menu>Silent Gaming>Gunbound Classic>Launch Gunbound.exe



    Then this Patcher will show. Enter your registered username and password then click start game!



    Now inside the game, you should see this. enter a server (in this, you see 4 server because i checked all the servers in the GBbroker). (image used from trik-kita)


    Then you can buy avatars in the shop.

    Youll see that youre money is big (you can only have high money if youre using www_v2.rar on the www of wamp)

    (if youre using www.rar, Set your money in the database)

    How to set money:

    -goto http/localhost/phpmyadmin


    -select gunbound database


    -select "game" table


    -click on the edit link on your desired account


    -change the value of money of your desire and click go


    -now select the cash table


    -click edit on the account you want to change the cash


    -change the value of cash and click go


    How to play 1 player:


    Create a room, then select jewel, 1:1
    then type

    Code:
    /shrduatlwkr
    like this:



    Then Click Start!

    Now you see this that im already playing it alone! XD


    As of now, im using this to edit some themes, add avatars and add effects on the shots. Enjoy! ^_^

    UPDATED: SETTING UP WITH LAN CONNECTION

    Requirements:

    SQLYog Download
    Gunbound Admin Download

    1. Install SQLyog first, Just click next until you finished installing it but dont run it yet.
    2. To Setup in LAN, We must create first a Virtual Host.

    a. first go to C:\[your wamp installation folder]\bin\apache\Apache2.*.**\conf

    * means any version

    mine is C:\wamp\bin\apache\Apache2.2.11\conf

    b. open httpd.conf to your text editor
    and find

    Code:
    #Include conf/extra/httpd-vhosts.conf
    then remove # sign so becomes this

    Code:
    Include conf/extra/httpd-vhosts.conf
    a1.jpg

    then save.

    c. while inside the conf folder, open extra folder

    a2.jpg

    and open httpd-vhosts.conf

    delete from <VirtualHost *** up to </VirtualHost>

    then add this

    Code:
    <VirtualHost (your LAN IP)>
      	ServerName (your domain name)
    	DocumentRoot C:/wamp/www
    	ErrorLog "C:/wamp/www/gblogs/error.log" <-- this is optional, you can replace gblogs with any folder name
    	CustomLog "C:/wamp/www/gblogs/access.log" common <-- this is optional, you can replace gblogs with any folder name
    </VirtualHost>
    like this

    Code:
    <VirtualHost 192.168.0.120:80>
      	ServerName gunbound.local
    	DocumentRoot C:/wamp/www
    	ErrorLog "C:/wamp/www/gblogs/error.log"
    	CustomLog "C:/wamp/www/gblogs/access.log" common
    </VirtualHost>
    after that, if your wampserver is running, left click it on your taskbar and click restart all services, wait until it turn back to green (if your using the new version of wamp) or white (if your using the meter like icon)

    Then go to your browser and type your LAN IP or the Server Name.
    you should see your WAMP Homepage there using your LAN IP.

    a3.jpg

    now you successfully created a virtual host.

    3. Adding user for MYSQL

    Since we created a virtualhost, using the LAN IP, we will not able to access and create mysql transactions. to do so,

    a. Open SQLYog, click Continue (always) then you will got to Connect to mySQL Host

    enter this on the field
    Code:
    Mysql host address: 127.0.0.1
    username: root (its the default)
    password: blank
    Port: 3306
    Database: blank
    then click Connect

    b.now go to Tools>UserManager>Add User

    then like in this window,
    a4.jpg

    Code:
    Username: root
    Host: your LAN IP
    Password:blank
    Retype Password: blank
    Click Select All button and then click Create.

    c. like in b. , create another user but instead of your LAN IP, use the server name you created on your virtual host.

    And now your done, your server can now transact using your IP.

    4. Setting Up Server Files for LAN Connection

    now, we need to modify the server files.

    first, go where your server files and Edit the Setting.txt files inside the BuddyCenter, BuddyServ, Center, Gunbound8360 - Gunbound 8363

    Note: I forgot to mention that the GB_Serv.rar only have 2 Game Servers (Gunbound8360 and Gunbound 8361)
    To add a Server (MAX of 4), copy one of Gunbound836* Folder and paste it where the same source copied, rename it to Gunbound8362 (its better to have closer port name. you just need to change the port of the new server)

    BuddyCenter Setting.txt
    Code:
    [BuddyCenter]
    Port=8353
    Accept=your ip;127.0.0.1;192.168.0.0/16 (format is "your LAN IP;127.0.0.1;192.168.0.0./16")
    
    BuddyDB_Host=your IP
    BuddyDB_Port=3306
    BuddyDB_DB=gunbound
    BuddyDB_Pwd=
    BuddyDB_User=root
    
    Log=1
    192.168.0.0./16 is need for you to connect other PC to your server. its and IP Range like 192.168.0.0 -192.168.255.255, search a CIDR to IP calculator to create an IP range, each ip is seperated by semi colon.

    BuddyServ Setting.txt
    Code:
    [BuddyServ]
    Port=8352
    StarAccept=your ip;127.0.0.1;192.168.0.0/16
    VersionFirst=0
    VersionLast=999
    CenterIp=your ip
    CenterPort=8353
    
    AuthTable_Password=Password
    AuthTable_Id=Id
    AuthTable=user
    
    AccountTable_Nickname=NickName
    AccountTable_Id=Id
    AccountTable=user
    
    UserTable_Grade=TotalGrade
    UserTable_Guild=Guild
    UserTable_Id=Id
    UserTable=game
    
    BuddyDB_Host=your ip
    BuddyDB_User=root
    BuddyDB_Pwd=
    BuddyDB_DB=gunbound
    BuddyDB_Port=3306
    
    Log=1

    Center's Setting.txt

    Code:
    [GunBoundCenter]
    Port=8382
    GunBoundDB_Host=your ip
    GunBoundDB_User=root
    GunBoundDB_Pwd=
    GunBoundDB_DB=gunbound
    GunBoundDB_Port=3306
    UserDB_Host=your ip
    UserDB_User=root
    UserDB_Pwd=
    UserDB_DB=gunbound
    UserDB_Port=3306
    Accept=your ip;127.0.0.1;192.168.0.0/16
    SetServiceStatus=1
    
    AdminGiftMale16=22
    AdminGiftFemale16=23
    AdminGiftGrade=18
    
    AdminGiftSender=Admin
    AdminGiftMsg=New Player Gift
    Gunbound836* Setting.txt

    Code:
    [GunBoundServ]
    Accept=your ip;127.0.0.1;192.168.0.0/16
    Port=836*
    AdminDB_Host=your ip
    AdminDB_User=root
    AdminDB_Pwd=
    AdminDB_DB=gunbound
    AdminDB_Port=3306
    BillDB_Host=your ip
    BillDB_User=root
    BillDB_Pwd=
    BillDB_DB=gunbound
    BillDB_Port=3306
    CenterIp=your ip
    CenterPort=8382
    VersionFirst=0
    VersionLast=999
    Log=1
    
    SetServiceStatus=1
    RecommendedMan=1
    GradeLimitFirst=-4
    GradeLimitLast=20
    GuildMarkLimit=0
    FuncRestrict=1048575
    NoRoomCreate=0
    EventActProp0=70
    EventActProp1=0
    EventActProp2=0
    EventActProp3=0
    EventWriteToLog0=1
    EventWriteToLog1=1
    EventWriteToLog2=1
    EventWriteToLog3=1
    
    PassableAuthority=0
    
    RoomCloseWarnMsg=warn
    RoomCloseMsg=close
    asterisk on the gameserver means the server number like 8360 folder for port 8360
    up to 8363 due to the GBXB1.9 holds only 4 servers.

    now you setup your setting files, restart your server (if running).


    5. Setting Up Firewall Setting.

    Even your Firewall is turned Off, it seems that it still blocks the Ports of the Gunbound Servers. Now we need to exclude the ports of the servers.

    Window 7
    a. go to Control Panel> System and Security > Windows Firewall
    b. Click on Advanced Settings
    a6.jpg
    Close and Open your gunboundadmin.exe, this will test your server if you can connect it using a client without using a gameclient.

    c. Click New Rule.. on the right side bar
    a7.jpg

    d. Select Port> select TCP and on Specific local ports, type 8372 (for the broker), allow the connection, check all (Domain, Private , Public) and name the Rule ex. GBBroker

    e. Repeat for Servers by entering the Specific local ports to 836* where * is your server number (8360-8363), Also for BuddyServer and BuddyCenter (8352 and 8353)

    Note: Also add another for each server ports (836*), except that instead of you select TCP, select UDP.



    Windows XP

    a. Navigate to Start -> Settings -> Control Panel -> Windows Firewall
    b. Select the exceptions tab and click add port.
    c. like in this pic, name your exception rule and enter the port of your servers (for TCP: 836*,8372,8352, and 8353 and for UDP: 836*) where * is the number of server (8360-8363)
    http://www.netikus.net/documents/MyS...n/fw_step2.jpg and click OK for every rule.
    d. Click Ok.

    and youre done opening ports to your network.


    6. Testing Server Connection to Other Computers
    now open gunboundadmin.exe to your other pc.

    Go to options. then in Game Server Field:

    type this
    Code:
    your ip:8360
    your ip:8361
    and in Broker Field
    Code:
    your ip:8372
    then click OK.

    you will see the ip and the ports you entered on the option.

    now, click on connect and enter your username and password of your game account,
    The Status on each server should be Logined. If its Fault, Check your server files on the server and reconfigure.

    Once it is Logined, proceed to next step.

    7. Installing Client and configure Registry.

    Install the Client on the Other Computers you want to connect to your server.
    After Installing, GO to Run (windows button + R) > type regedit.

    navigate on the Registry editor HKEY_LOCAL_MACHINE >SOFTWARE>Softnyx>Gunbound
    and edit this as it follow on the picture
    a8.jpg
    1. BuddyIP = Your IP
    2. IP = Your IP
    3. Url_Fetch = where your fetch.php located (since you put it in your www folder on wamp, the link is http://your ip/fetch.php, test it in your browser and it should show echo '='; on your browser)
    4. Url_Notice= like in fetch.php, this is for your announcements.
    5. Url_Signup= for easy registration, put your registration link here

    6. after editing, open your Gunbound.exe and enter your username and password. Connect and you should be able to connect on any server, if you cant connect, reconfigure firewall,server,etc (or maybe you dont have a LAN connection XD).



    For those Experiencing:
    "OpenSCManager Failed: Access Denied"

    Make sure to "Run it as Administrator".


    Enjoy Playing with your friends. XD
    And ill add in my blog for the Lan Connection and GBWC Setup
    Setting Up Gunbound Classic Offline Server - Agent P's Domain
    Last edited by musashi076; 07-07-15 at 08:56 AM.


  2. #2
    Valued Member psyphec is offline
    MemberRank
    Jun 2011 Join Date
    PhilippinesLocation
    136Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    sir when i run the start-server.bat there an error

    here the image...



    oh sorry its ok now.. i download the MSWINSCK.OCX

    sorry

    Finnaly i created a gunbound server yeah...

    Thanks to you.... Musashi...
    Last edited by psyphec; 03-07-12 at 04:56 PM.

  3. #3
    Novice chidaukhoe is offline
    MemberRank
    Mar 2011 Join Date
    2Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Thank you.It very easy as.I am only the lost 20 minutes is installed successfully: D.Thank you again: X

  4. #4
    Valued Member psyphec is offline
    MemberRank
    Jun 2011 Join Date
    PhilippinesLocation
    136Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by chidaukhoe View Post
    Thank you.It very easy as.I am only the lost 20 minutes is installed successfully: D.Thank you again: X

    your right this is the best and easiest guide in gunbound section..

  5. #5
    Novice chidaukhoe is offline
    MemberRank
    Mar 2011 Join Date
    2Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by psyphec View Post
    your right this is the best and easiest guide in gunbound section..
    Yeah :D :D :D :D

  6. #6
    Account Upgraded | Title Enabled! mactet05 is offline
    MemberRank
    Mar 2008 Join Date
    232Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Nice Sharing ^_^ god bless

  7. #7
    Account Upgraded | Title Enabled! MacNetwork is offline
    MemberRank
    Apr 2009 Join Date
    221Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Aw!! Trojan Horse Detected GBXB1.9.exe.... can u upload again this file?

  8. #8
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: [Tutorial} Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by psyphec View Post
    sir when i run the start-server.bat there an error

    here the image...



    oh sorry its ok now.. i download the MSWINSCK.OCX

    sorry

    Finnaly i created a gunbound server yeah...

    Thanks to you.... Musashi...
    its because of the GBXB1.9 is made of VB6. i forgot to include that sorry.



    Quote Originally Posted by Acronis23 View Post
    Aw!! Trojan Horse Detected GBXB1.9.exe.... can u upload again this file?
    redownload the server files. i cant find some alternative for that. without the GBXB1.9, it wont work.

    try this but i dont know how it work

    http://forum.ragezone.com/f494/relea...ker-v0-817325/

  9. #9
    Valued Member psyphec is offline
    MemberRank
    Jun 2011 Join Date
    PhilippinesLocation
    136Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    sir where is the NyxLauncherEnc in client???

    i will try to change the ip 127.0.0.1 to my ip..

    to join other player..

  10. #10
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by psyphec View Post
    sir where is the NyxLauncherEnc in client???

    i will try to change the ip 127.0.0.1 to my ip..

    to join other player..
    NyxLauncherEnc is just for GBWC.

    youll just change the registry ip.

    also open your firewall and create a virtual host to your wamp.

    maybe next time ill add a tutorial for LAN.

  11. #11
    Valued Member psyphec is offline
    MemberRank
    Jun 2011 Join Date
    PhilippinesLocation
    136Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by musashi076 View Post
    NyxLauncherEnc is just for GBWC.

    youll just change the registry ip.

    also open your firewall and create a virtual host to your wamp.

    maybe next time ill add a tutorial for LAN.
    sir how about in wan...

    to be in online server...

    please make a guide thanks

    sir can you teach me how to make a installer with that registry??

    or like that installer with installshield wizard with my config ip..

  12. #12
    Proficient Member musashi076 is offline
    MemberRank
    Oct 2009 Join Date
    PhilippinesLocation
    186Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by psyphec View Post
    sir how about in wan...

    to be in online server...

    please make a guide thanks

    sir can you teach me how to make a installer with that registry??

    or like that installer with installshield wizard with my config ip..
    in WAN, you need to configure your router to port forwarding. like in creating websites. ask google about it.

    in creating installer, i used inno setup to repack my installer since i have my installer modded with my own graphics.

  13. #13
    Valued Member psyphec is offline
    MemberRank
    Jun 2011 Join Date
    PhilippinesLocation
    136Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline (With Pictures)

    Quote Originally Posted by musashi076 View Post
    in WAN, you need to configure your router to port forwarding. like in creating websites. ask google about it.

    in creating installer, i used inno setup to repack my installer since i have my installer modded with my own graphics.

    sir.. when i join server 1 other player can't see each other
    but in server 2 it is good..

  14. #14
    Account Upgraded | Title Enabled! MacNetwork is offline
    MemberRank
    Apr 2009 Join Date
    221Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures)

    perfect running... more tnx ^_^

  15. #15
    Valued Member kellybang is offline
    MemberRank
    Oct 2008 Join Date
    192.168.1.1Location
    112Posts

    Re: [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures)

    any ideas why im getting this kind of error?


    4 by Mio Akiyama2, on Flickr

    im trying to run the install-service.bat

    -----------
    solved. just had to allow allow command prompt as Administrator by going to start menu accessories then properties of command promt then restart LOL..

    ----------------------

    new problem.. it keeps on waiting...

    5 by Mio Akiyama2, on Flickr

    i tried entering the wrong password it still logs me in the game... hmmmm
    Last edited by kellybang; 08-07-12 at 04:46 AM.



Page 1 of 13 12345678911 ... LastLast

Advertisement