Commit Graph

940 Commits

Author SHA1 Message Date
Shauren bff2c4733a Core: Updated allowed build to 9.2.0.42560 2022-03-03 01:11:37 +01:00
Shauren 457210f263 Core: Updated allowed build to 9.2.0.42538 2022-03-02 10:18:08 +01:00
Shauren 97406ce162 Core: Updated allowed build to 9.2.0.42521 2022-03-01 16:18:07 +01:00
Shauren 569b5d6f04 Core/Auction House: Eliminate blocking db queries for account permissions when expiring auctions that have offline bidders
(cherry picked from commit d0d0f51f32)
2022-02-28 12:45:06 +01:00
Giacomo Pozzoni d02ee9de37 Script/Commands: Add ".pdump copy" command (#25455)
* 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>
(cherry picked from commit 6215da0d64)
2022-02-27 00:28:25 +01:00
Shauren ed77b9c3a9 Core: Updated allowed build to 9.2.0.42488 2022-02-26 01:03:30 +01:00
Shauren d995322dd0 Core: Updated allowed build to 9.2.0.42423 2022-02-25 12:41:01 +01:00
Treeston e0e3bae82c Core/Authserver: Removal of sha_pass_hash, compatibility fields, and everything that uses them (PR #25156)
(cherry picked from commit bcdbdd6f23)
2022-02-05 13:29:21 +01:00
Shauren 22e823b5f9 Core/Pets: Change PET_SAVE_NOT_IN_SLOT constant from 100 to -1 to truly avoid conflicts when growing stable size and change PET_SAVE_AS_DELETED from -1 to -2 2022-01-31 21:50:32 +01:00
Shauren 8349444749 Core/Pets: Save last summoned pet number in characters table 2022-01-31 21:34:48 +01:00
Shauren e458144442 Core/Pets: Removed storing stable slot count in db 2022-01-31 14:34:05 +01:00
Treeston 319ddd9bcd Core/Warden: Warden refactors (PR #25235)
(cherry picked from commit 6116e5b385)
2022-01-26 19:42:11 +01:00
Shauren e8368ed2eb Core: Updated allowed build to 9.1.5.42010 2022-01-22 01:40:57 +01:00
TDB Release 1761f72da7 TDB 915.22012 - 2022/01/15 2022-01-15 23:33:52 +00:00
Shauren 0d3235f569 Core/Guilds: Separate guild rank id from guild rank order
Co-authored-by: aquadeus <efectokoleos13@gmail.com>
2022-01-09 23:12:00 +01:00
ModoX f49ff55f53 Core: Updated allowed build to 9.1.5.41793 2022-01-08 03:53:46 +01:00
TDB Release 87a85dd9d2 TDB 915.22011 - 2022/01/02 2022-01-02 21:29:31 +00:00
zartech22 c57c26d7fb Add realm ID for actions based ip logging (#24453)
* Update SQL queries to insert realm id

* Insert the realm id when logging actions based on IP

* Adding the SQL update file

* Update 9999_99_99_99_auth.sql

* Update auth structure

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 56f20d69a6)
2022-01-01 19:38:40 +01:00
Shadow 321bc3ccfa Missing rbac permissions (#24253)
* Added missing RBAC permissions to auth database

* Rename 9999_99_99_99_auth.sql to 2020_04_07_00_auth.sql

* Update 2020_04_07_00_auth.sql

* Update auth_database.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit d962624d61)
2022-01-01 01:09:52 +01:00
Shauren 112b8799ff DB: Purge mediumint columns from character db (change to full int) 2021-12-31 16:14:19 +01:00
Shauren 8eb1938fe8 DB: Convert all databases to InnoDB engine 2021-12-31 16:01:43 +01:00
Shauren 276ef7ff11 Typo fix 2021-12-31 14:15:57 +01:00
Shauren 9d060d23c1 DB: Convert databases to utf8mb4 2021-12-31 13:59:55 +01:00
jackpoz 7d8926c55d Core/Channels: Limit channel length to 31 characters
(cherry picked from commit 2707877cf6)
2021-12-23 19:45:40 +01:00
Treeston 0b61c3b7b1 [3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)
- Proper management commands (.account 2fa)
- Secrets can now be encrypted (set TOTPTokenSecret in .conf)
- Secret now stored in binary
- Argon2 and AES primitives
- Base32/64 support

(cherry picked from commit 4211645834)
2021-12-18 20:24:50 +01:00
Treeston 093223d7b4 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
(cherry picked from commit a82bbeb101)
2021-12-16 21:20:38 +01:00
Treeston 6f6cf975e4 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
(cherry picked from commit 293ba08d21)
2021-12-16 21:20:38 +01:00
Treeston 9fa5c71409 Core/DB: Add a world state for daily quest reset time to characters. Not used right now, but written to allow easier transition later.
(cherry picked from commit 1277c54263)
2021-12-16 21:20:38 +01:00
Shauren 7bc3a92b2c Core: Updated allowed build to 9.1.5.41488 2021-12-16 12:26:58 +01:00
Treeston be05590a12 Core/DB: Unify creature_respawn and gameobject_respawn into a single respawn table
(cherry picked from commit 374597c8e9)
2021-12-16 01:10:06 +01:00
Wyrserth b709ea9a8d Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts (#23459)
* Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts.

* Kill evil spaces.

* Rename 9999_99_99_99_auth.sql to 2019_06_21_00_auth.sql

* Update auth_database.sql

(cherry picked from commit 8163ea60c8)
2021-12-11 22:47:08 +01:00
Wyrserth ae43820ca0 Core/Commands: implement commands to look up a map/item/quest name for a given id (#23416)
* Core/Commands: implement commands to look up a map/item/quest name for a given id.

* Add entry to updates table.

* Rename 9999_99_99_99_auth.sql to 2019_06_16_00_auth.sql

* Add missed change, thanks jackpoz!

* Update auth_database.sql

(cherry picked from commit ce3dcdcb1a)
2021-12-11 14:12:54 +01:00
jackpoz db0058964f DB: Add new view vw_log_history to show database logs in a better way
(cherry picked from commit 9fc4ff9dd2)
2021-12-10 23:01:13 +01:00
Shauren 8341082ac4 Core: Updated allowed build to 9.1.5.41359 2021-12-08 00:33:14 +01:00
Shauren 04a6c55a11 Core: Updated allowed build to 9.1.5.41323 2021-12-04 12:55:22 +01:00
Shauren a4d40c9e34 Core: Updated allowed build to 9.1.5.41288 2021-12-02 11:59:23 +01:00
jackpoz c73fd0e6e3 Scripts/Commands: Add .debug asan commands
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools)

(cherry picked from commit 71d15ea25b)
2021-12-02 00:39:20 +01:00
Meji 93c668ac50 Core/BattlePets: Implemented BattlePetSpeciesFlags::NotAccountWide (#27303)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-25 20:55:12 +01:00
Meji 8614690e27 Core/BattlePets: Implemented battle pet name query packet (#27294)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-20 19:06:14 +01:00
Shauren 41859db7c6 Core: Updated allowed build to 9.1.5.41079 2021-11-19 00:41:58 +01:00
TDB Release 06b9be494a TDB 915.21111 - 2021/11/17 2021-11-17 13:31:04 +00:00
Shauren c1915d386c Core: Updated allowed build to 9.1.5.41031 2021-11-12 19:25:09 +01:00
Shauren 41b8a141f2 Core: Updated allowed build to 9.1.5.40966 2021-11-10 14:09:17 +01:00
Treeston 5ed891a0f0 Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything.
(cherry picked from commit 97ade1321b)
2021-11-08 23:18:32 +01:00
Shauren 57ad93e51a Core: Updated allowed build to 9.1.5.40944 2021-11-06 11:57:41 +01:00
Shauren 1543ca3575 Core: Updated allowed build to 9.1.5.40906 2021-11-05 00:38:43 +01:00
Shauren 5c8a058120 Core/PacketIO: 9.1.5 updatefields and SMSG_UPDATE_OBJECT structure 2021-11-04 21:47:03 +01:00
Shauren edc94e8ae8 Core/GuildFinder: Remove as preparation for 9.1.5 2021-11-02 18:14:49 +01:00
funjoker d57e798d50 Fix typo in 2cf397c265 2021-10-26 01:09:01 +02:00
Shauren 2cf397c265 Core: Updated allowed build to 9.1.0.40725 2021-10-26 00:52:41 +02:00