• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Help trying to do GoEast & Autoloot packets

miguelshta

Member
Joined
Mar 21, 2009
Messages
351
Solutions
1
Reaction score
13
Location
Toronto, Canada
Im trying to create some utilities using jo3bingham/TibiaAPI as reference. im trying to simulate it on python with not sucess>

Python:
import socket

def send_go_east_packet(client_socket):
    try:
        packet_type = bytes([0x66])  # Replace with the actual packet type
        client_socket.send(packet_type)

        # Receive and print server response
        response = client_socket.recv(1024)
        print("Server Response:", response)
    except Exception as e:
        print(f"Error sending GoEast packet: {e}")

# Connect to Tibia server
server_address = ('172.65.228.249', 7171)  # Replace with the actual server IP and port

try:
    print("Connecting to Tibia server...")
    client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    client_socket.connect(server_address)
    
    print("Sending GoEast packet...")
    send_go_east_packet(client_socket)

except Exception as e:
    print(f"Error: {e}")

finally:
    print("Closing the connection...")
    client_socket.close()

the intention of this script is create a movement utility like diagonal keys to send movements packets.

and the another one is to autoloot highlighted loot around the character without messing with the mouse movements.>
Loot_Effect.gif
 
Back
Top