Note: To enable rbac commands for administrators permissions 202-206 have to be linked to permission 196.
Sample SQL for auth DB:
INSERT INTO `rbac_linked_permissions` VALUES (196, 202), (196, 203), (196, 204), (196, 205), (196, 206);
(cherry picked from commit f620befc37fd8a4aed917e1ebba6f268c44a0a99)
* Server/Config - Change default settings for saving gm logs.
* update
Prefix Timestamp to the text
(cherry picked from commit 7050a5ccb617dae2b329c8f7d8d08e6c502a9370)
* Core/Objects: Units with invisibility auras can see units that cannot detect them
* Core/Objects: A unit that possess another one, uses the detection of the latter
* GCC: Avoid ambiguous 'else'
Closes#23528
(cherry picked from commit ad4bc7cc1f3d3f541219e9077238743c73130108)
Add config option AllowLoggingIPAddressesInDatabase to authserver and worldserver to specify if IP addresses can be logged or not to the database
(cherry picked from commit 68bf7e6d12e1689d688db32c05066b8832922c67)
* Core/DBLayer: Add QueueSize() method
Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command
* Make the code less threadsafe
* Send data to InfluxDB
* Update grafana dashboard
(cherry picked from commit 96dc110f4a353871ac74c82ff4b1bcc4c34156f3)
* spawn groups have been able to spawn for all difficulties even when they should be restricted to a single difficulty only
(cherry picked from commit 48f63eda9029d4fe16b7a350059c8e26ba8484ce)
Add more logs to try spotting the cause of #26325 . It might be that a minion is added to a owner that is not in world.
Report any issue with minions/pets that contain the log.
(cherry picked from commit 3f08c16749984252e657d46cfaa1ef50cd3f5a15)
* Game/Event: zone_hellfire_peninsula.cpp
Convert script timer into game event
* _events.Reset(); - just in case
* Rename 9999_99_99_99_world.sql to 2021_07_21_03_world.sql
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 39e1d293bf5c26c26d26fe9509189a67ce0c4f37)
* Core/Item: Fixed possible dupe with container items containing non unique non stackable items
* Fixed build
* Update sql script and related base structure
Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit d1e913162e0a96918c70ba4ec3f62f4186ee4707)
* Core/Spells: PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW applies only with invisibility type INVISIBILITY_GENERAL (0)
* Use enum
(cherry picked from commit 47a4d58a982d5c22fbcdd07cac9dae5fd1bc52e4)
* Core/SAI: Warn when an unused parameter is set in the database
* Warn when an unused parameter is set in the database as all unused parameters are supposed to be set to 0.
* Remove unused struct from union.
* Add a new struct simpleTalk for SMART_ACTION_SIMPLE_TALK instead of reusing only some fields of struct talk from SMART_ACTION_TALK
* Add addAura and flag structs to be used instead of generic ones to match the parameters used by actions
* Add randRangeTimedActionList struct to be used instead of generic ones to match the parameters used by actions.
* Remove unused action structs.
(cherry picked from commit aa7279df095d086f7223a1fa13d11a0e58f1cf10)