Mykhailo Redko
a62ad24490
Core/Movement: Make it possible to get exact player position in scripts triggered directly by player movement ( #29824 )
...
Examples: PlayerScript on death by falling, AuraScript remove by interrupt flags (turning on vehicle, landing)
(cherry picked from commit a3ada797fdb1577f93b74b1daea688dc5bb89347)
2026-08-01 21:41:03 +02:00
Mykhailo Redko
b596657227
Core/Spells: Remove ProcEventInfo::GetProcTarget to avoid confusion. ( #30435 )
...
(cherry picked from commit 81ab02d6f89605c4a059a76de2ba90b0e2e5b214)
2026-06-07 21:48:21 +02:00
Mykhailo Redko
fef92bed7b
Core/Chat: Corrected names and descriptions for GM.LowerSecurity config option and related rbac permission ( #30644 )
...
(cherry picked from commit 62fe2d6a8d848b9dcf106ccf9abee10c76493c5d)
2026-06-07 20:22:08 +02:00
Mykhailo Redko
c46cc865f5
Core/Pets: Implemented sound playback when dismissing warlock pets ( #30683 )
...
(cherry picked from commit a827230910fd7e3e64bcb5526e2778b8b4752da4)
2026-06-07 19:51:13 +02:00
Mykhailo Redko
22008f8ea1
Core/Spells: Added missing DBC data for some food effects. ( #30679 )
...
(cherry picked from commit 52af034225e12c5b4d0c9fc437dad3d409b66d5e)
2026-06-07 18:59:48 +02:00
r4dish
2036807a2f
Core/Misc: Move instance enter times handling from Player to WorldSession.
...
(cherry picked from commit 0327f16d110baa4479c73b4fcece6c99b2f89a8b)
2026-06-01 16:10:34 +02:00
r4dish
bd81530a2a
Core/Misc: Update instance enter times only when it's really needed.
...
(cherry picked from commit c6906948f7352eee52174434c4626ecf98eb8eab)
2026-06-01 16:10:34 +02:00
Mykhailo Redko
9cd5d47014
Core/Misc: Cleanup account instance times data from DB on account deletion.
...
(cherry picked from commit 0ebda1168aa08d2b4539de6304c3cbd806448152)
2026-06-01 16:10:34 +02:00
r4dish
2acb33e71c
Core/Auras: Improvements for SPELL_AURA_MOD_FAKE_INEBRIATE handling
...
(cherry picked from commit 858477148727b79be51d8c785a12af78c465dbb8)
2026-06-01 16:10:34 +02:00
r4dish
2500ea5772
Core/Spells: Fix sobering spells and possible uint8 overflow/underflow in SPELL_EFFECT_INEBRIATE handler.
...
(cherry picked from commit d9460428c6639ea8dc3f66e0e39cd37cf62a1252)
2026-06-01 16:10:34 +02:00
Mykhailo Redko
d783ce2a0b
Core/Spells: Fix dispelling movement impairing auras by PvP-trinket and similar spells. ( #29966 )
...
(cherry picked from commit 45c579eb9d1c4c328a2556e22cc01ae9adbf2757)
2026-05-31 23:57:59 +02:00
Mykhailo Redko
da4d3d7782
Scripts/Halls of Lightning: Fix a crash caused by iterator invalidating in Ionar boss script ( #29963 )
...
(cherry picked from commit faf87b327d3eed6e1ea60f1ed21f6a9f7ac36734)
2026-05-31 22:46:45 +02:00
r4dish
7de1b541e7
Core/Players: Move power regeneration calculations to Player::UpdatePowerRegen
...
(cherry picked from commit a7dab01c2dc7105f5feddcbd4bf5489b330d70b5)
2026-05-29 20:04:29 +02:00
r4dish
e47aa4d85f
Core/Players: Auras that change the rate of energy regeneration should have an effect on client prediction.
...
(cherry picked from commit 1a3006b20d8c41139b206f610bcb6c22508ec329)
2026-05-29 17:24:52 +02:00
Mykhailo Redko
6bb9884e26
Scripts/Pets: Implemented Elwynn Lamb minipet feature. ( #29635 )
...
(cherry picked from commit 6c181a00d544bbaf13f42b921eeed3dc6b78f89d)
2026-05-29 13:01:26 +02:00
Mykhailo Redko
0ecd978f81
Core/Players: Improvements for talent reset logic. ( #29580 )
...
* Clean up Player::ResetTalents() from unnecessary logic, such as withdrawing money. Move it to more suitable places.
* Implemented SMSG_TALENTS_INVOLUNTARILY_RESET and use it instead of old trinity_string.
* Do not reset the accumulated talent reset cost if CONFIG_NO_RESET_TALENT_COST is enabled.
(cherry picked from commit ca1560f043df275d9241055adbf61a393666a533)
2026-05-26 23:08:28 +02:00
Mykhailo Redko
65b857eb27
Core/Spells: Immune a reflected spell if the original caster cannot be it's target. ( #29645 )
...
(cherry picked from commit 86551ba71669712cadf82f2dc1f0c5481f0fba1b)
2026-05-26 23:08:28 +02:00
Mykhailo Redko
8985860b14
Core/PacketIO: Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE ( #29570 )
...
Closes #29308
(cherry picked from commit 420cbd7396ca59497328d372ed028d976f23b150)
2026-05-26 23:08:28 +02:00
Mykhailo Redko
bc4372dc96
Scripts/Commands: .account set seclevel command will update security level for online session ( #29600 )
...
(cherry picked from commit 75016bf4da8656b049e6050e745cd50793e05780)
2026-05-26 23:08:28 +02:00
r4dish
e0a62505e2
DB/RBAC: Link RBAC_PERM_IGNORE_IDLE_CONNECTION to correct root permission.
...
(cherry picked from commit 4dba523a7a06f2a89d22033dfc9f558d07a63e8d)
2026-05-26 23:08:27 +02:00
r4dish
578cbdc690
Scripts/Commands: Implemented .bg start and .bg stop commands.
...
(cherry picked from commit c2831bafded61dcd417535a444c2dfbb454171bb)
2026-05-26 23:08:27 +02:00
r4dish
b18c3dc199
Core/Misc: Add permission that allows player to be AFK on the battleground.
...
(cherry picked from commit 554fc8eee0bcbb70acd012c04f6f02197c6d949c)
2026-05-26 23:08:27 +02:00
r4dish
697fec530b
Core/Misc: Do not apply Deserter debuff to players teleported from the battleground by gm command (.appear/.summon).
...
(cherry picked from commit 1dc9b83a2556741ffd0c6ddce447a3e04f51a2b2)
2026-05-26 23:08:27 +02:00
r4dish
40348c62d3
Core/RBAC: Add permission that prevents getting a battleground deserter debuff.
...
(cherry picked from commit 196dd226dfb0ffe80d4db8531d8d337fba3d2003)
2026-05-26 23:08:27 +02:00
Mykhailo Redko
02b977c98e
Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB() ( #29582 )
2024-02-25 18:58:00 +01:00
Mikhail Redko
52ddfe89f8
Core/Scripts: Implemented Zort's Protective Elixir ( #28372 )
...
* Core/Scripts: Implemented Zort's Protective Elixir
* Rename XXXX_XX_XX_XX_world.sql to 2022_12_23_00_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit dc221604d9971eabb95cdbaececa28765a6dfa9a)
2023-01-12 22:55:19 +01:00
Mikhail Redko
72a4fccaab
Core/Misc: Improvement item durability repair logic. ( #26911 )
...
* Core/Misc: Improvement item durability repair logic.
* Move item repair cost calculation logic from Player::DurabilityRepair to Item::CalculateDurabilityRepairCost
* Make item repair cost calculation more congruent with client logic (std::round)
* Do not repair items if player does not have enough money to pay for the repair of all items at once
* Withdrawing money from guild bank only once to avoid spam in the guild bank log and reduce number of transactions in the database
Closes #25937
* Fix build
* Remove unnecessary scope
* Fix visual studio warning and one more check for reliability
(cherry picked from commit 3cef126d0a449219f154a6498d26831f86220dfa)
2022-03-19 16:55:55 +01:00
Mikhail Redko
9e6def8ae2
Core/Console: Improve ReadWinConsole logic and cosmetic changes ( #26402 )
...
* Core/Console: Improve ReadWinConsole logic and cosmetic changes
* Core/Console: Fixed possible appearance of weird characters in the console when printing the output of child processes
* Fix codestyle
* Removed auto
* Core/Misc: Explicit casting Difficulty values to uint8 before outputting to console
* Core/Misc: Cast Difficulty to uint32 for output to console
Co-authored-by: jackpoz <[email protected] >
(cherry picked from commit 6c12f45f3b7d7eab32ed29860d2261fc8a512f0e)
2022-03-09 14:55:18 +01:00
Mikhail Redko
f7441f0234
Core/Misc: Fixed utf8 encoding in console input/output. ( #26352 )
...
* Core/Misc: Fixed utf8 encoding in console input/output.
* Fix gcc build
* Fixed that weird 'a' with circle above it and other similar letters. Also fixed encoding in AppenderConsole which sometimes did not work as it should
* Fix build on Linux
* Probably better to do it like this
(cherry picked from commit 1539bed3db86f2153f2d0d5fbf24bf9ee4af1d92)
2022-03-08 15:57:30 +01:00
Mikhail Redko
6855c81df1
Core/Player: Fix output of .additem command with negative count value ( #26290 )
...
(cherry picked from commit 6a72f9fbfd5a5a3e05e13abe38fe44c6ba3435f2)
2022-03-07 22:17:27 +01:00
Mikhail Redko
f258d2443f
Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish ( #25802 )
...
* Scripts/Spells: Implement effect "Party Time" & Add Rejuvenation when eating Deviate Fish
* Rename XXXX_XX_XX_XX_world.sql to 2021_01_06_08_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected] >
(cherry picked from commit a9db8a9b9a2f40ade5038c68321f0e9f4f566dcf)
2022-03-05 22:19:26 +01:00
Mikhail Redko
81555a8ea4
Core/Misc: Remove unneeded null-terminator after switch from wchar_t to std::wstring in 309851e. Fixes creation characters with declined russian names ( #25797 )
...
Closes #23775
(cherry picked from commit eaa22b8a1722fd362bf5ef2c6944b5c50b121afd)
2022-03-05 21:46:57 +01:00
Mikhail Redko
f8dda8a4fc
Core/Creatures: implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR ( #21642 )
...
* Add CREATURE_FLAG_EXTRA_NO_SELL_VENDOR and use it for a single no-sell vendor in game (there are more of them in later expansions)
(cherry picked from commit 7c5b69d18bb315d369bf0bbfc16b795d63d0f73c)
2021-09-19 22:54:08 +02:00
Mikhail Redko
7625bd960e
Core/WorldSession: Add RBAC permission for skipping idle connection check ( #20595 )
...
(cherry picked from commit 558382ed6d87942603fa309b16a30e64d07bb305)
2020-12-31 23:23:50 +01:00
Mikhail Redko
9ee7f42d44
Core/Spells: Move Big Blizzard Bear implementation to spell script ( #19544 )
...
(cherry picked from commit 8a5b998f487bd1a391cc9d2d350c4a686b4e61b0)
2020-07-16 22:21:39 +02:00
Incorrect
c28e6a8c16
Core/Spells: Fixed overwriting summon requests
...
Closes #17049
2016-05-01 12:53:39 +02:00
Mikhail Redko
c273248ad5
Core/Misc: Move STOP_TIME_FOR_PLAYER value to config. ( #17024 )
...
(cherry picked from commit d5f04f5a387d8c41f9d54d5d8a0ff007209148a8)
2016-04-28 17:11:19 +01:00
Incorrect
f8d5031fca
Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
...
Closes #16416
(cherry picked from commit cc3ae640a48417aae31eac8828842ab50099069b)
2016-04-02 19:32:03 +02:00
Incorrect
b022724458
Core/Misc: Remove unneeded files
...
These 3 BlackRock Mountain scripts can be removed from source:
- boss_anubshiah.cpp
- boss_gorosh_the_dervish.cpp
- boss_grizzle.cpp
They already removed from the creatures in DB, and are currently causing
DBErrors.
(cherry picked from commit d98037a75dd8a3edc2d95051b68fb4db83fb9d7b)
2015-11-06 13:00:21 +01:00
Incorrect
7b1249270b
Core/Misc: Fix a typo
...
(cherry picked from commit e99e69d31ff7f768517a59bd0c2cd6cbb87c2cef)
# Conflicts:
# src/server/game/Entities/Player/Player.h
2015-10-16 11:46:57 +02:00