Commit Graph

8816 Commits

Author SHA1 Message Date
r00ty-tc
3446424540 Core/Spawn: Limit saved/stored respawn time.
- Limit to time_t maximum, for the compiled-for architecture.

Closes #20834
2017-11-15 00:59:23 +01:00
jackpoz
a80c95a1c7 Core/Misc: Fix static analysis issues 2017-11-12 14:55:11 +01:00
jackpoz
97f33dc779 Core/Misc: Fix static analysis issues 2017-11-11 20:27:30 +01:00
jackpoz
7e73f5f1ed Core/Misc: Fix static analysis issues 2017-11-11 20:03:35 +01:00
ccrs
60a5535f64 Core/AI: rearrange SAI private methods 2017-11-07 19:22:39 +01:00
ccrs
e10d7dd45c Core/Misc: waypoint movement
- Creature: update current waypoint to store nodeId and pathId
- MotionMaster: change variable type on GetMotionSlotType and GetMotionSlot to keep consistency and prevent errors (ASSERT is now no longer needed)
- UnitAI: add new waypoint hooks WaypointPathStarted and WaypointPathEnded
- SAI: handle WAYPOINT related events if creature is no escorting
* SMART_EVENT_WAYPOINT_RESUMED still not implemented for no escorting

TODO: the new hooks can save, now duplicated, logic on EscortAI and SAI

closes #20777
updates #20310
updates 21bd52cb99
2017-11-06 22:19:23 +01:00
Nathan Handley
6612ec47f4 Core/Misc: Add functionality to allow low level quests/kills/discoveries to grant experience 2017-11-04 01:25:14 +01:00
Aokromes
58dad504da Core/Spell: Fix typo on documentation
By Mihapro
2017-11-02 19:54:31 +01:00
Shauren
e947fcedee Core/Taxi: Apply reputation discount to all points in multi-segment paths
(cherry picked from commit 99f5d06149)
2017-10-29 19:13:32 +01:00
Aokromes
4289eae5e7 Core/Logs: Add load time to some logs like every other load log 2017-10-29 14:14:50 +01:00
Aokromes
b68484cfb0 Core/Logs: Fix more logs
the others have exit,so they continue to be error because they are critical
2017-10-29 13:12:38 +01:00
Aokromes
5f7ba453ce Core/Logs: Fix some logs 2017-10-29 10:26:58 +01:00
ForesterDev
a64d1ec51e Core/Quests: implement Quest Greeting (DB table quest_greeting)
* Core/Quests: implement Quest Greetings. Partial port 22e230ecec
2017-10-29 10:15:22 +01:00
Gerhood
951fa46fe9 Calendar/GameEvents: Store + send holiday data (#20117)
Close: #16845
2017-10-27 10:59:22 -02:00
Keader
04271388f8 Typo 2017-10-27 08:28:48 -03:00
Keader
90f07bd948 Scripts/BlackTemple: Updates on Illidan encounter
- Fixed issues related with Parasitic Shadowfiend
- Updated script to new model
- Fixed loop of Parasitic Shadowfiend Summon
- Added a new spell (SPELL_REMOVE_PARASITIC_SHADOWFIEND)
- Fixed illidari elite attacking players
- SPELL_PARASITIC_SHADOWFIEND now is a negative aura
2017-10-26 23:10:00 -03:00
Aokromes
95b4faf015 another typo fix 2017-10-26 20:40:46 +02:00
Aokromes
c2f152d903 typo fix 2017-10-26 16:32:54 +02:00
Aokromes
d5a4cae7d3 Core/Battleground: mistaked rows 2017-10-26 16:27:48 +02:00
Aokromes
5ae891d970 Core/Battleground: use sniffed positions of Arathi Basin buffs
Closes #20149
2017-10-26 16:24:25 +02:00
Teppic1
967dcc5dba Core/Creatures: Remove duplicate check for evade from Creature::CanAssistTo (#20722) 2017-10-26 14:13:56 +02:00
Treeston
bf81a7b207 Core/Map: Fix a crash bug when teleporting out of map before being fully added to that map. Closes #20289. 2017-10-26 11:35:21 +02:00
Kittnz
37995ade29 Core/SAI: Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND (#20717) 2017-10-26 11:27:44 +02:00
r00ty-tc
82a93e6be9 Core/Maps: Prevent potential null dereference
- Coverity: 1381663
2017-10-26 00:22:45 +02:00
Aokromes
c5a3ec667f Core/Misc: Fix build on CentOS
By Nayd. Closes #20413
2017-10-26 00:04:57 +02:00
Shauren
b763242665 Core/Taxi: Fixed applying reputation discount to first taxi segment
Closes #20713

(cherry picked from commit d7e463dd9f)
2017-10-25 18:37:45 +02:00
Wyreth
637b5f922d Core/SAI: remove double calls to SMART_EVENT_RESPAWN for creatures and gameobjects (#20420) 2017-10-23 23:45:21 +02:00
Wyreth
21bd52cb99 Core/SAI: allow to pause/resume waypoint for non-escorting NPCs (#20684) 2017-10-22 21:37:38 +02:00
jackpoz
7dc97c0353 Core/SAI: Fix static analysis issue
Initialize uninitialized value, move class field from public to private.
2017-10-21 16:42:07 +02:00
Gildor
3eb0cfc687 Core/Misc: Added the possibility to configure the hour at which the server will be return old mails or delete them. (#20305) 2017-10-20 23:34:45 +02:00
Keader
b507acf1c0 Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. (#20621) 2017-10-20 10:57:47 -02:00
Keader
9f943e284f Core/Player: Fixed Battleground double kill exploit (#20618)
Fixed by: Sirikfoll
Close: #20616
2017-10-20 09:36:22 -02:00
kelno
1aafa2c560 Fixed SCRIPT_COMMAND_TALK description, comment was matching the old behavior 2017-10-17 11:58:45 +02:00
Mikhail Redko
558382ed6d Core/WorldSession: Add RBAC permission for skipping idle connection check (#20595) 2017-10-13 22:26:53 +02:00
Chaouki Dhib
5505625b0a Core/Spells: Add spell radius to 'Feral Charge - Cat' since it's missing in DBC (#20609) 2017-10-13 22:12:26 +02:00
Chaouki Dhib
9dbef4b6bb Core/Spells: Core/Spells: Improve teleport destination for a certain class of spells (Killing Spree, Shadowstep, ...) (#20434)
Close # 8758
2017-10-12 22:06:27 +02:00
Shauren
1f3cf8bcf4 Core/Mails: Fixed mail_items entries being left in database after deleting expired mails
Closes #20194
Closes #20461
2017-10-09 21:22:47 +02:00
Wyreth
ca024f104c Core/Quests: don't send "Received item" chat message for quest rewards. (#20465) 2017-10-09 21:14:09 +02:00
Keader
98c363154a Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE (#20546) 2017-10-07 18:38:11 -03:00
r00ty-tc
55b9a3f65f Core/Spawns: Resolve crash in BattlegroundAV
- Correctly set spawngroup on spawned creatures in Alterac Valley BG
 - Sanity check on application of dynamic spawn rates (not for BG/Arena
   maps)
 - Check that spawndata exists before using it.

Closes #20535
2017-10-05 19:41:54 +02:00
Gildor
82e58a0c6f Core/Spells: EffectSanctuary should stop attack (#20492) 2017-10-04 21:37:05 +02:00
Keader
c1b833a919 Core/Spells: Fixed Cloak of Shadows dispel (removed old hack)
Closes #8758
Serverside spell (35729) already handle with it
2017-09-23 10:52:45 -03:00
Treeston
971ed856a4 Core/Scripts: Implemented OnlyOnceAreaTriggerScript (#20288) 2017-09-14 22:53:02 -03:00
Keader
42be04898c Core/Handlers: Fixed changing equipment while charmed with equipament manager
Closes #20209
Followup: a1a12ec755
2017-09-14 11:15:28 -03:00
Aokromes
7ed36d353a Core/Scripting: remove long time dead code 2017-09-11 18:03:57 +02:00
Treeston
47af704f63 Core/Player: More cleanups to Player::UpdateZone, including correcting an oversight that was causing the last known zone id to not update when leaving map. Closes #20289 for real this time. 2017-09-10 01:10:40 +02:00
Shauren
c8fdda7f86 Core/Creatures: Changed NearestAttackableUnitInObjectRangeCheck to only consider neutral units as targets if they are already in combat with target searching unit
Closes #13630
Closes #20205
2017-09-09 23:31:33 +02:00
Treeston
0f7015012b Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases like #20289 from occurring. 2017-09-09 21:36:57 +02:00
Treeston
dbabcfbe24 Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change. Closes #20289. 2017-09-09 21:32:34 +02:00
Treeston
a1a12ec755 Core/Player: Prevent changing equipment while charmed. Closes #20209. 2017-09-05 15:33:44 +02:00