• Welcome to Valhalla Legends Archive.
 

[vb] 0x12 Help

Started by Spilled, March 02, 2005, 10:53 AM

Previous topic - Next topic

Kp

#15
Quote from: JoeTheOdd on March 02, 2005, 09:07 PMIf (Product == "W2BN") && (PacketID = 0x50)
{

    // Do some kinda disconnect thingy here

}

Nice job breaking the BNCS source tree. ;)  Product cannot be directly compared to a string constant (or if it can, it'll require some ugly magic that really shouldn't be present).  Next, any time a war2 client connects, you're going to drop it, since you assigned to PacketID instead of testing it.  Also, your parentheses are unbalanced. :)

Quote from: Spilled[DW] on March 02, 2005, 11:39 PM

1  Hide  Hide  59  Send 
0000  01 FF 50 3A 00 00 00 00 00 36 38 58 49 4E 42 32    ..P:.....68XINB2
0010  57 4F 00 00 00 00 00 00 00 00 00 00 00 00 00 00    WO..............
0020  00 00 00 00 00 00 00 00 00 55 53 41 00 55 6E 69    .........USA.Uni
0030  74 65 64 20 53 74 61 74 65 73 00                   ted States.

2  Hide  Hide  107  Recv 
0000  FF 25 08 00 35 60 AA 9E FF 50 63 00 00 00 00 00    .%..5`...Pc.....
0010  AA 93 CD 68 E7 63 4E 00 00 AC 41 43 25 0B C5 01    ...h.cN...AC%...
0020  49 58 38 36 76 65 72 34 2E 6D 70 71 00 41 3D 31    IX86ver4.mpq.A=1
0030  39 35 36 36 39 33 30 32 20 42 3D 39 30 39 36 34    95669302 B=90964
0040  38 37 32 35 20 43 3D 33 34 33 37 39 35 39 37 35    8725 C=343795975
0050  20 34 20 41 3D 41 2D 53 20 42 3D 42 5E 43 20 43     4 A=A-S B=B^C C
0060  3D 43 2B 41 20 41 3D 41 2D 42 00                   =C+A A=A-B.

3  Hide  Hide  123  Send 
0000  FF 51 7B 00 58 07 56 1F 00 02 00 02 F0 17 5B E2    .Q{.X.V.......[.
0010  01 00 00 00 00 00 00 00 10 00 00 00 24 00 00 00    ............$...
0020  6A F8 23 00 00 00 00 00 AE C7 06 17 8F 20 87 5B    j.#.......... .[
0030  D5 E3 C7 43 1A 06 48 6A 93 3B E4 75 57 61 72 63    ...C..Hj.;.uWarc
0040  72 61 66 74 20 49 49 20 42 4E 45 2E 65 78 65 20    raft II BNE.exe
0050  30 35 2F 31 36 2F 30 31 20 30 30 3A 35 33 3A 32    05/16/01 00:53:2
0060  30 20 37 31 32 37 30 34 00 56 69 6F 6C 65 6E 74    0 712704.Violent
0070  20 43 68 61 74 20 76 31 2E 30 00                    Chat v1.0.

4  Hide  Hide  9  Recv 
0000  FF 51 09 00 03 02 00 00 00                         .Q.......
Well, the first and most obvious error I see is that you're using War2 on a message where it doesn't belong. ;)  Beyond that, I'd speculate that you're computing the version checksum wrong.  Have you verified that it produces the correct result for a specific input formula?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Spilled

hrmm could you be more specific on that using war2 message where it dont belong? and yes checkrevision is correct as i can see, ill go over that again but on the other hand can you be more specific?

Spilled

i checked my checkrevision and everything seems fine, the values are fine, still having the same problem (bad product) any more ideas Kp or anyone? still dont get what you mean by war2 message where it dont belong? Any help is welcome and appreciated thanks in advance!

NetNX

Well im writing and oldschool War2 Connection :-) The real way not 0x50...

Instant message me on aim and ill help u out but im using BNCSUtil so you might have to rewrite some of the checkrevision stuff but i could use some help out with my bnls coding maybe we could trade :)

And well if someone wants to respond too this i have a question about jbnls is there a website for it ?  :-X

QwertyMonster

[/sarcasm]
Trade for it? Trade?!  Trade coding? ... Lol.


"Man1: Hey ive got a good peice of coding here, ill give u it for ur good bit too"
"Man2: Eh, sure!"
"Man1: Only if u go first!"
"Man2: Scammer!"

Haha.
[/sarcasm]


I do doubt Spilled would want to rewrite his CheckRevision things without first finding the problem of whats wrong now. Correct me if im wrong Spilled!  :P

Warrior

Why wouldn't he want to use a Library with CheckRevision including the SRP and CDKey Decode needed to logon to Warcraft III!
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?

NetNX

trading is good :-X save myself alota mental frustration if i get to look at how someone else did it ~_^