- Joined
- Oct 9, 2009
- Messages
- 187
- Reaction score
- 30
I removed some images and change it to Links, to see the full version, visit my blog
Well here we go!
Table of Contents
Requirements:
Download Wamp Server 2.0:
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
Select Accept and Click Next
Choose your Destination to Install (i choose c:\wamp which is the default)
Wait to complete the installation, do facebook or anything, this will not take too look ^_^
Dont touch this part, dont change the localhost,just click next
Done! now click finish to fire up your WAMP server!
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
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.
b. Now open your intenet browser and browse
c. Click on phpMyAdmin below the Tools and youll be inside phpmyadmin
Click on Databases Tab and create the following database:
d. now you see below the 4 databases i created (i checked them so you can see them as highlighted).
e. now click on the admin database and youll see this page
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.
g. Now if you see this error, open the Admin.sql (This occurs depends on the version of MySQL in WAMP)
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
Ignore the ApplicationId and VersionLimit then click GO.
3. Creating the Web Registration for the Game
a. Extract the files inside
below is the extracted files of the
Note:if you use the www_v2.rar, its no need to extract the files from
b. go to your web browser and navigate
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:
Then make some changes :
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
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
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
Gunbound Admin
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
then remove # sign so becomes this
then save.
c. while inside the conf folder, open extra folder
and open httpd-vhosts.conf
delete from <VirtualHost *** up to </VirtualHost>
then add this
like this
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.
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
then click Connect
b.now go to Tools>UserManager>Add User
then like in this window,
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
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
Center's Setting.txt
Gunbound836* Setting.txt
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
c. Click New Rule.. on the right side bar
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)
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
and in Broker Field
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
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
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
You must be registered to see links
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
Download Wamp Server 2.0:
You must be registered to see links
You must be registered to see links
You must be registered to see links
You must be registered to see links
(old)
You must be registered to see links
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
Select Accept and Click Next
Choose your Destination to Install (i choose c:\wamp which is the default)
Wait to complete the installation, do facebook or anything, this will not take too look ^_^
Dont touch this part, dont change the localhost,just click next
Done! now click finish to fire up your WAMP server!
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/nedzRqG.png)
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
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/C03uu7l.png)
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.
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/hpSSSaq.png)
b. Now open your intenet browser and browse
You must be registered to see links
, you will be directed to this page below![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/SvX1ykQ.png)
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
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/CQk7LKw.png)
d. now you see below the 4 databases i created (i checked them so you can see them as highlighted).
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/ypWl4Ia.png)
e. now click on the admin database and youll see this page
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/6HTmI43.png)
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.
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/fVYuPsI.png)
g. Now if you see this error, open the Admin.sql (This occurs depends on the version of MySQL in WAMP)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/W4QvUZI.png)
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.
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/pKFyz7F.png)
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
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/OIvSe1B.png)
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.
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/s3s32kp.png)
3. Creating the Web Registration for the Game
a. Extract the files inside
You must be registered to see links
or
You must be registered to see links
into the www path of the wamp. (c:\wamp\www)below is the extracted files of the
You must be registered to see links
Note:if you use the www_v2.rar, its no need to extract the files from
You must be registered to see links
(the www_v2.rar is more easier since the original creator of the
You must be registered to see links
code has errors but works for the registration of user)![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/sDNz5U0.png)
b. go to your web browser and navigate
You must be registered to see links
youll see the registration site, now register for a GB Account
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/oJ7kfDe.png)
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!
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/A4KATCS.png)
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
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/8e3qUoP.png)
5. Installing Gunbound Client
a. Install the Gunbound Classic Client (the installer named Gunbound_Classic_315.exe)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/AB54p7a.png)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/Txyo0pR.png)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/sg77xYx.png)
b. Now go to start button of your desktop then click RUN and type regedit (shortcut is ctrl+r for Run)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/jiIYGIN.png)
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
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/qwTLXiT.png)
Now your registry should be like this:
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/3NJT7BA.png)
Now Run your Gunbound.exe from your start menu>Silent Gaming>Gunbound Classic>Launch Gunbound.exe
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/ZWCmVe1.png)
Then this Patcher will show. Enter your registered username and password then click start game!
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/EaJPkLP.png)
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)
![musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums musashi076 - [Tutorial] Setting Up Gunbound Classic/Thor's Hammer Offline/LAN (With Pictures) - RaGEZONE Forums](https://i.imgur.com/bk0SEBe.png)
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
You must be registered to see links
, 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:
You must be registered to see links
Then Click Start!
Now you see this that im already playing it alone! XD
You must be registered to see links
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
You must be registered to see links
Gunbound Admin
You must be registered to see links
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
You must be registered to see links
then save.
c. while inside the conf folder, open extra folder
You must be registered to see links
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.
You must be registered to see links
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,
You must be registered to see links
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
You must be registered to see links
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
You must be registered to see links
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)
You must be registered to see links
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
You must be registered to see links
1. BuddyIP = Your IP2. IP = Your IP
3. Url_Fetch = where your fetch.php located (since you put it in your www folder on wamp, the link is
You must be registered to see links
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
You must be registered to see links
Last edited by a moderator: