Berrr Posted February 27, 2008 Posted February 27, 2008 i tried today to record some packets with l2phx, what exactly i did was buffing at clanhall buffer when i sent the packets in order what i needed manually, it was ok, i got ch buff but when i tried to make a script from that which catches /socialsomething, and executes it, it stopped to work begin if FromClient and (pck=HStr('1b 03 00 00 00')) then begin buf:=HStr('04 A9 9F 00 10 59 B4 01 00 69 59 03 00 AA F1 FF FF 00'); SendToServer; buf:=HStr('04 A9 9F 00 10 59 B4 01 00 69 59 03 00 AA F1 FF FF 00'); SendToServer; buf:=HStr('21 6E 00 70 00 63 00 5F 00 32 00 36 00 38 00 34 00 37 00 36 00 32 00 37 00 36 00 5F 00 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 00 00'); SendToServer; buf:=HStr('21 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 20 00 68 00 70 00 6D 00 70 00 00 00'); SendToServer; buf:=HStr('21 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 20 00 32 00 2E 00 68 00 74 00 6D 00 00 00'); SendToServer; pck:=''; end; end. where i did a misstake?
ADAL13 Posted February 27, 2008 Posted February 27, 2008 Well i don't know much about the L2Phx Syntax I prefer the WPC of Sauron it's easier. Try to put this: begin if FromClient and (pck=HStr('1b 03 00 00 00')) then begin buff:=HStr('04 A9 9F 00 10 59 B4 01 00 69 59 03 00 AA F1 FF FF 00'); SendToServer; buff:=HStr('04 A9 9F 00 10 59 B4 01 00 69 59 03 00 AA F1 FF FF 00'); SendToServer; buff:=HStr('21 6E 00 70 00 63 00 5F 00 32 00 36 00 38 00 34 00 37 00 36 00 32 00 37 00 36 00 5F 00 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 00 00'); SendToServer; buff:=HStr('21 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 20 00 68 00 70 00 6D 00 70 00 00 00'); SendToServer; buff:=HStr('21 51 00 75 00 65 00 73 00 74 00 20 00 39 00 39 00 39 00 39 00 5F 00 4E 00 50 00 43 00 42 00 75 00 66 00 66 00 65 00 72 00 20 00 32 00 2E 00 68 00 74 00 6D 00 00 00'); SendToServer; pck:=''; end; end. Or always you can use insert a var.
wakowako Posted April 11, 2008 Posted April 11, 2008 Well i don't know much about the L2Phx Syntax I prefer the WPC of Sauron it's easier. 1 Noob Question, Whats WPC?
barnaba Posted April 11, 2008 Posted April 11, 2008 1 Noob Question, Whats WPC? ...another Kind of sniffer...
Recommended Posts