SA-MP Forums Archive
Animations bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Animations bug (/showthread.php?tid=589313)



Animations bug - Alpay0098 - 17.09.2015

Hi there,
I don't know that did you notice or not but when a player shows some animations like "SNM","SPANKINGW" or "SKATE","skate_sprint" or "SKATE","skate_run", players around can't see the animation of the actor.
I was wondering about the distance but I'm not sure about it.
It would be good that these animations starts showing for everyone around in any distance.
Free to say yours about my opinion.
Thanks SAMP Community


Re: Animations bug - Alex Magaсa - 17.09.2015

I believe they work i tested skate animation and works perfect. Even other players can see me skating.


Re: Animations bug - Alpay0098 - 17.09.2015

I don't know about your server's lag but In the server that I'm developing in it, It doesn't show regularly.
Anyway It's a bug and many people saw this.
And SAMP Developers should fix it.
This guy is doing "SKATE","skate_sprint"
Here is it : ("SKATE","skate_sprint") (Also he was behind me when started showing this animation)




EDIT: The player's ping was 57


Re: Animations bug - Sew_Sumi - 19.09.2015

It's got to be a script issue.


Re: Animations bug - Alpay0098 - 19.09.2015

How it can be?


Re: Animations bug - Padevex - 19.09.2015

Are you sure that the animation library is preloaded for the players?
I could show you how to do that once I'm home.


Re: Animations bug - Sew_Sumi - 19.09.2015

Quote:
Originally Posted by Padevex
View Post
Are you sure that the animation library is preloaded for the players?
I could show you how to do that once I'm home.
^^ This guy is on to it.


Re: Animations bug - Alpay0098 - 20.09.2015

Quote:
Originally Posted by Padevex
View Post
Are you sure that the animation library is preloaded for the players?
I could show you how to do that once I'm home.
Sorry I don't follow can you explain more?
What is library of animations ...


Re: Animations bug - Sew_Sumi - 20.09.2015

Paste up some ApplyAnimation lines to just look at something. Some that work, some that don't. The last variable in the function, is a "forcesync" which may be needed, after the preload is added.


This is what he's meaning by preloading.
Code:
PreloadAnimLib(playerid,"BOMBER");



Re: Animations bug - Padevex - 21.09.2015

Create an include file and put this in it. AnimationPreload.inc or something
http://pastebin.com/CwiF9J0E

At the top of your gamemode, include it.
#include <AnimationPreload.inc>
#include "AnimationPreload.inc"
depending on where you have it saved.

Then, under OnPlayerConnect, put:
preloadAnimations(playerid);


That should preload the animations.


Re: Animations bug - Sew_Sumi - 21.09.2015

You should only preload what is needed, and what you are needing.

Another side of this is that ApplyAnimation actually has a ForceSync option, which also needs looking at.


Re: Animations bug - Alpay0098 - 22.09.2015

It can be better if SAMP load preload include in SAMP Library of clients. (as default)


Re: Animations bug - Sew_Sumi - 22.09.2015

Quote:
Originally Posted by Alpay0098
View Post
It can be better if SAMP load preload include in SAMP Library of clients. (as default)
Not necessarily... By having them able to be selectively preloaded, you can avoid loading which ones you don't want.

It wouldn't be better, it would simply be "Easier" for you, yet it's not an issue, if you read the documentation.


Re: Animations bug - Alpay0098 - 23.09.2015

Quote:
Originally Posted by Sew_Sumi
View Post
Not necessarily... By having them able to be selectively preloaded, you can avoid loading which ones you don't want.

It wouldn't be better, it would simply be "Easier" for you, yet it's not an issue, if you read the documentation.
I agree it's not bug but It's absolutely an issue and should get solved ASAP.
Also thanks for your following up, now please let Developers answer.


Re: Animations bug - Sew_Sumi - 23.09.2015

Quote:
Originally Posted by Alpay0098
View Post
I agree it's not bug but It's absolutely an issue and should get solved ASAP.
Also thanks for your following up, now please let Developers answer.
It's not a bug.

It never has been a bug.

No need for the devs to answer, really now is there...


Re: Animations bug - GenGasTic - 28.03.2017

if you re--type the same animation, it will work, example:

you type /dance once, but now a friend teleported to you and you arent dancing to him , so if you type /dance again, the animation will be refreshed and all around you will see it


Re: Animations bug - Betass - 31.03.2017

Quote:
Originally Posted by GenGasTic
View Post
if you re--type the same animation, it will work, example:

you type /dance once, but now a friend teleported to you and you arent dancing to him , so if you type /dance again, the animation will be refreshed and all around you will see it
Try

#include <fixes>

at the start of your animation script. It contains some more fixes that I don't really know. If you open that include file with notepad, you can see the list of fixes it has.