otclient icon indicating copy to clipboard operation
otclient copied to clipboard

10.50 support.

Open HeavenIsLost opened this issue 10 years ago • 5 comments

Dat format has changed, now its has better animation support. Any planing to how support this on OTClient?

if (DatObject.Phases > 1) //if there is more than 1 phase, the object is animated { DatObject.isAnimation = true; reader.ReadByte(); //animation type (either 0 for asynchronous or 1 for synchronous) reader.ReadInt32(); //loop count (basically, if loop count is > 0 then a loop animation is used. if loop count is < 0 a ping-pong animation is used. hence the use of readint32 and not readuint32 reader.ReadByte(); //start phase (just tells the client which phase to start the animation at) for (int i = 0; i < DatObject.Phases; i++) //loop through each phase and get it's frame duration { reader.ReadUInt32();//minimum duration reader.ReadUInt32();//maximum duration } }

HeavenIsLost avatar Jul 22 '14 17:07 HeavenIsLost

And is 10.50 support even planned for addition to OTClient?

djseban avatar Aug 02 '14 15:08 djseban

I have started on this, but might not have time to finish it just now. No server supports 1050 yet so its not a high priority for me.

Fee free to contribute to #549

BenDol avatar Aug 02 '14 18:08 BenDol

Animationz Animation without enhanced animations (just the phases)

BenDol avatar Aug 03 '14 13:08 BenDol

Nice to see a progress ;)

djseban avatar Aug 03 '14 14:08 djseban

https://github.com/edubart/otclient/commit/344146ba2dcc9d0fd5f1106a391ad567b050b86d

peonso avatar Jan 05 '19 05:01 peonso