Commit Graph
1836 Commits
Author SHA1 Message Date
Shauren 9f70fd8550 Core/Quests: Fixed quest log counter display for quests with more than 4 objectives 2016-04-25 23:21:32 +02:00
joschiwald 9fc5ea81e0 Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866

(cherry picked from commit 029527365f1763c45e8668c16ecd25ba7553bb22)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/GroupHandler.cpp
2016-04-23 16:54:28 +02:00
Vincent-Michael 1c7515524d Core/Pets: Fixed issues reported by static analysis 2016-04-13 19:29:36 +02:00
treeston caa1b82b88 Unit/AI: Making Nayd happy.
(cherry picked from commit 59d02322a78b9f58c51930e085ad6cad9dd95eb0)
2016-04-08 20:39:53 +02:00
treeston f4baf7c180 Unit/AI: Move CharmedPlayerAI logic from the SetCharmedBy/RemoveCharmedBy hooks to Player::Update -> Unit::UpdateCharmAI to guarantee thread safety and prevent race condition crashes.
(cherry picked from commit 5354b585e3d8eb89b77b932986a3fbf3b53706c4)
2016-04-08 20:39:30 +02:00
Treeston adc7ee0c51 Merge pull request #16644 from Treeston/3.3.5-customcharmai
Core/UnitAI: Rework creature-controlled player behavior.
(cherry picked from commit 4e4b2b9a138650ebe6087e18dc392f08dafe4e37)
2016-04-08 20:16:15 +02:00
Aokromes d4146a23ac Merge pull request #16038 from tkrokli/grammar_and_spelling_corrections_335
[3.3.5] Core/Logs: English text corrections
(cherry picked from commit 4cd937140ba2ed66493d65c0090cd371706c1e2e)
2016-04-08 19:48:58 +02:00
Shauren 1460b01dde Core/Misc: Fixed a crash happening when a db string array was NULL
Closes #15670

(cherry picked from commit e60f575ac8d0c148f8f7ad1d38ee7c62c2c2254d)
2016-04-08 18:45:20 +02:00
Treeston a931c7c906 Merge pull request #16637 from P-Kito/lfg_quest
[3.3.5/6.x] Core/Player: Fix dungeonfinder quests not rewarding
(cherry picked from commit 59e59e412fa41d6753b370bbfe8c969eb747b329)
2016-04-08 18:22:37 +02:00
Shauren f4029faece Core/Spells: Implemented spell effect 243 - SPELL_EFFECT_APPLY_ENCHANT_ILLUSION (and fixed enchant visuals, for real this time) 2016-04-07 21:36:36 +02:00
Shauren 08c27d3205 Core/Misc: MSVC /W4 warning fixes 2016-04-06 18:40:41 +02:00
Shauren 4e67383621 Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392)
(cherry picked from commit 62aff401f687b56d720a320778950e82b65fbd8b)
2016-04-05 20:35:59 +02:00
Shocker e3acb2ecc7 Core/Mail: Fix integer size for Player::_SaveMail() fields 2016-04-04 11:56:52 +03:00
Shauren 974703671e Core/Items: Fixed enchant visuals
Closes #16776
2016-04-01 22:43:18 +02:00
r00ty-tc 6cd7b58065 Adjustments to spell facing - Adjusted HaveAtClient to accept Object* (still accepts all subordinates) - Use grid searcher to find players in visibility range for unit - Use client cache instead of "See or Detect" to decide who to send updates to - Adjusted SendUpdateToPlayer to send createobject packet only if not known to client
(cherry picked from commit c0693a6ee52d31840ab2ee878c4881884b857638)
2016-04-01 12:43:10 +01:00
Shauren dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
pete318 28f51306d4 Improved Auction house deposit handling.
Including the weird quirks.

Changes:
* Deposit caculated according to same rule as client. (detailed below). Should always match client deposit now
* Deposit for multiple auctions now only collected once. Deferred calculation of deposit until all auctions listed.

Deposit calculation is as follows:

Base deposit calculation = MSV x 15/75% (depending on AH). However this is not rounded. Case to int is used (so always round down)
The remainder is held in a float.
The base is then multiplied by number of items, and the time multiplier (x2 for 24 hour, x4 for 48 hour)
The nearest (no of items or lower) no of items when multiplied by the remainder that creates a whole number is then multiplied by the time multiplier (x1/x2/x4) and then added to deposit.

Example:

Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 1 = 36c. Remainder = 0.75 (n) Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 2 = 72c. Remainder = 1.50 (n)  Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 3 = 108c. Remainder = 2.25 (n) Min = 1s. Deposit 1s08c
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 4 = 144c. Remainder = 3.00 (n) Min = 1s. Deposit 1s50c (144c + (3c * 2))

Horrible kludge, to re-create a very weird deposit method.

Closes #15674 (PR)
Closes #15643 (Issue)

(cherry picked from commit 0ac442f19fcfa8c39775c5ae06bba8f3bcbd0407)

# Conflicts:
#	src/server/game/AuctionHouse/AuctionHouseMgr.h
2016-03-23 00:28:03 +00:00
Shauren f7624e7206 Core/Quests: Fixed quest sharing
Closes #12304
Closes #16183

(cherry picked from commit 3c3cde028cbcab64d463707e192fc333d8cadda0)
2016-03-22 22:00:06 +01:00
Treeston 8225fb09c2 Merge pull request #16156 from Treeston/3.3.5-instancerevive2
Game/Maps: Instance handling bug-fix follow-up
(cherry picked from commit ae4fcc3685079e1c24cd46545dae169d5be12046)
2016-03-21 22:41:02 +01:00
Treeston 7422557d03 Merge pull request #16110 from Treeston/3.3.5-instancerevive
Game/Maps: Clean up instance zone-in handling
(cherry picked from commit eb3dc8a4f064d89b78248a511bcf67f805ea3314)
2016-03-21 19:41:28 +01:00
ForesterDev 6ed2cde773 Core/Player: cleanup function CheckInstanceLoginValid
(cherry picked from commit 9573ec52f0ea2fbda0fdcac1bd9ed2617d359338)
2016-03-21 18:49:45 +01:00
joschiwald 60e1b50b3b Core/Spells: cherry picked relevant changes from commit c498966d23933e323685c3a767d3fe334a60af22 to minimize differences between branches 2016-03-20 22:44:54 +01:00
Shauren 743acbb913 Merge pull request #16652 from Lopfest/phase
[6.x] Core/Phase: fixed phase update on area change
2016-03-16 23:16:20 +01:00
Lopfest 4ffa2c141d Core/Phase: phase update probably shouldn't be affected by quest_status. only via spells/manual update 2016-03-08 17:36:16 +01:00
Shauren 7b5d92926e Core/PacketIO: Updated and enabled SMSG_RAID_INSTANCE_MESSAGE 2016-03-06 23:48:28 +01:00
DDuarte 67b977c86a Merge branch 'pets' of https://github.com/myran2/TrinityCore into myran2-pets
# Conflicts:
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h
2016-03-02 01:38:39 +00:00
joschiwald 4c9de857c9 Core/Gossips: fixed long time not seen typo in c81d6e9b4b
(cherry picked from commit 75511d0e0a16ac219562f23bb0d37f82043bf2d1)
2016-02-27 17:58:53 +01:00
Shauren 529820bc14 Core/PacketIO: Implemented SMSG_DAILY_QUESTS_RESET 2016-02-26 23:06:09 +01:00
Lopfest 09e7464f68 Core/Phase: fixed phase update on area change/quest status change
Signed-off-by: Lopfest <[email protected]>
2016-02-21 11:35:23 +01:00
Shauren 4f78efd463 Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling

Note: Extracting new maps is required
2016-02-09 00:14:58 +01:00
joschiwald 3ac2ba721d Core/Gossips: added some sanity checks to prevent duplicate interaction
(cherry picked from commit 8b6954e81b76f8d7c6700eaf1a8b942bebaa85a0)

Scripts: addition to 8b6954e81b76f8d7c6700eaf1a8b942bebaa85a0

Closes #16466

(cherry picked from commit b259d5c2bc41a545aad978c286f21347c0ba51a2)
2016-02-06 18:16:11 +01:00
Shauren db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Shauren a174fa4d7b Core/PacketIO: Updated and enabled CMSG_CONFIRM_RESPEC_WIPE, SMSG_RESPEC_WIPE_CONFIRM 2016-01-30 23:56:02 +01:00
myran2 2652d700e1 Core/Spells: Updated combo point handing
Closes #15996
2016-01-22 20:27:48 +01:00
jackpoz ea2c2c9763 Merge pull request #16188 from Asterc/3.3.5
Core/Player: Fix profession specialization being re-learnt on login after unlearning it
(cherry picked from commit 1c89b4dcdfa0e25aee28245513b1cf464e3d9e7b)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
2016-01-20 21:53:51 +01:00
Shauren a36d8d54c5 Warning fix 2016-01-19 20:43:35 +01:00
Shauren 3cd3184394 Core/Quests: Implemented new quest objective types 2016-01-19 20:12:09 +01:00
Shauren dfceb3dd19 Core/Spells: Fixed crash in spell effect immunity check
Closes #16299
2016-01-17 12:52:58 +01:00
chaodhib 1bee732e66 Core/Spells: Make players immune to the taunt aura.
(cherry picked from commit 6d080d0c44b943fe93ad93b07a99d481975f9d58)

# Conflicts:
#	src/server/game/Entities/Player/Player.h
2016-01-16 12:13:56 +01:00
jackpoz bb97e888ff Core/Player: Fix crash related to vehicles
Fix assertion triggered when entering a vehicle while channelling a shared vision spell.
Fix #15953

(cherry picked from commit 2cb54d5606109305194ed3cdb1b56ca62317b891)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2016-01-15 20:36:16 +01:00
MitchesD 9f4e4b9546 Core/PacketIO: updated SMSG_CROSSED_INEBRIATION_THRESHOLD 2016-01-05 23:37:45 +01:00
Shauren 2a6f65fddc Core/Players: Split playerBytes fields in characters table 2016-01-05 00:03:18 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren 2ebf3fc44b Core/PacketIO: Removed handler for another opcode that doesn't exist anymore 2015-12-21 23:20:00 +01:00
jackpoz 5077363f51 Core/Player: Always allow accounts with RBAC_PERM_COMMAND_GM to enter instances on login
Always allow accounts with RBAC_PERM_COMMAND_GM to enter instances on login even if player had .gm off .
Send an ingame message to notify the user about the avoided kick.

(cherry picked from commit 5f917e2286809d7aafa8871be38042ae7966c26b)
2015-12-12 03:08:45 +01:00
Shauren 094f505e40 Core/Items: Fixed a possible crash with soulbound tradable items
Closes #15700
2015-12-08 18:02:10 +01:00
Shocker e9a1db916e Core/Spells: Implement SPELL_AURA_MOD_SKILL_2 2015-11-29 19:27:29 +02:00
Shauren d03ca37f10 Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate. 2015-11-27 21:53:27 +01:00
Shauren d5fb18d3c3 Core/Spells: Implemented scaling spell value with item level 2015-11-24 00:16:42 +01:00
jackpoz 7e056e25c7 Core/Quest: Fix issues reported by static analysis
Coverity defect IDs: 1339309, 1339310

(cherry picked from commit fbaed38b5ea605e3dbd65a99835db1778ac24391)
2015-11-23 10:11:55 +01:00