I feel like a moron.. I finally decided to move away from RCRS because I was too lazy to do local hashing, and now I can't even get past 0x50.. grrr...
Well, here is the packet log
Quote
Send data (58 bytes).
<00000000< FF 50 3A 00 00 00 00 00 43 41 4D 58 56 44 32 44 .P:.....CAMXVD2D
<00000010< 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<00000020< 00 00 00 00 00 00 00 00 55 53 41 00 55 6E 69 74 ........USA.Unit
<00000030< 65 64 20 53 74 61 74 65 73 00 ed States.
I am instantly disconnected.
I checked with my local copy of bnetdocs, here is the packet format:
(DWORD) Protocol ID (0)
(DWORD) Platform ID
(DWORD) Product ID
(DWORD) Version Byte
(DWORD) Product language
(DWORD) Local IP for NAT compatibility*
(DWORD) Time zone bias*
(DWORD) Locale ID*
(DWORD) Language ID*
(STRING) Country abreviation
(STRING) Country
My original though was that it was a version byte problem, but I doubt it.. Here is the response from a JBLS server:
Quote
Receive data (11 bytes).
>000000A3> 0B 00 10 04 00 00 00 0B 00 00 00 ...........
Thanks in advance!
This (http://www.javaop.com/~joe/VB6/BNLS%20Data%20Retreiver.zip) might help.
Hurm I think the problem is that macs dont repost the Country info.
Also, if your going to use any remote hashing server you need to use IX86 not mac.
I should add support for Mac hashes but there no where to find them!
Also.. theres no reason to use xmac. it dosent change anything, so on a bot you can do IX86
also, mind sending me a copy of your 'local BNet Docs'?
~-~(HDX)~-~
Yeah, I don't think BNLS or JBLS support XMAC (or PMAC) for CheckRevision().
@ Joe's Post #1: I use a mac, not a computer of the evil empire. I have a BNLS tester though.
@ HDX: Alright I will give that a shot. I will send you my bnetdocs in a minute.
@ Joe's Post #2: BNLS supports XMAC.
[edit]
For anybody, you can download bnetdocs here: http://aero-net1.com/luxer/bnetdocs.valhallalegends.com.zip
Should work in about 2 minutes.
Alright, switched mode to IX86/68XI.. Still having the same problem:
Quote
Send data (58 bytes).
<00000000< FF 50 3A 00 00 00 00 00 36 38 58 49 56 44 32 44 .P:.....68XIVD2D
<00000010< 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<00000020< 00 00 00 00 00 00 00 00 55 53 41 00 55 6E 69 74 ........USA.Unit
<00000030< 65 64 20 53 74 61 74 65 73 00 ed States.
[/pre]
stupied question.
Are you sending the protocol byte?
~-~(HDX)~-~
I think so.. its just supposed to be 4 nulls, right?
Quote
Send data (58 bytes).
<00000000< FF 50 3A 00 00 00 00 00 36 38 58 49 56 44 32 44 .P:.....68XIVD2D
<00000010< 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<00000020< 00 00 00 00 00 00 00 00 55 53 41 00 55 6E 69 74 ........USA.Unit
<00000030< 65 64 20 53 74 61 74 65 73 00 ed States.
No, before your send ANYTHING to bnet, you need to send 0x01 (.Send Chr(&H1))
Also send me a copy of BnetDocs that you have.
~-~(HDX)~-~
OMG!!! AH! I FEEL SO STUPID! AHH!
I am totally flipping out! GA!
It works now..
Quote
Send data (58 bytes).
<00000001< FF 50 3A 00 00 00 00 00 36 38 58 49 56 44 32 44 .P:.....68XIVD2D
<00000011< 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<00000021< 00 00 00 00 00 00 00 00 55 53 41 00 55 6E 69 74 ........USA.Unit
<00000031< 65 64 20 53 74 61 74 65 73 00 ed States.
Receive data (8 bytes).
>00000000> FF 25 08 00 42 58 F8 34 .%..BX.4
Receive data (99 bytes).
>00000008> FF 50 63 00 00 00 00 00 95 48 3A F7 97 5C 17 00 .Pc......H:..\..
>00000018> 00 AC 41 43 25 0B C5 01 49 58 38 36 76 65 72 32 ..AC%...IX86ver2
>00000028> 2E 6D 70 71 00 41 3D 37 37 30 34 35 35 34 36 34 .mpq.A=770455464
>00000038> 20 42 3D 37 33 36 32 38 34 38 30 38 20 43 3D 38 B=736284808 C=8
>00000048> 37 37 36 32 39 37 34 39 20 34 20 41 3D 41 5E 53 77629749 4 A=A^S
>00000058> 20 42 3D 42 5E 43 20 43 3D 43 2B 41 20 41 3D 41 B=B^C C=C+A A=A
>00000068> 2D 42 00 -B.
Grrr... I feel so dumb.. Thanks.
Now thats solved. Can you send me a copy of your local bnet docs cuz arta's is down.
e-mail: hdxbmx27@gmail.com
~-~(HDX)~-~
Sent, with a extra question :)
Quote
I am sending:
Send data (12 bytes).
<00000007< 0C 00 09 04 00 00 00 03 00 00 00 00
............
Dude.. thes an invalid packet format...
your missing quite a few things from it. Consult your bnetdocs :/
~-~(HDX)~-~
Your right.. Sorry to bug you. Fixed:
Quote
Send data (73 bytes).
<00000007< 49 00 09 04 00 00 00 01 00 00 00 41 3D 31 30 32 I..........A=102
<00000017< 30 35 34 34 39 31 20 42 3D 39 37 34 30 37 37 37 054491 B=9740777
<00000027< 34 34 20 43 3D 34 39 32 33 32 32 34 32 33 20 34 44 C=492322423 4
<00000037< 20 41 3D 41 5E 53 20 42 3D 42 5E 43 20 43 3D 43 A=A^S B=B^C C=C
<00000047< 2D 41 20 41 3D 41 2D 42 00 -A A=A-B.
Receive data (50 bytes).
>000000AE> 32 00 09 01 00 00 00 00 0B 00 01 8E C5 C8 07 67 2..............g
>000000BE> 61 6D 65 2E 65 78 65 20 30 37 2F 31 36 2F 30 35 ame.exe 07/16/05
>000000CE> 20 31 38 3A 31 31 3A 34 34 20 32 31 32 35 38 32 18:11:44 212582
>000000DE> 34 00 4.
Side note: BNLS does not have support for Macintosh.
QuoteSide note: BNLS does not have support for Macintosh.
QuoteYeah, I don't think BNLS or JBLS support XMAC (or PMAC) for CheckRevision().
Side note: BNCSutil does.
Well, does anyone in here know where I can get a Mac EMU and get the mac vers of each game? If so I'll work on getting class writtin up for Mac version files handeling. But i dont wana do it unless I can steadly get the mac hashes for myself :/
~-~(HDX)~-~
Quote from: HdxBmx27 on September 25, 2005, 10:20:17 AM
Well, does anyone in here know where I can get a Mac EMU and get the mac vers of each game? If so I'll work on getting class writtin up for Mac version files handeling. But i dont wana do it unless I can steadly get the mac hashes for myself :/
~-~(HDX)~-~
You can get PearPC (http://pearpc.sourceforge.net/) and buy Mac OS X. The Mac versions of the games are on the product CDs.
Dude. that is cool.
Few things tho. How do you install a OS onto one of the images?
So that I can boot into say Mac OSx. Also, does it support any type of linux emulation?
Wel.. I found this (http://wiki.pearpc.net/index.php/InstallTigerWithoutPanther)
But it dosent tell me how to fix the ripped image on Windows.. so. any ideas?
~-~(HDX)~-~