if client had same locale as server, the command didn't work (should've been != and not ==). Furthermore, server dbcs only have the server locale for these, and they might or might not match up with the client. only downside of removing the check entirely is possibility of mixups if two locales have overlapping names for different skills. I highly doubt a single such instance exists.
* Script/Commands: Remove sync db queries from ".account onlinelist"
* Add additional "account onlinelist" commands
- "account onlinelist ip" to filter by ip address
- "account onlinelist limit" to limit the output rows
- "account onlinelist map" to filter by map id
- "account onlinelist zone" to filter by zone id
* Update src/server/scripts/Commands/cs_account.cpp
* Script/Commands: Allow to specify the target player in .additem command
New syntax: .additem <required item id> <optional item count> <optional player name>
Close#25875
* Move target player to new command ".additem to <player> <item> <count>"
Silences the PVS V1002 warning:
"The 'RBACCommandData' class, containing pointers, constructor and destructor, is copied by the automatically generated copy constructor."
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);
* 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
* First version of command handler
* Done HandleReviveAllCommand
* Moved command to group subcommonads
* Added group level up
* Removed empty line
* Added additional nullchecks
* Removed newline
* Code styling
* Added group set level command
* Removed whitespace
* Removed group set level command
* Unnecessary comma
* Added check for level lower bound
* First version of command handler
* Done HandleReviveAllCommand
* Moved command to group subcommonads
* removed empty row
* nullptr check for player target
* Script/Commands: Add ".pdump copy" command
Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.
* Add missing return
* Restore eof check
* Fix sql
* Use forward declaration header
Co-authored-by: Shauren <shauren.trinity@gmail.com>
* Remove buffer when reading a line
* Rename sql files
Co-authored-by: Shauren <shauren.trinity@gmail.com>