Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: BaDDBLooD on May 09, 2010, 09:45 AM

Title: Android 2.1 Battle.Net Chat Client?
Post by: BaDDBLooD on May 09, 2010, 09:45 AM
Thoughts on developing a chat client for android?
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: rabbit on May 09, 2010, 09:51 AM
I was thinking about it, but Android is sort of splintered right now.  I'd have to support a whole bunch of different versions, which would be extremely tedious.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: BaDDBLooD on May 09, 2010, 09:59 AM
Oh !@#$ Compatibility right now haha.  Anyway, has anyone attempted this yet?
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Hdx on May 09, 2010, 02:39 PM
With a few modifications, JavaOp works fine on Android.
(Namely stripping out most of the plugin system, and making a new UI)
Or at least it does on a Emulator.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: rabbit on May 09, 2010, 05:17 PM
Well, firstly, you have to design for (I think) 8 different resolutions since 1.6.  Then there's also the whole thing where you define the minimum OS version and go from there, plus SDK, and hope people don't have non-standard versions.  Developing for Android right now is sort of a headache.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: BaDDBLooD on May 09, 2010, 07:51 PM
I was planning on designing strictly for STOCK 2.1 as a test and worry about the rest at a later point in time, if ever.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: rabbit on May 09, 2010, 11:31 PM
Maybe we can start something then.  I have no experience developing for Android, because it's pretty daunting to get started in alone.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Sixen on May 14, 2010, 05:19 AM
Quote from: Hdx on May 09, 2010, 02:39 PM
With a few modifications, JavaOp works fine on Android.
(Namely stripping out most of the plugin system, and making a new UI)
Or at least it does on a Emulator.
Share it?
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: tA-Kane on May 26, 2010, 04:34 PM
Quote from: rabbit on May 09, 2010, 05:17 PM
Well, firstly, you have to design for (I think) 8 different resolutions since 1.6.  Then there's also the whole thing where you define the minimum OS version and go from there, plus SDK, and hope people don't have non-standard versions.  Developing for Android right now is sort of a headache.
a robust UI won't have that kind of problem.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: rabbit on May 26, 2010, 06:18 PM
UI has never been my strong point.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Sixen on May 29, 2010, 07:06 AM
Who needs a UI? Console style is fine, :P.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: BaDDBLooD on May 31, 2010, 09:56 AM
Quote from: Sixen on May 29, 2010, 07:06 AM
Who needs a UI? Console style is fine, :P.

Actually, using a program called MONO http://github.com/koush/androidmono you can develop C# Console Applications on Android.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Yegg on May 31, 2010, 12:56 PM
Quote from: BaDDBLooD on May 31, 2010, 09:56 AM
Quote from: Sixen on May 29, 2010, 07:06 AM
Who needs a UI? Console style is fine, :P.

Actually, using a program called MONO http://github.com/koush/androidmono you can develop C# Console Applications on Android.
And for anyone who is interested or curious, you can also create iPhone apps with Mono using C#. I'm more than certain they'll have one for iPad soon enough if not already.

http://monotouch.net/
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Joe[x86] on April 25, 2011, 04:12 AM
(Please excuse the bump. I'm actually being relevant this time.)

Is anyone still interested in this? I actually have an Android phone, so I might care enough to do it, and if Hdx says JavaOp mostly runs..

Then again, my phone runs Froyo and I don't feel like spending money on an Eclaire device. I can try things in the simulator, though..
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: MysT_DooM on April 25, 2011, 11:08 AM
a bot developer named Victim has made a bot which runs on Android: http://forum.devacy.com/index.php?board=13.0 (http://forum.devacy.com/index.php?board=13.0)
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Invert on April 26, 2011, 03:40 AM
How about something that works on b.net 2 for Android? I'm also up to 2.3.3 (Nexus S).
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Joe[x86] on April 26, 2011, 09:50 AM
I don't think there's been any substantial public Bnet2 research, although I'd love nothing more than to be corrected.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Sixen on April 26, 2011, 01:41 PM
Quote from: Joex86] link=topic=18231.msg185157#msg185157 date=1303829425]
I don't think there's been any substantial public Bnet2 research, although I'd love nothing more than to be corrected.
There hasn't.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Invert on April 26, 2011, 05:22 PM
Well...at some point in time Blizzard will migrate or work round having their older games' social features on b.net2. Now, the original b.net is just a thorn in Blizzards side and needs to be put down like an old dog.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: Joe[x86] on April 27, 2011, 03:56 AM
Quote from: Invert on April 26, 2011, 05:22 PM
Well...at some point in time Blizzard will migrate or work round having their older games' social features on b.net2. Now, the original b.net is just a thorn in Blizzards side and needs to be put down like an old dog.

I'd like to see how they do this. DRTL will be particularly tricky because it has no CD-Key to add it to your BNet account and I don't think any current Blizzard employees dare touch it's codebase.

I'm putting a nickle on them taking down BNet1 and having the former gateways act as "translation proxies" (is there official term? I made that up) to take you to BNet2. If this happens I think it'll mean that nobody will research BNet2 since all the past work will suddenly be relevant again.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: RealityRipple on April 27, 2011, 07:28 AM
They don't have to touch D1's codebase. All they have to do is create a new SNP file.
Title: Re: Android 2.1 Battle.Net Chat Client?
Post by: MysT_DooM on April 27, 2011, 12:17 PM
All one has to do is deobfuscate battle.net.dll (http://darkblizz.org/wiki/doku.php?id=battle.net.dll) so you can unencrypt all them packets.  Once you got that down, it should all be cake ;).  All the other info on the bitstream protocol for auth is public info from the WoW days and in relation to sc2, w/e was documented during sc2 beta (http://darkblizz.org/wiki/doku.php?id=bnet2_protcol). 
So pretty much the big job is that battle.net.dll and I only know of one person who fully deobfuscated that, which was a guy who went by " 'Rick " from a group called Lazytown, which was a short lived morph of a few members from two groups called teknogods and starcrack.   
Anyways, he never released it publically and has since disappeared.