Author Topic: JavaOp 2.1.1 released! (Formerly beta 44)  (Read 16960 times)

0 Members and 2 Guests are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
JavaOp 2.1.1 released! (Formerly beta 44)
« on: June 11, 2009, 10:33:43 pm »
My goal with this final release is to polish the bot inside and out, so that it'll be able to be used hassle-free until JavaOp3 comes out.

javaop2_pub - This package has been removed from the source tree.
javaop2 - This package is now the build target for all plugins. I don't know why there were two in the first place, but it's fixed now. javaop2 - util.Statstring - New class for statstring parsing. Can currently parse client IDs, as well as wins for StarCraft and WarCraft II, and clan names for WarCraft III.
javaop2 - constants.PacketConstants - Gave names to a ton of unknown packets. Still need to re-do []packetConstants.

BNetLogin - versioning.BNLSWrapper - Updated the list of BNLS servers. Current list: alendar.no-ip.org, jbls.org, jbls.idiat.com, distant.no-ip.org, ribose.no-ip.org, phix.no-ip.org
BNetLogin - versioning.BNLSWrapper - Rewrote getVersionByte and getVersionCheck to be much more readable, and use a more solid method of dealing with broken servers. Now, the server will be removed from the list and the function will recurse. Also, this gives a bit less error output.
BNetLogin - cdkey.War3KeyDecode - Verified that new 26-character keys work correctly with Diablo II and WarCraft II. It's been like this from the start, but I finally verified it
BNetLogin - cdkey.CDKeyDecode - This class is now used only to construct the other decoders. Numeric decoding moved to its own class.
BNetLogin - cdkey.NumericKeyDecode - New class based off of CDKeyDecode. BNetLogin - The Warden packet won't show up as unhandled anymore:
[22:28:21.958] ERROR: [BNET] Ignoring Warden challenge -- Disconnection in two minutes.

SwingGui - gui.ChannelList - A user's clan is now listed if they're on WC3.



Also, the login output has changed. Several of the redundant lines have been removed, and [BNLS] and [BNET] tags have been added, Stealthbot style:
[17:43:34.489] INFO: [BNLS] Server set to alendar.no-ip.org
[17:43:34.551] INFO: [BNET] Looking up useast.battle.net..
[17:43:35.401] INFO: [BNET] Got 1 addresses. Using: useast.battle.net/63.240.202.121
[17:43:35.405] INFO: [BNET] Connecting..
[17:43:36.613] INFO: [BNET] Connected to /63.240.202.121:6112
[17:43:36.626] INFO: [BNLS] Server set to alendar.no-ip.org
[17:43:36.653] INFO: [BNET] Switched to binary chat protocol.
[17:43:40.009] INFO: [BNET] Authorization info sent, waiting for reply.
[17:43:44.565] INFO: [BNET] CDKey and Version check sent.
[17:43:46.053] INFO: [BNET] CDKey and Version check successful.  Attempting to log in.
[17:43:47.687] INFO: [BNET] Logon successful! Entering chat.



DOWNLOADS:
JavaOp2.zip is all the JAR files, which as always include the source code. (1.2MB)
JavaOp2 Source.zip is the source files, directly swiped from my Eclipse workspace after a clean operation. (1.0MB)
« Last Edit: June 25, 2009, 11:33:17 pm by Joe »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: JavaOp2 b44 upcoming changes
« Reply #1 on: June 23, 2009, 05:27:30 pm »
You should prepend com.javaop. to all your package names, and use a manifest to instruct the bot on how to load plugins. Currently, you're exploiting an implementation quirk of JVMs where ClassLoaders have scope. If you were to run JavaOp in a (theoretical) JVM that kept all classes in a globally visible scope, your plugins would clash for sharing the same class names.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: JavaOp2 b44 upcoming changes
« Reply #2 on: June 23, 2009, 06:46:19 pm »
I'm not sure, but I think that'd require a ground-up re-write for the most part. I feel that beta 44 will be the final beta of JavaOp2, and I'm trying to clean up all the code to the point that it's copypasta-ready for JavaOp3.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: JavaOp2 b44 upcoming changes
« Reply #3 on: June 23, 2009, 08:06:30 pm »
A ground-up rewrite to do some refactoring? lol...

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: JavaOp2 b44 upcoming changes
« Reply #4 on: June 23, 2009, 08:11:41 pm »
A ground-up rewrite to do some refactoring? lol...
I believe he's suggesting a change to the core way the bot works -- it would break compatibility with every plugin. It'd be a *ton* of re-writing.

Maybe not ground-up, but pretty close!

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: JavaOp2 b44 upcoming changes
« Reply #5 on: June 23, 2009, 10:57:21 pm »
A ground-up rewrite to do some refactoring? lol...
I believe he's suggesting a change to the core way the bot works -- it would break compatibility with every plugin. It'd be a *ton* of re-writing.

Maybe not ground-up, but pretty close!

Ground up, minus the few servings of copypasta I mentioned earlier.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Explicit

  • Hero Member
  • *****
  • Posts: 717
  • Hail Bender!
    • View Profile
Re: JavaOp2 final edition changes
« Reply #6 on: June 24, 2009, 01:50:04 am »
You should include the date for any changes/updates made to the bot when you edit your post. You know, to keep changes clear. Or alternatively, just paste the changelog if you're keeping one. :P

Keep it up, Joe.
Quote
Like all things in life, pumping is just a primitive, degenerate form of bending.

Quote
Hey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: JavaOp2 final edition changes
« Reply #7 on: June 24, 2009, 02:27:37 pm »
JavaOp3? lol.

How about COp? Let's write a bot in C! I even have a cool slogan:

COp -- Policing your channel since 2009
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: JavaOp2 final edition changes
« Reply #8 on: June 25, 2009, 12:26:41 am »
I thought of Cop and realized it'd be a really lame name. That, and I don't know enough C. That's an awesome slogan though, I'll keep it in mind.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: JavaOp2 final edition changes
« Reply #9 on: June 25, 2009, 07:48:55 am »
JavaOp3? lol.

How about COp? Let's write a bot in C! I even have a cool slogan:

COp -- Policing your channel since 2009
I'd do it.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: JavaOp 2.1.1 released! (Formerly beta 44)
« Reply #10 on: June 26, 2009, 02:26:46 pm »
I'd be down to give it a shot. C or C++.
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: JavaOp2 b44 upcoming changes
« Reply #11 on: June 28, 2009, 08:33:09 pm »
A ground-up rewrite to do some refactoring? lol...
I believe he's suggesting a change to the core way the bot works -- it would break compatibility with every plugin. It'd be a *ton* of re-writing.

Maybe not ground-up, but pretty close!
The refactoring is trivial (at least it is with Eclipse), and modifying the plugin loader to get the plugin's main class name from a manifest would take fewer than 5 lines of code. Nothing would need to be re-written.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline tazo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: JavaOp 2.1.1 released! (Formerly beta 44)
« Reply #12 on: July 07, 2009, 11:23:35 am »
Where is the download link for this?  :o

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: JavaOp 2.1.1 released! (Formerly beta 44)
« Reply #13 on: July 07, 2009, 02:32:36 pm »
Where is the download link for this?  :o

Joe attached them to the post, which means only x86 members at the moment can download them.

Hopefully someone uploads them somewhere. :)
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: JavaOp 2.1.1 released! (Formerly beta 44)
« Reply #14 on: July 07, 2009, 02:39:39 pm »
Or fixes the permissions on the forum.. :P