First of all: This is my first tutorial!
Needed:
MySQL
Git-Client
SVN-Client
Visual C# 2010 / Visual Studio 2010
Index:
1. Get the files
2. Compile the core
3. Setup the database
4. Configure the configs
5. DBCs
6. First start and first login
1.Get the files
After you installed TortoiseGIT and TortoiseSVN you can get the database and source of WCell. Before that you should create folders for both.
WCell:
First of all you have to do rightclick in your WCell folder and choose "Git Clone…".
After that you type the URL http://github.com/WCell/WCell.git and press "OK".
Now the database (UDB in this tutorial):
First we enter our database-folder, press the right mousebutton and choose "SVN Checkout...".
For "URL of Repository:" we type https://unifieddb.svn.sourceforge.ne...ifieddb/trunk/ and press "OK".
After TortoiseGIT and TortoiseSVN finished we can move on to the next step.
2.Compile the core
To compile it we have to open the "WCell.sln" with Visual C# 2010 (older versions could work too).
Now there should popup some errors like this:
Just ignore them and click ok for each error.
Ok, now we gonna rightclick the solution (not the file) and choose "Create solution" (you can also press F6 for this).
While the core is compilling we will go on with the next step.
3.Setup the database
First you have to create two new databases in HeidiSQL, Navicat or whatever.
WCellRealmServer
WCellAuthServer
WCell fills the WCellAuthServer database automatically at first start.
Now we could batch the database with Navicat or sth like that, but at this tutorial I will use the .bat-file from WCell. You can find it in WCell->Run->Content->Impl->UDB
First we have to configure it, so we rightclick the UDB-Full-Install.bat and choose "Edit" (it's below the "Open").
The first 4 "set" are important for us:
Code:
set user="Your MySQL username"
set pass="Your MySQL password"
set wdb="wcellrealmserver" just leave this as it is
set udb="Path to your UDB (In my case: C:\Anderes\Tutorial\UDB\)"
If you configured them right, you can run the .bat.
First you will be asked if the properties are right. Just press space.
Now type e and press enter. After that you have to type ZIP and press enter again. Wait until something like "Press a button of you choise..." appears and press enter again.
Press i and enter, wait until the database is batched and press enter again. Now:
Type 389 + press enter, wait until it's done, press enter.
Type 390 + press enter, wait until it's done, press enter.
Type 391 + press enter, wait until it's done, press enter.
Type 392 + press enter, wait until it's done, press enter.
Type X and press enter. The .bat will close and we finished step 3.
4.Configure the configs
The configs are in WCell->Run->Debug. (If you compiled as release, they're in WCell->Run->Release).
But to create them we first have to run WCell.AuthServerConsole.exe and WCell.RealmServerConsole.exe.
Now we should get the following:
AuthServerConsole:
Config-file "C:\Anderes\Tutorial\WCell\WCell\Run\Debug\AuthServerConfig.xml" not found - Created new "C:\Anderes\Tutorial\WCell\WCell\Run\Debug\AuthServerConfig.xml". Please take a little time to configure your server and then restart the Application.
RealmServerConsole:
Config-file "C:\Anderes\Tutorial\WCell\WCell\Run\Debug\RealmServerConfig.xml" not found - Created new file. Please take a little time to configure your server and then restart the Application.
Those say that there are no configs and they've been created now. Now we should configure them.
To do that we have to open the AuthServerConfig.xml with a texteditor (I recommend Notepad++). There we search the following:
We will change this Row
Code:
<DBConnectionString>Server=127.0.0.1;Port=3306;Database=WCellAuthServer;CharSet=utf8;Uid= root;Pwd=;</DBConnectionString>
to
Code:
<DBConnectionString>Server=127.0.0.1;Port=3306;Database=WCellAuthServer;CharSet=utf8;Uid= YourMySQLUsername;Pwd=YourMySQLPassword;</DBConnectionString>
Next we're going to edit the RealmServerConfig.xml. We'll open this with our texteditor again. There we're going to edit the following part:
Here we will change "uid=YourMySQLUsername" und "Pwd=YourMySQLPassword" in yours.
Another point of interest is this:
WCell won't start with the default realmname, so we have to edit it.
5.DBCs
1. Get an ad.exe ad.exe on Filebeam
2. Put it in you WoW directory.
3. Run it and wait until it's done.
4. Move the created dbc-folder to WCell->Run->Content and rename it to dbc3.3.5.
That was step 5.
6.First start and first login
First we will start the WCellAuthServerConsole.exe and the WCellRealmServerConsole.exe. Then we'll change our realmlist to "set realmlist 127.0.0.1" or "set realmlist localhost" and start our WoW client. Type the same account and password and WCell will create a new Account (than can also be disabled). After you created a character and logged in you have to type ".load all" in the chat, so the server knows he has to load the content (you can also configure that it should load the content automatically).
And now: Have fun. ;-)
Please don't copy this without my permission.