aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-09-24Core/Misc: Remove unneeded ToCreature() castsjackpoz
Remove some ToCreature() casts not needed anymore after 1ee90e1022a235859316e55356ea8a3d2f456c9b changes that moved IsPet() from Creature to Unit (cherry picked from commit d243630acff017f5e50bf0c833a0bbac35ba6c5a) Conflicts: src/server/game/Entities/Player/Player.cpp src/server/game/Spells/Spell.cpp src/server/game/Spells/SpellEffects.cpp
2015-09-24Scripts/Misc: Fix possible crashjackpoz
Fix possible NULL-dereference exception happening in PlayerOrPet checks used in Ulduar and Temple Of Ahn Qiraj (cherry picked from commit 5f0f152345ec7e9cc6195ba8f59f316a1cad90f7)
2015-09-24Core/RestState: Check area trigger radius instead of 1.0f distanceRochet2
Closes #15016 Closes #15052 Signed-off-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit 12931f4762d2592e4b28c6e6bf137b3348230c45) Conflicts: src/server/game/Entities/Player/Player.h src/server/game/Handlers/MiscHandler.cpp
2015-09-24Merge pull request #15119 from robinsch/groundingjackpoz
Core/Spells: Grounding totem fix Fixes #15108 (cherry picked from commit 3f3ff8b36b0537d07bf8222226ab88346c689e4b)
2015-09-24Core/Gameobjects: Move a log from FATAL to DEBUGjackpoz
The log is triggered when a mage creates a portal to another map, uses it and then the portal despawns. (cherry picked from commit a8ceb18cdfe850fbb84ddd3d917565f2a100ebb7) Conflicts: src/server/game/Entities/GameObject/GameObject.cpp
2015-09-24Core/Battlegrounds: Move a log from ERROR to DEBUGjackpoz
The "error" is a false positive happening every time a player in a Battleground logs out because WorldSession::LogoutPlayer() notifies the bg twice (cherry picked from commit ca5a2785f760a90ceb0c3d321da208ee07552f87)
2015-09-24Core/AHBot: Add missing AHBot quality price ratio to configMrSmite
Signed-off-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit fed67f5bc1d531f51b110915e2384333e342c1ed)
2015-09-24Core/Spells: Fix damage done by SPELL_EFFECT_NORMALIZED_WEAPON_DMGjackpoz
Fix a rare case that would cause SPELL_EFFECT_NORMALIZED_WEAPON_DMG to do 4 billions damage or to trigger an assertion in Unit::CalculateDamage() depending by Unit base damage. To reproduce the issue cast spell 25816 on a level 1-14 warrior, then make the warrior cast spell 694 on a Creature. (cherry picked from commit 143026ed19455f5a908ef508d1bf5ce43c092a21)
2015-09-24Core/AHBot: Adjust AHBot bid and buyout chancesjackpoz
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k) k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions. (cherry picked from commit 177b6319d1ad49a38fbd06f37671da1e3d1ae4e6) Conflicts: src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-09-24Core/Spells: Fix Charge "no path" error with even bigger targetsjackpoz
Addition to a328a119784252c6d514436f4ceffa693ac65453 , clamp object size to [0,4] in case of very huge Creatures like Lord Marrowgar entry 36612 (cherry picked from commit 0a94382637ba9212a23e224b4ac2df114acb4ca7)
2015-09-24Core/Config: Describe better Wintergrasp.Enable option in worldserver.confjackpoz
(cherry picked from commit 10620b4e114b86940fb72fcae507ef155d6d234e)
2015-09-24Core/Threading: Handle CMSG_BATTLEFIELD_MGR_ENTRY_INVITE_RESPONSE only in ↵jackpoz
WorldSession update because it removes the Player from his Group which is not thread-safe (cherry picked from commit f07fe63e50062941dd99ce719f27f6d09ecfbd7d) Conflicts: src/server/game/Server/Protocol/Opcodes.cpp
2015-09-24Merge pull request #15168 from jameyboor/3.3.5jackpoz
Core/Creature: Fix Creature::UpdateMovementFlags() ignoring DynamicTree height Fix Creature::UpdateMovementFlags() checking only maps/vmaps height and skipping GameObject height stored in DynamicTree (cherry picked from commit a7ee951d9efcfb0a0a5b9ed1ec3a732c06d8877f)
2015-09-24Core/PacketIO: Verified and enabled a bunch of opcodes that already had ↵Shauren
their structures ported to packet classes
2015-09-23Core/PacketIO: Fixed creature teleports not working clientsideShauren
2015-09-22Core/Misc: Fixed various possibly uninitialized value warningsShauren
CID: 1324648, 1324649, 1324650, 1324651, 1324652
2015-09-21Partially revert "Core/Build: Added missing abort() calls on error handlers"Shauren
This reverts commit 8ea17647e6bced9d4d027c94ecdc63369cb4c6df.
2015-09-21Core/Build: Added missing abort() calls on error handlersStormBytePP
2015-09-21Core/Build: Add Trinity::Abort definition in header fileStormBytePP
2015-09-21Fix a typoStormBytePP
2015-09-21Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick ↵StormBytePP
hack to crash the core misusing assert
2015-09-21Core/Taxi: Implemented rebuilding taxi path for early landing and enabled ↵Shauren
CMSG_TAXI_REQUEST_EARLY_LANDING
2015-09-20Scripts/Ulduar/Algalon: fixed achievement "He Feeds On Your Tears"joschiwald
Ref #6157
2015-09-20Core/Opcode Changed for Bug TicketsKeldo
CMSG_SUPPORT_TICKET_SUBMIT_BUG , STATUS_LOGGEDIN
2015-09-20Core/PacketIO: Defined a new opcodeShauren
2015-09-19Fix GCC warning about missing initializer for arrayStormBytePP
2015-09-19Core/Misc: Added a few stl header includes to Common.hShauren
2015-09-19Warning fixShauren
2015-09-19Merge remote-tracking branch 'origin/6.x_implement_taxi' into 6.xShauren
2015-09-19Core/PacketIO: Disabled CMSG_TAXI_REQUEST_EARLY_LANDINGShauren
2015-09-19Core/Taxi: Further improvementsShauren
* Updated segment distance calculations - now selected path fully matches clientside preview * Fixed building sOldContinentsNodesMask to also include any new taxi node added in future * Implemented filtering possible hops when searching for shortest path by faction (and in future PlayerCondition) * Changed ObjectMgr::GetNearestTaxiNode to filter faction nodes by flags instead of mount display
2015-09-18Core/Taxi: Further improvementsShauren
* Use dijkstra algorithm instead of astar to match client behavior * Properly exclude special taxi nodes from the graph * Corrected initial death knight nodes to only include destinations for their faction
2015-09-18Core/PacketIO: Fixed SMSG_ON_MONSTER_MOVE structure for uncompressed pathShauren
2015-09-17Core/PacketIO: Corrected ActivateTaxiReply structure - fixes "There's no ↵Shauren
vendor nearby" message when starting flight
2015-09-17Core/Players: Changed taxi speed to match spline durations seen in packetsShauren
2015-09-16Core/PacketIO: Implemented correct opcode for GameObject animkit changes and ↵Shauren
enabled all animkit related opcodes
2015-09-15Core/Unit: Fixed incorrect value sent in highest threat unit updateShauren
2015-09-14Core/Taxi: Fixed selecting paths that cross map boundaries (Light's Hope to ↵Shauren
Silvermoon for example)
2015-09-14Core/BattlePets: Added missing casts in packets and forgotten state from ↵horn
BattlePetSpeciesState.db2
2015-09-14Core/WorldSession: fix build warningMitchesD
2015-09-14Core/Player: moved player collections to separate classMitchesD
* the idea is to have all collections (toybox, heirlooms, mount and later even battle pets) in one class to make it easier and don't increase size of already big Player and WorldSession class
2015-09-14Removed infinity from custom_weight function, as it was causing problems in ↵StormBytePP
path calculation
2015-09-14Fixed compileStormBytePP
2015-09-14Core/Taxi: Implemented taxi routes, thanks to @MitchesD patch for initial ↵StormBytePP
work, and @Shauren for IDA help Conflicts: src/server/game/Entities/Player/Player.cpp src/server/game/Entities/Player/Player.h src/server/game/Handlers/TaxiHandler.cpp
2015-09-13Core/Players: Changed multi-segment taxi paths to fly nearbyShauren
flight masters along the way, not directly through them * Taxi cost on multi-segment paths is now charged per segment when it is started Cherry-picked from commit 2056961aae208c5da094f3bf8fbca599b5ebac40 (+fixes)
2015-09-13Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring ↵Shauren
string conversions
2015-09-11Merge pull request #15257 from StormBytePP/6.x_fix_four_horsemen_evadeShauren
Scripts/Stratholme : Fix closed door at Baron Rivendare by @cr4st
2015-09-11Core/Bnetserver: Applied 375363ed08069b6aa7a921e35fdd1cc7affc946e to ↵Shauren
bnetserver - fixes a minor development annoyance where first login after startup is slow
2015-09-10Core/Spells: Improved spell category cooldown handlingShauren
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior) * This significantly reduces the amount of data saved to database for cooldowns * Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast Closes #15349
2015-09-10Core/Build: Fix nonPCH compileStormBytePP