• 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 - Trunning

#16
Real quick, when I get to http://www.bnetdocs.org/?op=packet&pid=144.

Do I double hash "password" for the password?
#17
Yeah it was the size.

0000   16 00 0b 03 00 00 00 02 00 00 00 6c 6f 6c 2d b3  ...........lol-.
0010   e7 4b 67 3c 33 81                                .Kg<3.


Oh and you've been insisting on me using a packet buffer, care to link me to one. I've searched to forum, without any luck.
#18
Take 1 byte of the allocation, ok well that didn't work hmm.

Well memset didn't set it to zero, so it looks like it's being set somewhere.
#19
I was in a rush Mr Negative, hmm.

Length = 17 00
ID = 0b

Size = 03 00 00 00
Flags = 02 00 00 00
Password = 6c 6f 6c
ClientKey = 88 ad e7 4b
ServerKey = 90 ee 12 9a

What's the fd? An extra uninitialized byte?
#20
Uh what packet are you referring to? 88 is in the log I posted above. Unless you mean, where was it sent.
#21
Omg, I logged in fine!

Now do I have to enter chat now, or can I startup mcp and logon to a character, and then enter chat?

And is this still the correct order for mcp? http://forum.valhallalegends.com/index.php?topic=11383.0
#22
Finally fixed the packet up, now let me confirm it.

0000   17 00 0b 03 00 00 00 02 00 00 00 6c 6f 6c 88 ad  ...........lol..
0010   e7 4b 90 ee 12 9a fd                             .K.....


Length = 17 00
ID = 0b

Size = 03 00 00 00
Flags = 02 00 00 00
Password = 6c 6f 6c
ClientKey = ad e7 4b 90
ServerKey = ee 12 9a fd

Everything is there, let me test it.
#23
struct BNLS_HEADER {
WORD Length;
BYTE         ID;
};

struct CMSG_BNLS_HASHDATA {
DWORD Size;
DWORD Flags;
void *Data;
DWORD ClientKey;
DWORD ServerKey;
};


0000   17 00 0b 03 00 6c 6f 6c 3f ab e7 4b fc 74 ba 85  .....lol?..K.t..
0010   cd cd cd cd cd cd fd                             .......


Length: 17 00
ID: 0b

Size: 03 00 // ends to early should be 2 more bytes here

And there should be another DWORD flags after it, not the string. Lemme look at the code.
#24
Pretty sure I got these right, and that really cleared some things up.

Registration Version     = 0x7264CFAB
Registration Authority   = 0xCCDDAB85
Account Number      = 0x940074CC
Registration Token           = 0x7634BB11
#25
Well I wasn't really lying, I know some stuff, just not everything. I'd say I was being in-accurate, and I'd appreciated you writing one yourself.
#26
You just going to sit there a laugh at me, or going to give me some reading to do?
#27
Ok fine you got me, I understand certain parts of memory, not everything. And I've learned a few things from the 15 pages of my 3 topics.

Do you have some specific reading on memory then?
#28
Like you said before you don't explain things well, and I do understand how memory is laid out. Don't assume things...
#29
Not really no.
#30
Yeah I don't know where you're going now.