Pelo que o Fire Onix1 me disse voce tem que usar Proxy ou HookProxy, mas não consegui com nenhum dos dois...poruqe esssa função nao esta funcionado no PokemonAPI e não sei como arrumar. Mas acho que a mais facil. seia algo do tipo:
Code:
using Tibia.Objects;
using Tibia.Packets;
using Tibia.Packets.Outgoing;
class Program
{
static void Main(string[] args)
{
Client client = Client.GetClients()[0];
client.IO.StartProxy();
client.IO.Proxy.ReceivedPlayerSpeechOutgoingPacket += delegate(OutgoingPacket packet)
{
PlayerSpeechPacket p = (PlayerSpeechPacket)packet;
if (p.Message.StartsWith("/"))
{
System.Console.WriteLine("Command: " + p.Message.Substring(1));
return false; // Don't send to the server
}
return true;
};
System.Console.ReadLine();
}
}
no lugar de Tibia usa Pokemon, e muda o ReceivedPlayerSpeechOutgoingPacket para magiceffect... mas por causa dos ip do pokemon que é diferente não ta funcionando...postei no forum mas ninguem me respondeu. =/
Originally Posted by
Seatzz
Do you know how to identify the bubbles to pull the fishing rod up (Pokexgames)? I saw you let a comment in this part of the code...
Anyway, Thank you!
__________________________________________________ _________
Você sabe se tem alguma forma de identificar o efeito das bolhas para puxar a vara? Vi que você deixou um comentário nesse trecho de código haha
De qualquer forma, muito obrigado amigo!