Commit Graph

27376 Commits

Author SHA1 Message Date
Shauren
a338aa408e Core/Misc: Fixed various possibly uninitialized value warnings
CID: 1324648, 1324649, 1324650, 1324651, 1324652
2015-09-22 00:07:05 +02:00
Shauren
e6e5f5c559 Partially revert "Core/Build: Added missing abort() calls on error handlers"
This reverts commit 8ea17647e6.
2015-09-21 17:18:55 +02:00
StormBytePP
8ea17647e6 Core/Build: Added missing abort() calls on error handlers 2015-09-21 15:52:34 +02:00
StormBytePP
958fd013e7 Core/Build: Add Trinity::Abort definition in header file 2015-09-21 15:31:49 +02:00
StormBytePP
c1817dff37 Fix a typo 2015-09-21 15:21:09 +02:00
StormBytePP
0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren
32a2e58429 Core/Taxi: Implemented rebuilding taxi path for early landing and enabled CMSG_TAXI_REQUEST_EARLY_LANDING 2015-09-21 00:01:44 +02:00
joschiwald
d68e3325d5 Scripts/Ulduar/Algalon: fixed achievement "He Feeds On Your Tears"
Ref #6157
2015-09-20 16:03:48 +02:00
Duarte Duarte
cdbed0af4c Merge pull request #15550 from Keldo/6.x
Core/Opcode Changed for Bug Tickets
2015-09-20 07:02:45 -07:00
Keldo
3386d75e43 Core/Opcode Changed for Bug Tickets
CMSG_SUPPORT_TICKET_SUBMIT_BUG , STATUS_LOGGEDIN
2015-09-20 02:57:49 -07:00
Vincent-Michael
e5a2c5c026 DB/Hotfixes: Updated gameobjects table to 6.2.2.20490 2015-09-20 01:27:41 +02:00
Shauren
461feeccdf Core/PacketIO: Defined a new opcode 2015-09-20 00:44:31 +02:00
StormBytePP
b99d82443c Fix GCC warning about missing initializer for array 2015-09-19 19:30:37 +02:00
Shauren
89b902b4e0 Core/Misc: Added a few stl header includes to Common.h 2015-09-19 18:25:43 +02:00
Shauren
492bd23599 Warning fix 2015-09-19 17:55:45 +02:00
Shauren
3b52fcc769 Merge remote-tracking branch 'origin/6.x_implement_taxi' into 6.x 2015-09-19 17:41:24 +02:00
Shauren
f34bae89d3 Core/PacketIO: Disabled CMSG_TAXI_REQUEST_EARLY_LANDING 2015-09-19 17:39:01 +02:00
Shauren
f1b047b826 Core/Taxi: Further improvements
* 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-19 16:44:33 +02:00
Shauren
2c7459da6d Core/Taxi: Further improvements
* 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-18 22:26:54 +02:00
Shauren
10b068ce5d Core/PacketIO: Fixed SMSG_ON_MONSTER_MOVE structure for uncompressed path 2015-09-18 16:22:08 +02:00
Shauren
68e89e4f7d Core/PacketIO: Corrected ActivateTaxiReply structure - fixes "There's no vendor nearby" message when starting flight 2015-09-17 23:33:29 +02:00
Shauren
1cc4badf06 Core/Players: Changed taxi speed to match spline durations seen in packets 2015-09-17 23:15:01 +02:00
MitchesD
93875c523c DB/Hotfixes: fixed data type of Modifier column in battle_pet_breed_quality 2015-09-16 22:31:07 +02:00
Shauren
225bbe7f72 Core/PacketIO: Implemented correct opcode for GameObject animkit changes and enabled all animkit related opcodes 2015-09-16 17:06:24 +02:00
Vincent-Michael
351e93078c DB/Auth: Updated to 6.2.2a.20490 2015-09-15 20:31:33 +02:00
Shauren
8998218eac Core/Unit: Fixed incorrect value sent in highest threat unit update 2015-09-15 16:58:09 +02:00
Shauren
66f47dc848 Core/Taxi: Fixed selecting paths that cross map boundaries (Light's Hope to Silvermoon for example) 2015-09-14 21:55:03 +02:00
MitchesD
64ec9299e5 Merge pull request #15510 from horn/6.x
Core/BattlePets: Added missing casts in packets and forgotten state from BattlePetSpeciesState.db2
2015-09-14 20:51:52 +02:00
horn
14e4c52c3b Core/BattlePets: Added missing casts in packets and forgotten state from BattlePetSpeciesState.db2 2015-09-14 20:37:27 +02:00
MitchesD
9e31bb0cbf Core/WorldSession: fix build warning 2015-09-14 17:55:21 +02:00
MitchesD
5a895f7759 Core/Player: moved player collections to separate class
* 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-14 11:29:16 +02:00
StormBytePP
f5dbec368a Removed infinity from custom_weight function, as it was causing problems in path calculation 2015-09-14 11:02:24 +02:00
StormBytePP
db23ad7df2 Fixed compile 2015-09-14 11:00:41 +02:00
StormBytePP
196f935cd8 Core/Taxi: Implemented taxi routes, thanks to @MitchesD patch for initial 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-14 01:51:38 +02:00
Shauren
04de58c8d3 Core/Players: Changed multi-segment taxi paths to fly nearby
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 2056961aae (+fixes)
2015-09-13 17:23:37 +02:00
Shauren
3109ab2da0 Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions 2015-09-13 11:13:04 +02:00
Shauren
f515e9ea67 Merge pull request #15257 from StormBytePP/6.x_fix_four_horsemen_evade
Scripts/Stratholme : Fix closed door at Baron Rivendare by @cr4st
2015-09-11 17:27:43 +02:00
Shauren
0fda78b679 Core/Bnetserver: Applied 375363ed08 to bnetserver - fixes a minor development annoyance where first login after startup is slow 2015-09-11 17:25:14 +02:00
Shauren
59eff3fef9 SQL: Typo fixes 2015-09-10 20:04:24 +02:00
Shauren
1efb3f08e2 Core/Spells: Improved spell category cooldown handling
* 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-10 19:39:30 +02:00
Helias
b194595c07 DB/Misc: added missing creature queststarter and questender in "Maelstrom"
Closes https://github.com/TrinityCore/TrinityCore/issues/15450
2015-09-10 18:18:44 +02:00
StormBytePP
056d7f8e5d Core/Build: Fix nonPCH compile 2015-09-10 16:44:19 +02:00
MitchesD
8e6886cecd Merge pull request #15139 from horn/6.x
Core/BattlePets: Basics for Battle Pets
2015-09-09 16:15:32 +02:00
horn
e8b1faa156 Core/BattlePets: Basics for Battle Pets 2015-09-09 14:52:32 +02:00
Shauren
e0fcb410b4 Core/Players: Removed obsolete class member 2015-09-09 00:12:38 +02:00
Shauren
8aba20ce3a Core/Misc: Updated SpellCastResult, TradeStatus, InventoryResult and defined PlayerFlagsEx 2015-09-08 00:08:49 +02:00
Shauren
8a8ab0b4b6 Core/DataStores: Updated DBC and DB2 structures to 6.2.2.20444 2015-09-07 18:03:33 +02:00
MitchesD
0098e98c69 DB/Misc: added stuff for Wandering Isle start zone
* includes mainly SAI for panda fighters
* still you can't get quests, it's not completed yet
2015-09-06 23:11:14 +02:00
Shauren
344c32c123 Core/PacketIO: Fixed a bunch of swapped opcode values
Closes #15447
2015-09-06 15:34:36 +02:00
Shauren
65999801d3 Buildsystem: Added dependency on revision_data to common project. Simply including the header in GitRevision.cpp is not enough to rebuild that file after updating sources
Fixes having to build twice before GitRevision returns accurate info.
2015-09-06 11:13:24 +02:00