• Welcome to Valhalla Legends Archive.
 

Wtf???!!!

Started by QwertyMonster, February 13, 2005, 07:35 AM

Previous topic - Next topic

Mephisto

#15
Don't you people know how to use packet logs and debug your programs?  Go download Ethereal, setup a packet logging session, have your bot connect, and when it's disconnected stop your logging session.  Then mask out all packet logs except for those on port 6112 (make sure you have no other programs utilizing that port which could make it confusing going through your log) by using the string "tcp.port == 6112. " Now, before your eyes should be your logon sequence.  Check each packet sent and received and make sure it corresponds to the correct data required to send (use BnetDocs as a reference to each packet).  When you find something wrong fix it.  It may also be of greater help if you debugged your application line by line to make sure nothing odd is going on in your code (e.g. checking all code routines, conditionals, and values of your data).

And please don't post again saying that you did the above and found nothing wrong unless you are absolutely serious about it.  You're not going to get a quick easy solution without putting some effort in for situations such as these.

Good luck!  ;)

QwertyMonster

The last thing sent to me from battle.net (which is disconnecting me) is


0000  00 40 2b 3f 7b 0b 00 12  17 24 cd 86 08 00 45 00   .@+?{... .$....E.
0010  00 28 b8 99 00 00 73 06  8c ea d5 f8 6a 44 c0 a8   .(....s. ....jD..
0020  01 67 17 e0 0b 4b aa b0  29 70 57 fc cc 93 50 10   .g...K.. )pW...P.
0030  fe b4 92 f7 00 00 00 00  ff 4a 7f 85               ........ .J..   


The 2 things i send before that are:


0000  00 12 17 24 cd 86 00 40  2b 3f 7b 0b 08 00 45 00   ...$...@ +?{...E.
0010  00 28 78 b6 40 00 80 06  7f cd c0 a8 01 67 d5 f8   .(x.@... .....g..
0020  6a 44 0b 4b 17 e0 57 fc  cc 92 aa b0 29 70 50 11   jD.K..W. ....)pP.
0030  fb a6 96 05 00 00                                  ......     


and


0000  00 12 17 24 cd 86 00 40  2b 3f 7b 0b 08 00 45 00   ...$...@ +?{...E.
0010  00 28 78 b5 40 00 80 06  7f ce c0 a8 01 67 d5 f8   .(x.@... .....g..
0020  6a 44 0b 4b 17 e0 57 fc  cc 92 aa b0 29 70 50 10   jD.K..W. ....)pP.
0030  fb a6 96 06 00 00                                  ......           


2 things before that are sent from battle.net are:


0000  00 40 2b 3f 7b 0b 00 12  17 24 cd 86 08 00 45 00   .@+?{... .$....E.
0010  00 28 b5 99 00 00 73 06  8f ea d5 f8 6a 44 c0 a8   .(....s. ....jD..
0020  01 67 17 e0 0b 4b aa b0  29 6f 57 fc cc 92 50 11   .g...K.. )oW...P.
0030  fe b4 92 f8 00 00 00 00  ff b8 76 69               ........ ..vi   


and


0000  00 40 2b 3f 7b 0b 00 12  17 24 cd 86 08 00 45 00   .@+?{... .$....E.
0010  00 28 b5 8f 00 00 73 06  8f f4 d5 f8 6a 44 c0 a8   .(....s. ....jD..
0020  01 67 17 e0 0b 4b aa b0  29 6f 57 fc cc 92 50 10   .g...K.. )oW...P.
0030  fe b4 92 f9 00 00 00 00  0f 1e 82 2a               ........ ...*   


Thats all  i think i should paste, but i cant see anything wrong in there? Can anybody else? If you need me to post more, just ask


shout

Are you sending headers on those packets? It looks like you are not.

A packet header consists of the following:

(BYTE) 0xFF
(BYTE) PacketID
(WORD) Packet length, including the header.


This header needs to go on every packet.


QwertyMonster

"headers" on those packets? Umm, wtf.

I bet ill get a reply saying "roflmao u cant program!"

But i dont go by the terms "headers on a packet"

Explain more, please?

Soul Taker

Quote from: QwertyMonster on February 13, 2005, 01:30 PM
"headers" on those packets? Umm, wtf.

I bet ill get a reply saying "roflmao u cant program!"

But i dont go by the terms "headers on a packet"

Explain more, please?
He gave you the header... it can't be hard to know if you're prepending it to every packet you send to BNCS or not.
I hate to go the "roflmao u cant program!" route, but I don't think you know quite enough for a project this complex.

QwertyMonster

#20
Im not ready?

My bot was working fine, then one night i come on and it all buggers up. Please dont go saying "your not ready", because its dam right rude, and 50% chance your wrong, and in this case, YOU ARE WRONG.


Edit:

Ok it seems i think i know whats wrong now
As i have said before in the other posts

Im sending 0x25 3 times, then getting booted off and ipbanned
How can i stop this? :(

QwertyMonster

omfg i got it working

i had


Packet.SendPacket &HE
Packet.Clear


lieing around in 0xFF

Fking silly me

Thanks for help anyway lads!

UserLoser.

Quote from: QwertyMonster on February 13, 2005, 04:11 PM
omfg i got it working

i had


Packet.SendPacket &HE
Packet.Clear


lieing around in 0xFF

Fking silly me

Thanks for help anyway lads!

huh

Warrior

HE HAD A FUNCTION INSIDE 0xFF SILLY USERLOSER
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

shout

So.. you were sending 0xE, then clearing the buffer?
Quote from: UserLoser on February 13, 2005, 06:07 PM
huh

Soul Taker

Guys stop being rude he's a master programmer >:(

QwertyMonster

#26
Umm, wtf?

BaDDBlooD, wow  thanks? Send me a personal message saying im a "<swear word here> ", wow, so you do it to people you dont know or like?

Soul Taker saying i cant program when it all was a <swear word here> &HE left in my 0xFF accidently, And soul taker didnt take it to hes matters to get in a mood

BaDDBlooD,  Dont go sending me private messages giving me threats,  just because i had a go at somebody.

Ok so do you send threats to every1 who argues? Hey dude, leave us alone, if your jealous of my arguement, find your own.

So next time, DONT SEND ME PRIVATE MESSAGES THREATNING ME.


Peace out.


Edit: Cut out my swearing, incase of kids :/

UserLoser.

Quote from: QwertyMonster on February 14, 2005, 12:07 PM
Umm, wtf?

BaDDBlooD, wow  thanks? Send me a personal message saying im a "<swear word here> ", wow, so you do it to people you dont know or like?

Soul Taker saying i cant program when it all was a <swear word here> &HE left in my 0xFF accidently, And soul taker didnt take it to hes matters to get in a mood

BaDDBlooD,  Dont go sending me private messages giving me threats,  just because i had a go at somebody.

Ok so do you send threats to every1 who argues? Hey dude, leave us alone, if your jealous of my arguement, find your own.

So next time, DONT SEND ME PRIVATE MESSAGES THREATNING ME.


Peace out.


Edit: Cut out my swearing, incase of kids :/

Good job, voiceing your opinion as will I.  You're acting like a kid.  And what the hell do you mean by "I left my &HE in my 0xFF"???  That makes almost no sense.  Why are you using VB's notation for hexadecimal for 14, while using the more widely standard "0x" notation to represent 255.  Sure, 14 fits in 255, but how does that solve your problem of being disconnected?  I think others most likely agree that what you said makes no sense, and perhaps that's why people think you're a newbie?

MyndFyre

Quote from: QwertyMonster on February 14, 2005, 12:07 PM
BaDDBlooD,  Dont go sending me private messages giving me threats,  just because i had a go at somebody.

As UserLoser has responded to your pissyness, so will I.

You have consistently demonstrated your inability to coherently describe a problem.  You double-post (considered rude forum etiquette) and then you bitch about stupid whiney crap.

Private messages are unregulated on this forum because they are just that, PRIVATE.  If you don't like it, go somewhere else, or set someone to be ignored on PMs.  Taking bitching about PMs to a public forum is NOT the correct action, particularly when they have been courteous enough to keep the flaming private through the use of the private messages.

You keep acting like a little kid.  If you want respect from the forum members, you have to earn it.  Taking this complaint to this forum is not a good way to earn it.  And on that note, neither is naming a topic "Wtf????"  Maybe if you titled your topic appropriately to describe the problem, you might get more coherent help.
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.

QwertyMonster

#29
Wow, i never thought of it this way

UserLoser: I left the Packet &HE - ( Chat ) in my Case &HF which was causing my ipban.

MyndFyre: I did earn my respect from a few, but theres always enemys in your life,  As i have just found out.

Anyway, I have some late new year revolutions it seems:P

1.) To stop Double Posting
2.) Give more respect to me
3.) Earn some respect

I hope i'll keep them.

And a special note: Im Sorry to all people on this forum if i acted like a jerk. But hey, lifes a bitch sometimes. A forgivness from all people would be nice, but hey, its up to you.

Peace..

|