Commit Graph

26727 Commits

Author SHA1 Message Date
DJScias
3f58ad3060 Core/DBLayer: Correct Battle.net CheckPassword
- Async would lock and crash the server
- This fixes !bnet set password and !bnet password
2015-06-12 11:35:58 +02:00
Shauren
733456ef31 Core/Auras: Implemented SPELL_AURA_OVERRIDE_ATTACK_POWER_BY_SP_PCT 2015-06-12 00:11:12 +02:00
Carbenium
32b954923a Core/DBC: Fixed DBC fmt introduced in 2bd28bce69
* Improve invalid emblem color log message
2015-06-11 13:07:54 +02:00
Carbenium
2bd28bce69 Core/Guild: Add validation for guild tabard colors 2015-06-11 02:26:54 +02:00
Carbenium
1d20122903 Merge pull request #14741 from Rushor/Force
Game/Spell: Spellmgr - Force Cast - Fix Typo
(cherry picked from commit b15d32992f)

Conflicts:
	sql/updates/world/2015_05_22_00_world.sql
	src/server/game/Spells/SpellMgr.cpp
2015-06-11 01:03:41 +02:00
Shauren
5249be851f Core/Auras: Implemented SPELL_AURA_OVERRIDE_SPELL_POWER_BY_AP_PCT 2015-06-11 00:09:19 +02:00
Carbenium
26961d8ae5 Core/PacketIO: Fix structure of CMSG_SAVE_GUILD_EMBLEM, SMSG_QUERY_GUILD_INFO_RESPONSE and SMSG_GUILD_INVITE
Thanks @DJScias for noticing that issue
2015-06-10 23:34:05 +02:00
Nyeriah
a7988971bd Scripts/TheEye: Clean up instance script
(cherry picked from commit d86ff08145)
2015-06-10 12:52:55 -03:00
Shauren
50848e4dac Core/Bnet: Fixed bnetserver not shutting down correctly when started as windows service 2015-06-10 00:21:55 +02:00
Gacko
d4ad3843e9 Fix warning. 2015-06-09 19:22:59 +02:00
Shauren
5456444da3 Core/Auras: Implemented aura 419 - SPELL_AURA_MOD_BASE_MANA_PCT 2015-06-09 17:13:25 +02:00
Kinzcool
7c51b227a4 DB/Texts: Added more npc_text data 2015-06-08 19:50:02 -04:00
MitchesD
00e5d29d9c Core/PacketIO: updated SMSG_RESET_FAILED_NOTIFY
* forgot to push in previous commit
2015-06-08 21:25:49 +02:00
Shauren
cb854a2b7b Core/Maps: Removed dbguid/spawnid grid searchers, they are no longer neccessary 2015-06-08 17:48:21 +02:00
Kinzcool
ac53442e4f Core/Misc: Correctly load data from npc_text table and added some data to it 2015-06-07 20:22:49 -04:00
MitchesD
e3ed67732f Core/PacketIO: updated structure of CMSG_RESET_INSTANCES, SMSG_INSTANCE_RESET, SMSG_INSTANCE_RESET_FAILED and SMSG_SPELL_INSTAKILL_LOG 2015-06-07 17:08:45 +02:00
MitchesD
70fe4e57a0 Core/PacketIO: updated structure of SMSG_PVP_CREDIT and enabled some other opcodes 2015-06-07 10:43:03 +02:00
Vincent-Michael
36086a643b Core/Chat: Fix issues reported by static analysis 2015-06-07 03:18:00 +02:00
Shauren
7eb25f1af6 Core/Commands: Fixed .gobject move and turn 2015-06-07 00:09:08 +02:00
Kinzcool
e702d60e0d DB/Creatures: Updated misc stats for MoP creatures 2015-06-06 13:54:56 -04:00
Shauren
ba6e5c5637 Core/Bnet: Implemented starting bnetserver as a windows service 2015-06-06 13:03:36 +02:00
Carbenium
c0b4c7f461 Core/Support: Fix a crash where ObjectAccessor::FindPlayer returned nullptr, since the player wasn't logged in_place
Closes #14842
2015-06-05 23:12:20 +02:00
Shauren
de486ebc2c Core/Spells: Fixed spell mana costs - percentage should be calculated using base mana, not total 2015-06-04 15:04:54 +02:00
pete318
97a074def2 Core/Spells: Support for targetting spells onto in flight units
* This adds support to spell_custom_attr to allow a spell to be cast
  upon a unit on a taxi/in flight.
* This will allow the Issue #11880 with Horde quest Test At Sea (11170) to be corrected.
* closes #14235

Signed-off-by: Naios <naios-dev@live.de>

(cherry picked from commit f9cba93985)
2015-06-04 13:38:53 +02:00
Shauren
6e9ab38fcc Core/GameObject: Removed unneeded argument from GameObjectModel::Relocate and renamed it to UpdatePosition 2015-06-03 19:53:28 +02:00
Naios
df80f1900d Core/Shared: Hide the internal shared_ptr of the TaskContext
* use . operator instead of -> to access the TaskContext now.
* Add TaskContext::IsExpired to check whether the owner has expired.

(cherry picked from commit 151a0f5c5e)
2015-06-03 18:37:41 +02:00
MitchesD
45eaeff553 Core/PacketIO: updated structure of SMSG_SPELL_INTERRUPT_LOG, SMSG_SPELL_ENERGIZE_LOG 2015-06-03 15:02:38 +02:00
Duarte Duarte
fb4a9823c4 Merge pull request #14723 from TrinityCore/findmysql-update
Update FindMySQL.cmake
2015-06-02 14:13:56 +01:00
DJScias
33ba6b74bd Core/PacketsIO: Updated and enabled SMSG_CHAR_CUSTOMIZE, SMSG_CHAR_CUSTOMIZE_FAILED
Closes #14789
2015-06-02 04:16:24 +02:00
Shauren
b15a0b96bf Core/Maps: Fixed MapDifficulty lookup for instances that do not have a selectable difficulty on interface (40 mans)
Closes #14366
2015-06-02 00:25:55 +02:00
DDuarte
23b8ddf433 Core/MMap: Fix two possible memory leaks in MMapManager
CID 1292777, 1292776 Resource leak
2015-06-01 03:25:17 +01:00
DDuarte
47a119e4fa Core/LootMgr: Remove dead validation code from LoadLootTable
CID 1288389 Operands don't affect result
2015-06-01 03:19:18 +01:00
DDuarte
b8c681c776 Core: Fix multiple Coverity issues 2015-06-01 03:03:05 +01:00
DDuarte
e43a6b373a Merge pull request #14613 from ariel-/shathalls
Fixed some issues with PR #14157
(cherry picked from commit 82a6cbcad4)

Included coverity fix of 25881ca95f (DD)

Conflicts:
	src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/instance_shattered_halls.cpp
2015-06-01 02:31:32 +01:00
jackpoz
a323ee5e62 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023115

(cherry picked from commit 391c81d86c)

Conflicts:
	src/server/scripts/Commands/cs_npc.cpp
2015-06-01 01:04:43 +01:00
jackpoz
986deaa977 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1022861, 1022862, 1022863, 1302435, 1302439, 1302440

(cherry picked from commit 25881ca95f)

Conflicts:
	src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/shattered_halls.cpp
	src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2015-06-01 00:57:41 +01:00
MitchesD
65dc69c17b Merge pull request #14777 from tkrokli/putricide_ooze_eruption
[3.3.5a][ICC/Professor Putricide] Volatile Ooze Eruption fix
(cherry picked from commit 43ae8727ac)

Conflicts:
	src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
2015-06-01 00:54:54 +01:00
jackpoz
8cbdb7aa36 Core/CrashHandler: Log STACK_OVERFLOW crashes
Try to log STACK_OVERFLOW crashes by allocating log buffer on the heap which should still be in a valid state with a stack overflow exception.
This will probably still not produce a complete crash report with details about all stackframes.

(cherry picked from commit ec4b08e3cf)
2015-06-01 00:53:21 +01:00
Aokromes
b7fec85c5c Engrish to english CONTRIBUTING.md
By thumsoul
and clarify some things.
(cherry picked from commit adb5dbed80)

Conflicts:
	CONTRIBUTING.md
2015-06-01 00:52:18 +01:00
DDuarte
eeadf2964e Core/Spells: Fix invalid iterator usages in Spell::SelectSpellTargets()
Closes #14751
2015-06-01 00:27:28 +01:00
Shauren
ca9237fbcd Core/Players: Intellect no longer affects mana regen from spirit 2015-06-01 00:09:31 +02:00
Naios
9a999556ec Shared/Util: Introduce a task scheduler which schedules task with c++11 techniques.
* Use std::function as callback (methods, lamdas & std::bind).
* Uses std::chrono::duration as duration type (Milliseconds, Seconds...)
  - With c++11 user defined literals we could just write "11s" for example (MSVS 2015, gcc & clang).
* Provides a lot of overloads for easier usage:
  - Static durations or random durations between min and max.
  - Named (with group ids - group id 0 is possible) or anonymous tasks.
  - Asynchronous tasks.
* Is adapted to the current needs of scripting:
  - Repeat tasks through the TaskContext
  - Schedule new tasks from the context.
  - Provides access to the times repeat counter of a task,
    this will help to schedule multi step events (dialogs for example).

See https://gist.github.com/Naios/6d143538abdc3d32fd2b for usage examples.

(cherry picked from commit da77a90aa9)
2015-05-31 20:31:29 +02:00
Shauren
eee0eebf51 Core/Items: Implemented primary stats on gear changing with character specialization (stats 71-74) 2015-05-31 00:13:41 +02:00
Shauren
83df74e3dc Core/Auras: Implemented SPELL_AURA_MOD_STAT_BONUS_PCT (467) 2015-05-31 00:12:21 +02:00
Shauren
b0c4268a6b Core/Scripts: Corrected argument types in GetCreatureEntry/GetGameObjectEntry ZoneScript hooks 2015-05-30 22:33:29 +02:00
Shauren
bf37446b3c Core/GameObjects: Fixed GameObjectAddon loading 2015-05-30 22:32:28 +02:00
Shauren
2f0c293266 Core/Misc: Removed some old unused enums 2015-05-30 22:17:42 +02:00
MitchesD
0cf0209741 Merge pull request #14782 from doctaweeks/fixes-for-6.x
Minor fixes for 6.x
2015-05-30 19:34:25 +02:00
Shauren
12d59623ff Merge pull request #14803 from DJScias/guildinvitefix
Core/Guilds: Disallow sending invite to people already in a guild
2015-05-30 12:09:28 +02:00
DJScias
e9c9bee8b1 Core/Guilds: Disallow sending invite to people already in a guild
- In the case this would happen the player was able to join two (or more) guilds and bug themself out heavily
- If the player declined the invite, they instead were removed from their current guild until restart, this allowed the above to loop endlessly
2015-05-30 12:08:06 +02:00