Sending shoulda be World.Action.Send or somethin so everyone could see it
i cannot replace GC.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2131000000)); /// water elfQuote:
Guys, to get this to show on everybody's client, you have to do something like this:
World.Action(MyClient.MyChar, Packets.String(EntityID, Status.Mesh, (ulong)2131000000)).Get; // water elf
case ExtraEffect.Transform:
{
Buff B = new Buff();
B.Eff = Info.ExtraEff;
B.Lasts = Info.EffectLasts;
B.Value = Info.EffectValue;
B.Transform = Info.Damage;
B.Started = DateTime.Now;
B.StEff = StatusEffectEn.Normal;
C.AddBuff(B);
break;
}
public void AddBuff(Buff B)
{
Buff ExBuff = BuffOf(B.Eff);
if (ExBuff.Eff == B.Eff)
Buffs.Remove(ExBuff);
if (B.Eff == SkillsClass.ExtraEffect.Transform)
{
MyClient.MyChar.
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
if (B.Eff == SkillsClass.ExtraEffect.Transform)
{
switch (B.Transform)
{
case 2000:
case 2001:
case 2002:
case 2003:
case 2010:
case 2011:
case 2012:
case 2013:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2141000000)); /// golem
break;
case 2005:
case 2006:
case 2007:
case 2008:
case 2009:
case 2040:
case 2041:
case 2042:
case 2043:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2131000000)); /// water elf
break;
case 2020:
case 2021:
case 2022:
case 2023:
case 2024:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2071000000)); /// divine hare
break;
case 2030:
case 2031:
case 2032:
case 2033:
case 2034:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)2171000000)); /// night devil
break;
default:
MyClient.AddSend(Packets.Status(EntityID, Status.Mesh, (ulong)(B.Transform * 10000000 + Avatar * 10000 + Mesh)));
break;
}
}
Buffs.Add(B);
StatEff.Add(B.StEff);
}
}
i have just made a theard for it check it outQuote:
Yes [GM] iyou can all ^^ if you are programmer ^^
Arco, do you can help me write correct to make it visible for all ?