Проверено и работает на серверах с плохой geodata и 100% на l2jfree паках
Мини гайд
1.поместите ваше имя в скрипт
2. Когда умрёте выберите себя и нажмите в город
3. юзаните скил
4. БАМС! вы реснулись и вы невидимы
Код:
//put your name in name field check the script.
//when y die target your self and press To Village.
//use one skill .
//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
const
//======================================
Name='TiaRa120'; //<-----??? ?????????
//======================================
var
a:integer;x:integer;MyID:string;
y:integer;z:integer;
b:boolean;ValidatePosition:string;
procedure Init; //?????????? ??? ????????? ??????
begin
SendMsc('?????? ???? ? ??????'); //????????? ?????????
b:=false; //??????? b ????????????? False
end;
procedure SendMsc(msc:string);
begin
buf:=#$4A;
WriteD(0);
WriteD(10);
WriteS('');
WriteS(msc);
SendToClient;
end;
begin
//???????? ?????? ??????
if pck='' then exit;
//???? ??? ?????????? Name
//? ????? Action ?? ??????? ??
if FromClient and (ConnectName=Name) and (pck[1]=#$04) then
begin
//????????? ??? ?????? ??
MyID:= pck[2]+pck[3]+pck[4]+pck[5];
a:=ReadD(2); x:=ReadD(6); //?????? ? ?????????? ??????
y:=ReadD(10); z:=ReadD(14);
SendMsc('??? ?????? ?????????!'); //????????? ? ??? ??? ??? ?????? ???????
b:=true;
end;
begin
if pck='' then exit; //?? ?????? ?????? ??????
//???? ?? ??????? ????? RequestRestartPoint
//?????????? ValidatePosition ?? revive
//???????? ??????? TeleportToLocation
if FromClient and (ConnectName=Name) and (pck=hstr('6D 00 00 00 00')) then
if FromClient and (ConnectName=Name) and (pck[1]=#$48) then ValidatePosition:=pck;
if FromServer and (ConnectName=Name) and (pck[1]=#$28) and (MyID= pck[2]+pck[3]+pck[4]+pck[5]) then
begin
pck:=''; //??????? ??????????? ?????
buf:=ValidatePosition; //???????? ValidatePosition
SendToServerEX(Name);
buf:=#$28;
WriteD(A); //Obj.ID
WriteD(X); //Coord.X
WriteD(Y); //Coord.Y
WriteD(Z); //Coord.Z
SendtoclientEX(Name);
buf:=ValidatePosition; //???????? ValidatePosition
SendToServerEX(Name);
end;
end;
end.
Видео с L2Deathwhisper:[Ссылки могут видеть только зарегистрированные пользователи. ]
__________________