I watched this video and was lightly inspired again to create an AI/ML Open Tibia Python client:
So yesterday night I started rewriting my 3+ years old client.py code in Cython to use my newest libraries written in C++ and fixed a serious bug with large packets not being buffered today.
Done so far:
* RSA encryption/decryption done in mixed C++
* XTEA encryption/decryption done in mixed C++
* Using my networkhandle written in C++
* Buffering large packets exceeding MSS
* Basics: connect N clients setting, ip setting, ports settings, RSA settings (p,q), account, password, send LS login packet -> store character data -> send GS login packet
Todo:
* Protocol codes
* Keeping track of items, map, creatures, containers and optionally chat windows/others in memory
* AI implementation that plays the game
* AI hivemind
Demo of my client.pyx attached.
View attachment 2024-07-27 05-27-30.mp4
So yesterday night I started rewriting my 3+ years old client.py code in Cython to use my newest libraries written in C++ and fixed a serious bug with large packets not being buffered today.
Done so far:
* RSA encryption/decryption done in mixed C++
* XTEA encryption/decryption done in mixed C++
* Using my networkhandle written in C++
* Buffering large packets exceeding MSS
* Basics: connect N clients setting, ip setting, ports settings, RSA settings (p,q), account, password, send LS login packet -> store character data -> send GS login packet
Todo:
* Protocol codes
* Keeping track of items, map, creatures, containers and optionally chat windows/others in memory
* AI implementation that plays the game
* AI hivemind
Demo of my client.pyx attached.
View attachment 2024-07-27 05-27-30.mp4
Last edited: