Commit Graph

27351 Commits

Author SHA1 Message Date
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
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
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
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
Helias
a89402cc69 DB/Misc: added missing creature queststarter and questender in Gorgrond
Closes https://github.com/TrinityCore/TrinityCore/issues/15417
2015-09-06 11:00:53 +02:00
Helias
fbd830e2ef DB/Misc: added missing creature queststarter/ender in Spires of Arak
Closes https://github.com/TrinityCore/TrinityCore/issues/15430
2015-09-06 10:54:02 +02:00
Helias
4706e741a8 DB/Misc: added missing creature queststarter/ender in Tanaan Jungle
Closes https://github.com/TrinityCore/TrinityCore/issues/15421
2015-09-06 10:50:15 +02:00
Helias
b78af8dd54 DB/Misc: added missing creature queststarter/ender in Nagrand (Draenor)
Closes https://github.com/TrinityCore/TrinityCore/issues/15427
2015-09-06 10:47:01 +02:00
Helias
5a01cb9d4c DB/Misc: added missing creature queststarter/ender in Shadowmoon Valley (Draenor)
Closes https://github.com/TrinityCore/TrinityCore/issues/15428
2015-09-06 10:44:43 +02:00
Helias
e0f949c4b6 DB/Misc: added missing creature queststarter/ender in Talador
Closes https://github.com/TrinityCore/TrinityCore/issues/15431
2015-09-06 10:42:13 +02:00
Shauren
ed633e5d31 Core/PacketIO: Corrected data sent in SMSG_LOOT_RESPONSE
Closes #15438
2015-09-06 00:26:11 +02:00
Vincent-Michael
49b4dc269c DB/Quests: Updated quest_template up to 6.2.2 2015-09-05 19:00:08 +02:00
Vincent-Michael
b5dc7761ba Core/PacketIO: Fix chat message opcodes for 6.2.2 2015-09-05 16:54:39 +02:00
Vincent-Michael
3ed84dad88 Core/PacketIO: Updated TutorialAction enum for 6.2.2 2015-09-05 15:46:13 +02:00
Vincent-Michael
be6827335a Core/PacketIO: Updated base build for pkt log 2015-09-05 15:42:22 +02:00
Vincent-Michael
45610a69b0 DB/Hotfixes: Updated broadcast_text to patch 6.2.2 2015-09-05 04:23:48 +02:00
Vincent-Michael
6da6df5dcc DB/Bnet: Fix typo in 663cff2195 2015-09-05 02:59:45 +02:00
Shauren
663cff2195 Core: Updated to 6.2.2.20444.
* This includes all known packet structures, nothing has been disabled.
* worldserver still expects 6.2.0 DBC/DB2 files - do not reextract
2015-09-05 00:09:38 +02:00
Shauren
8652f4b4de Core/DBLayer: Allocate a single buffer for entire prepared result set instead of separate ones for each field 2015-09-04 00:18:12 +02:00
Helias
1bafd96c0f DB/Misc: added missing creature queststarter and questender in Ashran
Closes https://github.com/TrinityCore/TrinityCore/issues/15415
2015-09-03 17:18:24 +02:00
Shauren
d7af1e33ec Core/Auras: Warning fix 2015-09-03 17:13:16 +02:00
Helias
4baf5c5231 DB/Misc: fix missing creature queststarter and questender in Ashran
Closes https://github.com/TrinityCore/TrinityCore/issues/15386
2015-09-03 11:14:14 +02:00
Shauren
4c851d985e Core/DataStores: Corrected memory allocation for DB2 files. Non-localized strings no longer reserve memory for all locales 2015-09-02 23:16:35 +02:00
MitchesD
61256f5f8d Core/Spell: don't interrupt spells with attribute SPELL_ATTR8_RAID_MARKER
* needed for example when creating heirlooms from collection (or when upgrading)
2015-09-02 22:58:04 +02:00
Shauren
191d2c7262 Core/Spells: Extended spell required shapeshift masks to 64 bits and defined a new spell attribute 2015-09-01 16:59:28 +02:00
StormBytePP
f5d707f1ae Core/DB2Structure: Add missing include that triggers compile error when including it but no Util.h first. (it uses flag128 from Util.h) 2015-09-01 09:58:32 +02:00
Thomas33
1ad11b6b46 Core/Spells: Fix Tauren and Night Elf Moonkin form
Closes #15392

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2015-08-31 16:43:25 +01:00
Killyana
242dbc8042 DB/SAI: Swamp of Sorrows
Closes #15369
Updates #15127
Author: @cooler-SAI
2015-08-31 16:10:32 +02:00
Shauren
7b5e7e0898 Core/DataStores
* Changed loading dbc/db2. Worldserver no longer accepts dbc and db2 files directly inside '/dbc/*/ folder but expects them to be structured exactly as mapextractor creates them 'dbc/locale/*'
* Fixed loading locale db2 files if they were not placed in root dbc directory
Tools/Mapextractor: Fixed extracting locale dbcs

It is recommended to re-extract dbc files by running 'mapextractor -e 2' instructing the tool to only create dbc/db2 files skipping maps.
2015-08-31 00:03:53 +02:00