News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

JavaOP Logon Sequence Modification

Started by Lance, July 12, 2008, 02:19:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lance

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
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Joe

Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Lance

#2
Found it. Thanks  ;D
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Lance

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 ;;
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Lance

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?
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Lance

Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Lance

Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Joe

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.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.