PDA

View Full Version : [Epic] How to make 4.0.6 WoW Server - Compiling SkyfireEmu



Wise
22-02-11, 10:24 AM
heres how to make your own 4.0.6a core/repack enjoy!
IF GIT FAILS TO GET THE CORE AND DATABASE FILES THEN GET THEM HERE DIRECTLY: 2Shared (http://www.2shared.com/file/al5XUXAB/CoreDB.html)

Step 1: Getting the tools we need.
Git Download (http://git-scm.com/download)
Visual C++ 2008 Express (http://www.microsoft.com/downloads/details.aspx?familyid=F3FBB04E-92C2-4701-B4BA-92E26E408569&displaylang=en#filelist) or Visual C++ 2010 Express (http://www.microsoft.com/express/Downloads/#2010-Visual-CPP) (Express doesnt support x64 compiling so beware. for x64 u need ultimate which costs money.)
MySQL server (http://dev.mysql.com/downloads/mysql/)
.NET Framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en) (you should already have it via your Windows updates)
HeidiSQL (http://www.heidisql.com/download.php)
DO NOT USE NAVICAT : Due to NaviCat not being able to handle // style comments (standard SQL) but i recommend using it to create accounts in the db so get it here: Navicat Lite (http://download.cnet.com/Navicat-Lite-Free-Multiple-Database-GUI/3000-10254_4-10870715.html)
CMake 2.8.3 for Windows (http://cmake.org/cmake/resources/software.html)
OpenSSL for Windows (http://www.openssl.org/)
Microsoft Visual C++ 2008 Redistributable Package SP1 [x86] (http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en) / [x64] (http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en)
Microsoft Visual C++ 2010 Redistributable Package [x86] (http://www.microsoft.com/downloads/details.aspx?familyid=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en) / [x64] (http://www.microsoft.com/downloads/details.aspx?familyid=BD512D9E-43C8-4655-81BF-9350143D5867&displaylang=en)

Step 2: Compiling AND Pulling the Source
Before you start this step you need to have installed Git and Visual Studio.
go to c:/ and make a SkyFireEMU folder
Example: C:/SkyFireEMU
Right click the folder and press "Git GUI Here" and press clone repository and fill in the data as follows:

Source Location: git://github.com/SkyFire/SkyFireEMU.git
Target Directory: C:\SkyFireEMU\CoreClick on 'clone'. and this might take some minuts up to 20minutes depending on the machine. When its done we will have the core in C:/SkyFireEMU/Core
Note Before Continuing:

Also, if you have downloaded the required software above, then you should have the MySQL / OpenSSL headers and related files already.
- For OpenSSL, do NOT use the light version
- For MySQL, if you use anything other than 5.1.x, do NOT use the "essential"-version.
Now open up Cmake, it will say:

Where is source code:
Where to build the binaries:fill in the data as follows:

Where is source code: C:/SkyFireEMU/Core
Where to build the binaries: C:/Buildif it asks to create the build folder select yes. when u filled in the data as noted u need to click "Configure" choose Visual Studio 10 or Visual Studio 10 WIN64
After clicking Finish it will start checking through the source code and analyze the CMakeLists.txt spread all over the source tree.
When done it will show you a list of options (the red parts). the ones that needs to be checked are:

Scripts
Servers
Tools
USE_COREPCH
USE_MYSQL_SOURCES
USE_SCRIPTPCHclick on Configure again to make it confirm the options we chose and build the neccessary files. when its done it will say

Configuring donenow click Generate, when its done close cmake and go to c:/Build and open up the Microsoft Visual Studio Solution named SkyFire.
Step 3: Compiling the Source
Go on the top menu 'Build' and click on Configuration Manager. Make sure you set the build to release Win32 or release x64 depending on your OS.

Warning: Visual C++ 2008 Express edition does not support the 64 bit platform. You will need the fully bought one. (thank god for torrents ;))Now go back to the 'Build' menu and click on Build. This might take 15-30 Minutes depending on the machine.
When done it will say:

========== Build: 19 succeeded, 0 failed, 1 up-to-date, 1 skipped ==========
or ========== Build: 19 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========now we can find all our freshly new compiled binaries in the Build folder that we specified in the Cmake proccess.
You will need the following files in order for the core to function properly:

ace.dll
authserver.conf.dist
authserver.exe
genrev.exe
libmysql.dll
worldserver.conf.dist
worldserver.exeDelete any other file which is not in the above list, as you will not need them.
take all of these files to a folder in the desktop called:
SkyFireEMUStep 4: Importing the database and playing
Go here:

C:\SkyFireEMU\Core\sql\baseand import:

characters_database
auth_databasein mysql, the auth_database.sql goes into a database called auth which u need to create and the same for characters.
make a folder called SkyFireDB in C:/
example:

C:/SkyFireDBright click in and press "Git GUI Here" and press clone repository and fill in the data as follows:

Source Location: git://github.com/SkyFire/SkyFireDB.git
Target Directory: C:/SkyFireDB/Databaseand press "Clone" when its done close Git.
Go to "C:/SkyFireDB/Database/Tools" and open up the "Database_Installer.bat" and enter your MySQL information as follows
http://img828.imageshack.us/img828/9485/dbinstaller.th.png (http://img828.imageshack.us/i/dbinstaller.png/)
and import the world database.
Continue To Next Step:
now open the SkyFire folder at desktop and put the files that u get HERE (http://filebeam.com/09efdc12e93df8f6b0289e403752ec9f) / Mirror! (http://www.megaupload.com/?d=S3CBU05W) in the folder and delete the authserver.conf.dist and worldserver.conf.dist

use the extractors located in:

C:\Build\406a_extractorsto extract maps,dbs,vmaps but before u run the tools go to WTF folder and Open Config.wtf with notepad and change:

SET accounttype "LK"To

SET accounttype "CT"there run the tools and take all the new files to this location:

C:\Users\USERNAME\Desktop\SkyFireEMU\Dataopen skyfireemu folder in desktop. now open up authserver.exe and let it load and type this in:

account create admin admin
after that type this in:
account set gmlevel admin 3 1start your worldserver.exe let it load and edit your realmlist to: set realmlist 127.0.0.1 and login with
Username: admin
Password: admin
DONE!

Enjoy Playing World of Warcraft if you wanna play alone or with your friends :)

If you don't have 4.0.6 WoW Client you can download it from here
http://thepiratebay.se/torrent/7005814/World_of_Warcraft__Cataclysm

CREDITS For GUID GOES TO KnaPPEn

Phorum
08-04-11, 11:21 PM
I feel really nooby, but I have no ****ing idea on how to use cmake.. I downloaded the thing and all it is is a folder with random shit in it.. how do I set this up or w/e

---------- Post added at 11:21 PM ---------- Previous post was at 10:33 PM ----------

I figured all that out,, now im getting this:
The C compiler identification is unknown The CXX compiler identification is unknown
Check for working C compiler: bcc32
CMake Error: your C compiler: "bcc32" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Check for working C compiler: bcc32 -- broken

WiiStream
09-04-11, 12:34 AM
lol.. you get it keep trying

Phorum
09-04-11, 09:42 AM
This is making me angry

Phorum
09-04-11, 02:28 PM
Can anyone help me fix it, please and ty :)

wtbilly
12-04-11, 06:21 PM
CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 10 Win64". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Could not find cmake module file:C:/Build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file:C:/Build/CMakeFiles/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!

customizor
17-04-11, 12:35 AM
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)

Vodka-WoW.com
03-06-11, 10:06 AM
thanks

domosan
03-06-11, 05:25 PM
First off -- thank you for the guide, everything ran smoothly to get it up and running.

I'm having an issue connecting to make a character though. I can authenticate, but I cannot get past the "Server Select" screen. It says "Logging in the game server" but then just remains there and never moves past. There are no errors in the logs that I can see, so I'm not sure why that is happening.

Cheers,

Domosan

Zerocky
13-06-11, 07:09 PM
hi, i got the same error as costomizor when i tried to do the configuration on cmake but it has(missing: OPENSSL_LIBRARIES and OPENSSL_INCLUDE_DIR) i couldnt find a reply to his post so now im asking, plz help.

porya_1993
21-06-11, 10:30 AM
Hi . Sorry i Cant Get Vmap & DBC & Map Files . Plz Help Me or Give me Link To Download Complete Vmap & Map & DBC , Tnx

daliam
21-06-11, 03:47 PM
I've downloaded all the programs/files listed in order to make compiling work. While using Cmake, I get errors towards then end of configuring. How do I fix this? The current errors are:

CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)

windy2851
21-06-11, 04:10 PM
try to reinstall openssl

porya_1993
22-06-11, 05:28 AM
Help me plz Aboute Extracter Vmap & Map & DBC :(

rawrcandyz
27-06-11, 10:25 PM
?I've been at this for 3 **** days now and it's pi**ing me the H*** off if you have team viewer or something could you possibly help me out oh and skype also.

It says I'm missing : Detected 32-bit platform
Using supplied MySQL sources
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
CMake Error at C:/Users/alex/Documents/setups/wow/cmake-2.8.4-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Users/alex/Documents/setups/wow/cmake-2.8.4-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)


Configuring incomplete, errors occurred!

wrath99
29-06-11, 01:27 AM
Help me plz Aboute Extracter Vmap & Map & DBC :(

Use the Monster Repack files here:
Maps (http://hotfile.com/dl/116202917/c48aeed/maps.rar.html)
Vmaps (http://hotfile.com/dl/116202915/a63524f/vmaps.rar.html)
DBC (http://hotfile.com/dl/116202912/890b307/dbc.rar.html)



?I've been at this for 3 **** days now and it's pi**ing me the H*** off if you have team viewer or something could you possibly help me out oh and skype also.

It says I'm missing : Detected 32-bit platform
Using supplied MySQL sources
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
CMake Error at C:/Users/alex/Documents/setups/wow/cmake-2.8.4-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Users/alex/Documents/setups/wow/cmake-2.8.4-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)


Configuring incomplete, errors occurred!

As for that, looks like you need to install OpenSSL for windows and make sure that its all compiled to find it correctly, i havn't compiled on windows yet(i usualy use linux) but i'll do a quick build tonight and run through and give you a step by step later.

porya_1993
30-06-11, 02:31 PM
oh Tnx . kiss kiss :P

Doc85
13-08-11, 03:28 AM
ke-2.8.3-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Users/Admin/Desktop/WOW 4.2.0 Server/cmake-2.8.3-win32-x86/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)

I Keep getting this error when i i click Configure in CMake. Anyone know whats going on?

sasasiassa
29-09-11, 04:32 AM
TY!!!!!

csx163
30-09-11, 10:25 AM
tks very much

jenry
03-06-12, 02:06 AM
I am having the same problem.... please... does anyone know what's wrong? at firs I thought I installed the OpenSSL in the wrong folder but moving it didnt seem to matter. please advise! thank you in advance!

Detected 32-bit platformUsing supplied MySQL sources
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)
Configuring incomplete, errors occurred!

OoplyOop
12-06-12, 08:52 PM
Might not get it.

ratchet2
24-06-12, 04:55 AM
Detected 32-bit platform
Using supplied MySQL sources
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)
Configuring incomplete, errors occurred!

ediediedi
13-09-12, 05:21 AM
========== Build: 1 succeeded, 11 failed, 7 up-to-date, 1 skipped ==========
C:/SkyFireEMU/Core/dep/acelite\ace/config-win32-common.h(23): fatal error C1189: #error : Please define WIN32 in your project settings. (C:\SkyFireEMU\Core\src\server\worldserver\Main.cp p)

please help me

BlazzedTroll
10-01-13, 08:16 AM
So I was having quite a few issues. My first was the OpenSSL issue everyone else is having. It kept saying I didn't have it or it didn't know how to read it. I was able to solve this issue by using all 32bit applications. I have an x64 system but when examining the CMake advanced options (you will have to click this checkbox) it had a value for Detected System or something similar. Anyway, it said my system was x86. I don't know why but using 32bit OpenSSL and Visual Studio redistributables got rid of this error.
Next after building the C++ scripts my first result was like 5 succeeded and 14 failed or something. I don't remember what it was now. The error I found in the Output file said something about a file in the /include dir. I had to go back to CMake and change the directory under advanced options for ../OpenSSL/include. there was a root directory listing right below which stayed ../OpenSSL. After changing this the Build finished with 17 succeeded and 2 failed.
In the Output there are 2 sections of errors. The first deals mainly with ICC scripts and I assume this isn't what is causing a build to fail. The second of error sections is with in the last few lines of output and I am assuming that this is where there failed sections are (This one and the one last code after this would be the ones not building). This is a FATAL error which is why I think it is the only really issue. Here are both errors. I am going to go to CMake again and see if I can find a value similar to the FATAL ERROR code.

ICC Error Block:

10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(72): error C2504: 'ScriptedAI' : base class undefined10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(129): error C2146: syntax error : missing ';' before identifier 'events'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(74): error C2614: 'npc_rotting_frost_giant::npc_rotting_frost_giantA I' : illegal member initialization: 'ScriptedAI' is not a base or member
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(79): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(79): error C2228: left of '.Reset' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(80): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(80): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(81): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(81): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(82): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(82): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(87): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(87): error C2228: left of '.Reset' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(92): error C3861: 'UpdateVictim': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(95): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(95): error C2228: left of '.Update' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(97): error C2065: 'me' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(97): error C2227: left of '->HasUnitState' must point to class/struct/union/generic type
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(100): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(100): error C2228: left of '.ExecuteEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(105): error C2065: 'SELECT_TARGET_RANDOM' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(105): error C3861: 'SelectTarget': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(107): error C3861: 'Talk': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(108): error C3861: 'DoCast': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(110): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(110): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(113): error C3861: 'DoCastVictim': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(114): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(114): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(117): error C3861: 'DoCastVictim': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(118): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(118): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(125): error C3861: 'DoMeleeAttackIfReady': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(134): error C2440: 'return' : cannot convert from 'npc_rotting_frost_giant::npc_rotting_frost_giantA I *' to 'CreatureAI *'
10> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(144): error C2504: 'Scripted_NoMovementAI' : base class undefined
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(178): error C2146: syntax error : missing ';' before identifier 'events'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(178): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(178): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(146): error C2614: 'npc_frost_freeze_trap::npc_frost_freeze_trapAI' : illegal member initialization: 'Scripted_NoMovementAI' is not a base or member
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(155): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(155): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(158): error C2065: 'me' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(158): error C2227: left of '->RemoveAurasDueToSpell' must point to class/struct/union/generic type
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(159): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(159): error C2228: left of '.CancelEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(168): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(168): error C2228: left of '.Update' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(170): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(170): error C2228: left of '.ExecuteEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(172): error C2065: 'me' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(172): error C3861: 'DoCast': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(173): error C2065: 'events' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(173): error C2228: left of '.ScheduleEvent' must have class/struct/union
10> type is ''unknown-type''
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(183): error C2440: 'return' : cannot convert from 'npc_frost_freeze_trap::npc_frost_freeze_trapAI *' to 'CreatureAI *'
10> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(328): error C2027: use of undefined type 'InstanceScript'
10> D:\SkyFireEMU\Core\src\server\game\Maps\Map.h(43) : see declaration of 'InstanceScript'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(328): error C2227: left of '->GetBossState' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(328): error C2065: 'DONE' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(333): error C2027: use of undefined type 'InstanceScript'
10> D:\SkyFireEMU\Core\src\server\game\Maps\Map.h(43) : see declaration of 'InstanceScript'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(333): error C2227: left of '->GetData' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(333): error C2065: 'NOT_STARTED' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(338): error C2027: use of undefined type 'InstanceScript'
10> D:\SkyFireEMU\Core\src\server\game\Maps\Map.h(43) : see declaration of 'InstanceScript'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(338): error C2227: left of '->SetData' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(338): error C2065: 'IN_PROGRESS' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(340): error C3861: 'GetCreatureListWithEntryInGrid': identifier not found
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(345): error C2027: use of undefined type 'CreatureAI'
10> D:\SkyFireEMU\Core\src\server\game\Entities\Object \Object.h(120) : see declaration of 'CreatureAI'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(345): error C2227: left of '->DoAction' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(361): error C2027: use of undefined type 'InstanceScript'
10> D:\SkyFireEMU\Core\src\server\game\Maps\Map.h(43) : see declaration of 'InstanceScript'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(361): error C2227: left of '->GetData' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(361): error C2065: 'IN_PROGRESS' : undeclared identifier
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(362): error C2027: use of undefined type 'InstanceScript'
10> D:\SkyFireEMU\Core\src\server\game\Maps\Map.h(43) : see declaration of 'InstanceScript'
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(362): error C2227: left of '->SetData' must point to class/struct/union/generic type
10>..\..\..\..\SkyFireEMU\Core\src\server\scripts\Nor thrend\IcecrownCitadel\icecrown_citadel.cpp(362): error C2065: 'DONE' : undeclared identifier
10> boss_lady_deathwhisper.cpp

FATAL ERROR:

17> vmap3extractor.vcxproj -> D:\Build\bin\RelWithDebInfo\vmap3extractor.exe18>LINK : fatal error LNK1104: cannot open file '..\scripts\RelWithDebInfo\scripts.lib'
19>------ Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo Win32 ------
19> Building Custom Rule D:/SkyFireEMU/Core/CMakeLists.txt
19> CMake does not need to re-run because D:\Build\CMakeFiles\generate.stamp is up-to-date.
19> Build all projects
20>------ Skipped Build: Project: INSTALL, Configuration: RelWithDebInfo Win32 ------
20>Project not selected to build for this solution configuration
========== Build: 17 succeeded, 2 failed, 0 up-to-date, 1 skipped ==========

BlazzedTroll
10-01-13, 06:43 PM
So I was having quite a few issues. My first was the OpenSSL issue everyone else is having. It kept saying I didn't have it or it didn't know how to read it. I was able to solve this issue by using all 32bit applications. I have an x64 system but when examining the CMake advanced options (you will have to click this checkbox) it had a value for Detected System or something similar. Anyway, it said my system was x86. I don't know why but using 32bit OpenSSL and Visual Studio redistributables got rid of this error.
Next after building the C++ scripts my first result was like 5 succeeded and 14 failed or something. I don't remember what it was now. The error I found in the Output file said something about a file in the /include dir. I had to go back to CMake and change the directory under advanced options for ../OpenSSL/include. there was a root directory listing right below which stayed ../OpenSSL. After changing this the Build finished with 17 succeeded and 2 failed.
In the Output there are 2 sections of errors. The first deals mainly with ICC scripts and I assume this isn't what is causing a build to fail. The second of error sections is with in the last few lines of output and I am assuming that this is where there failed sections are (This one and the one last code after this would be the ones not building). This is a FATAL error which is why I think it is the only really issue. Here are both errors. I am going to go to CMake again and see if I can find a value similar to the FATAL ERROR code.



Hello again. I did some look through a ton of files and turns out I was right all along. It was another CMake issue. I may have missed this in the original post but if you are reading this and had the same errors I can tell you all how to fix it. (After all, this is the only guide I can find anywhere for post 4.0.3 WoW.) So if you are building the .sln file and you receive the 17/2/0/1 success ratings, what you need to do is return to the CMake program. As in my other resolutions in the previous post you may need to select another advance setting box (this is what I may have just missed, but like I said... if you did. here's how to fix it.) The value of USE_SCRIPTPCH must be true (checked). After checking this I went from 17/2/0/1 to 19/0/0/1.


20>Project not selected to build for this solution configuration ========== Rebuild All: 19 succeeded, 0 failed, 1 skipped ==========

Also, when trouble shooting I thought maybe INSTALL needed to be checked in the Configuration Manager. This gave me a 17/3/0/0 success rate. So if you get some errors and it shows that check to make sure in VC++ the INSTALL box is not checked. (This is where you checked to be sys32 or sys64.)

GL all.

bumbummen99
29-04-13, 09:34 AM
im finish with cmake but there is no folder:

C:\Build\Skyfire.(vsiualstudiothing)

whats wrong?

EDIT: Fixed it but now genrev.exe isnt there