Closed nik2143 closed 10 months ago
Yoy can show crash log?
No crash log in logcat it only force close
Any logs by ByNameModding
tag?
No, 0 logs from BNM tag
Uncomment BNM_DISABLE_AUTO_LOAD
in BNM_settings.h and call BNM::HardBypass
in JNI_OnLoad
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] il2cpp::vm::Class::Init in lib: 0x57baa0
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] game has il2cpp_image_get_class. BNM will use it
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] il2cpp::vm::Class::FromIl2CppType in lib: 0x57e564
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] il2cpp::vm::Type::GetClassOrElementClass в библиотеке: 0x59ca0c.
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] il2cpp::vm::Image::FromName in lib: 0x582780
2023-07-23 01:55:38.581 7544-7630 ByNameModding com.kiloo.subwaysurf D [InitIl2cppMethods] il2cpp::vm::Assembly::GetAllAssemblies by domain in lib: 0x57bc84
@nik2143 I am also facing the same crash in latest bnm. Have you already fixed it or still crashing?
@nik2143 I am also facing the same crash in latest bnm. Have you already fixed it or still crashing?
Still crashing
What game? I'll check it myself when I have time
Subway surfers
Add this to code (to JNI on load or other methods that starts with lib load):
void il2cpp_thread() {
}
// ...
BNM::AddOnLoadedEvent(il2cpp_thread);
// ...
It still crash
try change #define BNM_DISABLE_NEW_CLASSES 0 to #define BNM_DISABLE_NEW_CLASSES 1
Done , not crash but stucks on black screen
try make with std::thread(hack_thread).detach(); load and in bnm.cpp BNM_il2cpp_init remove all what use events
and if you not use BNM::HardBypass use it for me it fixed this problem
Thanks, removing all things related to events solved the issue
close issue if no any problems
The last release of bnm crashes without a reason