Commit Graph

26466 Commits

Author SHA1 Message Date
Killyana
6bcc7d1f2d DB/SAI: Rework Scourge Deathspeaker
Closes #16985
By @16985
2016-04-17 15:15:29 +02:00
Killyana
8c3356e64b DB/Gameobject: Fix some gameobjects respawn time
Closes #16970 #16977 #16972 #16990
2016-04-17 14:52:48 +02:00
Killyana
32cadcb1bb DB/Creature: Fix Leviathan Mk II health points
Closes #16983
2016-04-17 02:47:28 +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
DDuarte
e55a3e716d SQLs: Update to the /sql/updates organization
Update SQL files should now be in a sub-folder equal to the current branch name

/sql/updates/auth/*.sql -> /sql/updates/auth/3.3.5/*.sql
/sql/updates/characters/*.sql -> /sql/updates/characters/3.3.5/*.sql
/sql/updates/world/*.sql -> /sql/updates/world/3.3.5/*.sql

This facilitates merges between the version branches
2016-04-16 18:49:29 +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
Shauren
41e776fe64 Rename sql 2016-04-16 15:45:02 +02:00
Gustavo
d1a053e4f5 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968) 2016-04-16 15:42:07 +02:00
treeston
9d000709ca DB/Auth: Fix incorrect value in base/auth_database.sql. 2016-04-16 13:31:52 +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
Treeston
9ad952c3bc Merge pull request #16736 from r00ty-tc/map_height
Solve many of the creature falling through floor issues.
2016-04-16 10:43:57 +02:00
treeston
37067ad390 Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884) 2016-04-16 01:47:45 +02:00
treeston
75f7b5ae4b Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975) 2016-04-16 01:44:42 +02:00
Chaouki Dhib
dc3327f9c5 Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
2016-04-16 01:36:32 +02:00
Treeston
22c0a54264 Merge pull request #16896 from Treeston/3.3.5-fixpetaggression
Entities/Unit: Fix pet-vs-creature aggression checks
2016-04-16 01:27:45 +02:00
Aokromes
285c183e21 Misc: Update issue template to avoid false incorrect hash error 2016-04-16 01:12:04 +02:00
Andrew Letson
ff33469645 Core/AHBot: Improve AHBot seller math (#16123)
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
(cherry picked from commit 45ea01fe5c)

# Conflicts:
#	src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
2016-04-15 20:57:19 +01:00
chaodhib
0a964b8547 Movement bug fix. Npc mistakenly move away from its new target. 2016-04-15 21:27:11 +02:00
sirikfoll
918b2fafae Core/Spells Fix Spell Inferno, used by boss Baron Geddon
This is based on the cmangos fix 7556165b3e

Also correct the spellId of Armageddon spell
2016-04-15 13:19:19 -03:00
Killyana
e38e1c0c54 DB/SAI: Fix for Captured Scarlet Zealot
Closes #16959
By @adeutscher
2016-04-15 01:56:05 +02:00
Naios
ea627589d6 Core/Scripting: Fix a typo in b970a684 2016-04-14 22:14:06 +02:00
Naios
b970a68473 Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
* Thanks Shauren for the IsDebuggerPresent() hint.
2016-04-14 21:27:39 +02:00
Naios
42eeb28a8b Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces,
  since it seems like a CMake specific issue.
* Closes #16947
2016-04-14 20:31:04 +02:00
Naios
9e43e50fa7 Core/Worldserver: Correct the default comment of HotSwap.EnableReCompiler
* Thanks jackpoz for noticing
2016-04-14 20:31:03 +02:00
Naios
ff8a54ab92 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.
2016-04-14 20:30:55 +02:00
r00ty-tc
87b4533046 [Core/Maps] Activate creatures and objects during opening cinematics and other flyby
cameras (sunwell etc).

Requires re-running map extractor to extract camera m2 files from data
files. These are very small.

Closes #4755
Closes #16772
2016-04-14 01:34:17 +02:00
Aokromes
afaa8e2c60 Update worldserver.conf.dist 2016-04-13 21:49:32 +02:00
Naios
10bc41c91e Core/Scripting: Fix detection of source changes when using inotify.
* This fixes the source change detection in linux.
* Also simplifies the detection of observed modules
* Fixes the script rebuilding on linux
* Escape windows paths to (maybe) fix paths with spaces (#16947)
2016-04-13 13:59:24 +02:00
Vlad
fcbbc60b93 Core/Players: Fix flight form & fall damage (#16955) 2016-04-13 12:33:49 +02:00
Naios
b91bed017b GitHub: Add the linking model to the issue template
* Until most bugs of the dynamic build are fixed
2016-04-12 23:09:23 +02:00
Naios
81cee23775 Core/Build: Workarround for different path handling in CMake < 3.2
* Closes #16951
2016-04-12 23:08:27 +02:00
Shauren
e2687b31ed Core/Entities: Ported byte field offset naming from 6.x 2016-04-12 20:06:04 +02:00
Naios
e82a934387 Core/Scripting: Fix an assertion which was triggered at lazy unloading
* Also fixes 2 warnings
2016-04-12 16:52:29 +02:00
Naios
410cf0dd05 Core/Scripting: Fix loading of spell/aurascripts
* Broken since 9cc97f226d
* There is still a crash when using lazy unloading which I
  will fix in a later commit (this commit should fix at least
  the static build and normal usage of the dynamic build).
* Closes #16948
2016-04-12 15:42:16 +02:00
Naios
131ef5f2d6 Core/Maps: Fix non PCH build 2016-04-11 23:12:23 +02:00
Killyana
a173920834 DB/Spell: Furious Attacks
Closes #6532
By @sirikfoll
2016-04-11 23:05:20 +02:00
Killyana
29246b2afb DB/Gameobject: Update respawn time for Mangled Human Remains
Closes #16931
2016-04-11 22:52:56 +02:00
Naios
498c1e22ca Core/Scripting: Fix another warning when building statically 2016-04-11 22:13:13 +02:00
Naios
1b909f9dac Core/Scripting: Fix a warning when building statically 2016-04-11 21:58:56 +02:00
Naios
eaf102b3c5 Core/Game: Rewrote the ScriptMgr to support script reloading.
* Finally this commit enables dynamic script hotswapping
  and finished the PR #15671.
* Split the storage layout to use optimized storages
  for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
  -> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable

(cherry picked from commit 9cc97f226d)
2016-04-11 21:42:28 +02:00
Naios
3123c278b9 Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.

(cherry picked from commit bc0f2b6e5a)
2016-04-11 21:42:16 +02:00
Naios
8660f90bdf Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.

(cherry picked from commit 848b8a4136)
2016-04-11 21:41:58 +02:00
Naios
c5c922da9f Core/Scripts: Move the ragefire chasm scriptloader into the correct file
(cherry picked from commit 4710b1c8fe)
2016-04-11 21:41:33 +02:00
Naios
3b4f754b06 CMake: Fix a misbehaviour of the boost no scoped enums test
* Sometimes added the definition in MSVC although the test
  passed which lead MSVC to rebuild the whole solution
  even on a CMAKE_INSTALL_PREFIX change.

(cherry picked from commit a8ce2b68eb)
2016-04-11 21:41:15 +02:00
Naios
f93617c3c9 Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.

(cherry picked from commit 3497b4960b)
2016-04-11 21:40:59 +02:00