You know that you have the latest version when your doing it
You might want a server like blizzards, which you can easily make (repacks usually don't work, or have random vendors all over the place, which you can make yourself if you want a funserver)
and well... Its the first time a server worked for me! (There are more but i cant remember them)
Required Programs through this guide;
This will be used to download the Source Code.
- And this is for Compiling it.
(note, there are more programs further through the tutorial.)
1) (Downloading Ascent Source Code)
When you have downloaded&installed the programs above, make a new folder, call it "SVN". Inside the folder SVN create a folder called "Ascent". Go inside "Ascent" and right click, then click "SVN Checkout". In URL of Repository type like so; . Click "OK", when it asks for a user/password type in anonymous for username and leave password blank and click OK. Wait untill that has finished.
When it has finished downloading, you should have three folders. "branches", "tags" and "trunk". "Branches" is the latest stable version of Ascent that is guarentied to work and "trunk" is the latest un-stable version which isnt guarentied to work, but might do, in this guide i will be using "Branches". To update your Ascent source to the latest revision, go into your SVN folder, right click and go to SVN Update.
2) (Compiling Ascent)
Ok, now that the source code has finished downloading, Open "Microsoft Visual C++ 2008 Express Edition"
At the time of writing this tutorial, the latest branch is "3_8_stable", so in my SVN folder, i will go to "Ascent/branches/3_8_stable/win/" and open "ascentVC90.sln".
When youve opened it, it should look like this. press Build then Build Solution.
When thats finished it should look something like this;
Now go to "branches/3_8_stable/src/scripts/" and open "scripts2008.sln". Now compile it like we did before.
Wait untill that has finished.
Now go to "branches/3_8_stable/bin/debug/", your ascent files will be in there and you should have these:
Now, go to "branches/3_8_stable/src/" copy all the .conf files into the same folder as your compiled ascent server files ("branches/3_8_stable/bin/debug/")
copy all the .dll files from "branches/3_8_stable/dep/lib32" into there aswell.
Now the "debug" folder contains your Ascent server, just copy it to a location of your choice and rename it to whatever you want.
3)Setting up MySql
first of all, download MySql
Now install MySQL and select a Typical install. At the end of the install, you will get an option to "Configure the MySQL Server now", make sure this box is checked and continue. Now follow below.
Click Standard configuration then click Next.
Make sure "install as a windows service" is ticked, make sure the service name is MySql, and make sure "Launch the MySql server automatically" is ticked. Leave the other options unticked. Click next.
Make sure everything is unticked then click Next then click "Execute"
If everything goes right all the circles should have ticks in.
Next, go to Start > All Programs > MySQL and open MySQL Command Line Client
When it asks for a password just click enter. If it makes a beep and then closes itself, reopen it and type in "root" as the password.
Now type (this will set your new password for MySQL):
Code:
SET PASSWORD FOR root@localhost=PASSWORD('newpasswordgoeshere');
Code:
SET PASSWORD FOR root@localhost=PASSWORD('ascent');
Code:
CREATE database world;
Code:
CREATE database accounts;
Now go to the SVN folder that you made before and make a new folder called NCDB. go into this folder and right click and then click on SVN checkout again, but this time, put as the repository, as before, when it asks for a user/password, type in anonymous for the user and leave the password field blank. When that has finished, go to Tool.bat, right click it and click Edit. Change the settings to what it is in the pic;
Save& close Notepad (Or the text editor your using.)
Open it as you would normally when it asks for the option, press "W" (Install NCDB World Database (Wipe current DB)
Now exit it.
Now download&install (any other thing like this, e.g navicat, SQLYog etc, will also work, but I prefer "HeidiSQL".)
Open it, when it says "Connection to MySQL-host..." and comes up with a screen of info , enter the info like on here (Put your password to what you changed your MySQL password to)
Click Save&connect
Now click on "accounts" then, at the top, click Import and then Load SQL-File (note if your using any other program you could probably just right click it then click Restore from SQL Dump)
Navigate to your SVN folder and go to /Ascent/branches/3_8_stable/sql/ and select the logon_structure.sql then click execute.
Do the same for character_structure.sql in that folder.
Now we are going to create the account you will use in game.
Right-Click Accounts and then click "Refresh".
Now find "Accounts" double click on that and if you aren't allready go to "Tables" tab at the top. unless we do this step, you will get an error halfway through logonserver, and your accounts wont be loaded because it cant find a certain Field.
right click anywhere under forceLanguage and click "Add Field"
Change the settings to like it is in this picture here:
Now we have done that, click on "Data" at the top.
Where it says acct, leave it blank, it will automatically make that.
in Login, put a username
in Password, put a password, under GM, put AZ, if your making an account for someone else and you dont want them to be GM, leave that field blank.
in Banned enter 0.
In Email enter your email.
skip all other fields up to Flags, in flags, put 8 (this means that the account is TBC)
in "Force Language" put enUS
leave Muted blank
make sure that it saves at the bottom.
5) Extracting MAPS
Now, we have to extract the maps that the server will use.
[url=http://filebeam.com/6f97560d8bf61b4538970fad5ae0c52bDownload THIS.[/url]
Now, extract it and find your client version (enUS = US client EU = Europe client etc)
Place ad.exe into your World Of Warcraft directory, and make a folder in your World Of Warcraft directory called "maps". Then run ad.exe and it will extract the maps. (This may take up to 30 minutes depending on your PC)
If you get an error saying that it cant find file ******** then you are using the wrong one.
6) Extracting DBCs.
When that has done Download THIS DBC Extracter and follow the instructions in the Readme(this shouldnt take as long as Maps). When that has finished, copy the DBC folder into your Ascent folder.
[size=5]7) Setting up Ascent configuration files.[size]
(What you need to change is in RED)
There are four configuration files that you get when you compile Ascent (the config files are all located in your compiled Ascent folder or "release" folder.). "world.conf", "logonserver.conf", "realms.conf" and "Voicechat.conf".
All we need to edit for now is "world.conf" , "Logonserver.conf", and "Realms.conf"
First of all open up Ascent.conf
Press CTRL+F and type in WorldDatabase. Click "Find Next"
you should see this:
Code:
<WorldDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1"> <CharacterDatabase Hostname = "host" Username = "username" Password = "passwd" Name = "database" Port = "3306" Type = "1">
Code:
<WorldDatabase Hostname = "localhost" Username = "root" Password = "[color=red]yourMySQLpassword[/color]" Name = "world" Port = "3306" Type = "1"> <CharacterDatabase Hostname = "localhost" Username = "root" Password = "[color=red]yourMySQLpassword[/color]" Name = "accounts" Port = "3306" Type = "1">
Code:
#<die msg="I am a newb who didn't even read half my config file!">
Code:
<die2 msg="I read nearly all my config file, but not the whole thing!">
Code:
<LogonServer DisablePings = "0" RemotePassword = "change_me_world">
Once you have found that, change "change_me_world" to any password of your choice (You need to remember this password for the next .conf we edit)
Save and close Ascent-world.conf
Now open "ascent-logonserver.conf"
Scroll down untill you see
Code:
<LogonDatabase Hostname = "host" Username = "user" Password = "pass" Name = "dbname" Port = "3306" Type = "1">
Code:
<LogonDatabase Hostname = "localhost" Username = "root" Password = "[color=red]yourMySQLpassword[/color]" Name = "accounts" Port = "3306" Type = "1">
Code:
<Client MinBuild = "6739" MaxBuild = "6739">
Code:
<Client MinBuild = "6739" MaxBuild = "7799">
Code:
<LogonServer RemotePassword = "change_me_logon">
Save it and exit it.
Open ascent-realms.conf, scroll down to the bottom and you should see
Code:
<Realm1 Name = "Test Realm" Address = "127.0.0.1:8129" Icon = "PVP" Colour = "1" Population = "1.0" TimeZone = "1">
8) Blizzlike or Funserver
Here you have a choice; you can either make your server have blizzard rates or into a Funserver.If you want it to be blizzard rates, then skip this step, if you want it to be a fun-server (instant seventy), then Open ascent-world.conf, press CTRL+F and type in "Rates Health"
you should see this;
Code:
<Rates Health="1" Power1="1" Power2="1" Power3="1" QuestReputation="1" KillReputation="1" Honor="1" PvPTimer="300000" Compression="1" XP="1" QuestXP="1" RestXP="1" DropGrey="1" DropWhite="1" DropGreen="1" DropBlue="1" DropPurple="1" DropOrange="1" DropArtifact="1" DropMoney="1" Save="300000" SkillChance="1" SkillRate="1" ArenaMultiplier2x="1" ArenaMultiplier3x="1" ArenaMultiplier5x="1">
Code:
<Rates Health="1" Power1="1" Power2="1" Power3="1" QuestReputation="99" KillReputation="99" Honor="99" PvPTimer="300000" Compression="1" XP="9999999999" QuestXP="9999999999" RestXP="9" DropGrey="1" DropWhite="1" DropGreen="1" DropBlue="1" DropPurple="999" DropOrange="999" DropArtifact="999" DropMoney="99999" Save="300000" SkillChance="999" SkillRate="375" ArenaMultiplier2x="9" ArenaMultiplier3x="9" ArenaMultiplier5x="9">
9) Starting And connecting to the server.
Great! we are almost finished!
Now, all we need to do is start the server up, and change our realmlist!
so, open Ascent-Logonserver.exe first, and then Ascent-World.exe
while they are loading up, go to your World of Warcraft folder and open Realmlist.WTF ( If it asks to choose a program, then use notepad or wordpad)
it should say either
"Set Realmlist EU.logon.worldofwarcraft.com"
Or
"Set realmlist US.logon.worldofwarcraft.com"
Or something like that
Change that to "Set Realmlist 127.0.0.1". Save and close it.
Now, make sure that it says "Realm '(yourrealmname)' registered as realm 1 on the ascent-world.exe that you opened, If it is still loading things, wait untill it has said that, and then open world of warcraft, and login with the account details that we made in HeidiSQL earlier. If it sticks at "Connected" simply click cancel, then choose the realm. if it keeps on doing that, restart WoW.
if all goes well then;
Congratulations! you've successfully setup a WoW private server from the source code made an account and connected it.
a Program that i suggest that you use is attached at the bottom of the page, it searches through spells,skills,items,npcs,mobs etc. (I take no credit for this program, i did not make it)
I'll soon add more guides like:
How to make it so that people can connect to your server,
how to make a registration page
and
how to make custom items.
but untill then: I hope ive helped you, and that you have no problems cya.