How to fix monostring crash and, getrealoffset errorI don't know, never used AIDE, I only use Android Studio
oh leave this stuff not for noobsHow to fix monostring crash and, getrealoffset error
monoString *(*String_CreateString)(void *instance, const char *str);
monoString* (*old_getLanguage)(void *instance);
monoString* get_String(void *instance) {
if(instance != NULL && editText) {
return String_CreateString(instance, "JP");
}
return old_getLanguage(instance);
}
[CODE]A64HookFunction((void *)getAbsoluteAddress(targetLibName, 0x9FF3D4), (void *)get_String, (void **)&old_getLanguage);
This is an error you have to fix yourselves. You have to configure and change the files more. I suggest using LGL's latest template or another mod menu that is simple and plainini membuat game saya crash? apakah yg salah??
C++:monoString *(*String_CreateString)(void *instance, const char *str); monoString* (*old_getLanguage)(void *instance); monoString* get_String(void *instance) { if(instance != NULL && editText) { return String_CreateString(instance, "JP"); } return old_getLanguage(instance); } [CODE]A64HookFunction((void *)getAbsoluteAddress(targetLibName, 0x9FF3D4), (void *)get_String, (void **)&old_getLanguage);
String_CreateString = (monoString*(*)(void *,const char *))getAbsoluteAddress(targetLibName, 0x14EE690);[/CODE]
Ini adalah kesalahan yang harus Anda perbaiki sendiri. Anda harus mengonfigurasi dan mengubah file lebih banyak. Saya sarankan menggunakan template terbaru LGL atau menu mod lain yang sederhana dan polos
[/MENGUTIP]
finally i fixed it and it works
private string CreateString(sbyte* value) { }
Yes, use it then declare a pointer in ur main and include the headerHey i just found CreateString on //RVA
Is that can be use? Is not void, the others not similar.C++:private string CreateString(sbyte* value) { }
Btw the game can't create name, just picking of list names
Nevermind i found a fix.
// RVA: 0x2CDD134 Offset: 0x2CDD134 VA: 0x2CDD134
private string CreateString(sbyte* value, int startIndex, int length) { }
// RVA: 0x2CDEC74 Offset: 0x2CDEC74 VA: 0x2CDEC74
private string CreateString(char* value, int startIndex, int length) { }
// RVA: 0x2CDEC84 Offset: 0x2CDEC84 VA: 0x2CDEC84
private string CreateString(char[] val, int startIndex, int length) { }
// RVA: 0x2CD3458 Offset: 0x2CD3458 VA: 0x2CD3458
private string CreateString(char[] val) { }
// RVA: 0x2CDEC94 Offset: 0x2CDEC94 VA: 0x2CDEC94
private string CreateString(char c, int count) { }
// RVA: 0x2CDECA0 Offset: 0x2CDECA0 VA: 0x2CDECA0
private string CreateString(sbyte* value, int startIndex, int length, Encoding enc) { }
Я уже перепробовал кучу способов, ошибка та же.Спасибо, задавайте мне любые вопросы, касающиеся только этой темы. Я буду здесь, если вам что-то понадобится.