Chinaunix首页 | 论坛 | 博客
  • 博客访问: 375186
  • 博文数量: 37
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 1266
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-16 19:52
文章分类

全部博文(37)

文章存档

2011年(1)

2010年(7)

2009年(12)

2008年(17)

我的朋友

分类: C/C++

2009-09-12 23:39:09

Downloads :

1- TortoiseSVN :
2- Visual C++ Express 2008 :
3- Visual C++ Libraries :
4- MySQL : MySQL :: MySQL 5.0 Downloads
5- Navicat :
6- Ad.exe : (Password : ascent)
7- MPQE.exe : (Password : ascent)
8- Microsoft .NET Framework 3.5 :
9- Ascent Libraries :

(Install TortoiseSVN, Visual C++ Express 2008, MySQL and Navicat)

1/ Checkout the source code

Download the Trunk version of Ascent :
a. Make a folder at C:\Ascent\Source\
b. Right click on this folder and choose SVN Checkout
c. Enter this URL :
d. Press 'OK'
e. Enter 'anonymous' (without quotes) in Username. (No password required)

2/ Compile the server

1. Install the libraires :
a. Unzip ascent-windows-libraires.zip
b. Copy the folder \ascent-windows-libraries\VC and paste it at C:\Program Files\Microsoft Visual Studio 9.0 (Press 'Yes' for replacement)
c. Open \ascent-windows-libraries\Sources\VC90-solution.sln
d. Go to Build -> Configuration Manager
e. Set the solution configuration to 'Release'
f. Go to Build -> Build Solution (F7)
g. Copy \ascent-windows-libraries\Sources\Output_Release\pcre.lib and \ascent-windows-libraries\Sources\Output_Release\zlib.lib at C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
h. Copy \ascent-windows-libraries\DLL Files\libeay32.dll and \ascent-windows-libraries\DLL Files\libmySQL.dll at C:\Windows\System32
(You don't need to these steps each time you want to update, it has only to be done once)
2. Compile the trunk files :
a. Open C:\Ascent\Source\win\ascentVC90.sln
b. Go to Build -> Configuration Manager
c. Set the solution configuration to 'Release'
d. Go to Build -> Build Solution (F7)
e. Close the solution file
f. Open C:\Ascent\Source\src\scripts\scripts2008.sln
g. Go to Build -> Configuration Manager
h. Set the solution configuration to 'Release'
i. Go to Build -> Build Solution (F7)
j. Copy C:\Ascent\Source\Bin\Release\ascent-world.exe, C:\Ascent\Source\Bin\Release\ascent-logon.exe and C:\Ascent\Source\Bin\Release\script_bin to C:\Ascent
k. Copy C:\Ascent\Source\src\ascent-logonserver.conf, C:\Ascent\Source\src\ascent-realms.conf, C:\Ascent\Source\src\ascent-world.conf at C:\Ascent
3/ Set up the database

1. Create databases :
a. Open Navicat
b. Go to File -> New Connection
c. Type Ascent in the name field
d. Type the password that you used when you installed MySQL in the password field
e. Press 'OK'
f. Double click on your connection named 'Ascent'
g. Right click on it and Add three databases named 'acharacter', 'alogon' and 'aworld'.
2. Configure acharacter :
Right click on 'acharacter' and click 'Execut a SQL file' then choose C:\Ascent\Source\sql\****_character_structure.sql
3. Configure alogon :
Right click on 'alogon' and click 'Execut a SQL file' then choose C:\Ascent\Source\sql\****_logon_structure.sql
4. Configure aworld :
a. Make a folder at C:\Ascent\Source\NCDB
b. Right click on this folder and choose SVN Checkout
c. Enter this URL :
d. Press 'OK'
e. Right click on C:\Ascent\Source\NCDB\AscentTool.bat and edit it
f. Change "user=CHANGEME" to "user=root"
g. Change "pass=CHANGEME" to "pass=The Password of MySQL"
h. Change "wdb=CHANGEME" to "wdb=aworld"
i. Change "cdb=CHANGEME" to "cdb=acharacter"
j. Run C:\Ascent\Source\NCDB\AscentTool.bat and type the letter 'w'
k. Close AscentTool.bat when it's finished
5. Creating your GM Account :
a. Right click on 'alogon' and click 'Console...'
b. Type the following :
INSERT INTO accounts SET login = 'Username', password = 'Password', gm = 'az', flags = 8;
4/ Obtain MAP/DBC

1. DBC Files :
a. Make a folder at C:\Ascent\DBC
b. Unzip mpqe.zip
c. Copy MPQE.exe, MPQE.vshost.exe and SFmpq.dll in C:\Program Files\World of Warcraft\Data\enUS
d. Open notepad.exe and type the following :
mpqe /p locale-enUS.MPQ DBFilesClient\*.dbc
e. Save it as dbc.bat in C:\Program Files\World of Warcraft\Data\enUS
f. Run dbc.bat
g. Copy all the files of C:\World of Warcraft\Data\enUS\MPQOUT\DBFilesClient to C:\Ascent\DBC
2. Map Files :
a. Unzip ad.zip
b. Put ad.exe in C:\Program Files\World of Warcraft
c. Make a folder at C:\Program Files\World of Warcraft\maps
d. Launch ad.exe
e. Move the folder C:\Program Files\World of Warcraft\maps to C:\Ascent\maps
5/ Configure the server

1. Configure ascent-world.conf :

Code:


a. Change "host" to "localhost"
b. Change "username" to "root"
c. Change "passwd" to "The Password of MySQL"
d. Change the first "database" to "aworld"
e. Change the second "database" to "acharacter"
Code:

f. Delete this line
Code:
RemotePassword = "change_me_world">
g. Change "change_me_world" to whatever password
Code:

h. Delete this line
2. Configure ascent-logonserver.conf :

Code:

a. Change "host" to "localhost"
b. Change "user" to "root"
c. Change "pass" to "The Password of MySQL"
d. Change "dbname" to "alogon"
Code:

e. Change "change_me_logon" to whatever password (same than before)
3. Configure ascent-realms.conf :

Code:

a. Change "127.0.0.1:8129" to "EXTERNALIP:8129" if you want to make your server public only
6/ Launching

a. Open ascent-logon.exe
b. Open ascent-world.exe
c. Open Wow.exe
d. Login in with your GM account
e. Have fun :)

Original Link:

阅读(1028) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~