aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-23Core/SmartScripts: Improve SMART_EVENT_DISTANCE_CREATURE so it can be used ↵lafoniz
with SMART_TARGET_ACTION_INVOKER Closes #16752
2016-04-23Merge pull request #16876 from chaodhib/move_chase_follow_repositioning_fixjoschiwald
Core/Movement: Fix a bug related to unit movements
2016-04-23Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dicejoschiwald
#Closes 16866
2016-04-23Core/Authserver: removed obsolete codejoschiwald
2016-04-20Core/PacketIO: Missing changes from 548aa119ac2884bb1c34f80e2fb077a66bcdfd9f ↵Patrick L
that could result in a crash due to double Locking (#17008) Socket will be closed because of ReadDataHandlerResult::Error.
2016-04-19Core/Spells: enabled SPELL_EFFECT_160 (#16987)Lopfest
(cherry picked from commit ff3e176eb1da4139fb9e516b2433cdc404dc7a42)
2016-04-19Scripts: Add missing overrideDDuarte
2016-04-19Scripts: Add missing overrides.Gacko
(cherry picked from commit aac868a6d9d495ab145a769868c1a6c2aead8f65)
2016-04-18Core/Scripting: Use the path of the worldserver executable to search for the ↵Naios
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-18Core/Scripting: Use the systems temporary path for caching shared libsNaios
* Disables the shared library caching on platforms completely which never block files on usage (like linux).
2016-04-17Core/Cryptography: Move the SHA1 calculate helper to the SHA1 headerNaios
2016-04-17Core/Scripting: Add the info how much time the system took to reloadNaios
2016-04-17Core/Scripting: Change the INFO logger of the hotswap system to enabledNaios
2016-04-16Core/Scripting: Improve the error message when the script reloader fails to ↵Naios
create a cache entry (cherry picked from commit 8fa52860ab666c95579f6c44bca26a49f7414b14)
2016-04-16Core/Items: Move Item::GetSkill to ItemPrototype::GetSkillDDuarte
Also moved some methods of ItemPrototype to .cpp Thanks to Yehonal for the original patch Closes #16884
2016-04-16Core/Scripts: zone_shattrath_city cleanuptkrokli
- 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-16Core/Instances: If a boss kills itself, still save the group to the instance ↵Henry Gordon
(#16978) (cherry picked from commit a4b00886718148dd021871ead5ac8a1e8a64285f)
2016-04-16Core: Removed WhitespacesVincent-Michael
(cherry picked from commit 3cd19d3b30e9c22859303c5bb006998201b66e33) # 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-16Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution ↵Gustavo
Solution (#16968)
2016-04-16Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865)treeston
2016-04-16Scripts/Naxxramas: Rework of Gluthchaodhib
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-16Merge pull request #16736 from r00ty-tc/map_heightTreeston
Solve many of the creature falling through floor issues.
2016-04-16Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884)treeston
2016-04-16Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975)treeston
2016-04-16Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)Chaouki Dhib
- 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-16Merge pull request #16896 from Treeston/3.3.5-fixpetaggressionTreeston
Entities/Unit: Fix pet-vs-creature aggression checks
2016-04-15Core/AHBot: Improve AHBot seller math (#16123)Andrew Letson
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 45ea01fe5ccabb66efa73811d1f10720dd830162) # Conflicts: # src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
2016-04-15Movement bug fix. Npc mistakenly move away from its new target.chaodhib
2016-04-15Core/Spells Fix Spell Inferno, used by boss Baron Geddonsirikfoll
This is based on the cmangos fix https://github.com/cmangos/mangos-classic/commit/7556165b3e15f574602fcb0ea4188db8186ccee6 Also correct the spellId of Armageddon spell
2016-04-14Core/Scripting: Fix a typo in b970a684Naios
2016-04-14Core/Scripting: Wait until the debugger is detached before rebuilding scripts.Naios
* Thanks Shauren for the IsDebuggerPresent() hint.
2016-04-14Core/Scripting: Disallow the build directory to contain spacesNaios
* I wasn't able to work arround a path which contains spaces, since it seems like a CMake specific issue. * Closes #16947
2016-04-14Core/Worldserver: Correct the default comment of HotSwap.EnableReCompilerNaios
* Thanks jackpoz for noticing
2016-04-14Core/Build: Provide an interface target for gameNaios
* Increases the build time because dependent projects can build without waiting for the game project.
2016-04-14[Core/Maps] Activate creatures and objects during opening cinematics and ↵r00ty-tc
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-13Update worldserver.conf.distAokromes
2016-04-13Core/Scripting: Fix detection of source changes when using inotify.Naios
* 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-13Core/Players: Fix flight form & fall damage (#16955)Vlad
2016-04-12Core/Entities: Ported byte field offset naming from 6.xShauren
2016-04-12Core/Scripting: Fix an assertion which was triggered at lazy unloadingNaios
* Also fixes 2 warnings
2016-04-12Core/Scripting: Fix loading of spell/aurascriptsNaios
* 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-11Core/Maps: Fix non PCH buildNaios
2016-04-11Core/Scripting: Fix another warning when building staticallyNaios
2016-04-11Core/Scripting: Fix a warning when building staticallyNaios
2016-04-11Core/Game: Rewrote the ScriptMgr to support script reloading.Naios
* 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 9cc97f226d79e8e0bbe1fdc386ec9f065c0a2226)
2016-04-11Core/Game: Add a dynamic script reloader which reloads scripts modules on ↵Naios
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 bc0f2b6e5acd24f414508edb3b826a20a12bce62)
2016-04-11Core/Scripts: Split script subdirectories into independent modulesNaios
* 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 848b8a4136a4b395bfab74899520c74812d7f08e)
2016-04-11Core/Scripts: Move the ragefire chasm scriptloader into the correct fileNaios
(cherry picked from commit 4710b1c8fe89e6cdd98f1a4645edd93d05033fa7)
2016-04-11Core/Common: Capsule boost process into helper functionsNaios
* 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 3497b4960ba944388d148e10084e62eee909e986)
2016-04-11Core/Game: Move scheduled map scripts counter methods into MapManagerNaios
* Since those have nothing to do with core scripts and are not wished inside the ScriptMgr (cherry picked from commit 59e3cf82acaea5a0e5023e087e0ca1e6a9d15d82)