Вернуться   CoderX :: Forums > Lineage II > L2PacketHack
Войти через OpenID

L2PacketHack Форум программы L2PacketHack, всё что с ней связано находится тут.
Правила раздела! Обсуждение багов Lineage ЗАПРЕЩЕНО!

Чат (Новых сообщений с момента вашего последнего визита нет)
Загрузка...
Задавайте ваши вопросы на форуме. Чат предназначен для небольших разговоров.
 
Ответ
 
Опции темы Опции просмотра
Старый 11.05.2009, 14:59   #21
Новичок
 
Регистрация: 09.05.2009
Сообщений: 16
Сказал Спасибо: 1
Имеет 0 спасибок в 0 сообщенях
Horus пока неопределено
По умолчанию

Цитата:
Сообщение от alexteam Посмотреть сообщение
if you got questions - post it here.
Alright then.
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?
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.
Horus вне форума   Ответить с цитированием
Старый 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 вне форума   Ответить с цитированием
Старый 11.05.2009, 16:29   #23
Новичок
 
Регистрация: 09.05.2009
Сообщений: 16
Сказал Спасибо: 1
Имеет 0 спасибок в 0 сообщенях
Horus пока неопределено
По умолчанию

Цитата:
Сообщение от alexteam Посмотреть сообщение
sendtoserverex/sendtoclientex

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
Ya smth like that. Yuck this is ugly you should have used java .
Anyway I suppose the pck[1] means the first packet in the packet array that was obtained from the client ? What does te #$48 stand for?
And is there any place where I can check the PHX 's Script Syntax and available methods,etc ?
Horus вне форума   Ответить с цитированием
Старый 11.05.2009, 17:44   #24
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

each time when ph recive packet from client/server script betwen "begin" and "end." executes.
be4 executing ph sets next global script variables.
var pck: string; - current packet. you can modify or simple drop it (pck := '';)
you can read values from it by calling readX functions.
also pck[1] means 1st char in string (string = array of char).
pck[1] = id of packet
#$48 (char with 48 scancode in hex) = #72 (char with 72 scancode dec) = chr(72) = id of ValidatePosition packet

const fromserver, fromclient :boolean; //dirrection of current packet (true/false)
const ConnectName :string; //name of the connection (character name)
const ConnectID : integer; //id of connection.

var buf:string; as default its contain zerro string.
this variable contains writeX function result.
it's will be sended to client/server by calling sendto functions.

there a thread in the forum about build in ph functions. (its in russian)
also. you can see it by pressink ctrl+space in code editor.
__________________
L2Ext - project closed.

Последний раз редактировалось alexteam, 11.05.2009 в 18:08.
alexteam вне форума   Ответить с цитированием
Старый 11.05.2009, 18:42   #25
Новичок
 
Регистрация: 09.05.2009
Сообщений: 16
Сказал Спасибо: 1
Имеет 0 спасибок в 0 сообщенях
Horus пока неопределено
По умолчанию

Right sounds tricky but I'll give it a try.
Last question for the time being:
- Can I send a packet to a specific client WITHOUT having to make a Script ? e.g. I get the packet, copy it to the packet send window and send it to a specific client ?
Horus вне форума   Ответить с цитированием
Старый 11.05.2009, 19:33   #26
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

"Packet send" tab of connection.
dont 4get set correct dirrection of packet :X
__________________
L2Ext - project closed.
alexteam вне форума   Ответить с цитированием
Старый 11.05.2009, 19:47   #27
Новичок
 
Регистрация: 09.05.2009
Сообщений: 16
Сказал Спасибо: 1
Имеет 0 спасибок в 0 сообщенях
Horus пока неопределено
По умолчанию

Цитата:
Сообщение от alexteam Посмотреть сообщение
"Packet send" tab of connection.
dont 4get set correct dirrection of packet :X
That only allows to send to the Server or MY Client. I want to send it from MY Client to ANOTHER Client ^^ isn't it possible without making a script ?
Horus вне форума   Ответить с цитированием
Старый 11.05.2009, 20:10   #28
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

mm. scripts/plugins only. and.. both of clients must be connected trowth same exemplar of ph.
__________________
L2Ext - project closed.
alexteam вне форума   Ответить с цитированием
Старый 11.05.2009, 20:20   #29
Новичок
 
Регистрация: 09.05.2009
Сообщений: 16
Сказал Спасибо: 1
Имеет 0 спасибок в 0 сообщенях
Horus пока неопределено
По умолчанию

Цитата:
Сообщение от alexteam Посмотреть сообщение
mm. scripts/plugins only. and.. both of clients must be connected trowth same exemplar of ph.
Damn, then I cant do what I wanted ^^ oh well ty anyway
Horus вне форума   Ответить с цитированием
Старый 11.05.2009, 20:22   #30
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

anyway you can make plugin what allow to sending data betwen different copyes of l2ph XD
party chat/social actions/anything what can see another client
__________________
L2Ext - project closed.
alexteam вне форума   Ответить с цитированием
Ответ

  CoderX :: Forums > Lineage II > L2PacketHack



Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.


Часовой пояс GMT +4, время: 22:49.

vBulletin style designed by MSC Team.
Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Locations of visitors to this page
Rambler's Top100

Вы хотите чувствовать себя в безопасности? чоп Белган обеспечит её!