Ejemplo n.º 1
0
        private static void CreateCharacter( PacketReader p, PacketHandlerEventArgs args )
        {
            p.Seek( 1+4+4+1, SeekOrigin.Begin ); // skip begining crap
            World.OrigPlayerName = p.ReadStringSafe( 30 );

            PlayCharTime = DateTime.Now;

            if ( Engine.MainWindow != null )
                Engine.MainWindow.UpdateControlLocks();
        }
Ejemplo n.º 2
0
        private static void PlayCharacter( PacketReader p, PacketHandlerEventArgs args )
        {
            p.ReadUInt32(); //0xedededed
            World.OrigPlayerName = p.ReadStringSafe( 30 );

            PlayCharTime = DateTime.Now;

            if ( Engine.MainWindow != null )
                Engine.MainWindow.UpdateControlLocks();

            ClientCommunication.TranslateLogin( World.OrigPlayerName, World.ShardName );
        }