|
المشاركات 236 |
+التقييم 0.12 |
تاريخ التسجيل Jul 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 412 |
public void Handle(Client.GameState client, byte[] packet)
switch (Info.ID)
{
case 440:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
foreach (var person in Kernel.GamePool.Values)
{
if (!client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Add(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 440;//24
Action.Unknown = 1;//41//43
client.Send(MsgActionEmulator.SendPacket(Action));
}
}
break;
}
case 441:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
if (client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Remove(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 441;//24
Action.Unknown = 1;//41
client.Send(MsgActionEmulator.SendPacket(Action));
}
break;
}
public void Handle(Client.GameState client, byte[] packet)
switch (Info.ID)
{
case 440:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
foreach (var person in Kernel.GamePool.Values)
{
if (!client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Add(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 440;//24
Action.Unknown = 1;//41//43
client.Send(MsgActionEmulator.SendPacket(Action));
}
}
break;
}
case 441:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
if (client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Remove(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 441;//24
Action.Unknown = 1;//41
client.Send(MsgActionEmulator.SendPacket(Action));
}
break;
}
public void Handle(Client.GameState client, byte[] packet)
switch (Info.ID)
{
case 440:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
foreach (var person in Kernel.GamePool.Values)
{
if (!client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Add(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 440;//24
Action.Unknown = 1;//41//43
client.Send(MsgActionEmulator.SendPacket(Action));
}
}
break;
}
case 441:
{
var targetname = System.Text.UnicodeEncoding.UTF8.GetString(packet, 43, packet[42]).Replace("/0", "");
if (client.Entity.BlackList.Contains(targetname))
{
client.Entity.BlackList.Remove(targetname);
MsgActionProto Action = new MsgActionProto();
Action.UID = client.Entity.UID;//8
Action.dwParam = 1;//12
Action.TimeStamp = (uint)Time32.Now.GetHashCode();//20
Action.ID = 441;//24
Action.Unknown = 1;//41
client.Send(MsgActionEmulator.SendPacket(Action));
}
break;
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكله في البلاك ليست سورس رايزو v3 | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2019-12-10 08:06 AM |
مشكلة بلاك ليست رايزو | nova | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-29 05:53 PM |
مشكله اضافه رسمه عالارض لسورس رايزو | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2019-09-18 02:38 PM |
مشكله اضافه رسمه عالارض لسورس رايزو | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 7 | 2019-09-05 06:01 PM |
مشكله اضافه شوب exchange لسورس رايزو | neno2052 | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-09-04 08:10 PM |