Commit Graph

21741 Commits

Author SHA1 Message Date
Trisjdc
a51ec98044 Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED)
(cherry picked from commit 132be2d25a)
2016-04-02 17:49:20 +02:00
tkrokli
0466de43cc 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.

(cherry picked from commit bc03fedf6d)
2016-04-02 17:36:48 +02:00
treeston
870a76ad10 DB/Creature: Add a new extra_flag CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ (0x00200000) that awards players credit for killing the creature even if less than 50% of damage was dealt by players.
This can be used to fix quests such as "Heated Battle" or "If Valgarde Falls..." that are currently very hard to complete at the appropriate level due to "friendly" NPCs killing off the required targets too quickly for players to get 50% of damage in.

(cherry picked from commit d240ccb38c)
2016-04-02 17:33:31 +02:00
tkrokli
97b70abe54 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.

(cherry picked from commit 627ec0e35e)
2016-04-02 16:47:35 +02:00
treeston
677309743a Scripts/UtgardeKeep: Bonus Ingvar the Plunderer fixes to reset behavior. There should no longer be weirdness if a reset happens during the RP phase.
(cherry picked from commit 815f43be7a)
2016-04-02 16:46:13 +02:00
treeston
61d216593c 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

(cherry picked from commit c829fc7de4)
2016-04-02 16:46:01 +02:00
Killyana
31dbb6150d Spell/Script: Safirdrang's Chill
Updates #4841

(cherry picked from commit 789470ccf1)
2016-04-02 16:25:23 +02:00
treeston
9f237e745a Fix warning.
(cherry picked from commit f0b9ee157b)
2016-04-02 15:37:10 +02:00
Shauren
ddb0bc7b6a Scripts/Undercity: Removed obsolete script
Partial cherry pick of 7a101bcf00
2016-04-02 15:35:49 +02:00
jackpoz
9e0491db48 Scripts/Deadmines: Fix issues reported by static analysis
Fix Coverity issue id 1022474

(cherry picked from commit d75469e31f)
2016-04-02 15:32:10 +02:00
Keader
6005b3a5c5 Fix Kinetic Bomb stuck after knockback effect.
(cherry picked from commit 36648d1079)
2016-04-02 15:31:27 +02:00
treeston
76d15c906e Player/Quest: Credit group for gameobject activation if they are in proximity.
(cherry picked from commit cd625a12e2)
2016-04-02 15:31:00 +02:00
P-Kito
cd435b1385 Unit/CalcAbsorbResist: Sanctified Wrath should pierce absorb effects
by P-Kito; retrieved from #15027

The paladin talent Sanctified Wrath should pierce absorb effects.

(cherry picked from commit b8762d8a9f)
2016-04-02 15:30:09 +02:00
tkrokli
50ad1cca00 Core/Scripts/DB: remove hardcoded text from 'npcs_dithers_and_arbington'
- created DB gossip_menu_option entries for both NPCs
- added enum section instead of "magic numbers" in script
- replaced core text with pointers to DB text
- zone_western_plaguelands.cpp is now cleaned up

(cherry picked from commit 29c2a42324)
2016-04-02 15:18:47 +02:00
treeston
3211f639e8 Looting/Group: Do not display looter in tooltip when FFA loot is enabled.
(cherry picked from commit 10482419b7)
2016-04-02 15:00:59 +02:00
Gabriele Gelardi
0d8a73e53c Scripts/Duel: prevent possible abuse in Duel Reset system
(cherry picked from commit c0ed819e0c)
2016-04-02 15:00:32 +02:00
DDuarte
75ff256cc4 Core/SAI: Typo fix of 77087db793
There's no %b, silly

(cherry picked from commit 7a252fc648)
2016-04-02 14:52:27 +02:00
DDuarte
252220ed6e Core/SAI: Code improvements to SMART_ACTION_RANDOM_SOUND
Warning fixes and extra sanity checks

Ref #16376

(cherry picked from commit 77087db793)
2016-04-02 14:52:15 +02:00
Lopfest
c457de1e80 Core/SAI: added SMART_ACTION_RANDOM_SOUND
Closes #16376

(cherry picked from commit e4af2baa7e)
2016-04-02 14:51:13 +02:00
Nick
6e5a129d91 Core/Scripts: Change door ID in Blackwing Lair
as per 7d454c66f7

Change the name as well.

(cherry picked from commit a35a6279fe)
2016-04-02 14:38:48 +02:00
jackpoz
f0bb02d8ee Scripts/Misc: Fix issues reported by static analysis
(cherry picked from commit 0e76d67e49)
2016-04-02 14:38:29 +02:00
Carbenium
2e3686b7e7 Core/Util: Add a missing include
(cherry picked from commit 1038df8d5b)
2016-04-02 14:33:25 +02:00
joschiwald
9a202dfd4a Scripts/ICC/Teleporter: moved gossips to db
(cherry picked from commit ea38a7d95b)
2016-04-02 14:10:19 +02:00
Saben65
12b7f330c6 Scripts/Zangarmarsh: Removes empty gossip_text that resulted in NPCs saying blank text to players after buffing them
Closes #12697
Closes #16300

(cherry picked from commit ccf3ed40e2)
2016-04-02 13:53:11 +02: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
Aokromes
8ea8de42ea Core/Misc: Fix log 2016-04-01 04:37:20 +02:00
DDuarte
0afcefea27 Core/Config: Fix 3 more missing config warnings
Closes #16861

Thanks tkrokli
2016-03-31 03:31:21 +01:00
DDuarte
9431b94bff Core/Config: Error logging for ptree_bad_data
Ref 6487e2f2d6 (commitcomment-16888976)
2016-03-31 03:19:27 +01:00
treeston
d9c99acebb Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions
(cherry picked from commit 17f924a031)
2016-03-29 20:08:01 +02:00
treeston
009cabb4b9 Merge branch '3.3.5-spellfacing' into 3.3.5-base (PR #15641)
(cherry picked from commit 233297c5c8)
2016-03-29 19:36:05 +02:00
Saben65
21371075ff Scripts/Shadowmoon Valley: Dragonmaw Peon
Fixes issue where NPC does not attack, even when aggro'd.
Fixes #16210
Closes #16204

(cherry picked from commit ad425f9f17)
2016-03-29 19:22:42 +02:00
treeston
5f6da87269 Merge remote-tracking branch 'velinath/sai-migrations' into 3.3.5-base
(cherry picked from commit e203d78d2a)
2016-03-29 19:22:02 +02:00
DDuarte
7f8cd123c4 Core/PacketIO: Properly send normalized realm names
Ref #14949
2016-03-28 23:10:44 +01:00
Shauren
adc7b5e1f1 Core: Fixed VS 2013 build 2016-03-28 22:32:54 +02:00
Shauren
4a679ba1be Core/Commands: Prevent creating accounts containing '@' character with .account create command 2016-03-28 19:40:15 +02:00
Shauren
335a1e495c Clang build fixes 2016-03-28 19:32:33 +02:00
Shauren
ea652fbedd Build fixes 2016-03-28 18:47:13 +02:00
Shauren
dde620c402 Core: Updated to 6.2.4
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Shauren
619669c620 Core/PacketIO: Updated remaining packet structures and enums appearing in packets 2016-03-28 15:23:41 +02:00
DDuarte
13db756f9d Core/Config: Remove references to Arena.QueueAnnouncer.PlayerOnly which hasn't been used since 3dd6fdedf7
Ref #16859

(cherry picked from commit 5f3262ff19)

# Conflicts:
#	src/server/game/World/World.cpp
2016-03-28 03:18:42 +01:00
DDuarte
b372935ce3 Typo fix 423bded9a6 2016-03-28 03:17:51 +01:00
DDuarte
be573a7aa4 Core/AHBot: Add missing AuctionHouseBot.Class.CLASS.Allow.Zero to config
Ref #16859

(cherry picked from commit 92be9ad7ad)
2016-03-28 02:37:08 +01:00
DDuarte
423bded9a6 Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859

(cherry picked from commit 980f28d2ce)

# Conflicts:
#	src/server/authserver/Server/AuthSocketMgr.h
#	src/server/game/Server/WorldSocketMgr.cpp
2016-03-28 02:36:58 +01:00
DDuarte
06b3bca0d2 Core/Startup: Warn when a config key isn't found in the config files
Example: "Missing name Guild.SaveInterval in config file worldserver.conf, add "Guild.SaveInterval = 15" to this file"
2016-03-27 23:48:17 +01:00
Shauren
8fcca8e01c Tools/Connection patcher: Updated for 6.2.4.21355 2016-03-27 23:57:41 +02:00
Shauren
1cb76db4c2 Core/PacketIO: Corrected severeal movement opcode values 2016-03-27 22:53:18 +02:00
Rochet2
183d027e13 Add missing GAME_API exports
(cherry picked from commit 2348613f7b)
2016-03-27 16:31:15 +02:00
Shauren
0d3a81b2bc Contrib: Updated protoc plugin to generate service classes suitable for dynamic linking 2016-03-26 22:01:03 +01:00
Shauren
60a4914c33 Core/Networking: Added SslSocket wrapper for boost::asio::ssl::stream 2016-03-26 18:52:32 +01:00