jackpoz
183789053e
Core/Misc: Fix GCC 8 warnings
2020-01-31 21:19:25 +01:00
jackpoz
8714c2be57
Core/Utils: Handle UTF-8 conversion errors
...
Replace the output string when a UTF-8 conversion error happen with an error message instead of using an empty string, swallowing any message that the caller wanted to log.
2020-01-31 20:51:51 +01:00
Treeston
cd3fa07389
Core/Utils: some code style adjustments, 6d6077e follow-up
2020-01-31 20:50:06 +01:00
Treeston
3ab2d9575e
Core/Utils: Fix Unicode handling
2020-01-31 20:49:10 +01:00
Treeston
72a6bc7d10
This is not the critical chat system bug fix you were looking for. No sir. (Oops.)
2020-01-31 20:32:06 +01:00
Treeston
eed78a603e
Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers.
2020-01-31 20:31:14 +01:00
Ovahlord
986a75fc2f
Scripts/Westfall: fixed quest "Livin' the Life"
2020-01-31 12:54:28 +01:00
Ovahlord
01be7e130f
Scripts: make travis happy
2020-01-31 11:56:18 +01:00
Ovahlord
b97b41276b
Core/Scripts: removed a not existing dev tool command script registration
2020-01-31 11:31:37 +01:00
Ovahlord
638d368130
Core/Creatures: re-organized default summoning behaivior to make sure that all fields are set before the summon gets sent out to clients
2020-01-31 11:29:58 +01:00
Ovahlord
f2713834c7
Core/AI: cleaned up SAI initialization in order to fix some unexpected behaivior when summoning creatures with sai assigned
2020-01-31 11:27:58 +01:00
Ovahlord
66a4a9617c
Core/Spells: restore player caster check when trying to hit personal summons with spells
2020-01-31 08:00:45 +01:00
Ovahlord
fe5044aac3
Core/AI: summons that are considered as "guides" will no longer follow players on spawn
2020-01-31 07:59:44 +01:00
Ovahlord
86d479a087
Core/Spells: expand personal spawn handling for summons to all kind of summons
...
* personal summon target checks for spells will now always happen instead of only if a player is the caster
2020-01-31 07:46:43 +01:00
Ovahlord
6073f1fe54
Scripts/BoreanTundra: duc-taped Beryl Sorcerer script to function "properly" again
2020-01-31 07:38:17 +01:00
Ovahlord
1aaf004064
Core/AI: followup fixes
2020-01-31 07:34:12 +01:00
Treeston
e156f8d571
Scripts/FollowerAI: Some cleanup:
...
- FollowerAI properly resumes follow after evading.
- Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing
- FollowerAI properly assists in combat.
- FollowerAI properly despawns if quest is abandoned.
- FollowerAI now supports dynamic respawning for escort NPCs.
2020-01-31 07:34:11 +01:00
Ovahlord
eaa635ab32
Core/Movement: backported cleanup for determining follow movement on appearing instead of calling evade modes right away
2020-01-31 07:34:11 +01:00
Ghaster
a246b5a342
Core/Item: cleanup some enums ( #28 )
2020-01-30 17:06:37 +01:00
Ovahlord
445c018e6b
Scripts/Westfall: fixed quest "It's alive!"
2020-01-30 14:52:20 +01:00
Ovahlord
7f6e63f850
Scripts/Westfall: scripted Overloarded Harvest Golem visuals
...
* removed somple duplicate spawns and event related spawns that are already spawnt
2020-01-30 05:42:24 +01:00
Ovahlord
d4faba7897
Core/Players: restore enchantment update handling if a skill is being reduced by game masters
2020-01-28 21:27:51 +01:00
Ovahlord
0d690e0540
Core/Scripting: dropped ModifyVehiclePassengerExitPos hook
2020-01-28 17:51:54 +01:00
Ovahlord
a11fb57342
Core/Players: re-organize SetSkill logic to cover all possible save state cases with the new skill initialization
2020-01-28 17:36:32 +01:00
Ovahlord
df4018b10d
Core/Vehicles: use pointers instead of tempoary copies
2020-01-28 13:29:12 +01:00
Ovahlord
045ae21e49
Scripts/Elwynn: scripted horse riding sequence for quest 'Further Concerns'
2020-01-28 11:13:15 +01:00
Ovahlord
dfaa49c87b
Core/Vehicles: expand vehicle seat addon table implementation to support passenger exit options
2020-01-28 11:09:05 +01:00
Ovahlord
f336d6032b
Scripts/Spells: moved Magmaw's involved eject passenger spells to generic spell script and use vehicle exit position script hook
2020-01-28 08:17:06 +01:00
Giacomo Pozzoni
ac8bf86755
Core/Scripts: Change PlayerScript and CreatureScript inheritance
...
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
2020-01-28 07:41:43 +01:00
jackpoz
316986765f
Core/Map: Load the grid of TempSummons owned by Players
...
Ensure to load the grid of TempSummons owned by Players when the relocate to another cell
2020-01-28 05:55:09 +01:00
Ovahlord
adbc729fab
Core/AI: call ModifyVehiclePassengerExitPos for CreatureScript as well since it inherits from UnitScript
2020-01-28 05:54:03 +01:00
Ovahlord
6be00413a9
Core/Movement: MoveSmoothPath will now automatically flag a ground path as uncompressed when the delta is > 400
2020-01-27 21:30:20 +01:00
Ovahlord
92852a437a
Core/Movement: MoveSmoothPath will no longer enable catmullrom movement when a creature is not flying
2020-01-27 20:02:46 +01:00
funjoker
cb12d57666
Synchronize broadcast_text namings
2020-01-27 16:03:48 +01:00
Ovahlord
39e40f176b
Core/Packets: corrected heal prediction type field size that was causing too large packets
2020-01-27 12:57:54 +01:00
Ovahlord
6bd0412f73
Core/Spells: do not set a beacon guid for channeled spells to match sniff behaivior
2020-01-27 12:48:35 +01:00
Ovahlord
37fae4e57a
Core/Player: fixed a warning
2020-01-27 11:26:36 +01:00
Ovahlord
2dd295a603
Core/Spells: updated MSG_CHANNEL_START to packet class and fixed its heal prediction
2020-01-27 11:22:30 +01:00
Ovahlord
a72411241d
Core/Players: simplified mount capability update checks and removed a unneeded call uppon changing liquid status
2020-01-27 09:49:26 +01:00
Wyrserth
e410c3498b
Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist.
2020-01-27 03:23:38 +01:00
Ovahlord
65145b375a
Core/Players: fixed an ancient typo in 34b3617184
...
thx to Artamedes for noticing
2020-01-26 16:34:56 +01:00
Ovahlord
a1c415c658
Core/Spells: implement power cost level scaling
2020-01-26 16:04:42 +01:00
Ovahlord
28b3ae6946
Core/Items: 603b71d2a7 followup. Simplified checks
2020-01-26 08:49:13 +01:00
Ovahlord
69f74c726d
Core/Datastores: load all item enchantment fields instead of only the first three
2020-01-26 07:42:27 +01:00
Ovahlord
603b71d2a7
Core/Items: fixed handling of Heirloom item stat distribution
2020-01-26 07:41:51 +01:00
Ovahlord
ee41e6260d
Scripts: dropped unused scripts from Halls of Origination and fixed remaining startup errors
2020-01-26 03:18:03 +01:00
Ovahlord
ede6b8caf0
Core/Creatures: fixed a db loading typo that was causing creatures to not have any creature type
2020-01-26 02:07:01 +01:00
Ovahlord
45b69eb3a4
Core/Gossips: fixed a typo that was causing scripted gossip menus to show wrong icon ids
2020-01-25 16:09:04 +01:00
Ghaster
97a727749a
Core/PacketIO: convert all authentication related packets to packet class ( #26 )
2020-01-25 15:44:56 +01:00
Ovahlord
fcb79fee07
Core/Datastores: updated DBC structure names to generated member format
2020-01-25 12:36:32 +01:00