Jump to content

Recommended Posts

Posted

Hi all, can someone help me with FML mechanics? I try to modify minecraft console client for the compatible with Forge and got a trouble..

That i do:

I send 0x1 Login packet with FML_HASH - ok

Next 0xCD Client status - ok, got a 0xFA Payload,

Reading the data and then sending the client list of mods.. i expecting 0xFA answer, but server is freezing..

 

Here is my 0xFA packet for tests:

 

byte[] FML_MOD_LIST = new byte[161] { 250, // Payload
            /*short*/0, 3, /*FML*/0, 70, 0, 76, 0, 77, /*short*/0, 150, // total 11 bytes
            /*data*/0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x09, 0x49, 0x72, 0x6F, 0x6E, 0x43, 0x68, 0x65, 0x73, 0x74, 
            0x00, 0x09, 0x35, 0x2E, 0x30, 0x2E, 0x30, 0x2E, 0x32, 0x32, 0x38, 0x00, 0x00, 0x00, 0x06, 0x00, 
            0x12, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x7C, 0x53, 0x69, 0x6C, 0x69, 
            0x63, 0x6F, 0x6E, 0x00, 0x12, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x7C, 
            0x46, 0x61, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x00, 0x14, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 
            0x61, 0x66, 0x74, 0x7C, 0x54, 0x72, 0x61, 0x6E, 0x73, 0x70, 0x6F, 0x72, 0x74, 0x00, 0x11, 0x42, 
            0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x7C, 0x45, 0x6E, 0x65, 0x72, 0x67, 0x79, 
            0x00, 0x0F, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x7C, 0x43, 0x6F, 0x72, 
            0x65, 0x00, 0x13, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x43, 0x72, 0x61, 0x66, 0x74, 0x7C, 0x42, 0x75, 
            0x69, 0x6C, 0x64, 0x65, 0x72, 0x0B };

 

Can someone explain, thats wrong? And sorry for my bad english..

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.