Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
Shauren
ee835671b4
Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer
2022-02-26 15:58:23 +01:00
Shauren
9f30afe352
Core/PacketIO: Updated packet structures to 9.2.0
2022-02-24 23:16:55 +01:00
Carbenium
3bba8d50b1
Core/WorldObject: Remove non-std::chrono SummonCreature overload
...
Remove
TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0);
(cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24 12:39:59 +01:00
Shauren
596bf2b772
Core/Misc: Replace boost::optional with std::optional part 2
2022-01-23 20:31:52 +01:00
Treeston
94a79bac7a
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 <[email protected] >
(cherry picked from commit 9304e496cbf6ab6c028671fb8526c732ae5d799f)
2021-12-21 15:16:26 +01:00
Shauren
df2d0f3670
Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces
2021-12-08 19:02:33 +01:00
Shauren
3a5f87ccb8
Core/AreaTriggers: Initialize _spawnId in constructor
2021-12-05 11:17:54 +01:00
Shauren
77ddb4da81
Core/AreaTriggers: Move ScriptName from areatrigger_template to areatrigger_create_properties and areatrigger tables
2021-12-04 23:47:40 +01:00
Shauren
5c8a058120
Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure
2021-11-04 21:47:03 +01:00
Seyden
8f097e4425
Core/Scripts: Implement script name reloading
...
* Authored by Seyden
* Co-authored by Naios
* We thank Shauren for your helpful feedback
2021-10-22 12:52:37 +02:00
ModoX
3548467c93
Core/Conditions: Implemented conditions for areatriggers ( #27021 )
...
* also added example fix for Death's Power Grows quest
2021-10-06 10:22:41 +02:00
Shauren
555b2d40ec
Core/Spells: Send OriginalCastId in SMSG_SPELL_START and SMSG_SPELL_GO for triggered spells in 'game' project
2021-10-03 16:36:39 +02:00
Treeston
bc89e1cdb0
Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
...
(cherry picked from commit 4692e10ca2ffed5ba2a0336e9c93962b0fad9eaa)
2021-09-23 22:21:29 +02:00
Shauren
ee73948a64
Core/AreaTriggers: Rename spell_areatrigger* tables to areatrigger_create_properties* according to last MiscValue research for areatrigger effects
...
* Move areatrigger_template.DataX to areatrigger_create_properties.ShapeDataX
2021-09-16 22:22:14 +02:00
Traesh
c60cb7bab1
Core/AreaTrigger Switch polygon vertices from Template to SpellMisc ( #26827 )
2021-09-12 17:50:13 +02:00
ariel-
962f6d7988
Core/Spells: rework part 5: GameObject casting
...
Closes #21330
Closes #18885
Ref #18752
(cherry picked from commit 45c5e1b9d63796d168339a44f63418f220cf2403)
2021-08-28 15:59:11 +02:00
ariel-
52ae3c89d1
Core/Spells: rework part 2: Split up target selection logic
...
Target check only determines what kind of entities we can target, spell positivity determines if that entity is valid for attack/assist
Closes #8844
(cherry picked from commit 9b38a6352c0fe2499de54fd769aa1c721a410bda)
2021-08-28 15:59:11 +02:00
Traesh
4725941567
Core/AreaTrigger Update box searching to handle oriented boxes ( #26772 )
2021-08-14 20:08:40 +02:00
Shauren
254d5af7c2
Core/Quests: Implement new quest objective types QUEST_OBJECTIVE_LEARNSPELL, QUEST_OBJECTIVE_AREA_TRIGGER_ENTER, QUEST_OBJECTIVE_AREA_TRIGGER_EXIT
2021-05-11 11:45:12 +02:00
Shauren
36496c7172
Core/PacketIO: Fix suppressing building SMSG_UPDATE_OBJECT packets
2021-03-04 20:47:54 +01:00
Shauren
23144d0665
Core/AreaTriggers: Optimize target searching
...
* Don't visit grid objects for serverside areatriggers (search world container only for player)
* Move existing target list to "exitUnits" instead of copying it
2021-01-30 18:10:21 +01:00
Shauren
7851cd3a96
Core/AreaTriggers: Code cleanup
2021-01-30 18:10:21 +01:00
Matan Shukry
0417c5ff5f
Core/AreaTriggers: Implementation for sever side area triggers
...
- Spawn GridLoader to spawn area triggers correctly now
- Removed SAI completely
- Removed remnants of smart scripts. Created different issue for it
- Calling InitDbPhaseShift and not InDbPhaseShift
- changed SpawnId to uint64 rather than uint32
- not using CellGuidSet typedef as to not include ObjectMgr.h in the header
2021-01-30 18:10:21 +01:00
Shauren
b82a3a557a
Core/DataStores: Updated db2 structures to 9.0.2
...
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
7f6eef37e6
Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
2020-12-08 18:16:46 +01:00
Shauren
f922c6e7a4
Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
2020-09-19 12:44:42 +02:00
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +02:00
Shauren
c7306439e7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
2020-06-12 01:29:18 +02:00
Shauren
bbfbb7d4bf
Core/PacketIO: Implement building SMSG_UPDATE_OBJECT only for selected fields and use that to fix quest objects not glowing after accepting quests
2020-04-23 20:22:53 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
Shauren
d180944f59
Core/AreaTriggers: Document scale curve fields
2019-05-05 17:54:39 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
0a779bd791
Core/PacketIO: Updated packet structures to 8.0.1
2018-11-05 00:00:34 +01:00
Traesh
a8a071e9d9
Core/AreaTrigger: handle AREATRIGGER_FLAG_HAS_CIRCULAR_MOVEMENT ( #21778 )
2018-08-05 18:57:35 +02:00
Shauren
91be2332e2
Core/Entities: Phasing rewrite
...
* Optimized phase visibility checking
* Handle all phase flags
Closes #16758
Closes #21119
2018-03-25 19:28:36 +03:00
joschiwald
6226189a16
Core/Entities: Created factory methods to create new areatriggers, creatures and gameobjects
2018-01-27 23:02:46 +01:00
Shauren
bb718b5578
Core/Entities: Remove phasemask
2018-01-10 22:01:40 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
joschiwald
080db6c99c
Core/AreaTrigger: Changed the way how AreaTriggers select enemies and friends
2017-07-22 11:17:46 +02:00
joschiwald
c7cae32cfc
Core/AreaTrigger: Fixed broken spline after b453e12423
2017-06-04 10:52:06 +02:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
joschiwald
5fea484092
Core/AreaTrigger: Make sure areatrigger is removed correctly
2017-06-03 19:31:00 +02:00
Shauren
0c9e33896f
Initialize variable in constructor, thanks @Lordron
2017-05-27 00:39:46 +02:00
Seyden
5487a062ce
Core/AreaTrigger: Remove the correct areatrigger when SPELL_AURA_AREA_TRIGGER is removed ( #19749 )
2017-05-26 23:00:29 +02:00
Shauren
3d7c2ef88f
Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr)
2017-05-21 23:18:43 +02:00
Shauren
f2039981e0
Core/Game: Include cleanup, part 3
2017-05-20 00:09:37 +02:00
Shauren
a12a34b1dc
Core/Game: Include cleanup - removed G3D classes from packets
...
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Traesh
c73ce93f4c
Core/Entities : Basic Conversation Implementation ( #18010 )
2017-05-14 11:40:55 +02:00