|
|
@ -220,8 +220,9 @@ namespace ProxyMud.Network
|
|
|
|
//The problem is between here and next comment -- or at least this is what controls the GMCP shit that gets sent to the client.
|
|
|
|
//The problem is between here and next comment -- or at least this is what controls the GMCP shit that gets sent to the client.
|
|
|
|
if((m.Flags & MessageFlags.GMCP) != MessageFlags.None)
|
|
|
|
if((m.Flags & MessageFlags.GMCP) != MessageFlags.None)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(!Clients[i].HasGMCPModule(m.Msg.ToLower()))
|
|
|
|
//the following line is the problem... looks like my client isnt registering "hasGMCPModule"
|
|
|
|
continue;
|
|
|
|
// if(!Clients[i].HasGMCPModule(m.Msg.ToLower()))
|
|
|
|
|
|
|
|
// continue;
|
|
|
|
|
|
|
|
|
|
|
|
if(m.MsgData == null || m.MsgData.Length == 0)
|
|
|
|
if(m.MsgData == null || m.MsgData.Length == 0)
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
@ -243,7 +244,7 @@ namespace ProxyMud.Network
|
|
|
|
byte[] data = Encoding.Default.GetBytes(msg + m.LineEnding);
|
|
|
|
byte[] data = Encoding.Default.GetBytes(msg + m.LineEnding);
|
|
|
|
strMessage.Write(data, 0, data.Length);
|
|
|
|
strMessage.Write(data, 0, data.Length);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//BLAH
|
|
|
|
//BLAH*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(strMessage.Length == 0)
|
|
|
|
if(strMessage.Length == 0)
|
|
|
|