Показать сообщение отдельно
Старый 11.05.2009, 15:24   #22
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

Цитата:
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
__________________
L2Ext - project closed.

Последний раз редактировалось alexteam, 11.05.2009 в 15:30. Причина: Добавлено сообщение
alexteam вне форума   Ответить с цитированием