Jump to content

[Share]Targeting the attacker automaticly


l2extasy

Recommended Posts

I saw on a site, not sure if it was maxbastards or not the following : "targeting the attacker (mob/player) automaticly". Atm it doesn't seem to much, but many l2j svs don't have full geodata, thus being possible to shoot throw walls, so having this would be a great deal instead of needing to write /target ... (till then, u're dead). Can some1 post a link for this, i'm sure some1 has it, or knows about it.  ;)  ::) thnks

Link to comment
Share on other sites

There is a hlapex script that seems to autotarget but i'm not sure if it works...

 

var

Attacker, CharID, ObjectID, SocialID, Status: Integer;

 

procedure TargetAttacker(Attacker: Integer);

  begin

   buf:=#$04;

   WriteD(Attacker);

   SendToServer;

  end;

 

begin

  if FromServer and (pck[1]=#$04) then

    CharID:=ReadD(18);

  if FromClient and (pck[1]=#$1B) then

    begin

      SocialID:=ReadD(2);

      case SocialID of

      6:Status:=1;

      5:Status:=0;

      end;

    end;

  if Status=1 then

    begin

      if FromServer and ((pck[1]=#$48) or (pck[1]=#$05)) then

        begin

          Attacker:=ReadD(2);

          ObjectID:=ReadD(6);

        end;

        if (Attacker<>ObjectID) and (CharID=ObjectID) then TargetAttacker(Attacker);

    end;

end.

 

I think to enable it you must press social action YES and to disable it press social action NO...

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...