Valhalla Legends Forums Archive | Battle.net Bot Development | BNLS.dll and sample app.

AuthorMessageTime
dRAgoN
[code]Supported list, mostly untested aswell.

#define BNLS_NULL                       (0x00) //supported
#define BNLS_CDKEY                      (0x01) //supported
#define BNLS_LOGONCHALLENGE             (0x02) //supported
#define BNLS_LOGONPROOF                 (0x03) //supported
#define BNLS_CREATEACCOUNT              (0x04) //supported
#define BNLS_CHANGECHALLENGE            (0x05) //supported
#define BNLS_CHANGEPROOF                (0x06) //supported
#define BNLS_UPGRADECHALLENGE           (0x07) //supported
#define BNLS_UPGRADEPROOF               (0x08) //supported
#define BNLS_CONFIRMLOGON               (0x0a) //supported
#define BNLS_HASHDATA                   (0x0b) //supported
#define BNLS_CDKEY_EX                   (0x0c) //supported, not fully
#define BNLS_CHOOSENLSREVISION          (0x0d) //supported
#define BNLS_AUTHORIZE                  (0x0e) //supported
#define BNLS_AUTHORIZEPROOF             (0x0f) //supported
#define BNLS_REQUESTVERSIONBYTE         (0x10) //supported
#define BNLS_VERIFYSERVER               (0x11) //supported
#define BNLS_VERSIONCHECKEX2            (0x1a) //supported[/code]

Link: is in my profile go there and click files.

Link above is to the BNLS dll I have been building, it also includes a sample app.
Sample app includes a Function name DebugOutPut, you can thank Grok for that function.
Its primary use is for Checkrevision ATM, read the readme.
November 25, 2006, 1:05 AM
l2k-Shadow
... this was uncalled for.
November 25, 2006, 1:27 AM
Ersan
Not again...

EDIT: nvm this is useless.  Why did you write a dll to handle one packet?
November 25, 2006, 2:05 AM
JoeTheOdd
Ersan, you know damned well that half the bots are going to use it, though, right? :P.
November 25, 2006, 2:42 AM
l2k-Shadow
[quote author=Newby link=topic=15960.msg161546#msg161546 date=1164154150]
To speed that process up, release a DLL with VB6.0 example code.
[/quote]

Newby should get a job telling the future.
November 25, 2006, 2:45 AM
bethra
Wait, so this DLL does what BNLS does CheckRevision-wise?
November 25, 2006, 2:51 AM
warz
[quote author=Sorc.Polgara link=topic=16074.msg161746#msg161746 date=1164423073]
Wait, so this DLL does what BNLS does CheckRevision-wise?
[/quote]

No, this dll uses bnls.
November 25, 2006, 2:52 AM
bethra
Oh, then it's nothing to get excited about, heh.

Reading l2k's post is misleading then
November 25, 2006, 2:54 AM
Ersan
No, this dll does what checkrevision does BNLS-wise, and nothing more (keep in mind this takes like 9 lines of code max to actually do.)
November 25, 2006, 3:05 AM
l2k-Shadow
[quote author=Sorc.Polgara link=topic=16074.msg161748#msg161748 date=1164423242]
Oh, then it's nothing to get excited about, heh.

Reading l2k's post is misleading then
[/quote]

i was referring to the "DLL with VB6 example" part.
November 25, 2006, 3:22 AM
dRAgoN
Is there nomore gratitude left on this forum or what you should be thankfull that I released this, after all this useless nonsense so keep your ungreatfull comments to your self (yes you know who you are).
November 25, 2006, 4:30 AM
l2k-Shadow
yeah but you're basically saying, "here people stop trying to do stuff yourself, you can rip my code right here!" I think we as a community are against people doing that...
November 25, 2006, 5:03 AM
Myndfyr
[quote author=l)ragon link=topic=16074.msg161760#msg161760 date=1164429039]
Is there nomore gratitude left on this forum or what you should be thankfull that I released this, after all this useless nonsense so keep your ungreatfull comments to your self (yes you know who you are).
[/quote]

That depends.  Does this DLL actually implement the checkrevision functionality, or do you do the CR over BNLS?
November 25, 2006, 5:13 AM
HeRo
[quote author=MyndFyre[vL] link=topic=16074.msg161763#msg161763 date=1164431623]
[quote author=l)ragon link=topic=16074.msg161760#msg161760 date=1164429039]
Is there nomore gratitude left on this forum or what you should be thankfull that I released this, after all this useless nonsense so keep your ungreatfull comments to your self (yes you know who you are).
[/quote]

That depends.  Does this DLL actually implement the checkrevision functionality, or do you do the CR over BNLS?
[/quote]
Uses BNLS as stated above.
November 25, 2006, 5:58 AM
Ersan
hence the name








HENCE IT!
November 25, 2006, 6:50 AM
Ringo
[quote author=l)ragon link=topic=16074.msg161760#msg161760 date=1164429039]
Is there nomore gratitude left on this forum or what you should be thankfull that I released this, after all this useless nonsense so keep your ungreatfull comments to your self (yes you know who you are).
[/quote]
Nice of you to release this, l)ragon. Im sure some will find it usefull.
Dont take the attitude your getting persionaly, the troll is hungry to leach meat, and you just threw him fruit.
Give him time to calm down :)

Aside, how does this dll of yours work?
Does it call back or does it release the call to the function after BNLS has responded?
November 25, 2006, 1:45 PM
dRAgoN
[quote author=Ringo link=topic=16074.msg161779#msg161779 date=1164462319]
[quote author=l)ragon link=topic=16074.msg161760#msg161760 date=1164429039]
Is there nomore gratitude left on this forum or what you should be thankfull that I released this, after all this useless nonsense so keep your ungreatfull comments to your self (yes you know who you are).
[/quote]
Nice of you to release this, l)ragon. Im sure some will find it usefull.
Dont take the attitude your getting persionaly, the troll is hungry to leach meat, and you just threw him fruit.
Give him time to calm down :)

Aside, how does this dll of yours work?
Does it call back or does it release the call to the function after BNLS has responded?
[/quote]
I wanted to have data on demand so it will return the function after the response.
November 25, 2006, 8:11 PM
dRAgoN
also if you deside to use the auth your returns will be the following.

[code]#define STATUS_AUTHORIZED               (0x00)
#define STATUS_UNAUTHORIZED             (0x01)
#define STATUS_UNKNOWEN_NAME            (-2)
#define STATUS_UNKNOWEN_PASS            (-3)
#define FUNCTION_FAIL    (-1)[/code]
November 25, 2006, 8:16 PM
HeRo
Works good, hope no one abuses it, and they should stop bashing it too.
November 25, 2006, 10:12 PM
Ersan
You realize all the DLL does is:
connect to bnls
send 0x1a
recv 0x1a
disconnect from bnls

you can do that with 6 lines of code and a winsock control, somehow he's turned it into 25 or so, and he's probably got a packetbuffer implementation in the DLL, so that's TWO packetbuffers for one program plus the added bonus of yet another external library, yes how useful.
November 26, 2006, 2:31 AM
HeRo
[quote author=Ersan link=topic=16074.msg161787#msg161787 date=1164508265]
You realize all the DLL does is:
connect to bnls
send 0x1a
recv 0x1a
disconnect from bnls

you can do that with 6 lines of code and a winsock control, somehow he's turned it into 25 or so, and he's probably got a packetbuffer implementation in the DLL, so that's TWO packetbuffers for one program plus the added bonus of yet another external library, yes how useful.
[/quote]

If you have nothing good to say don't say it at all, son.
November 26, 2006, 3:30 AM
dRAgoN
Edited and updated link, if you were useing the dll, you will want to fix your outbuf processing for BNLS_VERSIONCHECKEX2 as I have removed the header from the send back.
November 26, 2006, 11:31 AM
dRAgoN
Updated dll and class yet again, it will now give you the exact data from BNLS_VERSIONCHECKEX2 (-) the header and (-) the extra null's.

Edit: I have supplyed a crude sample bot which use's the dll on our webpage (under my name) as requested the DataArrival could use some work, but you get what you payed for.
November 29, 2006, 4:06 AM
UserLoser
[quote author=l)ragon link=topic=16074.msg161784#msg161784 date=1164485793]
also if you deside to use the auth your returns will be the following.

[code]#define STATUS_AUTHORIZED               (0x00)
#define STATUS_UNAUTHORIZED             (0x01)
#define STATUS_UNKNOWEN_NAME            (-2)
#define STATUS_UNKNOWEN_PASS            (-3)
#define FUNCTION_FAIL    (-1)[/code]
[/quote]

Where do you get these unknown* status codes from?
November 29, 2006, 7:00 PM
Ersan
BNLS_AUTHORIZEPROOF probably.  I think unknown means invalid.

Dunno how you'd figure out if the botid is valid or not since BNLS sends BNLS_AUTHORIZE even if the botid is invalid now.

The last three constants are likely specific to his DLL, what exactly are you asking?
November 29, 2006, 8:48 PM
dRAgoN
[quote author=UserLoser link=topic=16074.msg161953#msg161953 date=1164826813]
[quote author=l)ragon link=topic=16074.msg161784#msg161784 date=1164485793]
also if you deside to use the auth your returns will be the following.

[code]#define STATUS_AUTHORIZED               (0x00)
#define STATUS_UNAUTHORIZED             (0x01)
#define STATUS_UNKNOWEN_NAME            (-2)
#define STATUS_UNKNOWEN_PASS            (-3)
#define FUNCTION_FAIL    (-1)[/code]
[/quote]

Where do you get these unknown* status codes from?
[/quote]
Its so i know where to look if there were to ever be any problems.
November 29, 2006, 10:57 PM
UserLoser
Was just wondering because to my knowledge those status codes are not in BNLS, perhaps JBLS supports them?
November 30, 2006, 12:19 AM
warz
I think he just made them up for his use with his dll.
November 30, 2006, 12:25 AM
dRAgoN
[quote author=warz link=topic=16074.msg161968#msg161968 date=1164846358]
I think he just made them up for his use with his dll.
[/quote]
Yes -2,-3 are possible internal errors, which I doubt anyone will see anyways.
Edit -1, should be pretty obvious.
November 30, 2006, 12:50 AM

Search