aleigood / TrinityCore-Autobalance

New Autobalance for TrinityCore 3.3.5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile on trinitycore from 17 October 2020

Parkan1986 opened this issue · comments

Got errors during compiling like this:

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

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

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

Then try to add manually autobalance patch to your source

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...

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!