wilibald09
-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by wilibald09
-
-
What bug does the patch fix? What features does the patch add?
Recently, I noticed that there's a problem with gameobjects castbarcaption localization.
For which repository revision was the patch created?
Any compatible with 3.0.9 version.
Who has been writing this patch?
Wilibald09
Patch :
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 135270f..7275a85 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -5303,7 +5303,7 @@ void ObjectMgr::LoadGameObjectLocales() std::string str = fields[i].GetCppString(); if(!str.empty()) { - int idx = GetOrNewIndexForLocale(LocaleConstant(i)); + int idx = GetOrNewIndexForLocale(LocaleConstant(i % MAX_LOCALE + 1)); if(idx >= 0) { if(data.CastBarCaption.size() <= idx)
Have a good day.
-
Index: src/shared/Database/SQLStorage.cpp =================================================================== --- src/shared/Database/SQLStorage.cpp (révision 6325) +++ src/shared/Database/SQLStorage.cpp (copie de travail) @@ -27,7 +27,7 @@ extern DatabaseMysql WorldDatabase; #endif -const char CreatureInfofmt[]="iiiiisssiiiiiiiiiiffiffiiiiiiiiiiiffiiliiiiiiiiiiiiiiiiisiilliiis"; +const char CreatureInfofmt[]="iiiiisssiiiiiiiiiiffiffiiiiiiiiiiiffiiiiiiiiiiiiiiiiiiisiilliiis"; const char CreatureDataAddonInfofmt[]="iiiiiiis"; const char CreatureModelfmt[]="iffbi"; const char CreatureInfoAddonInfofmt[]="iiiiiiis";
EDIT :
Fix in rev 6326 .
You can delete my topic.
[fixed] Cant see any player on Rev 9723
in OldBug reports
Posted
I can confirm with the same revision :-/.