Commit Graph

11146 Commits

Author SHA1 Message Date
treeston
b7f2c87d37 Creature/CreatureAI:
- Default range for DoZoneInCombat: 50.0f -> 250.0f.
- Add optional second arg to SummonList::DoZoneInCombat to specify range.
- Also a bunch of random NULL -> nullptr cleanup.
2016-05-11 23:24:26 +02:00
Shauren
c03e7ecd05 Build fix 2016-05-11 20:56:12 +02:00
Shauren
ef7df65256 Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-05-11 20:38:24 +02:00
r00ty-tc
de918a0f64 Core/Maps - Improvements to Cinematic function
- Moves to own class for reading, storage and player subclass
 - Proper destruction handling for player (ensure cinematic is ended)
 - Timeout for cinematic if it reaches past the end without completing
 - boost::filesystem::path used for path/filename transform
 - Correct for assert trigger under certain circumstances
 - Other changes previously suggested
2016-05-11 11:56:25 +02:00
treeston
7e48a02398 Merge branch '3.3.5-commandfixes' into 3.3.5 (PR #16335) 2016-05-11 02:14:19 +02:00
Naios
f50c4b71a1 Core/Game: Remove some unnecessary export macros 2016-05-10 19:22:22 +02:00
Naios
d4d199d765 Core/Common: Move the query callback header to the database project
* Also renames the header to it's correct name QueryCallback
2016-05-10 18:16:13 +02:00
treeston
0e1eb460d6 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.
2016-05-10 15:09:18 +02:00
Kittnz
f5c142482f Merge pull request #16481 from sirikfoll/muru
Script/SWP Full rework of the M'uru encounter
2016-05-09 22:36:13 +02:00
Kittnz
42611e65d0 Merge pull request #16474 from Asterc/Isle
[3.3.5][6.x] Core/Battleground Script for Isle of Conquest Bosses
2016-05-09 22:25:36 +02:00
sirikfoll
20b3feb559 Implement Quest Riding the Red Rocket 2016-05-09 15:33:37 -03:00
Kittnz
190c75c566 Merge pull request #16476 from Eliminationzx/FixWrongTotemPlacement
[3.3.5][6.x] Core/Spells: Fix wrong totem placement
2016-05-09 20:16:37 +02:00
Shauren
1ad02a0d61 Core/Random: Removed ancient and unused MAP_BASED_RAND_GEN 2016-05-09 18:44:26 +02:00
asterc
c1ed002b4b Core/Battleground Script for Isle of Conquest Bosses
by @gerripeach
2016-05-09 09:51:16 -03:00
Shauren
3d8bab8668 Core/Auras: SPELL_AURA_PERIODIC_LEECH can now properly overkill 2016-05-08 23:24:47 +02:00
Vincent-Michael
993f6b393c Core: Fixed warning
(cherry picked from commit b29005925e)
2016-05-08 16:12:20 +02:00
Vincent-Michael
3a74b52ddc Core/Commands: Cleanup in 0940f3e077
(cherry picked from commit a3b4c40073)
2016-05-08 16:12:11 +02:00
Vincent-Michael
797a168f9a Core/Commands: Allowed .server idlerestart / idleshutdown / restart / shutdown to take another parameter structure:
e.g.:
* .server idlerestart 12d3h13m13s
* .server idleshutdown 46m13s
* .server restart 45h56m
* .server shutdown 323m42s

(cherry picked from commit 0940f3e077)
2016-05-08 16:12:03 +02:00
Shauren
99a6c8469f Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT
(cherry picked from commit d621023192)
2016-05-08 00:15:29 +02:00
Shauren
66006e3d0d Core/Movement: Do not launch pathfinding for splines turning on the spot 2016-05-07 00:01:45 +02:00
Ariel Silva
8d09065525 Core/Spells: fix console spam (#17084) 2016-05-06 08:17:30 +02:00
treeston
59ac775223 Merge branch '3.3.5-evademore' into 3.3.5 (PR #16834) 2016-05-05 13:20:52 +02:00
treeston
58486fc19a align fix 2016-05-05 13:01:40 +02:00
Treeston
35a66a33fc Merge pull request #16020 from Treeston/3.3.5-CharmAiFix
CreatureAI: Adjust AI behavior when a charm ends
2016-05-05 11:56:25 +02:00
Kito
033f4cddea Scripts/Icecrown Citadel: Sindragosa - Ice Tomb should always deal damage to all other ice tombs too
Closes #7808
Merges #16863
2016-05-04 17:18:57 +02:00
treeston
26b084a90f CreatureAI: Adjust AI behavior when a charm ends. OnCharmed will be invoked on the creature's base (non-charmed) AI, allowing the AI to react to the creature no longer being charmed. 2016-05-03 13:23:18 +02:00
Trond B Krokli
d82534a7bb Core/Scripts/DB: remove hardcoded text from npc_beaten_corpse (#16907)
- remove hardcoded text from script npc_beaten_corpse
- remove OnGossipHello() hook, gossip text moved to DB
- use sGossipSelect() hook instead of OnGossipSelect()
- add npc_text 3557 and 3558 as text_id to gossip_menu
- add gossip_menu_option 2871 to NPC 10668 Beaten Corpse
- add condition for gossip_menu_option 2871 in Quest ID 4921

Tested on 4 different characters/classes, male & female.
Thanks to joschiwald for the sGossipSelect() script change.
2016-05-02 22:22:17 +02:00
Incorrect
9064968a4d Core/PacketsIO: Send correct messages about server first achievements depending on faction.
Allies of player who earned achievement will see his nickname as link and enemies - as just string.

Closes #17068
2016-05-02 13:22:28 +02:00
Duarte Duarte
7c82f83c0d Scripts/SWP: Remove unused #defines
(cherry picked from commit 71a7f96e22)
2016-05-02 03:12:59 +01:00
Naios
851c73b3e4 Core/Scripting: Kill pending unit events when swapping AI's 2016-05-01 17:49:37 +02:00
Incorrect
1aa30d3cce Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:31:55 +02:00
KarrokDC
775b03bf6f Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858
2016-04-30 01:06:05 +02:00
Shauren
bee6525d1b Core/Misc: Fixed -Wmisleading-indentation warnings
(cherry picked from commit 3ac33163db)

# Conflicts:
#	src/server/game/Server/Protocol/PacketLog.cpp
2016-04-28 16:22:51 +01:00
Shauren
40b0f03d5c Core/Misc: Fixed warnings found by GCC 6
(cherry picked from commit 67fd3ee726)

# Conflicts:
#	src/server/game/Spells/Auras/SpellAuras.cpp
2016-04-28 16:21:20 +01:00
Trond B Krokli
329006d310 Core/authserver.conf.dist: missing description line (#17038)
This line is missing from authserver.conf.dist :
`#                     MySQL server and their own thread on the MySQL server.`

I have copied this description text line from the matching description in
`worldserver.conf.dist` (line 108 in the 3.3.5 worldserver source file).

This line is also missing in bnetserver.conf.dist , but the files are different
in line number, filename and folder, so bnetserver needs a separate commit.
2016-04-25 23:26:04 +01:00
Mikhail Redko
d5f04f5a38 Core/Misc: Move STOP_TIME_FOR_PLAYER value to config. (#17024) 2016-04-25 22:33:26 +01:00
Aokromes
aa9129f55d Update worldserver.conf.dist 2016-04-25 11:54:21 +02:00
Rushor
e869ccb297 Merge pull request #16503 from Rushor/evading
[3.3.5][6.x]Core/Unit: Do not remove auras from Pets and Guardians after evading
2016-04-25 11:46:00 +02:00
jackpoz
ebafa2fdea Merge pull request #16494 from Rushor/calc
Core/Spell: Magic Absorption Calculation
2016-04-25 10:32:02 +02:00
joschiwald
9e371b766c Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator 2016-04-24 01:15:56 +02:00
jackpoz
3e73ba9da5 Core/Misc: Fix issues reported by static analysis 2016-04-23 18:20:18 +02:00
DevQuad
5ac000f1e9 Core/Scripts: Process the reset of Mandokir (ZulGurub)
* Closes #16640
2016-04-23 17:20:55 +02:00
Naios
dadc02d77a Core/Updater: Correct the config key hint of a log message 2016-04-23 17:13:38 +02:00
joschiwald
25da16ba44 Core/SpellScripts: allow to modify target destination of all target type 2016-04-23 16:13:12 +02:00
lafoniz
a05a871d7c Core/SmartScripts: Improve SMART_EVENT_DISTANCE_CREATURE so it can be used with SMART_TARGET_ACTION_INVOKER
Closes #16752
2016-04-23 14:45:05 +02:00
joschiwald
64675dc03a Merge pull request #16876 from chaodhib/move_chase_follow_repositioning_fix
Core/Movement: Fix a bug related to unit movements
2016-04-23 14:41:54 +02:00
joschiwald
029527365f Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866
2016-04-23 13:53:07 +02:00
joschiwald
9ee67b42f3 Core/Authserver: removed obsolete code 2016-04-23 12:25:34 +02:00
Patrick L
514b908170 Core/PacketIO: Missing changes from 548aa119ac that could result in a crash due to double Locking (#17008)
Socket will be closed because of ReadDataHandlerResult::Error.
2016-04-20 17:03:40 +02:00
Lopfest
5cdc870acc Core/Spells: enabled SPELL_EFFECT_160 (#16987)
(cherry picked from commit ff3e176eb1)
2016-04-19 12:05:19 +01:00