Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: John@G on August 13, 2009, 12:10 AM

Title: Need warden info for D2LOD
Post by: John@G on August 13, 2009, 12:10 AM
my project in the works need to keep a D2LOD char in game for at least 3 minutes, but ive no idea how bypass/reply to the warden to exceed the 45s limit.
ive been searching the net for that, but just for sc/warcraft.

any information greatly appreciated.
Title: Re: Need warden info for D2LOD
Post by: Hdx on August 13, 2009, 05:31 AM
The modules used on all Blizzard games are exactly the same...
But IIRC D2 has a few opcode enabled in game that the other games dont in channel, so some things are public others, you're gunna have to do the research yourself or find someone who know it.
Title: Re: Need warden info for D2LOD
Post by: John@G on August 14, 2009, 12:54 PM
Quote from: Hdx on August 13, 2009, 05:31 AM
The modules used on all Blizzard games are exactly the same...
But IIRC D2 has a few opcode enabled in game that the other games dont in channel, so some things are public others, you're gunna have to do the research yourself or find someone who know it.

Thanks Hdx, im trying to make an evaluation of the feasibility of implementing a fake warden responder and time cost. i hope i know how to start my way to that, but its very confused me.

Is there any public information available regarding bncache.dat parsing and warden module mapping?
Title: Re: Need warden info for D2LOD
Post by: Sixen on August 15, 2009, 02:53 AM
Quote from: John@G on August 14, 2009, 12:54 PM
Is there any public information available regarding bncache.dat parsing and warden module mapping?


I've always wondered what bncache.dat did exactly... I was under the assumption that it held your character names and the game list.
Title: Re: Need warden info for D2LOD
Post by: Hdx on August 15, 2009, 02:59 AM
Its a cache of shit downloaded from Battle.net
Ads, Crev Archives, TOS/EULAs, etc.. Nothing to exciting nothing you couldn't get from BNFTP.

As for module maping there are plenty of public sources and docs on it.
As for extracting from the cache... why?
Title: Re: Need warden info for D2LOD
Post by: John@G on August 15, 2009, 12:27 PM
Quote from: Hdx on August 15, 2009, 02:59 AM
As for module maping there are plenty of public sources and docs on it.
thanks

Quote from: Sixen on August 15, 2009, 02:53 AM
I've always wondered what bncache.dat did exactly... I was under the assumption that it held your character names and the game list.
Quote from: Hdx on August 15, 2009, 02:59 AM
Its a cache of shit downloaded from Battle.net
Ads, Crev Archives, TOS/EULAs, etc.. Nothing to exciting nothing you couldn't get from BNFTP.
just a cache of garbage? i thought that some binary pieces of warden downloaded from server were stored in bncache.dat, and i had to parse and load them beforehand.

it looks like ive a misunderstanding here.
Title: Re: Need warden info for D2LOD
Post by: Hdx on August 15, 2009, 02:06 PM
Quote from: John@G on August 15, 2009, 12:27 PM
just a cache of garbage? i thought that some binary pieces of warden downloaded from server were stored in bncache.dat, and i had to parse and load them beforehand.

it looks like ive a misunderstanding here.
Not garbage, and yes it's true the warden modules are cached there, But, if you're writing your own client, or hijacking the connection, you can 'download' the modules on the fly just by telling the server you don't already have it.
Title: Re: Need warden info for D2LOD
Post by: Sixen on August 16, 2009, 02:42 AM
Quote from: Hdx on August 15, 2009, 02:59 AM
Its a cache of shit downloaded from Battle.net
Ads, Crev Archives, TOS/EULAs, etc.. Nothing to exciting nothing you couldn't get from BNFTP.

oic.
Title: Re: Need warden info for D2LOD
Post by: John@G on August 16, 2009, 10:51 PM
Quote from: Hdx on August 15, 2009, 02:06 PM
Quote from: John@G on August 15, 2009, 12:27 PM
just a cache of garbage? i thought that some binary pieces of warden downloaded from server were stored in bncache.dat, and i had to parse and load them beforehand.

it looks like ive a misunderstanding here.
Not garbage, and yes it's true the warden modules are cached there, But, if you're writing your own client, or hijacking the connection, you can 'download' the modules on the fly just by telling the server you don't already have it.
ok, i see. thanks
Title: Re: Need warden info for D2LOD
Post by: Camel on August 25, 2009, 01:41 PM
BNCache.dat is almost an MPQ file; the file header is different, and the file data is prepended with some extra data (file names, and some other stuff I haven't figured out). Any decent MPQ extractor should recognize bncache.dat as a valid MPQ. You can have a look at my MPQFile (http://code.google.com/p/bnubot/source/browse/trunk/BNUBot/src/net/bnubot/util/mpq/MPQFile.java) class for an example of how to take a peek inside.
Title: Re: Need warden info for D2LOD
Post by: John@G on August 28, 2009, 10:20 PM
Quote from: Camel on August 25, 2009, 01:41 PM
BNCache.dat is almost an MPQ file; the file header is different, and the file data is prepended with some extra data (file names, and some other stuff I haven't figured out). Any decent MPQ extractor should recognize bncache.dat as a valid MPQ. You can have a look at my MPQFile (http://code.google.com/p/bnubot/source/browse/trunk/BNUBot/src/net/bnubot/util/mpq/MPQFile.java) class for an example of how to take a peek inside.

Thank you for your kind reply. you did a great job, it will be very useful for me to plan for my bot.

as for d2lod, is there a way to extend the 45s time limit without implementing the whole warden system?
how many times will server attempt to resend the warden module if client keeps sending back a 0x00 response(mismatch md5 checking) for the downloaded codes?
so, will i get kicked or banned?