well, you should put 1 instead of 2 in securityQuote:
Huh, buffs dont want to work ... :S
I use this method to get "AppendWord2()" :Code:[C -> S][7074] 01 04 14 05 00 00 00
For 14050000 i got 1300 and put it in AppendWord2()Code:#include <string.au3> Global $sBuffer, $rBuffer Global $iSize, $iIndex MsgBox(0,"",Dec(ReverseHex("14050000"))) Func ReverseHex($sString) Local $sTemp, $i For $i = StringLen($sString) +1 To 1 Step -2 $sTemp &= StringMid($sString, $i, 2) Next Return $sTemp EndFunc ;==>ReverseHex
So, this is the final :
Was I wrong somewhere ? :confused:Code:AppendOpCode2(0x7074) AppendSecurity2(2) AppendByte2(1) AppendByte2(4) AppendWord2(1300) AppendByte2(0)
look : 0100 (1) = C->S
0200 (2) = S->C
0300 (3) = C->S (Encrypted)
0400 (4) = S->C (Encrypted)