Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Lance on July 12, 2008, 02:19:43 PM

Title: JavaOP Logon Sequence Modification
Post by: Lance on July 12, 2008, 02:19:43 PM
I have JavaOP2 loaded into eclipse.
I would like to change the packets that are sent to the server when a successful connection is made (I don't want 0x01) (Experimenting with some stuff -- and this will not be connecting to a BATTLE.NET server) and change how JavaOP2 responds to what the server sends. But I'm interested more in the sending part :P.

In what package can I find the classes to change this stuff? Thanks
Title: Re: JavaOP Logon Sequence Modification
Post by: Joe on July 12, 2008, 03:28:38 PM
BNetLogin
Title: Re: JavaOP Logon Sequence Modification
Post by: Lance on July 12, 2008, 04:42:10 PM
Found it. Thanks  ;D
Title: Re: JavaOP Logon Sequence Modification (Update, please check!)
Post by: Lance on July 15, 2008, 08:36:53 PM
How do I register the packets that I am going to receive? If the packet starts with 0x1 do I

register.registerIncomingPacketPlugin(this, 1, null);

?

Because it's not working ;;
Title: Re: JavaOP Logon Sequence Modification (Update, please check!)
Post by: Lance on July 16, 2008, 12:05:22 PM
Ah.  Somewhere in BNetPacket class or Buffer class, the buffer has FF added to it and something else before the actual data is placed in the buffer according to some comments in the code but I cannot find where it's done so I can remove the block of code. Anyone know where it is?
Title: Re: JavaOP Logon Sequence Modification (Update, please check!)
Post by: Lance on July 16, 2008, 07:21:51 PM
help ;;
Title: Re: JavaOP Logon Sequence Modification (Update, please check!)
Post by: Lance on July 16, 2008, 09:26:09 PM
Ron saved the day  ;D
Title: Re: JavaOP Logon Sequence Modification
Post by: Joe on July 22, 2008, 07:27:31 AM
For the record, that's the difference between a Buffer and a BNetBuffer. BNetBuffer does the 0xFF, packet ID, and packet length, whereas Buffer is raw.

I think I wrote a BnlsBuffer too, with the same concept.