• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Jaquio

#46
Battle.net Bot Development / Re: Vb Chat bot
April 28, 2006, 01:28 PM
I was gonna have a look at it, but your link don't work.

But if it works then everything should be fine?
#47
General Programming / Re: YIM Packets
April 27, 2006, 10:37 PM
What would it take for me to get acccess to your 'super-secret WoW protocol wiki'? :P But I have thought about it, but I love coding, so I could put something together that'll do that same an that I could change around if needed, I use other peoples scripts sometimes if I know how they work. But without knowing how they work, or what function an whatnot is where makes it kinda hard to update/add things onto it.

But yea.. I have gotten nowhere with the YIM Protocols.. Stupid thing!


I did however find these some help on the matter just not alot since I can't really make since of it..
         The other parts had nothing to do with the actual protocol it's self really, only these ones had good information.

Yahoo! Messenger Protocol Tutorial - Part 7

Yahoo! Messenger Protocol Tutorial - Part 8

Yahoo! Messenger Protocol Tutorial - Part 9

Yahoo! Messenger Protocol Tutorial - Part 10

Apparently it all came from here Yahoo Coders Cook Book.


I think I understand it sorta.. Not sure though will have to try tomorrow going to bed now..
#48
General Programming / Re: YIM Packets
April 27, 2006, 09:22 PM
Quote from: rabbit on April 27, 2006, 06:48 PM
BnetDocs was built by people with some free time and a good base of general programming/networking knowledge.  If you want to make YIMDocs, I'm sure a lot of people would be greatful and offer what help they can.

[edit]
You can also look at Gaim's source code.


Hmm, not a bad idea to make a YIMDocs, or even a IMDocs(For all instant messenger protocols.) would be a nice project to get going. Not sure how many people would actually wanna help, or if it would even be helpful to anyone. But I am willing to try anything, if anyone wants in starting tomorrow I will be on AIM,YIM an MSN if anyone wants to talk.

AIM: CyberJaquio
YIM: bjmoreton.at.yahoo.com
MSN: bjmoreton.at.gmail.com

An if you want you could just email me at bjmoreton.at.gmail.com I have a webserver an everything for another site, so a webpage for it all would be already to go. An I am a great PHP Scripter so making scripts to store/view all the information would be an easy task for me. So yea, if anyone wants in just holla at me tomorrow.


I will also be currently trying to get around to figuring out YIM Connection sometime tonight, if I get anywhere I will post it.
#49
General Programming / Re: YIM Packets
April 27, 2006, 04:46 PM
Well it did a bit.. But some of that I already know.

See what I am looking for is something like.. Uhh.. Hmm.. Something close to BNet Docs on the YIM Protocol if it's anywhere possible to find one.. If not I guess I will have to try an do it myself? Lol, Because I logged on using an exact packet log from a previous logon an it worked.. But I wanna know like, where a dword,word or byte goes.

I don't know I guess I will eventually figure it out, thanks again. :)
#50
General Programming / YIM Packets
April 27, 2006, 12:35 AM
Alright, wasn't sure where to post this, but since it's general programming figured I would post it here..

I was wondering if anyone has any documentations for Yahoo Messenger Packets, preferably the new YIM. I have packet logged myself connecting an whatnot but can't make heads or tails from the log.. Was just wondering if anyone did have it... Or knew where I could find one, have tried google an found once for C/C++ but I am gonna do this in VB.

When I first connect to the server, I recieve nothing.. So I guess I have to send something first? Who knows, I have tried sending everything.. No idea what to do.


So yea, any ideas would be really great.. Thanks.
#51
Visual Basic Programming / Re: Color Chooser?
March 10, 2006, 10:09 PM
Thanks, didn't know Common Dialog Control had the showcolor function.
#52
Visual Basic Programming / Color Chooser?
March 10, 2006, 06:48 PM
Alright, how would I go about creating something along the lines of when you rightclick on a color for a custom color in VB6? I want it to return that color value.. How would I do this exactly?
#53
Quote from: HeRo on March 10, 2006, 12:11 AM
how do you go about creating a bot without having any knowledge of packet logging?

By using BNetDocs, lmao. Not that hard to remove a dword here, place it here, blah blah, etc,etc.

But I am slowly learning. :p
#54
Quote from: Savior on March 09, 2006, 11:53 PM
no but a packet logger will.

I don't understand packet logs, lmao. I have packet logged myself making a new account and it confused me to hell. :p
#55
Quote from: HeRo on March 09, 2006, 10:57 PM
http://bnetdocs.valhallalegends.com/content.php has all you need

It doesn't tell the exactly account create sequences..
#56
Umm, I was wondering what is the exact account create Sequence for War3/TFT and what is the Sequence for other games? I am using BNLS so  I would also need to know exactly which BNLS Pakcets I would have to send as well, thanks,
#57
What?...
#58
Quote from: teK on March 08, 2006, 08:22 PM
What are you sending after you receive 0x3E?

I am not sending nothing, I get the realms IPAddr and try to connect with winsock. I recv this error from winsock when trying to connect to the decoded IPAddr.


Error 10060
Description:The attempt to connect timed out


It won't connect to the realm for some reason. I think I am getting the data wrong or making the server right. Here is my MakeServ function.


Public Function MakeServ(Data As String) As String
    Dim strIP(1 To 4) As String
    strIP(1) = Asc(Mid(Data, 1, 1))
    strIP(2) = Asc(Mid(Data, 2, 1))
    strIP(3) = Asc(Mid(Data, 3, 1))
    strIP(4) = Asc(Mid(Data, 4, 1))
    MakeServ = Join(strIP, ".")
End Function


And here is what I send to the function.


        Case &H3E
        Dim lngCookie As Long, lngStatus As Long, lngPort As Long
        'Debug.Print "Recv'd:0x3E"
                         
            With DB
                .SetData Data
                .StripHeader
                lngCookie = .rDWORD
                lngStatus = .rDWORD
               
                If lngStatus = &H80000001 Or lngStatus = &H80000002 Then
                Select Case lngStatus
                    Case &H80000001
                        AddChat vbLtGreen2, D2Red, "Realm is unavailable!"
                    Case &H80000002
                        AddChat vbLtGreen2, D2Red, "Realm logon failed!"
                End Select
                    frmMain.wsBnls.Close
                    frmMain.wsBnet.Close
                    Exit Sub
                End If
               
                strMCPP1 = .rVOID(2 * 4)
                ServIp = .rDWORD
                lngPort = .rDWORD
                strMCPP2 = .rVOID(12 * 4)
                strBNCSUN = .rNTString
                strMCPChunks = MakeDWORD(lngCookie) & MakeDWORD(lngStatus) & strMCPP1 & strMCPP2
               
                frmMain.wsRealm.Close
                frmMain.wsRealm.Connect MakeServ(ServIp), 6112
            End With


Also, the above packetlog is what I recv back. Am I doing something wrong?


Edit:

Nevermind I always end up fixing my own mistakes somehow... I forgot to return the string ServIP into a dword then send it through the function. All works fine now.. Sorry for all the trouble..
#59
Erm, bump? Not sure if their allowed. But I have editted my post and the views haven't moved since I have.


Anyways, can anyone help?
#60
Quote from: Ringo on March 08, 2006, 05:12 AM
Quote from: Jaquio on March 08, 2006, 05:03 AM
Edit: Oh nevermind I understand now, someone could take the decoded cdkey then re-encode it then have it, right?
yep.
That is pretty cool, your really smart..  :o

Quote from: Ringo on March 08, 2006, 05:12 AM
Quote from: Jaquio on March 08, 2006, 05:03 AM

23  70.106.238.227:3927  63.161.183.205:9367  27  Send 
0000  1B 00 0B 08 00 00 00 02 00 00 00 05 55 4A 43 B9    ............UJC.
0010  E9 A6 09 70 61 73 73 77 6F 72 64                   ...password

Because........ HINT

Were you pointing out this fact... "the client key and server key DWORDs must be specified in the request after the data."... If so, that is what fixed it.. lmao. I was not thinking about the order of data.. Not sure why.. Thanks Ringo, I love yous!..  :P Have fun.

EDIT:

Err, nvm.. It seems that I recv'd back 0x3E with the information but.. I think the IP Address may be wrong because it is doing nothing at all after recving 0x3E, it is supposed to connect to the realm ip and then send MCP_STARTUP(0x01)..



23  70.106.238.227:4159  63.161.183.205:9367  27  Send 
0000  1B 00 0B 08 00 00 00 02 00 00 00 70 61 73 73 77    ...........passw
0010  6F 72 64 7E E5 67 43 C4 39 0F E5                   ord~.gC.9..

24  63.161.183.205:9367  70.106.238.227:4159  23  Recv 
0000  17 00 0B 5E 69 E6 E8 B9 39 DF 9E 39 22 67 73 C9    ...^i...9..9"gs.
0010  07 A7 AA 09 18 B7 78                               ......x

25  70.106.238.227:4160  63.240.202.126:6112  35  Send 
0000  FF 3E 23 00 7E E5 67 43 5E 69 E6 E8 B9 39 DF 9E    .>#.~.gC^i...9..
0010  39 22 67 73 C9 07 A7 AA 09 18 B7 78 55 53 45 61    9"gs.......xUSEa
0020  73 74 00                                           st.

26  63.240.202.126:6112  70.106.238.227:4160  85  Recv 
0000  FF 3E 55 00 7E E5 67 43 3B FF 65 D8 3F F0 CA 7E    .>U.~.gC;.e.?..~
0010  60 3F 0E 00 3F F0 CA 94 17 E0 00 00 00 00 00 00    `?..?...........
0020  08 7B C1 06 C0 8B D9 D3 56 44 32 44 36 38 58 49    .{......VD2D68XI
0030  3F F0 CA 7E 33 10 00 00 AC 27 0B BE 88 80 D7 54    ?..~3....'.....T
0040  4B 6A DC 2C 6E CE BD 5D 84 1C CF 09 4A 61 71 75    Kj.,n..]....Jaqu
0050  69 6F 00 02 F9                                     io...



There is a new Packet Log. I think everything is correct..

EDIT(Again):

I just found out, I recv this from my WinSock.


Error 10060
Description:The attempt to connect timed out


So.. bad IP Address I take it?