Commit Graph

11129 Commits

Author SHA1 Message Date
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
DDuarte
91671a26e8 Scripts: Add missing override 2016-04-19 01:31:19 +01:00
Gacko
eda6254d47 Scripts: Add missing overrides.
(cherry picked from commit aac868a6d9)
2016-04-19 00:37:34 +02:00
Naios
86b0fcf67a Core/Scripting: Use the path of the worldserver executable to search for the scripts dir
* Fixes issues when starting the worldserver not in the bin directory
  or the CMAKE_INSTALL_PREFIX directory using the -c option.
2016-04-18 21:02:01 +02:00
Naios
081720b5dd Core/Scripting: Use the systems temporary path for caching shared libs
* Disables the shared library caching on platforms completely which
  never block files on usage (like linux).
2016-04-18 21:02:00 +02:00
Naios
3271f328de Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header 2016-04-17 19:30:13 +02:00
Naios
11b5de63cb Core/Scripting: Add the info how much time the system took to reload 2016-04-17 18:11:05 +02:00
Naios
1fe4e09d1f Core/Scripting: Change the INFO logger of the hotswap system to enabled 2016-04-17 01:12:50 +02:00
Naios
1e0a93d3d8 Core/Scripting: Improve the error message when the script reloader fails to create a cache entry
(cherry picked from commit 8fa52860ab)
2016-04-16 22:09:25 +02:00
DDuarte
0257aa0528 Core/Items: Move Item::GetSkill to ItemPrototype::GetSkill
Also moved some methods of ItemPrototype to .cpp

Thanks to Yehonal for the original patch

Closes #16884
2016-04-16 20:57:50 +01:00
tkrokli
acdfc36a4e Core/Scripts: zone_shattrath_city cleanup
- restore missing text lines for Sal'salabim and Raliq the Drunk
- replace hardcoded text with DB gossip ID enum sections
- move gossip ID, quest ID, spell ID (and so on) into enum
- remove core script for Ishanah, High Priestess of the Aldor

Closes #16684
2016-04-16 18:58:47 +01:00
Henry Gordon
1670d310b5 Core/Instances: If a boss kills itself, still save the group to the instance (#16978)
(cherry picked from commit a4b0088671)
2016-04-16 16:52:55 +01:00
Vincent-Michael
fe90fdcba1 Core: Removed Whitespaces
(cherry picked from commit 3cd19d3b30)

# Conflicts:
#	src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
#	src/server/game/Handlers/NPCHandler.cpp
#	src/server/game/Server/Packets/ChatPackets.cpp
#	src/server/game/Server/Packets/NPCPackets.h
#	src/server/game/Server/Packets/PartyPackets.h
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Packets/TicketPackets.h
#	src/server/game/Server/Packets/VoicePackets.h
#	src/server/game/Server/Packets/WardenPackets.h
#	src/server/scripts/Commands/cs_cheat.cpp
2016-04-16 16:52:23 +01:00
Gustavo
d1a053e4f5 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968) 2016-04-16 15:42:07 +02:00
treeston
b115458001 Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865) 2016-04-16 11:16:28 +02:00
chaodhib
383cc4d94b Scripts/Naxxramas: Rework of Gluth
1) Gluth should be able to eat zombies close to him, one at the time, during the whole fight.
2) Gluth should be able to eat zombies at an accelerated rate after each Decimate.
3) The zombies should put the "Infected Wound" debuff on their auto-attack targets.
4) Zombies should have a normal threat table before decimate and should loose all kind of aggro behavior and walk toward Gluth after decimate.
5) Gluth shouldn't be affected by the decimate damage.
6) Newly poped zombies should have all players in their aggro list as soon as they spawn. So far, they were not moving and were only aggroed by proximity.
7) and several minor fixes (emotes, useless data in db).
2016-04-16 10:54:13 +02:00