edubart / otclient

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
Other
648 stars 399 forks source link

Dat Outfit Group Flag #852

Open Riverlance opened 7 years ago

Riverlance commented 7 years ago

Before creating an issue, please ensure:

Steps to reproduce (include any configuration/script required to reproduce)

  1. Select the outfit 724/725 (Evoker) and use the bat addon. image

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:

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.

JavierP commented 7 years ago

Any update on this?