Bugfix - Client requested GMCP not being pushed to clients

Outstanding bug - Networkserver.cs in proxymud - Clients not registering HasGMCPModule
master
KoopaTroopa 8 years ago
parent 22248dfb93
commit 0d83db4526

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

@ -13,6 +13,7 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandEcho", "CommandEcho\CommandEcho.csproj", "{A51883B5-8A7B-414F-92A9-A171A9846411}"
ProjectSection(ProjectDependencies) = postProject
{7863FE6F-E27F-4DBA-B2CC-EDEFE4AE8382} = {7863FE6F-E27F-4DBA-B2CC-EDEFE4AE8382}
{B5F8F4E3-630A-420D-8461-420C36BB865C} = {B5F8F4E3-630A-420D-8461-420C36BB865C}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CPHelper", "CPHelper\CPHelper.csproj", "{11D11063-A123-4F02-9C20-FB76C49A4B52}"

@ -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.
if((m.Flags & MessageFlags.GMCP) != MessageFlags.None)
{
if(!Clients[i].HasGMCPModule(m.Msg.ToLower()))
continue;
//the following line is the problem... looks like my client isnt registering "hasGMCPModule"
// if(!Clients[i].HasGMCPModule(m.Msg.ToLower()))
// continue;
if(m.MsgData == null || m.MsgData.Length == 0)
continue;
@ -243,7 +244,7 @@ namespace ProxyMud.Network
byte[] data = Encoding.Default.GetBytes(msg + m.LineEnding);
strMessage.Write(data, 0, data.Length);
}
//BLAH
//BLAH*/
}
if(strMessage.Length == 0)

@ -37,7 +37,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\Plugins\</OutputPath>
<OutputPath>..\..\..\..\Desktop\MushProxy-Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>

Loading…
Cancel
Save