An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Steps to reproduce (include any configuration/script required to reproduce)
Select the outfit 724/725 (Evoker) and use the bat addon.
Expected behaviour
The outfit should be reproducing the idle/stand animation.
Actual behaviour
The outfit is not reproducing any animation when is idle/stand.
Also, maybe for this reason, the walking animation is not using the correct sprites.
Environment
Protocol 10.99 with latest OTClient.
More informations
I don't know exactly when the Tibia added the group animation flag on the dat, but it works like this:
You can have 2 groups of animations: 1. Idle/Stand and the 2. Walking.
You can set different values of width, height, crop size, layers, X, Y, Z and animations count for each one animation group. It means I could do like the Evoker outfit: make the bat animated while stand, for example, with maybe like 10 animations and size like 3x3 and, on the walking animation, with just 4 animations and size like 2x2.
Also, I tried to use the outfits 24 (Minotaur Archer), 81 (Cobra), 274 (Squirrel) outfits. Which each one have the idle animation with size 1x1 of sqm and animation 1, but on the group 2 (animated) they all have sizes 2x2 of sqms and more than 1 animation. On the game it crashes when these outfits moves.
I reported this once here ( https://github.com/edubart/otclient/issues/813 ), but I found a "fix" just setting the idle/stand animation size to 1x1 and filling the sprites correctly with this new size. It didn't crashed anymore until today. But... this is not a fix, right? The group flag is not working properly as it should, I think.
Before creating an issue, please ensure:
Steps to reproduce (include any configuration/script required to reproduce)
Expected behaviour
The outfit should be reproducing the idle/stand animation.
Actual behaviour
The outfit is not reproducing any animation when is idle/stand. Also, maybe for this reason, the walking animation is not using the correct sprites.
Environment
Protocol 10.99 with latest OTClient.
More informations
I don't know exactly when the Tibia added the group animation flag on the dat, but it works like this: