- Joined
- Jan 15, 2013
- Messages
- 152
- Reaction score
- 4
Hello, I am a few months working in Minerva emulator project initiated by Yamachi, but am having a hard time making it work with a client ep13, since I work with a client EP8 and spawns mobs, drops, among other functions already are working, can anyone help me with this error.
does anyone have any idea how to build classes to login with client EP13?
does anyone have any idea how to build classes to login with client EP13?
public string ReadString(int length) {
//string logFile = @"C:\Users\noexp\Desktop\FauxBestaan-minerva-d98f8bf2eb4e\FauxBestaan-minerva-d98f8bf2eb4e\bin\x64\Release\MyApplicationLog.txt";
//string s = System.Text.Encoding.UTF8.GetString(_data, 0, _data.Length);
//var message = index.ToString() + " - " + length.ToString() + " - " + s.ToString();
//WriteToLogFile(message, logFile);
//var arr = index.ToString();
try
{
//var result = System.Text.Encoding.ASCII.GetString(_data, index, length);
var result = System.Text.Encoding.UTF8.GetString(_data, 0, _data.Length);
index += length;
return result;
}
catch (Exception ex)
{
throw new Exception(ex.Message + ex.InnerException + ex.StackTrace);
}
}
Attachments
You must be registered for see attachments list