Pages

War Rock

[GUIDE] Setup Warrock Server Base On (Tweek Release)
First Download All files on (Tweek Release)
Extract The Server And Client on your Drive C or whatever Drive You want to use.

Download And Install Xampp 1.8.2 or 1.8.3.I use xampp 1.8.2,Because 1.8.3 doesn't support Windows XP.

Xampp 1.8.2 Link
Apache and MySQL from Xampp must be installed.

Next Download And Install MySQL ODBC Driver 5.1.11
Link

Next Download And Install Navicat.
I prefer to use Navicat than MYSQL GUI TOOL but its up to you where you think you can do it simple,and what you know better.

Premium Navicat Link
When your done installing Navicat Follow This Guide:

Locate Navicat for MySQL on your desktop and open it.If its not there go to
Start/All Programs/PremiumSoft/Navicat For MySQL
When the navicat already open,.Create New Connection
Then follow this image
When your connection ready you can see it left side.Right click it and choose Manage Users...
New window will pop out,find root@localhost right click it and select Edit User.
After that another window will pop out with some details field.Follow this image.Put your desired password and click ok.
Next right click your connection,mine was montana like i said earlier.And click New Database.
New window will pop out enter your database name.I use warrock.
Then right click warrock on left side and click Execute Batch File.
And then we need to locate the warrock database you should download the fixed database from TWEEK Release.Follow This Image.
Click the triple (...) button.And locate this.
And then Click okay and Start.
When done executing database,right click the body of navicat and you will see the databases tables.
And were done on Database 

Wait for the next updates I will continue the server files and client side guide I just need to submit this first so avoid browser disconnection,this my 3rd times I try so lazy to start them over again when my FIREFOX CRASH.

The Continuation of the guide for (SERVER AND CLIENT SIDE INCLUDED THE WEBPAGE)

locate where you extract the server files,go to
Warrock\serverfiles\Warrock Files\LoginServer\bin\Debug

And open settings.ini
[Server]
key=d5856782db99133c224b4011b58fc620
name=EngineWar
ip=127.0.0.1(Use Local IP For Test)
toshow=1
[Database]
host=127.0.0.1
port=3306
username=root
password=(Your Navicat MySQL Password)
database=warrock (Your Database)
[Updater]
format=0
launcher=0
updater=0
client=-1
sub=0
option=0
url=http://patch.nexuswar.eu/
Then Save..

Next Go To:
Warrock\serverfiles\Warrock Files\GameServer\bin\Debug
And open gsettings.ini
[Server]
key=d5856782db99133c224b4011b58fc620
name=EngineWar
ip=127.0.0.1
esl=0
debug=1
[Database]
host=127.0.0.1
port=3306
username=root
password=(Your Navicat MySQL Password)
database=warrock(Your Database)
 Then Save..

Your Done on Server Files.
To Open The server Run The Following:
Warrock\serverfiles\Warrock Files\LoginServer\bin\Debug\LoginServer.exe
Warrock\serverfiles\Warrock Files\GameServer\bin\Debug\GameServer.exe

Now Go to Your Client.
Warrock\Enginewar\system
Download And Paste This Warrock.exe Runnable.
WarRock

The warrock.exe runnable already set local IP no need to hex or something,If you need to hex it to change the local IP just search for 127.0.0.1 the two same IP near together.not the first one appear on your search.

Now extract the htdocs.rar to C:/xampp/htdocs
Note: you must remove first all the files inside the htdocs folder.

after extracting open
C:\xampp\htdocs\connect.php
<?php

$host = "localhost";
$userdb = "root";
$password = "(Your Navicat SQL PASSWORD)";
$database = "warrock(Your Navicat MySQL Database)";
$version = "0.1";
$coder = "Unknown";

mysql_connect($host,$userdb,$password);
mysql_select_db($database);

if(isset($_SESSION))
{
session_start();
$uID = $_SESSION['userID'];
$uName = $_SESSION['username'];
}else{
$uID = 0;
$uName = "";
}

?>
And locate your website on your browser
http://localhost or http://127.0.0.1

You must start the game through Warrock.exe on System Folder of your Client.

Hope this guide will help someone.Feel free to correct if you seeing wrong,I just shared upon my knowledge and steps.

Dont hesitate to post here if you encountered some problem on configuring or setup the server.

Credits:
Tweek <--- For Files
Banbex <--- For Runnable
NoLimiT <--- For The Guide.

I Am NoLimiT
Ragezone