Jump to content

[11815]Fix sending custom GO animation


Guest stfx
 Share

Recommended Posts

What bug does the patch fix? What features does the patch add?

This patch fixes sending custom gameobject animation of gameobjects which have a time_to_restore = 0. Spoken with NoFantasy (author of original code) and he agrees as long as it doesnt cause side effects.

For which repository revision was the patch created?

[11811]

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

no

Who has been writing this patch? Please include either forum user names or email addresses.

Me

Patch: https://gist.github.com/1246280

Query to get the affected gameobjects:

SELECT entry, name, position_x, position_y, position_z, map from gameobject JOIN gameobject_template ON (gameobject.id = gameobject_template.entry) WHERE gameobject_template.type=10 AND gameobject_template.data4=1 AND gameobject_template.data3=0;

EDIT: According to Schmoozerd there are exactly the same GOs in wotlk db as well so it seems like it doesnt cause any side effects.

EDIT 2: Test results: http://pastebin.com/FVPXdAP3

Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use