Upgrading to 5180?

01/23/2011 21:25 Kiyono#1
Since Hybrid's 5135 could let you log in using a 5165 without changing anything, I figured that the source upgraded to 5165 would let you at least log in with a 5180 client (after adding the seed packet crap to the auth server).
But it seems to stuck at the initializing screen of the client, and according the the game server the last packet was 1134.
So I searched epvp for a bit and found the 1134 packet (something about quest information) and added it and it went past that 1134 packet but now stays stuck at the 1135 packet which I have no clue of of what it is. So what is this 1135 packet and what is necessary to be upgraded to be able to log in?
01/23/2011 21:51 pro4never#2
Why not take a peek at immunes source to see what's needed to login? It works perfectly fine on 5180.
01/23/2011 22:11 Kiyono#3
Actually I did and changed all packets that could be upgraded to what Immune's source had, I also disabled all packets that were not in Immune's source and still the same =/
01/23/2011 22:46 teroareboss1#4
you don't need 1134
You upgrad Generaldata?
01/23/2011 23:32 Kiyono#5
Code:
public unsafe struct DataPacket
    {
        public ushort Size;
        public ushort Type;
        public uint UID;
        public uint dwParam1;
        public ushort dwParam_Lo 
        { 
            get { return (ushort)dwParam1; }
            set { dwParam1 = (uint)((dwParam_Hi << 16) | value); }
        }
        public ushort dwParam_Hi 
        { 
            get { return (ushort)(dwParam1 >> 16); }
            set { dwParam1 = (uint)((value << 16) | dwParam_Lo); }
        }
        public TIME TimeStamp;
        public DataID ID;
        public ushort wFacing;
        public ushort wParam1;
        public ushort wParam2;
        public uint dwParam2;
        public uint dwParam3;
        private fixed byte TQServer[8];

        public static DataPacket Create()
        {
            DataPacket packet = new DataPacket();
            packet.Size = 0x25;
            packet.Type = 0x271A;
            packet.TimeStamp = TIME.Now;
            PacketBuilder.AppendTQServer(packet.TQServer, 8);
            return packet;
        }
    }
Code:
public DataPacket(uint UID, ushort wParam1, ushort wParam2, uint dwParam1, ushort Type)
            : base(8 + 37)
        {
            WORD(37, 0);
            WORD(10010, 2);
            this.UID = UID;
            this.dwParam1 = dwParam1;
            DWORD32((uint)DateTime.Now.GetHashCode(), 16);
            this.ID = Type;
            this.wParam1 = wParam1;
            this.wParam2 = wParam2;
            
        }
Doesn't look wrong.
01/24/2011 05:33 teroareboss1#6
Quote:
Originally Posted by Kiyono View Post
Code:
public unsafe struct DataPacket
    {
        public ushort Size;
        public ushort Type;
        public uint UID;
        public uint dwParam1;
        public ushort dwParam_Lo 
        { 
            get { return (ushort)dwParam1; }
            set { dwParam1 = (uint)((dwParam_Hi << 16) | value); }
        }
        public ushort dwParam_Hi 
        { 
            get { return (ushort)(dwParam1 >> 16); }
            set { dwParam1 = (uint)((value << 16) | dwParam_Lo); }
        }
        public TIME TimeStamp;
        public DataID ID;
        public ushort wFacing;
        public ushort wParam1;
        public ushort wParam2;
        public uint dwParam2;
        public uint dwParam3;
        private fixed byte TQServer[8];

        public static DataPacket Create()
        {
            DataPacket packet = new DataPacket();
            packet.Size = 0x25;
            packet.Type = 0x271A;
            packet.TimeStamp = TIME.Now;
            PacketBuilder.AppendTQServer(packet.TQServer, 8);
            return packet;
        }
    }
Code:
public DataPacket(uint UID, ushort wParam1, ushort wParam2, uint dwParam1, ushort Type)
            : base(8 + 37)
        {
            WORD(37, 0);
            WORD(10010, 2);
            this.UID = UID;
            this.dwParam1 = dwParam1;
            DWORD32((uint)DateTime.Now.GetHashCode(), 16);
            this.ID = Type;
            this.wParam1 = wParam1;
            this.wParam2 = wParam2;
            
        }
Doesn't look wrong.
Code:
    public unsafe struct DataPacket
    {
        public ushort Size;
        public ushort Type;//2
        public uint UID;//4
        public uint dwParam1;//8
        public ushort dwParam_Lo
        {
            get { return (ushort)dwParam1; }
            set { dwParam1 = (uint)((dwParam_Hi << 16) | value); }
        }
        public ushort dwParam_Hi
        {
            get { return (ushort)(dwParam1 >> 16); }
            set { dwParam1 = (uint)((value << 16) | dwParam_Lo); }
        }
        public TIME TimeStamp;//12
        public uint Unknown;//16
        public DataID ID;//20
        public ushort wFacing;//22
        public ushort wParam1;//24
        public ushort wParam2;//26
        public uint dwParam2;//28
        public uint dwParam3;//32
        public ushort Unknown2;//36
        private fixed byte TQServer[8];

        public static DataPacket Create()
        {
            DataPacket packet = new DataPacket();
            packet.Size = 0x25;
            packet.Type = 0x271A;
            packet.TimeStamp = TIME.Now;
            PacketBuilder.AppendTQServer(packet.TQServer, 8);
            return packet;
        }
    }
01/24/2011 15:51 Kiyono#7
Well that worked but why doesn't Immune's source have these unknowns?
01/27/2011 04:39 marlyandedsel#8
can i ask Is it source 5165 upgrade to 5180 can you tell me what needed to upgrade it from 5165 to 5180 i have source im using 5165 do we have to change all ?
01/29/2011 05:24 hunterman01#9
maybe ill post my 5325 source who knows...
01/29/2011 09:43 marlyandedsel#10
Quote:
Originally Posted by hunterman01 View Post
maybe ill post my 5325 source who knows...
Yes that good... might help us .. thanks very if you do
01/29/2011 14:55 chickmagnet#11
Quote:
Originally Posted by hunterman01 View Post
maybe ill post my 5325 source who knows...
i type wonna see it but idk if thats a good idea
01/29/2011 15:17 marlyandedsel#12
or just release it to someone who really need to learn about it.. not here in private I think...