Цитата:
Is it possible to use PHX to send packets to a SPECIFIC client ? e.g. my char's name is iSpoil and the other one is iPwn. I can send a packet from iSpoil directly to iPwn?
|
sendtoserverex/sendtoclientex
Цитата:
Second, is PHX prepared to automatically get info from one packet and use it on another forged one? e.g. retrieving the objectid from InventoryUpdate and use it in another packet.
|
automaticaly? what you mean?
there no buildin parsers. you must 'read' objid from packet. remember it and only then use it.
for example : peace of the code from
this topick
will remember current character position
delphi Код:
var
MyX, MyY, MyZ : integer;
begin
if (ConnectName = 'MyCharName') and FromClient then
case pck[1] of
#$48: begin //ValidatePosition:d(X)d(Y)d(Z)d(Heading)d(Data)
MyX:= ReadD(2); //read d(4 bytes). offset 2. (offsets: 1-packettype=pck[1], 2 - x, 6 - y, 10 - z, look on comment below)
MyY:= ReadD(6);
MyZ:= ReadD(10);
end;
end;
end.
Добавлено через 4 минуты
also.
3 (spoil-"bot") and 7(autouse hp poitions) scripts.
http://coderx.ru/showthread.php?t=14