Code:
case StringType.WhisperDetails:
{
foreach (var m in world.Entities.DB.Heros)
{
if ((m as Hero).name == str.StringTexts[0])
{
if (m.Notifier != null)
{
string otherstring = "";
otherstring += (m as Hero).id + " ";
otherstring += (m as Hero).level + " ";
otherstring += (m as Hero).BattlePower + " #";
if ((m as Hero).syndicate_id != 0)
{
//otherstring += Guild.Name + " fNone#";
otherstring += " fNone#";
}
else
{
otherstring += "None fNone# ";
}
otherstring += (m as Hero).mate + " ";
otherstring += /*(byte)(NobilityRank) +*/ " ";
if ((m as Hero).lookface % 10 < 3) otherstring += "1";
else otherstring += "0";
str.StringTexts.Add(otherstring);
str.TextsCount = 1;
m.Notifier.SendString(e, str.Buffer);
}
}
}
break;
}
Code:
1A 00 F7 03 00 00 00 00 1A 01 0D 50 72 6F 66 65 73 73 6F 72 5B 50 4D 5D 00 00 17 00 F7 03 00 00 00 00 1A 01 0A 4D 72 5F 50 6F 50 5B 50 4D 5D 00 00
so what am doing wrong here!