Exceptions
Line: 925/22/2015 7:21:27 PM: [TCPListener.OnRequest]: Could not handle new connection request: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndAccept(Byte[]& buffer, Int32& bytesTransferred, IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
at Phoenix.Net.Class114.method_4(IAsyncResult iasyncResult_0) in c:\Users\RONNIE\Desktop\Stable Emu\Phoenix\Net\SocketsListener.cs:line 92
5/22/2015 4:57:08 PM: Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Phoenix.Communication.Messages.Messenger.FriendsListUpdateEvent.Handle(GameClient Session, ClientMessage Event) in c:\Users\RONNIE\Desktop\Stable Emu\Phoenix\Communication\Messages\Messenger\FriendListUpdateEvent.cs:line 10
at Phoenix.HabboHotel.GameClients.GameClient.method_13(Byte[]& byte_0) in c:\Users\RONNIE\Desktop\Stable Emu\Phoenix\HabboHotel\GameClients\GameClient.cs:line 476
Line 10:public void SendData(byte[] byte_1) {
if (!this.bool_0)
{
try
{
base.BeginSend(byte_1, 0, byte_1.Length, SocketFlags.None, this.asyncCallback_1, this);
}
catch
{
Phoenix.GetGame().GetClientManager().method_5(this);
}
}
}
Line 476:public void Handle(GameClient Session, ClientMessage Event) {
if (Session.GetHabbo().GetMessenger() != null)
{
Session.SendMessage(Session.GetHabbo().GetMessenger().SerializeUpdates());
}
}
}
}
Well, title says it - Have you got a fix which you'd release to me and the public? Thanks in advancepublic void method_13(ref byte[] byte_0) {
if (byte_0[0] == 64)
{
int i = 0;
while (i < byte_0.Length)
{
try
{
int num = Base64Encoding.DecodeInt32(new byte[]
{
byte_0[i++],
byte_0[i++],
byte_0[i++]
});
uint uint_ = Base64Encoding.DecodeUInt32(new byte[]
{
byte_0[i++],
byte_0[i++]
});
byte[] array = new byte[num - 2];
for (int j = 0; j < array.Length; j++)
{
array[j] = byte_0[i++];
}
if (this.class17_0 == null)
{
this.method_4();
}
ClientMessage @class = new ClientMessage(uint_, array);
if (@class != null)
{
try
{
if (int.Parse(Phoenix.GetConfig().data["debug"]) == 1)
{
Logging.WriteLine(string.Concat(new object[]
{
"[",
this.UInt32_0,
"] --> [",
@class.Id,
"] ",
@class.Header,
@class.GetBody()
}));
}
}
catch
{
}
Interface @interface;
if (Phoenix.smethod_10().Handle(@class.Id, out @interface))
{
@interface.Handle(this, @class);
}
}
}
catch (Exception ex)
{
Logging.LogException("Error: " + ex.ToString());
this.method_12();
}
}
}
else
{
if (true)//Class13.Boolean_7)
{
this.Message1_0.method_4(CrossdomainPolicy.GetXmlPolicy());
this.Message1_0.Dispose();
}
}
}
- - - Updated - - -
Bump!


Reply With Quote

