Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: iago on April 23, 2008, 06:26:48 pm

Title: Split from: Changes / bugfixes requested for beta43.
Post by: iago on April 23, 2008, 06:26:48 pm
I can give you an updated version of bnetlogin that supports Warden to a point (can display information about + download Warden modules). It could probably be modified to send back proper responses as well, although I'd put it off by default because it risks a ban.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Hdx on April 23, 2008, 10:45:18 pm
Wouldn't it be better to move Warden stuff to Warden.jar?
I was in the middle of doing that before I got bored and wondered off.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: iago on April 24, 2008, 08:47:38 am
I'd say no, because it requires information from the login. It's possible to get that info from another plugin, but it's a little messy.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Hdx on April 24, 2008, 11:06:05 pm
I havn't actually looked at all the data that is exposed to plugins.
Are Client/Server tokens and CDKey exposed?
Thats all you need.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: iago on April 25, 2008, 08:25:20 am
Nope, those are all private data.

They can be shared, in a roundabout way, but like I said, that'd be messy.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on April 26, 2008, 12:21:43 am
Or, I could go ahead and expose them. I agree with Hdx. Warden.jar should handle SID_WARDEN as Warden isn't part of the logon protocol per-se.

But what it comes down to is that it's your bot. It's up to you.

EDIT -
It'd be simple to enable/disable Warden answering if it were separate, as Warden.jar could just be disabled.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: iago on April 26, 2008, 10:52:20 am
In my opinion, most of the Warden stuff should always run, the only thing that shouldn't is responding to 0x02.

Put it wherever you want, but it's already included in the login plugin. I also put all the lockdown code into the login plugin.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on April 27, 2008, 01:54:52 am
If you could send me your Warden code via email, that'd be appreciated. :)
Title: Split from: Changes / bugfixes requested for beta43.
Post by: iago on April 27, 2008, 02:00:24 am
Sure, email me your address and I'll send it right out.

(That's not supposed to sound sarcastic :P)
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on April 27, 2008, 03:59:15 am
Sure, email me your address and I'll email you mine.

Actually, I just emailed your skullsecurity one that's in your profile.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Camel on April 28, 2008, 03:02:49 pm
My solution to turning 0x02 on/off is to not send it if Starcraft.exe doesn't exist in the program folder :)

That way, users have to read the disclaimer to figure out how to turn it on.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: BoBbY)eD( on May 19, 2008, 08:50:54 pm
when is JavaOp43 scheduled to release?
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on May 20, 2008, 02:39:28 am
As soon as I find a sober weekend to program on.

And a JDK 1.4 package for Ubuntu. Hint hint, guys. :)
Title: Split from: Changes / bugfixes requested for beta43.
Post by: trust on May 20, 2008, 02:46:10 pm
As soon as I find a sober weekend to program on.

Yeah those Smirnoff Ice's are really fucking you up, huh?
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on May 20, 2008, 03:04:17 pm
No, but three shots of everclear isn't exactly what I'd call light.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Korean on May 24, 2008, 04:58:51 am
Support Korean.. :-)
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Camel on May 25, 2008, 02:33:59 am
As soon as I find a sober weekend to program on.

And a JDK 1.4 package for Ubuntu. Hint hint, guys. :)

Why do you need a 1.4 JDK? Just use javac -source 1.4 -target 1.4; or, in eclipse, you can set the project/global properties for this under the Java Compiler page.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: h4x0rz88 on June 10, 2008, 04:09:11 pm
Thank you Joe for putting my need to your list ^^
Title: Split from: Changes / bugfixes requested for beta43.
Post by: BoBbY)eD( on June 25, 2008, 08:45:38 pm
think it would be possible to put it a couple tabs for friends list channel and Clan? like in SB and make it so you ccan invite ppl into clans
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Joe on June 26, 2008, 10:11:00 am
Good call, Bobby. Added to the list.

This is looking more and more like a JavaOp3 than a JavaOp2b43 though. Which isn't necessarily a bad thing.

Whoever is in charge of JavaOp3, or whatever is being done for that, please get a hold of me.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Hdx on June 26, 2008, 06:36:17 pm
/me still doesn't understand why you do not simply SVN the code/jars and write the core to list/download plugins in realtime from the svn server.
Makes it a lot easier then having a general rev # could just have each plugin w/ its own version.Only problem with that is the non-x86 users who write plugins will still have to distribute them the old fashioned way.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Camel on June 27, 2008, 09:52:39 am
Designing an application to be modular enough to update major components (which is what javaop "plugins" really are) is a pretty incredulous task, and I'm not even referring to the part where you implement the action of downloading dependencies. To avoid going in to technical details, I'll just give an example: firefox plugins. When a new version of firefox comes out, plugins often break and need to be updated. I'm not convinced that the JavaOp project is large enough to justify that level of control; it makes more sense to distribute it the way it's done now, and just keep all the plugins in svn in sync with trunk's head.

As an aside, trunk's head sounds pretty dirty.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: Hdx on June 28, 2008, 08:01:29 pm
To be honest, isnt the only things of javaop you need the core.. and the command line configure? No plugins persay.
As for dependencies you really dont need ANY as it's java. All your deps are held in the jvm...
The few things you *might* need are image, which can be packaged into the plugin's jar.

Ugh, I need time, I have 2 major projects i'm working on, [RPG with friends, and JBLS re-write]

Anyways, since when is the core of JavaOp changing? Its a good solid layout as is, you have an interface, you implement it. simple as that.
Meh just thinking out loud about what I think would be a good idea. It does not need to be re-designed. You know... I could probably write a PLUGIN to do the svn control.....
Title: Split from: Changes / bugfixes requested for beta43.
Post by: BoBbY)eD( on August 11, 2008, 07:23:09 pm
i was also thinking maybe you could do tabs for different profiles or have the option to do that. like the tabs in BNU Bot.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: michealPW on November 05, 2008, 04:37:50 pm
And a JDK 1.4 package for Ubuntu. Hint hint, guys. :)

- You should be able to find JDK 1.4 in Sun's archive (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter).

As far as I know, it'll be a Redhat package. You can use Alien (http://kitenet.net/~joey/code/alien/) to create a Debian (Ubuntu) package from it, however.

Title: Split from: Changes / bugfixes requested for beta43.
Post by: Camel on November 07, 2008, 03:43:23 pm
To be honest, isnt the only things of javaop you need the core.. and the command line configure? No plugins persay.
As for dependencies you really dont need ANY as it's java. All your deps are held in the jvm...
The few things you *might* need are image, which can be packaged into the plugin's jar.

Ugh, I need time, I have 2 major projects i'm working on, [RPG with friends, and JBLS re-write]

Anyways, since when is the core of JavaOp changing? Its a good solid layout as is, you have an interface, you implement it. simple as that.
Meh just thinking out loud about what I think would be a good idea. It does not need to be re-designed. You know... I could probably write a PLUGIN to do the svn control.....

I don't know about what JavaOp has for dependencies, but I know my bot has a bunch of dependencies. I use a lot of code that isn't part of the JRE - Apache Cayenne is the ORM framework I use to abstract away the database, for example.

I only distribute two images with my bot: one for the tray icon, and one for the dock icon (OSX only). I get the channel icons from Icons.bni, which the bot downloads via BNFTP when it connects.
Title: Split from: Changes / bugfixes requested for beta43.
Post by: drt1245 on April 18, 2009, 04:58:23 pm
Handle Diablo 2 usernames the same way usernames are parsed for other games.
As it is, usernames are handled the same way they are in game (which is understandable). i.e.: CharName(*Username)
It'd be really nice if they were handled as they are for other games (or at least there was an option to do so, if not the default behavior).

Would make things significantly less confusing, especially if using multiple bots.