How to send a packet when player logs in game? ive used search feature and couldnt find how to do this. Thanks
 
why do you need to send a packet when the player logs in?

But also Look into the Eventsinks
 
i want to control Orion features


C#:
public sealed class OrionFeatures : Packet
{
    public OrionFeatures() : base(0xBF)
    {
        EnsureCapacity(11);
        m_Stream.Write((ushort)0xFACE);
        m_Stream.Write((ushort)0x0032);
        m_Stream.Write((uint)0xFFFFFFFE);
    }
}

so i need to send that packet when player logs into the world, i dontk now how to do that
 
I dont know, look into the initialize methods.

Could be as simple as
C#:
EventSink.Login += (le) => le.Mobile.NetState.Send(new OrionFeatures());
 
Back