Shauren
3e28ee080a
Core/Loot: Implemented currency loot
2024-08-26 15:02:22 +02:00
Shauren
e59eef5432
Core/PacketIO: Updated to 11.0.0
2024-08-02 13:25:41 +02:00
Shauren
43567f5a5f
Core/Commands: Fixed accessing empty optional in .modify faction command
2023-09-24 12:24:39 +02:00
Shauren
0cea730fa2
Core: Update to 10.1.5
2023-07-12 16:29:00 +02:00
Shauren
3260b94dd6
Core/Misc: Replace string to int conversion functions from Common.h with c++17 std::from_chars based ones Trinity::StringTo
2023-05-13 15:46:27 +02:00
Meji
81ea6f54d9
Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale ( #28863 )
2023-03-30 18:54:27 +02:00
Meji
03918978c1
Core/Players: Several currency fixes and improvements ( #28676 )
2023-01-29 17:42:23 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
4eba978670
Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
2022-03-26 18:59:44 +01:00
Treeston
3fd2eb126c
[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463 )
...
(cherry picked from commit 1eca51b417 )
2022-02-27 20:08:41 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
d057e057d3
Core/Misc: Optimize ChatCommand includes (include only where neccessary)
2022-02-11 21:57:45 +01:00
Treeston
9f97fdd31a
Core/Common: Tokenizer -> Trinity::Tokenize (PR: #25327 )
...
(cherry picked from commit 534a2388b7 )
2022-02-04 00:27:14 +01:00
ForesterDev
27886c7f5d
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
(cherry picked from commit b47bb59e2a )
2021-12-13 00:42:20 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7 )
2021-12-13 00:42:20 +01:00
jackpoz
97249ff7b4
Core/Channel: Fix CRT Debug Assert triggered with invalid channel names
...
(cherry picked from commit f0bd90cc35 )
2021-12-08 23:43:19 +01:00
Giacomo Pozzoni
ff2cd4a032
Scripts/Commands: Fix crash caused by .set npc model ( #22877 )
...
* Scripts/Commands: Fix crash caused by .set npc model
Fix crash caused by .set npc model with invalid model id
(cherry picked from commit 20ea24bf5c )
2021-11-18 15:57:20 +01:00
Shauren
80a6347b7a
Core/Reputation: Implemented "friendship reputation"
2021-06-04 19:27:26 +02:00
ariel-
61585de8ae
Core/Scripts: fix codestyle
...
(cherry picked from commit e2a97ba7e7 )
2021-04-15 05:53:27 +02:00
Matan Shukry
1d51013b71
Scripts/Commands: Fixed .modify gender not setting correct customizations ( #25920 )
2021-01-23 15:35:22 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
deca201f77
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
2020-06-27 13:33:17 +02:00
ariel-
93c19c4194
Core/Misc: camelize GetFaction/SetFaction properly
...
(cherry picked from commit 4c4dca6d69 )
2020-04-29 01:36:41 +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
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Traesh
9d210476e5
Core/Creatures: Update creature model handling with new display scale ( #22567 )
2018-11-07 20:23:30 +01: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
Shauren
007b5a68c5
Core/DataStores: Fixed db2 structures after 7.3.5
2018-03-12 23:11:49 +01:00
Mihapro
16a7a414ab
Core/Creatures: Updated power type handling ( #20981 )
...
Closes #17476
Closes #12487
2018-03-04 12:48:22 +01:00
Mihapro
8199eef81c
Core/Misc: Added helper function Unit::SetFullPower
...
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines
Ref #20981
2018-01-03 16:39:32 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
331c70e695
Core/Players: Fixed DK runes and runic power
...
Closes #19595
2017-11-12 02:42:06 +01:00
Shauren
bf0ae32d18
Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
...
* Power names are taken from PowerType.db2 (lowercase, using _ is optional)
Closes #20833
2017-11-11 22:41:05 +01:00
roc13x
e04f75bd96
Core/Players: Several gold handling improvements
...
* Update gold limit to 10 million
* Updated auction house gold handling to 64-bit
* Fixed some vendor checks for when BuyCount > 1
* Tweaked some checks for available gold space
* Updated guild bank gold handling to 64-bit and fix withdraw limits
* Enforce gold limit on guild bank
* Check correct rank right when withdrawing from bank
* Other small changes to update money to 64-bit
Closes #19195
Closes #20152
2017-08-20 18:10:11 +02:00
Rochet2
7c39123432
Core/Commands: Fix .modify mount ( #20086 )
2017-07-27 21:09:48 +02:00
Rochet2
211b564894
Scripts/Commands: Fix trinity_string usage and enhance commands
2017-07-22 09:22:17 +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
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
c5d3dd90be
Core/Game: Include cleanup
...
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
joschiwald
80c36f3d9c
Scripts/Command: Fixed phases output in .pinfo command
...
Closes #19144
2017-02-17 21:54:49 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Palabola
dbd3e68ce6
Command/Morph fix ModelId above 65535 ( #18149 )
2016-10-26 23:14:38 +02:00
Shauren
c676e80c45
Core/Players: Removed references to removed currencies
...
Closes #17721
2016-09-29 23:30:47 +02:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00
KarrokDC
da186daf02
Core/Scripts: Cleanup cs_modify.cpp
...
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
* Closes #16858
(cherry picked from commit 775b03bf6f )
2016-05-01 02:00:44 +02:00
Nyeriah
afa8cfa092
Scripts/Command: Solve several format exception crashes introduced in a recent commit
...
Ref #16648
Closes #16751
(cherry picked from commit c1905771f0 )
2016-05-01 02:00:43 +02:00
Chaouki Dhib
3cbbcdb51a
Core/Movement: Clean up and improvements on Unit::SetSpeed ( #16843 )
...
- 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.
(cherry picked from commit dc3327f9c5 )
# Conflicts:
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Handlers/MovementHandler.cpp
# src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
# src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
# src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
# src/server/scripts/Kalimdor/zone_azshara.cpp
# src/server/scripts/Kalimdor/zone_durotar.cpp
# src/server/scripts/Outland/zone_hellfire_peninsula.cpp
2016-04-16 02:26:24 +01:00