Commit Graph

30447 Commits

Author SHA1 Message Date
Rushor
c560cb0a0c Scripts/Northrend: Knockbackimmunity Cleanup 2016-02-06 18:17:16 +01:00
joschiwald
b259d5c2bc Scripts: addition to 8b6954e81b
Closes #16466
2016-02-06 17:26:27 +01:00
Rushor
d92d5c0d17 DB/Creature: Stinky + Precious - Add Knockbackimmunity 2016-02-06 17:11:14 +01:00
Treeston
e3d52990dd Merge pull request #16433 from Tonghost/3.3.5
[3.3.5][6.x] Core/Creature: Do not load equipment with id = 1 when creature.equipmen…
2016-02-06 16:36:53 +01:00
Treeston
6d8e39f59c Merge pull request #16410 from sirikfoll/Strand
Core/Achievement Fix Achievement Defense of the Ancients
2016-02-06 16:35:33 +01:00
treeston
b72ae883bc Core/Spells: Adjust on-apply dispel behavior of Divine Shield / Ice Block etc.
- Now counts as a hostile dispel (triggers on-dispel effects: Grobbulus injection etc)
- Can dispel non-deathpersist spells despite ATTR0_UNAFFECTED_BY_INVULNERABILITY (despite the name, this only means they can be applied while immune, not that the aura cannot be removed by immunity), if they do not have SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE (debuffs like recently bandaged etc have this)
2016-02-06 16:14:39 +01:00
treeston
e31743f682 Grids/Notifiers: Notify triggers of units moving within their LoS. 2016-02-06 15:52:57 +01:00
treeston
e064000a35 Code style, urand -> urandms. 2016-02-06 15:24:39 +01:00
Kittnz
57a5879070 Fix build & tabs 2016-02-06 15:17:09 +01:00
Kittnz
859b617613 Pet/Misc: Implement Egbert's running around
Closes #16479
2016-02-06 15:06:17 +01:00
Vincent-Michael
d1a185e3d5 Scripts: Added missing override 2016-02-05 21:57:05 +01:00
Rushor
f3fbb49df5 Merge pull request #16472 from Rushor/immunity
Core/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
2016-02-05 21:46:37 +01:00
treeston
0813261c6f Merge branch '3.3.5-toytrain' into 3.3.5 (PR #16218) 2016-02-05 15:11:22 +01:00
pete318
3aaeb57405 Implement AuctionHouse features: GetAll scan and search throttling
Implements two standard features of the Auction House.
* GetAll scan, retrieves all auctions and sends them in a single packet.
  There's a limitation on how often a player can do this (Max 55000 items)
* Search throttling. For normal searches, the server can send a time
  in milliseconds to the client, the client will wait that long between
  searches. Delay set in config

Closes #16469
2016-02-05 15:01:59 +01:00
MitchesD
2d4f61e5f2 Rename 2016_01_14_99_world.sql to 2016_02_04_00_world.sql 2016-02-04 21:11:06 +01:00
MitchesD
ccad18b62d Merge pull request #16262 from sirikfoll/Torch
Core/Scripts Script Npc needed for Quest Torch Tossing, Part 2
2016-02-04 21:10:22 +01:00
joschiwald
8b6954e81b Core/Gossips: added some sanity checks to prevent duplicate interaction 2016-02-04 20:43:28 +01:00
Rushor
110e0fd092 Game/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
* updates #16423
2016-02-04 15:46:23 +01:00
treeston
53d6431c19 Creature/AI: Fix incorrect evade logic (closes #16461) 2016-02-03 21:34:17 +01:00
pete318
fe2a0fda44 Prevent duplicate spawns for same spawn ID
If there is an alive instance of the creature upon creature spawn, skip
spawn entirely. If there are only dead instances, despawn them. A new dead
corpse in the creatures home position will be respawned.

Closes: #16462
2016-02-03 19:27:36 +01:00
Shauren
4611125339 Merge pull request #16465 from Keader/rapture
Core/Spells: Fixed cooldown check for Rapture (Priest) talent
2016-02-03 15:57:11 +01:00
Keader
7093c0c769 Fix cooldown check talent Rapture (Priest) 2016-02-03 10:43:57 -03:00
treeston
bf31f26e8c fix crash 2016-02-03 11:15:09 +01:00
Treeston
d5868a7db3 Merge pull request #16345 from Trisjdc/creature_flag_reset_on_respawn
Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED)
2016-02-02 20:36:39 +01:00
treeston
9d932e7f0c Merge remote-tracking branch 'tkrokli/npc_disciple_of_naralex' into 3.3.5-base (PR #16437) 2016-02-02 18:15:00 +01:00
treeston
bac463c481 Merge branch '3.3.5-noplayerdamagereq' into 3.3.5-base (PR #16257) 2016-02-02 18:10:18 +01:00
Duarte Duarte
60f8751c64 Merge pull request #16451 from tkrokli/uldaman_at_map_chamber
Core/Scripts/Uldaman: change hardcoded text to enum
2016-02-01 21:52:03 +00:00
tkrokli
627ec0e35e Core/Scripts/Uldaman: change hardcoded text to enum
Change #define to enum {with brackets}

Possibly the smallest change so far in this series of core script changes.
2016-02-01 22:07:47 +01:00
tkrokli
bc03fedf6d Core/Scripts/DB: remove hardcoded text from 'npc_disciple_of_naralex'
- moved 2 #define text lines to enum, already in npc_text
- new gossip_menu_option for NPC 3678 Disciple of Naralex
- using `ADD_GOSSIP_ITEM_DB` instead of `ADD_GOSSIP_ITEM`

Tested on both alliance and horde characters, works just like before.
2016-02-01 02:31:19 +01:00
Aokromes
20a8476cd8 Rename sql/world/2016_01_30_05_world.sql to sql/updates/world/2016_01_30_05_world.sql
Now yes...
2016-01-31 20:47:44 +01:00
Aokromes
7c9f0f2056 Rename sql/2016_01_30_05_world.sql to sql/world/2016_01_30_05_world.sql 2016-01-31 19:30:47 +01:00
Aokromes
404a5f639f DB/Misc: Fix some startup errors 2016-01-31 18:21:18 +01:00
Incorrect
cc3ae640a4 Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
Closes #16416
2016-01-31 17:09:58 +02:00
treeston
bba182428d DB/ModelInfo: Fix the hitbox on Cyanigosa's dragon form. 2016-01-31 15:51:26 +01:00
treeston
815f43be7a Scripts/UtgardeKeep: Bonus Ingvar the Plunderer fixes to reset behavior. There should no longer be weirdness if a reset happens during the RP phase. 2016-01-31 15:14:01 +01:00
treeston
c829fc7de4 Scripts/UtgardeKeep: Ingvar updates:
- Roar at start of phase two
- Ingvar no longer does a weird move-jump towards his target when resurrecting
- Fixed a duplicate yell on phase one end
2016-01-31 14:27:18 +01:00
Aokromes
47f672450a DB/Conversor: add some comments 2016-01-31 12:10:20 +01:00
Aokromes
d00d1e420a DB/Conversion: Get rid of some alters of fresh created tables 2016-01-31 12:00:10 +01:00
Aokromes
1a5fb2db8e DB/Conversor: delete 2 renames of fresh created tables
create new tables with correct name
2016-01-31 11:49:57 +01:00
Carbenium
d427c853e7 Collision/MMap: Fix a memleak reported by valgrind
Tiles which are owned by the mesh should have the DT_TILE_FREE_DATA flag to ensure
deallocation on removal from the mesh.

Log:
==23516== 6,181,976 bytes in 6 blocks are definitely lost in loss record 15 of 15
==23516==    at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
==23516==    by 0x2052660: dtCustomAlloc(int, dtAllocHint) (Memory.h:11)
==23516==    by 0x29D7FDA: dtAlloc(int, dtAllocHint) (DetourAlloc.cpp:43)
==23516==    by 0x230AA70: MMAP::MMapManager::loadMap(std::string const&, unsigned int, int, int) (MMapManager.cpp:166)
==23516==    by 0x1DD585B: Map::LoadMMap(int, int) (Map.cpp:125)
==23516==    by 0x1DD7266: Map::LoadMapAndVMap(int, int) (Map.cpp:200)
==23516==    by 0x1DD93C6: Map::EnsureGridCreated_i(CoordPair<64u> const&) (Map.cpp:453)
==23516==    by 0x1DD9129: Map::EnsureGridCreated(CoordPair<64u> const&) (Map.cpp:429)
==23516==    by 0x1DED100: Map::GetGrid(float, float) (Map.cpp:2200)
==23516==    by 0x1DE0F4C: Map::GetAreaFlag(float, float, float, bool*) const (Map.cpp:2349)
==23516==    by 0x198521B: Map::GetZoneId(float, float, float) const (Map.h:353)
==23516==    by 0x197CFF0: WorldObject::GetZoneId() const (Object.cpp:1277)

Phase tiles aren't managed by detour so they shouldn't be free'd automatically on removal.
See MMapManager::UnloadPhaseTile

(cherry picked from commit 32e8b6506f)
2016-01-30 20:48:15 +01:00
Dr-J
406584839c DB/SAI: Overthane Balargarde
A couple of updates to previous commit a258e36039

Closes #4841
2016-01-30 15:22:53 +00:00
Kittnz
771dfe243d DB/Creature: fix Mine Car visible state
- Still need some SAI fixing when it resets so it continues the path
2016-01-30 15:31:31 +01:00
Kittnz
ecdeb5cb9c DB/Creature: Bloodmyst Isle
- Add Pathing and SAI for Bloodcursed Naga
- Add Pathing for Lord Xiz
2016-01-30 15:30:00 +01:00
Killyana
789470ccf1 Spell/Script: Safirdrang's Chill
Updates #4841
2016-01-30 15:20:14 +01:00
Dr-J
a258e36039 DB/Quest: Banshee's Revenge
Script http://www.wowhead.com/quest=13142/banshees-revenge

Only spell issue remains see original issue https://github.com/TrinityCore/TrinityCore/issues/4841
2016-01-30 10:59:19 +00:00
Killyana
e249db9777 DB/Object: Add 2 missing traps on Icc 2016-01-30 04:23:03 +01:00
treeston
f0b9ee157b Fix warning. 2016-01-30 00:48:47 +01:00
treeston
d795bd8040 Merge remote-tracking branch 'tkrokli/npc_parqual_fintallas' into 3.3.5-base (PR #16384) 2016-01-30 00:31:38 +01:00
jackpoz
d75469e31f Scripts/Deadmines: Fix issues reported by static analysis
Fix Coverity issue id 1022474
2016-01-30 00:13:22 +01:00
tkrokli
7a101bcf00 [3.3.5] Core/Scripts/DB: move core script 'npc_parqual_fintallas' to SAI
Additional change: menu options are changed from containing only names
to include the text " is my answer.", based on the lines in `broadcast_text`.

- replaced core text with DB SAI script
- created DB creature_text entries for Parqual Fintallas
- created DB gossip_menu_option entries for the NPC
- implemented NPC say lines in reply to all the answers
- added conditions for which gossip should show, depending on quest status
- added conditions to avoid exploits in the time it takes for NPC to say his texts

This PR is tested several times on a horde character (horde-only quest).
It now works as originally intended, with option-specific NPC replies.
2016-01-29 23:26:08 +01:00