Newbie Spellweaver
- Joined
- May 29, 2011
- Messages
- 12
- Reaction score
- 0
I removed some images and change it to Links, to see the full version, visit my blog
You must be registered to see links
Well here we go!
Table of Contents
Requirements: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
You must be registered to see links
Select Accept and Click Next
You must be registered to see links
Choose your Destination to Install (i choose c:\wamp which is the default)
You must be registered to see links
Wait to complete the installation, do facebook or anything, this will not take too look ^_^
You must be registered to see links
Dont touch this part, dont change the localhost,just click next
You must be registered to see links
Done! now click finish to fire up your WAMP server!
You must be registered to see links
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
You must be registered to see links
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.
You must be registered to see links
b. Now open your intenet browser and browseYou must be registered to see links, you will be directed to this page below
You must be registered to see links
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
You must be registered to see links
d. now you see below the 4 databases i created (i checked them so you can see them as highlighted).
You must be registered to see links
e. now click on the admin database and youll see this page
You must be registered to see links
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.
You must be registered to see links
g. Now if you see this error, open the Admin.sql (This occurs depends on the version of MySQL in WAMP)
You must be registered to see links
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.
You must be registered to see links
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
You must be registered to see links
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.
You must be registered to see links
3. Creating the Web Registration for the Game
a. Extract the files insideYou must be registered to see linksorYou must be registered to see linksinto the www path of the wamp. (c:\wamp\www)
below is the extracted files of theYou must be registered to see links
Note:if you use the www_v2.rar, its no need to extract the files fromYou must be registered to see links(the www_v2.rar is more easier since the original creator of theYou must be registered to see linkscode has errors but works for the registration of user)
You must be registered to see links
b. go to your web browser and navigateYou must be registered to see links
youll see the registration site, now register for a GB Account
You must be registered to see links
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!
You must be registered to see links
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
You must be registered to see links
5. Installing Gunbound Client
a. Install the Gunbound Classic Client (the installer named Gunbound_Classic_315.exe)
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
b. Now go to start button of your desktop then click RUN and type regedit (shortcut is ctrl+r for Run)
You must be registered to see links
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
You must be registered to see links
Now your registry should be like this:
You must be registered to see links
Now Run your Gunbound.exe from your start menu>Silent Gaming>Gunbound Classic>Launch Gunbound.exe
You must be registered to see links
Then this Patcher will show. Enter your registered username and password then click start game!
You must be registered to see links
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)
You must be registered to see links
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 usingYou 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:[SIZE=5]/shrduatlwkr[/SIZE]
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:
SQLYogYou must be registered to see links
Gunbound AdminYou 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 linksand 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 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 isYou must be registered to see linksip/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
can you advice me? where i will put the IP address of my VPS server?? on the setting server file!