Animation + pause
#1

Please take a look here, since my thread doesn't really get attention, I suppose I will post this in the Bug Reports board.

https://sampforum.blast.hk/showthread.php?tid=421644
Reply
#2

Are you using the forcesync param in ApplyAnimation?
Reply
#3

Yes, I have also disabled it, it still occured.
Force sync is something else though. That is if the player himself is doing an animation, while he is paused.
This is the opposite, someone else is doing an animation and the player is just pausing, doing nothing.
Reply
#4

Is this dependent on the amount of NPCs where you use ApplyAnimation for? I've got one NPC in my server which sometimes uses ApplyAnimation, but thus far I haven't noticed any problems. I'll check in a minute if I can cause it to crash.

Edit: Nope, no crash and no warning. But in my case the player himself was in an anim too. If I've got the time, I'll try to test it again with some friends somewhere in the upcoming days. (Probably the weekend.)
Reply
#5

That'd be great. Yes, with one person it wouldn't cause a problem.

Perhaps you could get yourself about 10 people, that it would crash for sure.
I don't have 10 people who can test that together with me.

It'd be nice if you could test 2 cases: everyone except you doing an animation in a loop (activated once, without a timer).
And one case with which you reactive the animation for everyone at 1 moment (by using a timer). Make sure you are paused when they are doing the anim. Then wait 10 sec.
Reply
#6

I don't have much time to test it a lot and I'm not sure if I can get 10 people to test. :P I'll try my best.

Edit 26th of March: Weekend ended two days ago, woops! Anyway, we couldn't test it due to problems with the host. (We couldn't access the server at all.) Maybe next weekend.
Reply
#7

I've tested it!
When I just loop the animation, without resetting them, I don't crash while pausing.
But when I reset the animations each second of the npcs, and I pause, I do crash...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)