Skip to content

[BUG REPORT] Patcher crashing on latest version (2.0.0 >=) #45

@AmeliaCute

Description

@AmeliaCute

Describe the bug
Patcher crashing on latest version (2.0.0 >=)

To Reproduce
Steps to reproduce the behavior:

Start the Game with any FLiAPI version containing up-to-date Patcher.cpp (MSVC/CLANG-CL)

Expected behavior

Adding and applying patches

Screenshots / Videos
If applicable, add screenshots to help explain your problem.

FLiAPI Version: 1.XX

Mod list:

- None
- 

Additional context
That why i disabled the patcher

Patcher patcher;
logger->verbose("Dll module is loaded");
CommonData::init(moduleInfo->SizeOfImage, (uintptr_t) GetModuleHandle(nullptr));
// Patcher is crashing the game for unknown reasons - disabling for now, waiting @EltyDev to investigate
// patcher.add(new EventHook(EventType::ClickEvent, 0x657DC32));
// patcher.applyPatches(baseAddress);

gameData = new GameData();
gameData->init();

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions