Author Topic: [java] Sample w2bn login sequence  (Read 14565 times)

0 Members and 1 Guest are viewing this topic.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: [java] Sample w2bn login sequence
« Reply #15 on: September 18, 2006, 11:51:42 am »
He is doing fine, I doubt you wrote a packet buffer from scratch the first time you created a socket based program ;)

I did on my first C program, what do I win?
And like a fool I believed myself, and thought I was somebody else...

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: [java] Sample w2bn login sequence
« Reply #16 on: September 18, 2006, 12:00:02 pm »

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #17 on: September 18, 2006, 12:05:00 pm »
He is doing fine, I doubt you wrote a packet buffer from scratch the first time you created a socket based program ;)

I did on my first C program, what do I win?
Have a dancing carrot.
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #18 on: September 18, 2006, 01:02:56 pm »
Woot, thanks to joes code, look!

Send 0x50
Send 0x25
Login packets sent.
Received ping from Battle.net
0x50 Packet recevied
MPQName:  X}???ver-IX86-1.mpq
CDKey accecpted.

Now to join channel and stuff!
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: [java] Sample w2bn login sequence
« Reply #19 on: September 18, 2006, 01:45:04 pm »
Woot, thanks to joes code, look!

Send 0x50
Send 0x25
Login packets sent.
Received ping from Battle.net
0x50 Packet recevied
MPQName:  X}???ver-IX86-1.mpq
CDKey accecpted.

Now to join channel and stuff!
You have no effing clue how any of that works do you?
And that is why I hate leechers.
-.-
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #20 on: September 18, 2006, 01:57:02 pm »
Woot, thanks to joes code, look!

Send 0x50
Send 0x25
Login packets sent.
Received ping from Battle.net
0x50 Packet recevied
MPQName:  X}???ver-IX86-1.mpq
CDKey accecpted.

Now to join channel and stuff!
You have no effing clue how any of that works do you?
And that is why I hate leechers.
-.-
~-~(HDX)~-~
I have a pretty good understanding. And it DOES check that battle.net accecpted the cd key.
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #21 on: September 18, 2006, 02:49:35 pm »
yay
Send 0x50
Login packets sent.
0x50 Packet recevied
CDKey accecpted.
Account name and password sent.
Joining channel Op FoeBot
Account & password valid.
Entered chat.
* chuck. joined the channel
<chuck.> s
* chuck. left the channel
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #22 on: September 18, 2006, 04:04:27 pm »
Screenshot of GUI below



One last question:
How with a jtextpane or jtextarea, do i make differnt color text? All yellow looks kinda yucky.
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: [java] Sample w2bn login sequence
« Reply #23 on: September 18, 2006, 05:02:23 pm »
Woot, thanks to joes code, look!

I'm pretty sure that's a first.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #24 on: September 18, 2006, 05:07:00 pm »
Woot, thanks to joes code, look!

I'm pretty sure that's a first.
Theres a first time for everything.
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: [java] Sample w2bn login sequence
« Reply #25 on: September 18, 2006, 06:13:16 pm »
Woot, thanks to joes code, look!

I'm pretty sure that's a first.

Who's code is Joes based on?  :)
And like a fool I believed myself, and thought I was somebody else...

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #26 on: September 18, 2006, 06:20:14 pm »
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #27 on: September 18, 2006, 06:57:31 pm »
I added plugin support, so its now very similar to javaop.

NO, i DID NOT copy the plugin support. I wrote it from scratch.

There is no hardcoded GUI code, and the bots incredibly fast. Almost all battle.net packets are handled, just need to clean it up a bit. I manged to run it alongside starcraft with no speed loss at all.

:)
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: [java] Sample w2bn login sequence
« Reply #28 on: September 18, 2006, 07:10:12 pm »
the bots incredibly fast

cough, no flood protection, cough

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: [java] Sample w2bn login sequence
« Reply #29 on: September 18, 2006, 07:31:45 pm »
the bots incredibly fast

cough, no flood protection, cough
i meant in the fact that it loads its plugins load uber fast. It will have flood protection in a few days. Need to clean up teh code (What a mess i made!)

EDIT: in bold
« Last Edit: September 18, 2006, 07:53:36 pm by chuck »
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.