• Welcome to Valhalla Legends Archive.
 

Re: BNCSutil 1.3.1

Started by cdz, October 17, 2006, 02:45 AM

Previous topic - Next topic

cdz

for some odd reason i keep getting "Unknown client (when determining version byte)" displayed in the 0x50 packet being sent to the server.

even if i straight up code it to use STAR and its verbyte, i get the same damn thing...lol

Hdx

Post a packet log, and I'm assuming you're connecting to a TBNCs server that you are running?
Make sure That you Product DWORD is 0x53544152 (RATS) not 0x52415453 (STAR)
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Kp

Quote from: Hdx on October 17, 2006, 03:38 PM
Make sure That you Product DWORD is 0x53544152 (RATS) not 0x52415453 (STAR)
~-~(HDX)~-~

Depending on his host platform, 0x52415453 may be RATS, not STAR.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Hdx

True...... But I doubt that that is the case.

~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

cdz

Quote from: Hdx on October 17, 2006, 03:38 PM
Post a packet log, and I'm assuming you're connecting to a TBNCs server that you are running?
Make sure That you Product DWORD is 0x53544152 (RATS) not 0x52415453 (STAR)
~-~(HDX)~-~

to be honest i have no idea what "TBNC" stands for.  ill make sure the product is a dword and sending either or.  if neither work ill let you know.

oh and another thing, where did you come up with the value 0x53544152 for "RATS"?

and if i cant get this thing working what should i use to get a working bot going?  BNCSUtil or is there anything else?

i have been told bnetauth should die and isnt good, so asking what else is there that is easy to use and learn, as well as using bnetdocs.valhallalegends.com

rabbit

TBNCS: Test BNCS, Arta's Battle.net server for testing software without getting banned for 73 years.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Hdx

Quote from: cdz on October 18, 2006, 11:17 PMoh and another thing, where did you come up with the value 0x53544152 for "RATS"?

and if i cant get this thing working what should i use to get a working bot going?  BNCSUtil or is there anything else?
BNCSutil is good if you know what you're doing and want to make a bot that does nto rely on BNLS.
but untill then I suggest you use BNLS (It's another type of server, look on bent docs for the specks)
And I jsut converted the string"RATS" to hex to get that value.
Mind posting a packet log + some code so we can see that you're doing.
(Just your Building of 0x50 and your verbyte function)
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

cdz

ok so what do you recommend i do to code a bot using BNLS (WITHOUT the use of cleanslatebot)

i know about Battle.net Login Server hosted by [vL] and how it does all the hashing and cdkey decoding server side so the user doesnt have to internally program it...correct?

anyways, if you could PM me and maybe we can 1 on 1 this problem and to get me started using bnetdocs, etc. so we dont flood this topic :)

up to you, if you can thanks if not if you could be so kind and to direct me where to go to start on my own about this.

also what did you use to convert the string to hex?

Hdx

As long as you know the basics of connecting to a server in your preferned language and how to handle binary data. I see no reason who I can't help you out. (HELP, not Hold your hand the eintire way)

And as for converting ASCII to Hex... if its jsut the alphabet I do it in my head, else I use a php script.. or a command like program i wrote.....
All depends on the situation.
Feel free to AIM me, jsut be sure to tell me who you are or i'll block you. And remember I will help point you int he right direction. I WIL NOT do anything for you. (Its really easy if you know the basics)
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

MyndFyre

The BNLS protocol specification is located at:

http://www.valhallalegends.com/yoni/bnlsprotocolspec.txt

Bnetdocs is located at:

http://bnetdocs.valhallalegends.com/

What do you mean, "convert the string to hex"?  If you're referring to saying 'STAR' is 0x53544152, then I'll tell you.  In C on little-endian platforms, specifying a multi-character literal as an integer is valid.  This would be done as something like:

#define PRODUCT_ID 'STAR'

On little-endian platforms, this is translated in-memory to the integer value 0x53544152, which (when viewed in memory or a packet printout) looks like "RATS".

Translating between these values is simply a matter of looking up character values on the ASCII table.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

topaz

Or...

'STAR'.encode('hex')
RLY...?

Hdx

He never specifyd a language, + he said something about csb, so i'm assuming hes useing VB, in which case that code wont work. As oposed to giving his jsut the number, and if he knows the languge he is using at all he will know how to use those numbers.
If he cant figure that out he shouldnt be making a bot yet.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

cdz

#12
im not asking for holding hand walkthrough, just a little help here and there if needed.

btw what is your aim?  its not listed in your profile

and yes im using vb 6.0.  i tried making a transition on visual basic .net 2005 and i simply do not like it.  i dunno maybe its just me or others feel the same.

i never made a battle.net bot before which is why i was asking how do i go about doing it (what do i need besides bncsutil and bnetdocs).  i know the language and how to program other applications, but bots it what i wasnt interested in, until now.

i read a little bit about csb and what it does, and i didnt want an OLE control to do the work for me.

Hdx

HdxEvilBlake
I thought i put it in my post but i was mistaken.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

cdz

ok i have been trying to login AIM for the past hour and nothing.

anyways so what i need to do to begin is get BNCSUtil 1.3.1 and start coding (using bnetdocs as a reference)?