Decompile code và mod game ninjaschool dạo, con game tuổi thơ của nhiều anh em

0

[Decompile code và mod game ninjaschool dạo, con game tuổi thơ của nhiều anh em



Hôm nay mình sẽ hướng dẫn anh em lấy source code của game sau đó sửa code mod lại game, build lại source code của game và cách để debug game.
Ae cần tải game và tool
Link tải game:
Link tải tool ILSPY để lấy source code game:

Hàm write log dùng để debug ae viết ở file MRS.cs
public static void writeLog(string sLog)
{
try
{
string text = DateTime.Now.ToString(“h:mm:ss tt”);
sLog = text + “—” + sLog;
int length = Application.dataPath.LastIndexOf(“/”);
string text2 = Application.dataPath.Substring(0, length);
text2 = text2.Replace(“/”, “\”);
string path = text2 + “\log.txt”;
if (File.Exists(path))
{
using (FileStream stream = new FileStream(path, FileMode.Append, FileAccess.Write))
{
using StreamWriter streamWriter = new StreamWriter(stream);
streamWriter.WriteLine(sLog);
return;
}
}
using FileStream fileStream = File.Create(path);
byte[] bytes = new UTF8Encoding(encoderShouldEmitUTF8Identifier: true).GetBytes(sLog);
fileStream.Write(bytes, 0, bytes.Length);
byte[] array = new byte[1];
fileStream.Write(array, 0, array.Length);
}
catch
{
}
}

➪ Tags: #Decompile #code #và #mod #game #ninjaschool #dạo #con #game #tuổi #thơ #của #nhiều #anh

➪ Keyword: share code game,lienquanmobile

Rate this post
Leave a comment