Jump to content

Recommended Posts

Posted

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

Guest TheVortex
Posted

lmao...i think it's sth like that %target

Posted

I dont think %target would help.

I see it mostly used for like:

"Everyone attack %target!" to get people to assist more.

 

To target someone wallshooting you, i dont think there is an auto-target.

Posted

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

 

  Quote
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...

 

Posted
  On 1/16/2007 at 3:53 AM, kostas_8 said:

it is in written in pascal. Also all hlapex scripts are written in pascal.

intresting... i thought that all scripts were writen in Java... Thx for the info...
Guest
This topic is now closed to further replies.
×
×
  • Create New...