aleigood / TrinityCore-Autobalance

New Autobalance for TrinityCore 3.3.5
GNU General Public License v2.0
6 stars 6 forks source link

Can't compile on trinitycore from 17 October 2020 #4

Open Parkan1986 opened 4 years ago

Parkan1986 commented 4 years ago

Got errors during compiling like this:

Серьезность Код Описание Проект Файл Строка Состояние подавления Ошибка (активно) E0289 отсутствуют экземпляры конструктора "std::vector<_Ty, _Alloc>::vector [с _Ty=Trinity::ChatCommands::ChatCommandBuilder, _Alloc=std::allocator]", соответствующие списку аргументов scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 670 Ошибка (активно) E0289 отсутствуют экземпляры конструктора "std::vector<_Ty, _Alloc>::vector [с _Ty=Trinity::ChatCommands::ChatCommandBuilder, _Alloc=std::allocator]", соответствующие списку аргументов scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 679 Ошибка C2440 инициализация: невозможно преобразовать "initializer list" в "std::vector<Trinity::ChatCommands::ChatCommandBuilder,std::allocator>" scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 670 Сообщение Ни один конструктор не смог принять исходный тип, либо разрешение перегрузки конструктора неоднозначно scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 676 Ошибка C2440 инициализация: невозможно преобразовать "initializer list" в "std::vector<Trinity::ChatCommands::ChatCommandBuilder,std::allocator>" scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 679 Сообщение Ни один конструктор не смог принять исходный тип, либо разрешение перегрузки конструктора неоднозначно scripts D:\TrinityCore\src\server\scripts\Custom\AutoBalance.cpp 681

goldug commented 4 years ago

I'm having issues when applying the patch, it says the patch file is corrupted on line 67. I don't see the issue.

zaicopx commented 4 years ago

Try this one. 0001-AutoBalance.zip

goldug commented 4 years ago

Try this one. 0001-AutoBalance.zip

Did not work for me. Worse problems actually. Error: "git" am --3way --signoff "I:/git/0001-AutoBalance.patch" Applying: AutoBalance error: sha1 information is lacking or useless (src/server/game/Entities/Creature/Creature.cpp). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 AutoBalance

zaicopx commented 4 years ago

Then try to add manually autobalance patch to your source

goldug commented 4 years ago

Then try to add manually autobalance patch to your source

I might be dumb, but what exactly do you mean? Open the source files and adding it all manually?

Edit: ignore that, it was my fault. I have no idea why, but something I did messed it up completely. I started from scratch and now it seems to work...

littlehelper1987 commented 3 years ago

I'm having issues when applying the patch, it says the patch file is corrupted on line 67. I don't see the issue.

same here!