Commit Graph

21519 Commits

Author SHA1 Message Date
ariel-
9d1fc3e94d Core/World: short circuit setWorldState and avoid a db query in case there's nothing to update really 2016-08-18 09:47:42 +02:00
jackpoz
90b22c6cd4 Core/MMAPs: Update recast
Update recast to recastnavigation/recastnavigation@64385e9
2016-08-18 09:46:18 +02:00
Aokromes
8d720ee52f Core/ObjectAccessor: optimize FindPlayerByName by saving a map of player names to Player 2016-08-18 09:41:38 +02:00
jackpoz
e6c7894be1 Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
2016-08-18 09:35:04 +02:00
treeston
77e4a1e487 Revert "Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items)."
This reverts commit 63f577a7ef.

See discussion in commit comments.
2016-08-16 23:34:40 +02:00
treeston
0ffd02f540 Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items). 2016-08-16 15:35:01 +02:00
Aokromes
80eeea4f85 Core/PlayerDump: add missing character_queststatus_* columns to dump 2016-08-16 12:32:59 +02:00
ariel-
4d41ec93a0 Core/Battlegrounds: Properly readd player to Battleground containers after a login.
Closes #16141
2016-08-16 12:30:38 +02:00
ariel-
b92ba1e11d Core/Player: Do not kick AFK player from BG if it's a GM 2016-08-16 12:26:54 +02:00
ariel-
30e0460306 Core/Scripts: allow ".debug arena" and ".debug battleground" commands to be issued in the console 2016-08-16 12:26:33 +02:00
Aokromes
375b7a61c4 Core/Units: Fixed melee range check
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility.
* Moved melee range logic into its own function
* Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method.
2016-08-16 12:25:53 +02:00
robinsch
c406fb2a73 Core/Spell: Remove all raid auras on party leave (#17663)
Core/Spell: Remove all raid auras on party leave
2016-08-15 00:03:33 +02:00
Aokromes
960c22e602 Core/Scripts: remove script npc_timothy_daniels
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.

- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 23:57:06 +02:00
Aokromes
34c249458f Fix compile after coding style 2016-08-14 21:04:15 +02:00
Aokromes
6487dd39b3 Core/Entities: 3.3.5a coding style 2016-08-14 20:39:58 +02:00
Aokromes
6443c02225 Compile fix 2016-08-14 20:26:57 +02:00
PORTELAS Michael
6f22ed66c3 Update Player.cpp 2016-08-14 18:04:41 +00:00
PORTELAS Michael
41fbfa3b14 Update Player.cpp 2016-08-14 17:05:08 +00:00
Aokromes
69b8d5be94 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2016-08-14 10:17:14 +02:00
tkrokli
d847bcdac4 Core/Scripts: move npc_mortog_steamhead to DB
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 10:16:43 +02:00
treeston
1fc6f18024 Entities/Player: Fixed an edge case bug that could cause a character to get stuck in forced recustomization indefinitely if two or more appearance properties were out of bounds. 2016-08-14 10:16:32 +02:00
Aokromes
5b8fa815a7 Core/Worldstates: move WS_ARENA_DISTRIBUTION_TIME declaration 2016-08-14 10:16:08 +02:00
roc13x
a54adfd894 Core/Build: Fixed dynamic mode build
Core can now be built in dynamic mode, enabling the hotswap system to be
used.

Hotswap works fine on Windows. Didnt work for me on Debian, the rebuild
and reload process happens but the old version of the module remains for
some reason. Cant figure it out right now
2016-08-13 17:26:30 +01:00
Aokromes
2d46fcbfc8 Core/Quest: Add tooltip for Quest Items that drop from NPCs
Closes #81
2016-08-12 23:03:03 +02:00
Aokromes
31dea6b435 Compile fix 2016-08-12 12:46:28 +02:00
Aokromes
e1d34cabc9 Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 12:21:55 +02:00
ForesterDev
f59e00b85c Core/Command: Check account password max length 2016-08-12 12:19:19 +02:00
tkrokli
c425b91368 Core/Scripts: remove 2 unused scripts (#17759)
These scripts are no longer in use:
- generic_creature
- trigger_death
2016-08-12 12:19:02 +02:00
Aokromes
9b1a7fa73c Core/Arena: Teams don't lose rating after arena draw (#17515)
By Raydor, closes #16865
2016-08-12 12:18:43 +02:00
Aokromes
0852050e68 Core/Logs: Fine tune more logs
And move others to more logical appenders
2016-08-12 12:18:19 +02:00
treeston
9548a8567b Entity/Creature: Fix spawn health, for real this time. Closes #17757. Also for real this time. 2016-08-12 11:59:44 +02:00
treeston
34a8f8473b Entities/Creature: Fix spawn health, fdd78d2 follow-up. Fixes and closes #17757. 2016-08-12 11:59:24 +02:00
jackpoz
1d6adef396 Common/Common: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 11:58:55 +02:00
Aokromes
e201c034c7 Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.
2016-08-12 11:58:18 +02:00
Treeston
7d2b1128a6 Core/Creature: Fix health regeneration. Creatures immediately reset to full health upon reaching home, rather than slowly regaining it over multiple seconds, which allows players to re-engage them at less than max health. (#17756) 2016-08-12 11:53:12 +02:00
Aokromes
6a9c753029 Build fix, this time yes 2016-08-12 07:51:26 +02:00
Aokromes
7ab4915b13 compile fix 2016-08-11 05:05:33 +02:00
Aokromes
dfb6ab0eb9 restore code 2016-08-11 04:55:40 +02:00
Aokromes
7d9c4e1421 another missing change 2016-08-11 04:48:25 +02:00
Aokromes
decb11702e another missing change 2016-08-11 04:33:29 +02:00
Aokromes
566b08cc73 missing change 2016-08-11 04:07:42 +02:00
Aokromes
f2cea8c9f4 missing change 2016-08-11 03:58:20 +02:00
Aokromes
64a693a4ae Core/Chat: general cleanup and revamping: (#17576)
- Remove duplicate ObjectGuid in Channel (both as key and value member)
- Add const-ness to Channel methods
- NULL->nullptr
- const type* -> type const*
- Removed all instances of std::map::operator[] except where it is actually INTENDED to insert an element
- Use Trinity::StringFormat instead of snprintf
2016-08-11 03:56:10 +02:00
Aokromes
e51220bf87 Core/Handlers: actually check allowed trainer classes and races to avoid spoofing 2016-08-10 21:04:30 +02:00
ariel-
a544c509bd Core/Entities: removed obsolete pragma macro (Ref: ba9e0de36d) 2016-08-10 20:58:28 +02:00
Aokromes
cb4861a7ad Core/Movement: Do not launch pathfinding for splines turning on the spot 2016-08-10 20:27:54 +02:00
Trond B Krokli
0a09a69ab0 Core/DB/Updater: English grammar corrections (#17207)
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
(cherry picked from commit 186375d997)
2016-08-10 18:19:01 +02:00
Aokromes
88fcea04d0 Server/Database: Reduce differences between 3.3.5 and 6.x branches 2016-08-10 17:50:36 +02:00
Aokromes
5db8edd611 Server/Database: Reduce differences between 3.3.5 and 6.x branches 2016-08-10 17:48:25 +02:00
Aokromes
085dd6a21d Compile fix try 2016-08-10 11:11:57 +02:00