Jump to content

help invisibilty exploit


Recommended Posts

Ipirxe kapote ena script gia to phx vsk akoma iparxei alla dn douleuei ;)

//Invisible Mode

var

  pck48:string;

  hidden:boolean;

  i,x,y:integer;

 

procedure Init;

begin

  hidden:=false;

  pck48:='';

  randomize;

end;

 

procedure SendMsg(msg:string);

begin

  buf:=#$4A;

  WriteD(0);

  WriteD(2);

  WriteS('hLaPEx');

  WriteS(msg);

  SendToClient;

end;

 

begin

  if FromServer then exit;

  case ord(pck[1]) of

    $1B:case ord(pck[2]) of

      $05:begin

        SendMsg('invisible_mode: Off');

        pck:=#$30;

        hidden:=false;

      end;

      $06:begin

        if pck48='' then exit;

        SendMsg('invisible_mode: On');

        hidden:=true;

        pck:=pck48;

        i:=2;

        x:=ReadD(i);

        y:=ReadD(i);

        x:=x+1000+round(random*200)-100;

        y:=y+1000+round(random*200)-100;

        buf:=pck;

        WriteD(x,2);

        WriteD(y,6);

        pck:=buf;

      end;

    end;

    $48:pck48:=pck;

    $30:if hidden then pck:='';

  end;

end.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock