aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-31Core/RBAC: fix RBAC_PERM_COMMANDS_BE_ASSIGNED_TICKET and ↵xter
RBAC_PERM_LOG_GM_TRADE permissions
2014-05-30Martek the Exiled's prerequisite questsFilip
Fix by @untaught
2014-05-30Merge pull request #12171 from Ankso/player_update_zoneWarpten
Core/Players: Update the player's zone and area only after the player's position is updated server-side.
2014-05-30Core/Players: Update the player's zone and area after update the player'sAnkso
position server side.
2014-05-29Merge pull request #12162 from Trisjdc/aura_split_damage_breakingjackpoz
Core/Spells: Break 'Fear' and similar auras on damage sharing of SPELL_AURA_SPLIT_DAMAGE_PCT
2014-05-29CoreCore/NetworkIO: Fix disconnect when canceling character creationjackpoz
Remove the filter on CMSG_CHAR_ENUM added in 59b4c3492482b7536651625f0b1ed0ef87f52e79 since the same opcode is already throttled in the new improved system. DoS attacks using this opcode are still mitigated with same effect of before. Fixes #10915
2014-05-29Merge pull request #12007 from Trisjdc/spell_pushbackjackpoz
Core/Spells: Define and implement SPELL_ATTR7_NO_PUSHBACK_ON_DAMAGE
2014-05-29Merge pull request #12160 from Trisjdc/petaijackpoz
Core/PetAI: Pin should not be interrupted if the victim has a breakable aura
2014-05-29Core/NetworkIO: Adjust more packet throttling valuesjackpoz
Adjust more packet throttling values and add Player name to log to help investigate false positives.
2014-05-28Core/Spells: Break 'Fear' and similar auras on damage sharing of ↵Trisjdc
SPELL_AURA_SPLIT_DAMAGE_PCT
2014-05-28Core/PetAI: Pin should not be interrupted if the victim has a breakable auraTrisjdc
2014-05-27Core/NetworkIO: Adjust more packet throttling valuesjackpoz
2014-05-27Merge pull request #12146 from Trisjdc/spell_hymnjoschiwald
Core/Spells: Missing target conditions for Divine Hymn/Hymn of Hope's second effect
2014-05-26Core/Spells: Missing target conditions for Divine Hymn/Hymn of Hope's second ↵Trisjdc
effect
2014-05-26Core/NetworkIO: Adjust more packet throttling valuesjackpoz
2014-05-25Core/NetworkIO: Adjust more packet throttling valuesjackpoz
Adjust some more packet throttling values. Revert b35f831f2b386685bb3eaaad340208e293ba16a7 since it's no longer needed. Modify the AntiDoS log to specify in a more readable way which opcode triggered the system and how many packets have been received.
2014-05-25Merge pull request #12129 from Trisjdc/go_collisionSebastian Valle Herrera
Core/Collision: Solve collision issues with non spawned GOs
2014-05-25Merge pull request #12130 from Trisjdc/go_collision_2Sebastian Valle Herrera
Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOs Closes #6303 Closes #7628
2014-05-25Merge pull request #12131 from Trisjdc/restingShauren
Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE or AREA_FLAG_REST_ZONE_HORDE
2014-05-25Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE ↵Trisjdc
or AREA_FLAG_REST_ZONE_HORDE
2014-05-25Core/Misc: Fix no-pch buildjackpoz
2014-05-25Core/NetworkIO: Adjust packet throttling valuesjackpoz
Adjust packet throttling values to avoid false positive. In case you are experiencing random kicks change the PacketSpoof.Policy setting in worldserver configs and report which packets are triggering the anti-dos system.
2014-05-25Core/Misc: Throw an exception if client sends invalid float/double datajackpoz
Throw a ByteBufferException if client sends 1.#INF0000, 1.#QNAN000, 1.#IND0000 or other invalid float/double values. Handle this invalid values in StaticMapTree::isInLineOfSight() to avoid triggering an assert. Fixes #12126
2014-05-25Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOsTrisjdc
2014-05-25Core/Collision: Solve collision issues with non spawned GOsTrisjdc
2014-05-25Merge pull request #12084 from Trisjdc/pet_combat_2jackpoz
Core/Spells: Players with active pets count as if they were players in combat against spells with SPELL_ATTR1_CANT_TARGET_IN_COMBAT
2014-05-25Merge pull request #12119 from Trisjdc/sniper_trainingjackpoz
Core/Spells: Sniper Training should refresh every 6 seconds if all conditions are met
2014-05-25Merge pull request #12120 from Trisjdc/aura_exploitjackpoz
Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon swapping
2014-05-24Core/NetworkIO: Improve packet spam solutionjackpoz
Implement an improved packet Anti-DoS by counting how many times the same opcode has been sent in the last second and applying the policy specified in the configs if the amount of packets exceeds a reasonable amount. Credits to the original author who decided to share this with TrinityCore team.
2014-05-24Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon ↵Trisjdc
swapping
2014-05-24Core/Spells: Sniper Training should refresh every 6 seconds if all ↵Trisjdc
conditions are met
2014-05-24Core/Misc: Fix typojackpoz
Fix typos about the word "Resurrect"
2014-05-24Merge pull request #12111 from MitchesD/commandsDiscover-
Scripts/Commands: added option to show InhabitType in .npc info command
2014-05-23Scripts/Commands: added option to show InhabitType in .npc info commandMitchesD
2014-05-23Core/SAI: SMART_EVENT_IC_LOS is now called when movement in LOS was made ↵Discover-
while the creature was in combat
2014-05-23Scripts/PoS: fixed rimefang icy blastjoschiwald
Closes #632
2014-05-22Merge pull request #12102 from Trisjdc/achievementsWarpten
Core/Achievements: Fixed ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS in case killed creature has a loot recipient (Credit would be granted to loot recipient rather than killing blow lander)
2014-05-22Merge pull request #12107 from Trisjdc/nitro_jumpShauren
Core/Spells: Nitro Boost should not fail in dungeon maps
2014-05-22Core/Spells: Nitro Boost should not fail in dungeon mapsTrisjdc
2014-05-21Core/Achievements: Fix ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWSTrisjdc
2014-05-20Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*jackpoz
2014-05-19Merge pull request #12076 from Trisjdc/even_more_saijackpoz
Core/SAI: Clear UNIT_STATE_EVADE immediately if we're about to follow a target on EnterEvadeMode
2014-05-19Merge pull request #12083 from Trisjdc/pet_combatjackpoz
Core/PetAI: Pet's owner should NOT enter combat when the pet attacks/enters combat
2014-05-19Merge pull request #12018 from Foereaper/masterjackpoz
Core/Misc: Fixed SendAddonMessage issue.
2014-05-19DB/Creature: Fix Crazed Mana SurgeAokromes
By dr-j, closes #11998
2014-05-19DB/Quest: Fix Gambling DebtAokromes
By dr-j, closes #12092
2014-05-19Core/Vehicles: Set proper power type using PowerDisplay.dbcShauren
Original commit by Xfurry - cmangos/mangos-wotlk/bef8c99cc07c96d4e2f45e0ff6bc107068555ffb
2014-05-19Core/Misc: Removed remnants of old db threading modelShauren
2014-05-19Merge pull request #12082 from MitchesD/misc_2joschiwald
Scripts/Krystallus: converted to EventMap, removed useless code
2014-05-18Revert "Core/Logging: Use logger cache for speed up logger filter search"jackpoz
This reverts commit 39331ea7b9e906b67378a1be6c0c694d264eda3a. This is required to fix a race condition introduced with the logger cache. Adding a locking mechanism might make worthless the speed gain added by the cache itself, push a proper thread-safe implementation if it's worth it. Helgrind log: Possible data race during write of size 8 at 0x736F428 by thread #1 Locks held: none at 0x11872DF: std::_Hashtable<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_insert_bucket_begin(unsigned long, std::__detail::_Hash_node<std::pair<std::string const, Logger const*>, true>*) (hashtable.h:1196) by 0x11865A1: std::_Hashtable<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<std::string const, Logger const*>, true>*) (hashtable.h:1342) by 0x1185A48: std::__detail::_Map_base<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>, true>::operator[](std::string const&) (hashtable_policy.h:496) by 0x1184F3A: std::unordered_map<std::string, Logger const*, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, Logger const*> > >::operator[](std::string const&) (unordered_map.h:596) by 0x1184495: Log::GetLoggerByType(std::string const&) (Log.h:106) by 0x1184527: Log::ShouldLog(std::string const&, LogLevel) (Log.h:112) by 0x16E7121: World::LoadConfigSettings(bool) (World.cpp:909) by 0x16EB623: World::SetInitialWorldSettings() (World.cpp:1276) by 0x118F0EC: Master::Run() (Master.cpp:169) by 0x1196AFF: main (Main.cpp:142) This conflicts with a previous read of size 8 by thread #3 Locks held: none at 0x1186EA6: std::_Hashtable<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_find_before_node(unsigned long, std::string const&, unsigned long) const (hashtable.h:1162) by 0x1186263: std::_Hashtable<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_find_node(unsigned long, std::string const&, unsigned long) const (hashtable.h:604) by 0x11857B9: std::_Hashtable<std::string, std::pair<std::string const, Logger const*>, std::allocator<std::pair<std::string const, Logger const*> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::find(std::string const&) (hashtable.h:1025) by 0x1184DE2: std::unordered_map<std::string, Logger const*, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, Logger const*> > >::find(std::string const&) (unordered_map.h:543) by 0x11842EF: Log::GetLoggerByType(std::string const&) (Log.h:84) by 0x1184527: Log::ShouldLog(std::string const&, LogLevel) (Log.h:112) by 0x189AACA: MySQLConnection::Execute(char const*) (MySQLConnection.cpp:175) by 0x18A3225: BasicStatementTask::Execute() (AdhocStatement.cpp:56) Address 0x736F428 is 120 bytes inside a block of size 184 alloc'd at 0x4C2AE3A: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:350) by 0x1185046: ACE_Singleton<Log, ACE_Thread_Mutex>::instance() (Singleton.cpp:91) by 0x11968E2: main (Main.cpp:135)