• Welcome to Valhalla Legends Archive.
 

Plugin icon

Started by TeEhEiMaN, October 30, 2003, 02:49 PM

Previous topic - Next topic

UserLoser

IMO, you shouldn't always assume that it's going to be "tenb", you should bind a UDP socket, and get the actual code :)

Freeware

Quote from: UserLoser on November 01, 2003, 11:16 AM
IMO, you shouldn't always assume that it's going to be "tenb", you should bind a UDP socket, and get the actual code :)

Well for this case he WANTs a plugin icon, so he wouldnt have to send anything at all...

Skywing

#17
Quote from: Adron on October 31, 2003, 10:29 AM
How do you know if they are DWORD's or byte arrays?
I know that Blizzard uses Visual C++, that the Battle.net programmers have historically tended to cut corners to do stuff quickly, and that it's easy to declare such things as DWORDs when using cl.exe.

Freeware

Quote from: Skywing on November 01, 2003, 12:45 PM
Quote from: Adron on October 31, 2003, 10:29 AM
How do you know if they are DWORD's or byte arrays?
I know that Blizzard uses Visual C++, that the Battle.net programmers have historically tended to cut corners to do stuff quickly, and that it's easy to declare such things as DWORDs when using cl.exe.

Windows Itself uses Dwords in storing data - hint: registry

Skywing

Quote from: Freeware on November 01, 2003, 03:18 PM
Quote from: Skywing on November 01, 2003, 12:45 PM
Quote from: Adron on October 31, 2003, 10:29 AM
How do you know if they are DWORD's or byte arrays?
I know that Blizzard uses Visual C++, that the Battle.net programmers have historically tended to cut corners to do stuff quickly, and that it's easy to declare such things as DWORDs when using cl.exe.

Windows Itself uses Dwords in storing data - hint: registry
Your statement is fairly meaningless.  For instance, you can have binary values (byte arrays) in the registry.

Freeware

Quote from: Skywing on November 01, 2003, 04:05 PM
Quote from: Freeware on November 01, 2003, 03:18 PM
Quote from: Skywing on November 01, 2003, 12:45 PM
Quote from: Adron on October 31, 2003, 10:29 AM
How do you know if they are DWORD's or byte arrays?
I know that Blizzard uses Visual C++, that the Battle.net programmers have historically tended to cut corners to do stuff quickly, and that it's easy to declare such things as DWORDs when using cl.exe.

Windows Itself uses Dwords in storing data - hint: registry
Your statement is fairly meaningless.  For instance, you can have binary values (byte arrays) in the registry.

I didnt say that all windows does is use dwords, i just said they do use them.

Skywing

Quote from: Freeware on November 01, 2003, 04:58 PM
Quote from: Skywing on November 01, 2003, 04:05 PM
Quote from: Freeware on November 01, 2003, 03:18 PM
Quote from: Skywing on November 01, 2003, 12:45 PM
Quote from: Adron on October 31, 2003, 10:29 AM
How do you know if they are DWORD's or byte arrays?
I know that Blizzard uses Visual C++, that the Battle.net programmers have historically tended to cut corners to do stuff quickly, and that it's easy to declare such things as DWORDs when using cl.exe.

Windows Itself uses Dwords in storing data - hint: registry
Your statement is fairly meaningless.  For instance, you can have binary values (byte arrays) in the registry.

I didnt say that all windows does is use dwords, i just said they do use them.

So, we've established that the registry supports DWORDs and byte arrays.  Once again, I don't see how this is at all relevant to the discussion in this thread.

Adron

I'd say we can believe that it's a DWORD, but not be sure ;)

Skywing

#23
Quote from: Adron on November 01, 2003, 08:24 PM
I'd say we can believe that it's a DWORD, but not be sure ;)
Actually, code in battle.snp prints it out as a doubleword.

"req.programId             = 0x%08X"

(Debug information printing out the contents of a sent SID_AUTH_INFO message).

So, it's fairly reasonable to assume that it's supposed to be treated as a doubleword.