raduprv / Eternal-Lands

http://www.eternal-lands.com
Other
158 stars 57 forks source link

Visual Bug on Gear when switched while ranging #65

Open pjbroad opened 5 years ago

pjbroad commented 5 years ago

Reported on the OL forums by SAWolf but effecting the EL client too:

"Basically you are walking around with bow and arrow equipped and you fire at an unsuspecting critter then switch gear either boots, pants, torso, helm, cape or medallion over to something else. None of the equipment changes show on the character until you either unequip one of the ranging items or take a step."

pjbroad commented 5 years ago

This may be because the aiming stance is counted as an animation and equip updates are not actioned during animations. A possible fix is to take the character out of aiming mode when equipping and unequipping items. ranging_gear_bug.txt

pjbroad commented 5 years ago

The suggested fix does not work when on horseback, when you dismount, the aim stance returns. Perhaps this needs to be a server side fix? If for example, you move with aiming, the server sends ADD_ACTOR_COMMAND with a value of leave_aim_mode (53). This is what I was doing client side, but the server need to change state too.