Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
Packet.dll 8.6 pleace
Results 1 to 7 of 7

Thread: Packet.dll 8.6 pleace

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    10

    Exclamation Packet.dll 8.6 pleace

    Someone has a packet.dll to 8.6 ?
    If you like , put an example , I can not understand how it works or how can I make my.

  2. #2
    Junior Member
    Join Date
    May 2009
    Posts
    10
    Como faço pra enviar um comando pra andar pra frente? Por injection? Onde consigo as DLL pra enviar o comando?

  3. #3
    Senior Member
    Join Date
    Nov 2009
    Posts
    320
    @Portuguese:
    O que você está tentando fazer exatamente ? Vou ver aqui e tento te descolar essa dll e uns exemplos.
    Mas basicamente você tem 3 formas simples de fazer o character ir para algum dos lados, ou qualquer outra ação:

    1. Usando a packet.dll feito por algum usuário da tpforums (não me lembro) da respectiva versão e enviar o packet correto por um buffer.
    2. Injetando uma dll e chamando as funções internamente
    3. Mandando teclas para o cliente usando SendMessage/PostMessage da WindowsAPI

    Eu prefiro a 2a opção porque posso interagir com o cliente que não dá conflito de teclas/mouse, e não tem risco de enviar uma sequência incorreta de pacotes caso você não saiba exatamente o que você está fazendo.

    Por outro lado é uma forma bem mais difícil pois precisa de um conhecimento básico de engenharia reversa.
    Last edited by Devil; 03-04-2015 at 03:11 PM.
    oi amiguinhos

  4. #4
    Junior Member
    Join Date
    May 2009
    Posts
    10
    Aew, só sei fazer a 3ª opção que você me sugeriu, não jogo mais mas sempre fui curioso para conhecer como vocês mandavam pacotes ou utilizam as funções internamente

    - Se você tiver algum exemplo do código fonte de um "packet.dll" ficaria feliz(1ª opção). Tenho Tibia 7.6 e 8.6 pra realizar testes, mas tanto faz a versão.
    - A 2ª opção que você sugeriu é o "TibiaAPI.dll"? Se você tem algum exemplo em delphi também ficaria feliz. Aguardo sua resposta, valeu!
    Last edited by ismabvbbr; 03-09-2015 at 12:13 PM.

  5. #5
    Senior Member
    Join Date
    Nov 2009
    Posts
    320
    Declare it:
    Code:
    procedure SendPacket(ProcessID: Cardinal; Packet: Pointer); stdcall; external 'packet.dll';
    Example:
    Code:
    procedure Say(Text : String; Mode : Integer);
    var
      PacketBuffer: array [0..255] of byte;
    begin
      PacketBuffer [0]:= Byte (Length (Text) + 4);
      PacketBuffer [1]:= $00;
      PacketBuffer [2]:= $96;
      PacketBuffer [3]:= $00 + Mode; // Yell = 3; Whisper = 2; Say = 1;
      PacketBuffer [4]:= Byte (Length (Text));
      PacketBuffer [5]:= $00;
      CopyMemory (@PacketBuffer[6], @ Text [1], Length (Text));
      SendPackett(ProcessID, @PacketBuffer);
    end;
    But the best way is to create a class to create and manage your own packets (buffer.add8, buffer.add16, buffer.addStr, etc)
    Attached Files Attached Files
    Last edited by Devil; 03-09-2015 at 07:09 PM.
    oi amiguinhos

  6. #6
    Junior Member
    Join Date
    May 2009
    Posts
    10
    Thank you, this DLL worked perfectly, but can I ask you one more thing? Do you have the source of this DLL?

    I found some sources but I could never make it work like this.

    @Português
    Muito obrigado, essa DLL funcionou perfeitamente, mas posso te pedir mais uma coisa? Você tem a fonte dessa DLL?

    Eu achei algumas fontes mas nunca consegui fazer funcionar como essa.

  7. #7
    Junior Member
    Join Date
    Mar 2016
    Posts
    7
    nice nice nice nice nice very nice

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •