Source
Veteran OT User
So I watched this video and was lightly inspired again to create an AI/ML Open Tibia Python client:
So about 4 weeks ago 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 within the first 3 days.
Here's what I did the first 3 days:
Todo:
Since then I've added the following over the last 3 weeks:
The idea of the project is to create a CLI based multi-account multi-player (simultaneous, like a magebot) AI/ML/NN agent that plays Open Tibia using reinforcement learning (RL).
Only protocol version currently supported: v7.70.
Timeline: I should be at least halfway now, so got about <4 weeks left hopefully until the CLI client itself is more or less finished, at which point it's time to try to work on adding the AI agent.
No source, no github link, just a discussion thread
I will likely be livestreaming maybe the development of this client, but more importantly the implementation of the AI/ML/NN on Twitch/Youtube at
pretty soon, so stay tuned if you're interested.
Here's the latest video that demonstrates the progress with the client so far:
Cheers, Source.
So about 4 weeks ago 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 within the first 3 days.
Here's what I did the first 3 days:
- 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
Since then I've added the following over the last 3 weeks:
- Added all protocolSend functions
- Added all protocolParse functions
- Store, map, and clear tiles incl. rewriting a lot of world (tile) code
- Keep track of creatures and move and delete creatures and items on and around map
- Recursively loop through all packet data (rewrote packet header parsing system) and multiple packet fragments when combined
- Many minor changes and improvements
- Added !dance, walk and !rainbow commands + onReady message
The idea of the project is to create a CLI based multi-account multi-player (simultaneous, like a magebot) AI/ML/NN agent that plays Open Tibia using reinforcement learning (RL).
Only protocol version currently supported: v7.70.
Timeline: I should be at least halfway now, so got about <4 weeks left hopefully until the CLI client itself is more or less finished, at which point it's time to try to work on adding the AI agent.
No source, no github link, just a discussion thread
I will likely be livestreaming maybe the development of this client, but more importantly the implementation of the AI/ML/NN on Twitch/Youtube at
Here's the latest video that demonstrates the progress with the client so far:
Cheers, Source.