• Страница 1 из 1
  • 1
Модератор форума: Dimitro  
Форум » TrinityCore » [TrinityCore] Help » Удалить
Удалить
Nekotinchik
Скаут
Добрый день! Хочу накатить патч на ядро, делаю это впервые... взял патч на трансмог с гитхаба https://github.com/Rochet2....ransmog

Положил в папку source\TrinityCore\src\server\scripts\Custom

изменил файл custom_script_loader.cpp на вот это:


Код
/*
* Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// This is where scripts' loading functions should be declared:
void AddSC_Transmogrification();

// The name of this function should match:
// void Add${NameOfDirectory}Scripts()
void AddCustomScripts()
{
    AddSC_Transmogrification();
}


В СMake ошибок не было все нормально, дальше я начинаю собираю в VS и мне выдает вот такие 2 ошибки:
1)20>c:\source\trinitycore\src\server\scripts\custom\transmogrifier.cpp(14): fatal error C1083: Не удается открыть файл включение: Transmogrification.h: No such file or directory,

2)22>LINK : fatal error LNK1181: не удается открыть входной файл "..\scripts\Release\scripts.lib"

Если кому не трудно помогите пожалуйста.
Сообщение # 1 отредактировано Nekotinchik - Пятница, 21.06.2019, 13:33
Форум » TrinityCore » [TrinityCore] Help » Удалить
  • Страница 1 из 1
  • 1
Поиск: