mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Tools/Patcher: Removed "Connection" patch and added rsa modulus patch
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
|
||||
#include "Helper.hpp"
|
||||
#include "Patcher.hpp"
|
||||
#include "Patches/Common.hpp"
|
||||
#include "Patches/Mac.hpp"
|
||||
#include "Patches/Windows.hpp"
|
||||
#include "Patterns/Common.hpp"
|
||||
#include "Patterns/Mac.hpp"
|
||||
#include "Patterns/Windows.hpp"
|
||||
|
||||
@@ -75,18 +77,17 @@ namespace Connection_Patcher
|
||||
template<typename PATCH, typename PATTERN>
|
||||
void do_patches(Patcher* patcher, boost::filesystem::path output)
|
||||
{
|
||||
std::cout << "patching Portal\n";
|
||||
patcher->Patch(Patches::Common::Portal(), Patterns::Common::Portal());
|
||||
std::cout << "patching redirect RSA Modulus\n";
|
||||
patcher->Patch(Patches::Common::Modulus(), Patterns::Common::Modulus());
|
||||
std::cout << "patching BNet\n";
|
||||
patcher->Patch(PATCH::BNet(), PATTERN::BNet());
|
||||
std::cout << "patching Portal\n";
|
||||
patcher->Patch(PATCH::Portal(), PATTERN::Portal());
|
||||
std::cout << "patching Connect\n";
|
||||
patcher->Patch(PATCH::Connect(), PATTERN::Connect());
|
||||
std::cout << "patching Signature\n";
|
||||
patcher->Patch(PATCH::Signature(), PATTERN::Signature());
|
||||
patcher->Finish(output);
|
||||
|
||||
std::cout << "Patching done.\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user