

GriffonHeart
Members-
Posts
34 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
GriffonHeart's Achievements

Advanced Member (3/3)
0
Reputation
-
Revision: 10105 Core: MaNGOS + insider42 + SD2 ACE: enable-builtin-ace CONF: CFLAGS="-O1 -march=core2 -g -mssse3 -mfpmath=sse" CXXFLAGS="-O1 -march=core2 -g -mssse3 -mfpmath=sse" OS: 2.6.34-gentoo-r1 #0 0x00007f8d9170d2d1 in ACE_Configuration_Section_Key (this=<value optimized out>, rhs=...) at ../../../../dep/ACE_wrappers/ace/Configuration.cpp:68 68 key_->add_ref (); (gdb) bt full #0 0x00007f8d9170d2d1 in ACE_Configuration_Section_Key (this=<value optimized out>, rhs=...) at ../../../../dep/ACE_wrappers/ace/Configuration.cpp:68 No locals. #1 0x00000000008c6a66 in GetValueHelper (mConf=0xca7370, name=<value optimized out>, result=...) at ../../../../src/shared/Config/Config.cpp:33 section_name = warning: can't find linker symbol for virtual table for `ACE_String_Base<char>' value warning: found `ACE_Allocator::allocator_' instead {<ACE_String_Base_Const> = {static npos = 18446744073709551615}, allocator_ = 0x7f8d91a03030, len_ = 0, buf_len_ = 0, rep_ = 0xc99e29 "", release_ = false, static NULL_String_ = 0 '\\000'} section_key = {key_ = 0x0} root_key = {key_ = 0xcb3500} i = <value optimized out> #2 0x00000000008c6b80 in Config::GetStringDefault (this=0xca72e0, name=0x94bf98 "BindIP", def=0x94be3e "0.0.0.0") at ../../../../src/shared/Config/Config.cpp:84 val = warning: can't find linker symbol for virtual table for `ACE_String_Base<char>' value warning: found `ACE_Allocator::allocator_' instead {<ACE_String_Base_Const> = {static npos = 18446744073709551615}, allocator_ = 0x7f8d91a03030, len_ = 0, buf_len_ = 0, rep_ = 0xc99e29 "", release_ = false, static NULL_String_ = 0 '\\000'} #3 0x00000000005631cb in Master::Run (this=0xcb3740) at ../../../src/mangosd/Master.cpp:319 world_thread = {m_iThreadId = 140245777360656, m_hThreadHandle = 140245777360656, m_task = 0x7f8d7cef5e30, static m_ThreadStorage = {_vptr.ACE_TSS = 0x9ca7b0, keylock_ = {lock_ = {__data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\\000' <repeats 39 times>, __align = 0}, removed_ = false}, once_ = true, key_ = 4}, static m_TpEnum = {m_priority = {0, 0, 0, 0, 0, 0, 0}}} rar_thread = 0x0 freeze_thread = 0x16fc72c0 cliThread = 0x0 soap_thread = 0x0 bind_ip = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}} pidfile = warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' value {static npos = 18446744073709551615, _M_dataplus = warning: can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider' value {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xc80058 ""}} wsport = 3724 #4 0x00000000005626c9 in main (argc=<value optimized out>, argv=0x7fff0742de28) at ../../../src/mangosd/Main.cpp:180 cfg_file = 0x7fff0742e658 "/usr/local/mangos_PVP/bin/mangosd_PVP.conf" cmd_opts = {argc_ = 3, argv_ = 0x7fff0742de28, optind = 3, opterr = 0, optarg = 0x0, optstring_ = 0xca7200, long_only_ = 0, has_colon_ = 1, last_option_ = 0xca7250, nextchar_ = 0x0, optopt_ = 99, ordering_ = 2, nonopt_start_ = 3, nonopt_end_ = 3, long_option_ = 0x0, long_opts_ = {<ACE_Array_Base<ACE_Get_Opt::ACE_Get_Opt_Long_Option*>> = {max_size_ = 1, cur_size_ = 1, array_ = 0xca72c0, allocator_ = 0x7f8d91a03030}, <No data fields>}} option = <value optimized out> Crash sometimes after server startup
-
I agree But do you remeber, from what MaNGOS Revision appears this bug?
-
When I try to implement achievements in trial_of_crusader, I found bug - CheckAchievementCriteriaMeet does'nt work Can be fixed by patch (may be hack code) diff --git a/src/game/AchievementMgr.cpp b/src/game/AchievementMgr.cpp index 5a0d3ed..124195a 100644 --- a/src/game/AchievementMgr.cpp +++ b/src/game/AchievementMgr.cpp @@ -1912,6 +1912,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaRequirements() // this will allocate empty data set storage AchievementCriteriaRequirementSet& dataSet = m_criteriaRequirementMap[criteria_id]; + dataSet.SetCriteriaId(criteria_id); // counting disable criteria requirements if (data.requirementType == ACHIEVEMENT_CRITERIA_REQUIRE_DISABLED) diff --git a/src/game/AchievementMgr.h b/src/game/AchievementMgr.h index be071a2..beda615 100644 --- a/src/game/AchievementMgr.h +++ b/src/game/AchievementMgr.h @@ -186,6 +186,7 @@ struct AchievementCriteriaRequirementSet typedef std::vector<AchievementCriteriaRequirement> Storage; void Add(AchievementCriteriaRequirement const& data) { storage.push_back(data); } bool Meets(Player const* source, Unit const* target, uint32 miscvalue = 0) const; + void SetCriteriaId(uint32 id) {criteria_id = id;} private: uint32 criteria_id; Storage storage;
-
+ Allow use achievements criteria types ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET and ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET2 in table achievement_criteria_requirement This is need for allow check achievements criteria in SD2 scripts For exmaple: http://ru.wowhead.com/?achievement=3798 and http://ru.wowhead.com/?achievement=3917 diff --git a/src/game/AchievementMgr.cpp b/src/game/AchievementMgr.cpp index 5a0d3ed..aeeb36e 100644 --- a/src/game/AchievementMgr.cpp +++ b/src/game/AchievementMgr.cpp @@ -93,6 +93,8 @@ bool AchievementCriteriaRequirement::IsValid(AchievementCriteriaEntry const* cri case ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL: case ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE: case ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL2: + case ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET: + case ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET2: break; default: sLog.outErrorDb( "Table `achievement_criteria_requirement` have data for not supported criteria type (Entry: %u Type: %u), ignore.", criteria->ID, criteria->requiredType); @@ -1033,10 +1035,21 @@ void AchievementMgr::UpdateAchievementCriteria(AchievementCriteriaTypes type, ui } case ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET: case ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET2: + { if (!miscvalue1 || miscvalue1 != achievementCriteria->be_spell_target.spellID) continue; + + // those requirements couldn't be found in the dbc + AchievementCriteriaRequirementSet const* data = sAchievementMgr.GetCriteriaRequirementSet(achievementCriteria); + if(!data) + continue; + + if(!data->Meets(GetPlayer(),unit)) + continue; + SetCriteriaProgress(achievementCriteria, 1, PROGRESS_ACCUMULATE); break; + } case ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL: case ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL2: {
-
[patch] Prevent cheating on BG using logout
GriffonHeart replied to a topic in OldCore modifications
Why teleport to homebind? Player must apear not at graveyard, but at the logout point -
I using ACE mtmaps. But what kind is more better? ACE or OpenMP?
-
I have the same crash Can you provide patch, how to fix this?
-
[New Feature] MapUpdater/per thread
GriffonHeart replied to Auntie Mangos's topic in ... under reviewOld
Yes, but crash at first player login -
[New Feature] MapUpdater/per thread
GriffonHeart replied to Auntie Mangos's topic in ... under reviewOld
Server can't start, crash at guild loading -
[patch] PLAYER_FLAGS_NO_XP_GAIN
GriffonHeart replied to Auntie Mangos's topic in ... under reviewOld
Flag save in table characters at player save or logout, but reset at player login -
[patch] PLAYER_FLAGS_NO_XP_GAIN
GriffonHeart replied to Auntie Mangos's topic in ... under reviewOld
Work nice, but flag not save after player relogin :-\\ -
This patch for what revision? Does it works correctly after implementing per-map guid storing
-
I started work with Wintergrasp, but I have a question. Is Wintergrasp already implemented?
-
Try to use it - http://paste2.org/p/317294
-
Somebody know, how to implement mobs on vehicle?
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions

You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®