Показать сообщение отдельно
Старый 10.02.2011, 22:15   #7
ltechik
Гость
 
Сообщений: n/a
Лампочка MangosOne + Scriptdev2TBC

Доброе время суток !
При сборке ядра WOW TBC [s0799] commit и ScriptDev2 TBC [ScriptDev2_1910_to_MaNGOS_0.12] последний коммит.
Вылетает целая серия ошибок :
№1
Код:
..\base\pet_ai.cpp(52) : error C2039: 'CanReachWithAttack' : is not a member of 'Creature'
        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Creature.h(374) : see declaration of 'Creature'
№2
Код:
1>..\scripts\eastern_kingdoms\blackwing_lair\boss_vaelastrasz.cpp(183) : error C2248: 'Unit::CastSpell' : cannot access private member declared in class 'Unit'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1822) : see declaration of 'Unit::CastSpell'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1017) : see declaration of 'Unit'
1>..\scripts\eastern_kingdoms\blackwing_lair\boss_vaelastrasz.cpp(193) : error C2248: 'Unit::CastSpell' : cannot access private member declared in class 'Unit'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1822) : see declaration of 'Unit::CastSpell'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1017) : see declaration of 'Unit'
№3
Код:
1>..\scripts\outland\boss_doomwalker.cpp(70) : error C2248: 'Unit::CastSpell' : cannot access private member declared in class 'Unit'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1822) : see declaration of 'Unit::CastSpell'
1>        d:\ltechik\work\wow\ishodniki\git tbc\one\src\game\Unit.h(1017) : see declaration of 'Unit'
№4
Код:
1>..\ScriptMgr.cpp(207) : error C3861: 'GetScriptId': identifier not found
1>..\ScriptMgr.cpp(428) : error C3861: 'GetAreaTriggerScriptId': identifier not found
1>..\ScriptMgr.cpp(439) : error C3861: 'GetEventIdScriptId': identifier not found
1>..\ScriptMgr.cpp(465) : error C3861: 'GetEventIdScriptId': identifier not found
1>..\ScriptMgr.cpp(474) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(475) : error C2601: 'ItemUse' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(484) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(485) : error C2601: 'EffectDummyCreature' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(495) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(496) : error C2601: 'EffectDummyGameObject' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(506) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(507) : error C2601: 'EffectDummyItem' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(517) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(518) : error C2601: 'AuraDummy' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(528) : error C2598: linkage specification must be at global scope
1>..\ScriptMgr.cpp(529) : error C2601: 'CreateInstanceData' : local function definitions are illegal
1>        ..\ScriptMgr.cpp(463): this line contains a '{' which has not yet been matched
1>..\ScriptMgr.cpp(540) : fatal error C1075: end of file found before the left brace '{' at '..\ScriptMgr.cpp(463)' was matched
При попытке самостоятельно разобраться в ошибках, путём редактирования или добавлением новых переменных из ревизий Mangos LichKing всё закончилось ничем. Война продолжается до сих пор , прошу помощи более опытных союзников.
Добавлено: PS. Может кто-то имеет свои соображения , от чего отталкиваться ?

Последний раз редактировалось ltechik; 10.02.2011 в 22:20.
  Ответить с цитированием