Commit Graph

22030 Commits

Author SHA1 Message Date
jackpoz 68fa3091a2 Scripts/Misc:Code cleanup 2019-12-20 18:02:00 +01:00
Killyana c5c46fed6a Creature/Script: Fire Bomb
Closes #23977
2019-12-20 17:26:04 +01:00
Killyana 9bed0aa8d8 Creature/Script: Toravon Frozen Orb Stalker 2019-12-20 16:53:01 +01:00
Killyana 26faca51cd Spell: Move Crystal Spike aura to the cpp 2019-12-19 22:27:31 +01:00
Killyana 462b63957a Spell: Move Shadow Trap aura to the cpp 2019-12-19 21:46:16 +01:00
Eridium efcbfa5c24 Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges (#23976)
* Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges

Closes #23973

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Rename 2019_12_99_99_world.sql to 2019_12_19_00_world.sql
2019-12-19 07:57:26 +01:00
Killyana 74f92d776b Spell: Move Column of Frost & Mana Void to the cpp 2019-12-18 21:41:40 +01:00
Treeston e457b77b4b Common/Encoding: fix Base32 alphabet (oops) 2019-12-17 15:59:14 +01:00
Killyana 4d89da56c1 Spell/Script: Move the spell "Flame Sphere Spawn Effect" from the DB to the cpp 2019-12-16 21:17:10 +01:00
Giacomo Pozzoni f20265feaf Core/Creature: Remove empty spell ids from CreatureAddon.auras vector
Close #23969
2019-12-16 10:44:50 +01:00
jackpoz 54f9456764 Core/Creature: Log an error for Creatures spawned with temporary auras
The errors still need to be addressed.
Close #23225
2019-12-15 19:59:39 +01:00
Keader ecd4ffc1ce Build fix 2019-12-15 12:40:26 -03:00
Keader 58b5ea9f95 Scripts/Azjol-Nerub: Fixed Gatewatcher pets evading when kill a player
Making Aokromes happy
2019-12-15 12:35:41 -03:00
Killyana 6ca4f340bd Tabs 2019-12-15 16:33:00 +01:00
Killyana c22b1e6cb4 DB/Quest: Take Down Tethyr!
Closes #22407
2019-12-15 16:27:21 +01:00
Killyana 8b03fe9506 Core/Log: Gameobjects may have faction template id = 0
Ref https://github.com/TrinityCore/TrinityCore/pull/22922
2019-12-14 23:28:45 +01:00
Killyana 366ec08160 DB/Spawns: Rampart of skulls
Closes #23966
2019-12-13 21:28:58 +01:00
Gildor f661bc6c39 Scripts/VioletHold: Minor improvements (#23961)
* Scripts/VioletHold: Minor improvements
* Now we can teleport inside with gossip if event is in progress
* Improve HavePlayers() check logic

* Remove a pointless comment
suggested by shauren

* Move CheckWipe function to execute every 3 seconds instead every map update
suggested by Riztazz

* I supose Riztazz forgot add this to repeat every 3 seconds
2019-12-11 15:01:27 +01:00
Giacomo Pozzoni dfc5dc3dff Core/Grid: Code cleanup
Remove unused method that should not be used anyway
2019-12-09 09:12:04 +01:00
Killyana d8e12d826c Tabs 2019-12-07 19:14:31 +01:00
Treeston d4b00df781 Core/Spell: Reset threat to zero when the hunter use Feign Death
Closes #23874
2019-12-07 19:13:06 +01:00
Killyana 6db4bf6671 Quest: Weakness to Lightning
Closes #23916
2019-12-07 16:57:16 +01:00
Shauren 3bf44a5891 warning fix 2019-12-07 14:43:46 +01:00
Shauren b990a79fd8 Core/Realms: Move build info (and auth seeds) to database
(cherry picked from commit 61f2eed353)
2019-12-07 13:14:16 +01:00
Ovah 60763fc5e2 Scripts/ScarletEnclave: reworked Eye of Acherus script (#23953)
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks
2019-12-06 07:37:34 +01:00
ccrs 3842ab2781 Core/AI: add another helper for "ScriptedAI::ForceCombatStop" 2019-11-25 20:43:23 +01:00
Giacomo Pozzoni 909941e1b4 Core/GameObjects: Skip LoS checks for traps (#23936)
* Core/GameObjects: Skip LoS checks for traps

* Core/GameObjects: Fix spells cast by traps missing always

* Scripts/Spells: Fix WSG heal buff not healing

The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.
2019-11-24 21:00:42 +01:00
Ovah 4ddf7f5976 Fixed pets repositioning themselves after every cast (#23923) 2019-11-17 14:29:31 -03:00
Killyana 754e207777 Movements/Pets: Fix the follow angle 2019-11-17 16:20:06 +01:00
Shauren 73bc3d8ea4 Core/Random: Refactor random number generation to use std::uniform_*_distribution to restrict result range instead of doing that ourselves
* Seed SFMTRand with more values for its state
2019-11-09 15:09:22 +01:00
daMaex 4e0279b0e4 Dep/SFMT: updated to newest upstream version from https://github.com/MersenneTwister-Lab/SFMT
* only needed files added
* used CMake and SFMTRand from https://github.com/TrinityCore/TrinityCore/pull/23240 (Thank you Artox)
2019-11-09 15:09:22 +01:00
Shauren 4710a3f6c1 Build fix - include went missing when resolving merge conflicts 2019-11-09 14:03:57 +01:00
Shauren 11ed9d7963 Build fix
(cherry picked from commit 7c168fb6eb)
2019-11-09 13:49:31 +01:00
Shauren 23afc545f1 Fix dynamic linking builds for msvc
(cherry picked from commit a6635436ce)
2019-11-09 13:49:31 +01:00
Shauren b5480acf54 Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections
(cherry picked from commit f689f6e9bd)
2019-11-09 13:49:31 +01:00
Shauren 5f06c476f6 Core/DBLayer: Support using mysql 8
(cherry picked from commit c3a9d56b56)
2019-11-09 13:49:27 +01:00
Trond B. Krokli 42f1861f30 Core/Spells: add spell fix to Trained Rock Falcon (#23896)
fixed by sirikfoll
2019-10-28 15:33:26 -03:00
Shauren 267bdde323 Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself 2019-10-27 11:15:15 +01:00
Shauren 369cfc29d9 Core/PacketIO: Restrict CMSG_EMOTE to only allow emotes that are hardcoded in client 2019-10-27 10:54:22 +01:00
ccrs a58ed271c9 Scripts/PoS: a7a96d4 followup
cause edge cases may exist
ty Aokromes
2019-10-27 02:28:28 +01:00
ccrs 06c6b30ed4 Scripts/ScarletMonastery: instance script cleanup (#23889)
Adapt InstanceScript into newer structure and style
Adapt existing boss scripts into newer structure and style
Improve existing boss related definitions

Should make each boss more functionally reliable, but nothing new has been added
2019-10-26 23:33:30 +02:00
jackpoz 00703ee238 Core/Misc: Enable MaxCoreStuckTime setting by default
Enable MaxCoreStuckTime setting by default to force worldserver to exit in case of infinite loops.
Note that this will not affect existing setups with the setting MaxCoreStuckTime set to 0 in the local worldserver.conf .
2019-10-26 19:49:41 +02:00
ccrs fcbcb43b2b Scripts/PoS: a7a96d4 followup
we cant despawn all summons since vehicle spawn their passengers as regular summons
ty Aokromes
2019-10-24 10:51:27 +02:00
ccrs 40116f1025 Scripts/PoS: a7a96d4 followup 2019-10-23 17:39:25 +02:00
ccrs a7a96d4271 Scripts/PoS: little implementation cleanup in boss_krickandick with, you guessed it, movement related corrections
also, never forgetti  -->
                                     ¨¨Ç*^¿?_:;_^!"·Ç!Ñ·$%/(/)/()(=)(=]]{
Unit::StopMoving() is evil, and so is MotionMaster::Clear()

the first can really mess up existing movement generators
the second can interrupt "controlled" movements... can do it literally mid-air
2019-10-23 17:29:34 +02:00
ccrs 8fd33dfd79 Build: fix nopch - add missing declaration 2019-10-23 14:06:17 +02:00
ccrs d27fd717c1 Scripts/PoS: move boss_krickandick into new script definition 2019-10-23 12:53:46 +02:00
ccrs c9c6871659 Core/Movement: prevent any Initialize queue till AddToWorld is signaled 2019-10-23 03:28:57 +02:00
ccrs bc9a9ad7e1 Core/Movement: d033032 followup
now THATS a typo... sorry folks
2019-10-23 03:26:49 +02:00
ccrs 5d056f37c7 Core/Movement: d033032 followup
ty jackpoz
2019-10-22 15:48:00 +02:00