Author | Message | Time |
---|---|---|
GoSuGaMING | [code] Private Sub cmdUpgradeEXP_Click() Dim strCharacter As String strCharacter = Left(LVCharacters.SelectedItem.text, Int(InStr(LVCharacters.SelectedItem.text, " ") - 1)) With PBuffer .InsertNTString strCharacter .SendPacket &H18 End With End Sub [/code] it definently ipbans me ;/ any idea? | July 9, 2004, 9:07 PM |
LoRd | Assuming that by 0x18 you mean MCP_CHARUPGRADE and that SendPacket() sends a packet to BNCS, why the hell are you sending an MCP packet to BNCS? | July 9, 2004, 9:11 PM |
GoSuGaMING | [quote author=LoRd[nK] link=board=17;threadid=7636;start=0#msg69434 date=1089407519] Assuming that by 0x18 you mean MCP_CHARUPGRADE and that SendPacket() sends a packet to BNCS, why the hell are you sending an MCP packet to BNCS? [/quote] Why do I not get a responce back? | July 9, 2004, 9:25 PM |
ChR0NiC | I just packet logged the CHARUPGRADE [code] 1 192.168.1.100:1406 63.241.83.18:6112 19 Send 0000 13 00 18 64 66 64 6C 6B 6A 68 66 65 77 70 69 68 ...dfdlkjhfewpih 0010 6A 65 00 je. 2 63.241.83.18:6112 192.168.1.100:1406 7 Recv 0000 07 00 18 00 00 00 00 ....... [/code] And it looks like it sends the MCP Packet 0x13. Which contains only a null terminated string, which is the characters name. Sorry about the sloppyness of the character's name but I just did it quickly. MCP_CHARUPGRADE [0x13] [STRING] Character's Name Edit: Looks like the response to is MCP is [0x7] being MCP_CHARLOGON, they seem to just have sent a DWORD &H0. Being that...it probably means, character upgrade success!! | July 9, 2004, 10:54 PM |
kamakazie | [quote author=ChR0NiC link=board=17;threadid=7636;start=0#msg69444 date=1089413648] I just packet logged the CHARUPGRADE [code] 1 192.168.1.100:1406 63.241.83.18:6112 19 Send 0000 13 00 18 64 66 64 6C 6B 6A 68 66 65 77 70 69 68 ...dfdlkjhfewpih 0010 6A 65 00 je. 2 63.241.83.18:6112 192.168.1.100:1406 7 Recv 0000 07 00 18 00 00 00 00 ....... [/code] And it looks like it sends the MCP Packet 0x13. Which contains only a null terminated string, which is the characters name. Sorry about the sloppyness of the character's name but I just did it quickly. MCP_CHARUPGRADE [0x13] [STRING] Character's Name Edit: Looks like the response to is MCP is [0x7] being MCP_CHARLOGON, they seem to just have sent a DWORD &H0. Being that...it probably means, character upgrade success!! [/quote] The MCP packet header is as follows: (WORD) Length (BYTE) Message Id Therefore, the message id of that packet and the response is 0x18, not 0x13. | July 9, 2004, 11:29 PM |
ChR0NiC | LOL I can't believe I got so mixed up like that...... [quote] MCP Headers MCP stands for Master Control Program. Battle.net's MCP servers are what control Diablo II's realms. MCP packet headers are also always the same, albeit slightly different from BNCS's: (WORD) Packet length, including this header (BYTE) Packet ID (VOID) Packet Data [/quote] I am embarrassed.... But yes, the packet would be MCP_CHARUPGRADE [0x18] Sorry for any confusion I may have caused. Edit: I request the post be stricken from the record and to be therefore unexsistent. :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[ I can't believe I made that mistake | July 10, 2004, 1:38 AM |