Commit Graph

583 Commits

Author SHA1 Message Date
TDB Release
73348bed8e TDB 335.19121 - 2019/12/15 2019-12-15 18:28:50 +00:00
Shauren
b990a79fd8 Core/Realms: Move build info (and auth seeds) to database
(cherry picked from commit 61f2eed353)
2019-12-07 13:14:16 +01:00
TDB Release
c22000ed2c TDB 335.19111 - 2019/11/16 2019-11-16 12:08:04 +00:00
TDB Release
50307d9222 TDB 335.19101 - 2019/10/18 2019-10-18 08:40:12 +00:00
TDB Release
9f66158ae5 TDB 335.19091 - 2019/09/15 2019-09-15 09:23:26 +00:00
TDB Release
a054ce864d TDB 335.19081 - 2019/08/16 2019-08-16 06:27:38 +00:00
Treeston
4211645834 [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
2019-08-10 21:34:51 +02:00
Treeston
a82bbeb101 Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch. 2019-07-17 15:59:52 +02:00
Treeston
293ba08d21 Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset. 2019-07-16 15:04:14 +02:00
Treeston
1277c54263 Core/DB: Add a world state for daily quest reset time to characters. Not used right now, but written to allow easier transition later. 2019-07-16 12:50:16 +02:00
Shauren
17c7a66657 SQL: Add missing update entry 2019-07-15 17:51:04 +02:00
Shauren
cd3d317ebf Core/Addons: Improve WorldSession::ReadAddonsInfo
* Only allow built-in addons to be marked as secure
* Better protect against malformed packets
2019-07-15 17:47:35 +02:00
TDB Release
f46644c925 TDB 335.19071 - 2019/07/15 2019-07-15 05:59:57 +00:00
Treeston
374597c8e9 Core/DB: Unify creature_respawn and gameobject_respawn into a single respawn table 2019-07-14 18:49:38 +02:00
Wyrserth
8163ea60c8 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
2019-06-21 20:17:37 +02:00
Wyrserth
ce3dcdcb1a 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
2019-06-16 19:52:13 +02:00
TDB Release
e1a5e31498 TDB 335.19061 - 2019/06/15 2019-06-15 07:36:09 +00:00
jackpoz
9fc4ff9dd2 DB: Add new view vw_log_history to show database logs in a better way 2019-06-06 18:13:17 +02:00
TDB Release
8a02741cd0 TDB 335.19051 - 2019/05/15 2019-05-15 06:15:46 +00:00
jackpoz
71d15ea25b 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)
2019-04-27 20:11:48 +02:00
TDB Release
145f7d6a74 TDB 335.19041 - 2019/04/15 2019-04-15 06:18:32 +00:00
TDB Release
3358cc2a47 TDB 335.19031 - 2019/03/19 2019-03-19 07:20:15 +00:00
Shauren
1c4cdfd325 Renamed SQL with proper date 2018-12-30 20:07:04 +01:00
Ghaster
bf3ab6d9c4 Core/Creatures: Port trainer changes from master
Closes #20493
2018-12-30 19:51:36 +01:00
Aokromes
0b356d0bae Update characters_database.sql 2018-11-28 00:58:51 +01:00
Shauren
be47254a4f Core/Auras: Fixed saving auras with same spell id but different item source 2018-11-09 20:51:20 +01:00
Treeston
97ade1321b Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything. 2018-09-17 11:18:06 +02:00
Treeston
5843724deb Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command. 2018-09-06 10:46:28 +02:00
Aokromes
8a45191e92 Make travis happy 2018-08-30 23:24:52 +02:00
Treeston
6a0870a999 Scripts/Commands: New command ".go instance". Goes to an instance. 2018-08-30 20:17:51 +02:00
Shauren
7e4fd30567 SQL: Added missing updates entry 2018-07-09 19:21:27 +02:00
Shauren
8411ec7ed6 Core/Players: Fixed saving quest item progress 2018-07-09 18:32:40 +02:00
Gooyeth
2fe4ab94c5 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
2018-06-23 01:32:39 +02:00
Aokromes
52cfea6d9c Update characters_database.sql 2018-04-25 11:14:01 +02:00
Gooyeth
59f80f555c Core/Battleground: Fix arena distribution timer where it is less than the current unix time. (#21859)
* Core/Battleground: Fix arena distribution timer where it is less than the current unix time.

* fix bracket

* fix when the timer starts for the first time.

* m_NextAutoDistributionTime instead of GetGameTime.
2018-04-24 16:05:07 +02:00
Gooyeth
d1cf91e32d Update characters_database.sql 2018-04-03 00:36:02 -03:00
Gooyeth
1ea75f413c improved fix 2018-04-03 00:36:02 -03:00
Gooyeth
a854261952 Core/Spells: don't save Magma aura. 2018-04-03 00:36:02 -03:00
Shauren
592516ae69 Core/Creatures: Reworked setting move types in database
* Each move type has its own field instead of trying to combine everything in InhabitType
* Allow overriding movement separately for each spawn
2018-03-08 23:13:51 +01:00
ariel-
d18f8b94b0 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

Closes #19957
2018-03-06 18:48:57 -03:00
tkrokli
9163ad55ff SQL: Updates to the 335.64 auth & characters updates tables
- added missing lines in the `updates` tables for the new TDB 335.64 files
2018-02-18 23:31:03 +01:00
tkrokli
d21cb8fe16 DB/SQL: typo fix (Update base files follow-up) 2018-02-18 23:07:59 +01:00
DDuarte
93357631fa SQL: Update base files
Missing changes to ed63d15
2018-02-18 19:52:58 +00:00
Aokromes
638cb33ea0 Update characters_database.sql 2018-02-11 09:08:12 +01:00
Treeston
6ce078d8e8 Scripts/Commands: new command '.debug instancespawn' 2018-01-24 22:52:42 +01:00
ariel-
cb9e72e521 Core/Auras: removed caster dependency from core
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling

Closes #19876
2018-01-13 06:45:21 -03:00
Treeston
a9bfc3b70d add update to auth_database base 2018-01-09 18:11:24 +01:00
Treeston
f45c211987 Scripts/Commands: New command: .debug threatinfo 2018-01-09 18:09:24 +01:00
joschiwald
425b181544 DB: Made timestamp columns, those can have no date, nullable instead of saving invalid date '0000-00-00 00:00:00'
* This makes our tables mysql strict mode conform

Ref #21113

(cherry picked from commit c2aead1da5)
2018-01-03 15:14:49 +01:00
Aokromes
a3cb947f72 DB/Misc: Make base files more read-able
for future mysql dumps run this after dump before push:

sed -i 's/),(/),\n(/g' auth_database.sql

sed -i 's/),(/),\n(/g' characters_database.sql
2017-12-17 12:23:43 +01:00