Vice City Multiplayer
VC:MP 0.4 (Beta) => Bugs and Crashes => Topic started by: Flockshot on October 09, 2014, 03:44:21 pm
-
Description:
Player have walking animation when driving pcj(dont know of other vehicles) without turning or stopping(without using right,left,down key).
Reproducible:
Always
What you were doing when the bug happened:
I just got freeze on pcj and then unfreeze.(Picked up a robbing pickup in vccnr)
What you think caused the bug:
Bad sync
Screenshot:
(http://i1348.photobucket.com/albums/p730/msomaan/Screenshot15_zps22b733eb.png) (http://s1348.photobucket.com/user/msomaan/media/Screenshot15_zps22b733eb.png.html)
(http://i1348.photobucket.com/albums/p730/msomaan/Screenshot17_zpse20e6870.png) (http://s1348.photobucket.com/user/msomaan/media/Screenshot17_zpse20e6870.png.html)
-
Yes, it happened to me too, many times.
I think that can easily be avoid by calling this line after a player robbs a shop:
player.SetAnim(0,29);
The animation ID 29 of group 0 is the one that removes any animation you have set. (and not anim ID 0 from group 0)
At least it stopped all animations I have tried.
Anyway, I noticed that: when a player is frozen when starts to rob something, then setting the anim 0 group 0 after/before unfreezing it, will cause a loop for that animation.
So... I think if the owner will unfreeze the player before (or after, depends on how he used it) setting the animation, it will work fine, without a loop, so the bug will not happen anymore.