Commit Graph

32083 Commits

Author SHA1 Message Date
Giacomo Pozzoni
127455ed4c Scripts/Misc: Attempt to fix the build 2020-02-15 22:13:46 +01:00
Killyana
a81e88055a DB: Rename file 2020-02-15 20:20:37 +01:00
Rushor
f0bf447cd1 Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (#24157)
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell)

* Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript

* Update boss_jandice_barov.cpp

Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
2020-02-15 20:18:58 +01:00
TDB Release
322f0b8873 TDB 335.20021 - 2020/02/15 TDB335.20021 2020-02-15 17:38:06 +00:00
Rushor
596b2d1ed7 Scripts/Gameobject: Remove deprecated script for Cat Figurine (#24150)
Scripts/Gameobject: Remove deprecated script for Cat Figurine
2020-02-14 23:28:14 +01:00
Killyana
2a349dd390 DB/Quest: Boiling Point
Closes #24152
2020-02-14 23:25:30 +01:00
Shauren
89d8180916 Core/Guilds: Don't rely on implicit guid->uint64 conversion for member lookup 2020-02-14 17:37:22 +01:00
Killyana
a28a9f53df DB/Gossip: Fix some gossips 2020-02-14 15:45:22 +01:00
Killyana
5b3c111aa3 DB/Gossip: Fix gossips for Neill Ramstein & Ram Master Ray 2020-02-14 13:55:17 +01:00
Ujp8LfXBJ6wCPR
9264e5b6f0 Core/Misc: Remove redundant null pointer checks before delete (#24140)
* Identified by clang-tidy readability-delete-null-pointer
2020-02-14 12:45:34 +01:00
Ujp8LfXBJ6wCPR
b92e4af460 Core/Misc: Remove redundant copy constructor for Position and WorldLocation (#24151)
* Default compiler generated ones do the same
2020-02-14 10:21:51 +01:00
Killyana
45ad3b6779 DB/Spawns: Add missing spawns related to Brewfest 2020-02-14 01:03:42 +01:00
Killyana
5610be54cf DB/Locales: Add locales for a gossip option 2020-02-13 22:39:09 +01:00
Killyana
e06153dd43 DB/Conditions: Fix loot conditions for Brann's Communicator 2020-02-13 21:34:32 +01:00
Killyana
c287f3998a DB/Quest: Fix gossips related to "The Mechagnomes" quest 2020-02-13 21:15:24 +01:00
Killyana
95b9009aa0 DB/Text: Update some gossips with broadcast 2020-02-13 20:42:12 +01:00
Killyana
4a0f732ecb DB/SAI: Fix some SAI 2020-02-13 20:17:48 +01:00
Killyana
ebea1bf46c DB/Locales: Fix some locales for npc_text
Ref #24130
2020-02-12 22:57:07 +01:00
Killyana
f579a73550 DB/Quest: World Event Dungeon - Hummel 2020-02-11 22:09:00 +01:00
Killyana
403d29b9c2 DB/Misc: Elite Tauren Chieftains World's End Tavern Concerts
Closes #24148
2020-02-11 20:21:56 +01:00
Killyana
d7cc6a0f98 DB/Creature: Love Boats
Closes #14027
2020-02-11 18:52:47 +01:00
Rushor
a67dd6ab60 Scripts/Kalimdor: Move script of Hand of Iruxos Crystal to database. (#24141)
* Scripts/Kalimdor: Move script of Hand of Iruxos Crystal to database.

* Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject.

* Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject.

* Remove unneeded commentline

* Rename 9999_99_99_99_world.sql to 2020_02_11_00_world.sql

Co-authored-by: Aokromes <Aokromes@users.noreply.github.com>
2020-02-11 18:16:11 +01:00
Killyana
7450be4cfd DB/Text: Fix and remove some npc_text 2020-02-10 22:33:38 +01:00
Killyana
299d6ebbff DB/GameEvents: Update end time for some events
Closes #24125
2020-02-08 22:37:16 +01:00
Killyana
74a825d046 DB/Logs: Move some logs back to DB errors
Ref 38d3b35561
Ref #22282
2020-02-08 21:28:13 +01:00
Killyana
642ac152ec DB/npc_text: Sync npc_text data with broadcast_text
Ref #22282
2020-02-08 21:04:33 +01:00
Sorikoff
53657441aa Scripts/Spells: Nourish (#24057)
* Scripts/Spells: Nourish

* Rename 9999_99_99_99_world.sql to 2020_02_08_02_world.sql

* Update 2020_02_08_02_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:55:09 +01:00
Ovah
98d6c501d7 Core/Vehicles: implement vehicle seat addon table to specify seat ori… (#24112)
* Core/Vehicles: implement vehicle seat addon table to specify seat orientation offsets and exit positions in form of offsets or absolute positions
* converted Traveler's Tundra Mammoth to seat addon table data

* first follow batch

* whoopsie

* Core/Vehicles: go from local copies to pointers

* Update and rename 2020_99_99_99_world.sql to 2020_02_08_01_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:47:46 +01:00
ForesterDev
58313fc330 Core/PacketIO: update cinematic packets to new system. Implement CMSG_OPENING_CINEMATIC and CMSG_COMPLETE_MOVIE (#24135)
* Server/PacketIO: Enable SMSG_TRIGGER_CINEMATIC & SMSG_TRIGGER_MOVIE.

* Update SMSG_TRIGGER_CINEMATIC & SMSG_TRIGGER_MOVIE to new Format.

Signed-off-by: AriDEV <aridev666@gmail.com>

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Server/Packets/MiscPackets.cpp
#	src/server/game/Server/Packets/MiscPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp

* Core/Scripts: Add server-side script support for movie completion (#18308)

# Conflicts:
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Scripting/ScriptMgr.h
#	src/server/game/Server/Packets/MiscPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h

* Core/PacketIO: CMSG_COMPLETE_CINEMATIC, CMSG_NEXT_CINEMATIC_CAMERA and enabled some opcodes

# Conflicts:
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h

* Core/Protocol: Implemented CMSG_OPENING_CINEMATIC

# Conflicts:
#	src/server/game/Handlers/GuildHandler.cpp
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h

* fix build

Co-authored-by: Krudor <erikstrandberg93@hotmail.com>
Co-authored-by: MitchesD <majklprofik@seznam.cz>
Co-authored-by: Kaelima <kaelima@live.se>
2020-02-08 20:37:34 +01:00
schell244
f87a4543ad Core/Scripting: fixed hourly bell sounds (#24127)
* fixed hourly bell sounds

* use switch and moved variable

* fix typo
2020-02-08 20:35:05 +01:00
Ujp8LfXBJ6wCPR
76831f1f46 Use boost::optional and boost::none instead of smelly pointer (#24134)
* Remove bad pointer usage from CharacterCache

Use TrinityCore Option type instead which is intended for this purpose. (Wrapper around boost::option until C++17 bump is finalised)

* Unify codestyle regarding TC optional type

Based upon advice from @Shauren
2020-02-08 20:29:18 +01:00
Eridium
c574972cb2 Sync npc_text naming (#24128)
* Sync npc_text naming

Ref #22287
Ref #22282
We will update the table with data from broadcast_text later

* Fix sql

* Rename 2020_99_99_99_world_335.sql to 2020_02_08_00_world_335.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:26:51 +01:00
Treeston
9304e496cb Core/Misc: Some refactoring, #23603 prep: (#23676)
- Split SpawnMetadata off from SpawnData
- No longer allocate Creature/Gameobject objects in ObjectGridLoader just to check their typeid and delete them afterwards

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-08 20:22:37 +01:00
Giacomo Pozzoni
726d5e91b5 Build: Enable and require c++17 (#23868)
* Build: Enable and require c++17

* Build: Raise Visual Studio version from 2017 15.2 to 2017 15.9

* Build: Raise GCC version from 6.3.0 to 7.1.0

* Reduce branch differences

* Fix build after latest merge

* Cleanup after latest merge
2020-02-08 18:14:09 +01:00
Keader
5fa77744e4 nopch build fix 2020-02-06 18:34:07 -03:00
Keader
ddd1a3c1ef Game/Battlegrounds: Fixed Position and Rotation of Alterac Valley Gates 2020-02-06 18:09:17 -03:00
Sorikoff
e10239311c Scripts/Spells: Gift of the Harvester (#24111)
* Scripts/Spells: Gift of the Harvester

* Scripts/Spells: nopch

* Scripts/Spells: nopch

* Scripts/Spells: validate

* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:55:16 +01:00
funjoker
6c85964065 Sync broadcast_text naming (#24102)
* Sync broadcast_text naming

official namings for broadcast_text

* Rename 2020_01_24_00_world_335.sql to 2020_02_01_02_world_335.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:52:59 +01:00
ForesterDev
ba1e5cd413 Core/PacketIO: convert some packets to to new packet class (#24100)
* Core/PacketIO: updated SMSG_INVALIDATE_PLAYER, SMSG_BINDER_CONFIRM, SMSG_BIND_POINT_UPDATE, SMSG_PLAYER_BOUND and SMSG_LOGIN_SET_TIME_SPEED

* small corrections
2020-02-01 14:49:38 +01:00
Giacomo Pozzoni
a9e534762f Core/Movement: Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() on Gossip Hello (#24005)
Fix WaypointMovementGenerator ignoring EscortAI::SetEscortPaused() when talking to a NPC, scheduling a 3 minutes pause on the WaypointMovementGenerator even if it was already disabled with no timer, waiting for the player to select a gossip entry to resume the movement.
2020-02-01 14:47:06 +01:00
ForesterDev
573ddf4d22 Core/Items: implement some helper methods for easier readability (#24113) 2020-02-01 14:45:58 +01:00
Sorikoff
8c443ae39f Scripts/Borean Tundra: Iruk (#24117)
* Scripts/Borean Tundra: Iruk

* Apply suggestions from code review

Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com>

* Update 9999_99_99_99_world.sql

* Rename 9999_99_99_99_world.sql to 2020_02_01_01_world.sql

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:41:44 +01:00
Sorikoff
74d19691a5 Scripts/The Barrens: Beaten Corpse (#24124)
* Scripts/The Barrens: Beaten Corpse

* Rename 9999_99_99_99_world.sql to 2020_02_01_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-02-01 14:40:34 +01:00
Killyana
c86d4404c8 DB/Creature: Plagued Dragonflayer Tribesman & Plagued Dragonflayer Rune-Caster & Plagued Dragonflayer Handler
Closes #24122
2020-01-30 21:11:29 +01:00
Killyana
d4680bb2b2 DB/Creature: Add missing spawns to The Shattered Halls 2020-01-28 22:05:10 +01:00
Aokromes
890f4078c6 Update 2020_01_28_01_world.sql 2020-01-28 21:23:26 +01:00
Killyana
63e7edfb15 DB/Creature: Visiting Warlock 2020-01-28 20:54:54 +01:00
Killyana
c6b294f1d5 DB/Creature: Death Ray 2020-01-28 17:40:24 +01:00
Killyana
c7a02a9812 DB/Creature: Lunar Cluster Credit Marker & Lunar Firework Credit Marker 2020-01-28 17:38:02 +01:00
Ovah
f0485cea39 Core/Scripting: fixed build. Re-enable ModifyVehiclePassengerExitPos for CreatureScript to allow scripted creatures that already have an AI to benefit from its functionality as well 2020-01-28 06:12:42 +01:00