newsbot
26.05.2011, 17:20
автор: VladimirMangos
<pre>m src/game/GameObject.cpp
m src/game/Object.cpp
m src/game/Object.h
m src/game/SpellAuras.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11543] Fixed change form to same (powershifting)
Inspired by patch provided by darkstalker.
Client expected receive form field change at form switing including case with switch to same form.
In fact problem too good mangos optimization in part avoid send unchanged values in update fields.
* Added function Object::SendForcedObjectUpdate()
* It used in form apply code for make sure received by client non-form applied state in middle form shifting state.
* It also used for fishing code when client also expected received some update fields chnages before
animation update. New function send update to all all client instead before used code that send it to fishing player
and resend later one more time to other players and player itself as normal update.</pre>
Дальше... (https://github.com/mangos/mangos/commit/9b4dcbbc01d65dd9f39c35814025a70daba730e6)
<pre>m src/game/GameObject.cpp
m src/game/Object.cpp
m src/game/Object.h
m src/game/SpellAuras.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11543] Fixed change form to same (powershifting)
Inspired by patch provided by darkstalker.
Client expected receive form field change at form switing including case with switch to same form.
In fact problem too good mangos optimization in part avoid send unchanged values in update fields.
* Added function Object::SendForcedObjectUpdate()
* It used in form apply code for make sure received by client non-form applied state in middle form shifting state.
* It also used for fishing code when client also expected received some update fields chnages before
animation update. New function send update to all all client instead before used code that send it to fishing player
and resend later one more time to other players and player itself as normal update.</pre>
Дальше... (https://github.com/mangos/mangos/commit/9b4dcbbc01d65dd9f39c35814025a70daba730e6)