I'm Slsosoi on TelegramDon't have discord, but you can message me on Telegram: libModz
Late response but it works now. The last update when I was doing that broke the entire game mostly not like cheating wise but the update broke the game a lot. The current update everything is working now and the code you helped me with works perfectly. So thank you!Your code looks ok idk why it doesn't work
Resposta tardia, mas funciona agora. A última atualização quando eu estava fazendo isso quebrou o jogo inteiro, principalmente não em termos de trapaça, mas a atualização quebrou muito o jogo. A atualização atual está tudo funcionando agora e o código com o qual você me ajudou funciona perfeitamente. Então, obrigado!
[/CITAR]
Shows what it looked like when it worked, what was made to work?
Use the first one...I'm also having the same problem. These are the only CreateString available and idk which one to use
// RVA: 0x23A09D4 Offset: 0x23A09D4 VA: 0x23A09D4
private string CreateString(sbyte* value, int startIndex, int length) { }
// RVA: 0x23A23C4 Offset: 0x23A23C4 VA: 0x23A23C4
private string CreateString(char* value, int startIndex, int length) { }
// RVA: 0x23A23D4 Offset: 0x23A23D4 VA: 0x23A23D4
private string CreateString(char[] val, int startIndex, int length) { }
// RVA: 0x2397244 Offset: 0x2397244 VA: 0x2397244
private string CreateString(char[] val) { }
// RVA: 0x23A23E4 Offset: 0x23A23E4 VA: 0x23A23E4
private string CreateString(char c, int count) { }
// RVA: 0x23A23F0 Offset: 0x23A23F0 VA: 0x23A23F0
private string CreateString(sbyte* value, int startIndex, int length, Encoding enc) { }
// RVA: 0x23A2418 Offset: 0x23A2418 VA: 0x23A2418
private string CreateString(ReadOnlySpan<char> value) { }
private string Ctor(sbyte* value, int startIndex, int length) {}
private string CreateString(sbyte* value, int startIndex, int length) { }
typedef struct _monoString
{
void *klass;
void *monitor;
int length;
char chars[1];
int getLength()
{
return length;
}
char *getChars()
{
return chars;
}
} monoString;
monoString *CreateString(const char *str)
{
monoString *(*CreateString)(void *instance, const char *str, int start, int length) = (monoString * (*)(void *, const char *, int, int)) getAbsoluteAddress(0xOFFSET); //offset here
int length = (int)strlen(str);
return CreateString(NULL, str, 0, length);
}
monoString *(*old_Test)(void *instance);
monoString *Test(void *instance) {
if(instance!=nullptr) {
return CreateString("Test");
}
return old_Test(instance);
}
void (*old_Update)(void *instance);
void Update(void *instance) {
if(instance!=nullptr) {
set_NickName(instance, (CreateString("Test")));
}
old_Update(instance);
}
typedef struct _monoString
{
void *klass;
void *monitor;
int length;
char chars[1];
int getLength()
{
return length;
}
char *getChars()
{
return chars;
}
} monoString;
monoString *CreateString(const char *str)
{
monoString *(*CreateString)(void *instance, const char *str, int start, int length) = (monoString * (*)(void *, const char *, int, int)) getAbsoluteAddress("libil2cpp.so", 0xOFFSET); //offset here
int length = (int)strlen(str);
return CreateString(NULL, str, 0, length);
}
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies
We use cookies to personalize content and ads, to provide social media features and to analyse our traffic. We also share necessary information with our advertising and analytics partners to optimize your experience on our site.
Learn more about cookies