Commit Graph

566 Commits

Author SHA1 Message Date
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
ForesterDev
661dfee80e Scripts/Commands: modify command .dismount to target any selected player (#19788)
- change security lvl for command .dismount to 2 (gamemasters). For players there is /dismount command

Closes #19788
2017-12-17 04:36:59 +01:00
iridinite
9d454eb3df [3.3.5] Core/AuctionHouse: Auction bidders (#18328)
* Save more auction bidders than the highest bidder only
2017-11-27 23:00:30 +01:00
Aokromes
854339cd8e Make travis happy 2017-10-30 00:38:37 +01:00
ForesterDev
a64d1ec51e Core/Quests: implement Quest Greeting (DB table quest_greeting)
* Core/Quests: implement Quest Greetings. Partial port 22e230ecec
2017-10-29 10:15:22 +01:00
Mikhail Redko
558382ed6d Core/WorldSession: Add RBAC permission for skipping idle connection check (#20595) 2017-10-13 22:26:53 +02:00
Treeston
fcd6fe0aac Scripts/Commands: New utility command: .list spawnpoints.
(I just needed it for dynspawn follow-up work, really.)
2017-08-01 03:42:11 +02:00
treeston
e35092c6a1 Combat/threat rewrite prep - merge RBAC/DB changes. 2017-06-28 17:27:34 +02:00
treeston
9fc3578530 Another follow-up to b59ca1c and 41eddd5, fixing missing update entry in auth_database base. This is a stupid, stupid system we have here. 2017-06-17 03:42:29 +02:00
treeston
41eddd59aa Correct some missing auth DB changes from b59ca1c. 2017-06-17 01:24:53 +02:00
Aokromes
ed641c8ee8 Typo fix 2017-06-13 19:48:17 +02:00
treeston
6f29aac936 Add new command 'npc showloot'. Does exactly what it says on the tin. 2017-06-12 19:10:41 +02:00
treeston
06c5d139f6 Insert dynamic_spawning RBACs (already reserved in RBAC.h as of 55d8c2b) into auth database to prevent constant base file conflicts on that branch. 2017-06-12 17:12:02 +02:00
treeston
ac0f76f8c5 - Add new commands .group set assistant, .group set maintank and .group set mainassist to toggle raid member flags.
- Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12 17:01:47 +02:00
ForesterDev
dd4ff1fe54 Scripts/Command: implement .debug play music command
Closes #19809
2017-05-29 23:17:49 +02:00
DDuarte
73ec3a1d3b TDB 335.63 - 2017/04/18 2017-04-19 01:14:14 +01:00
ariel-
4c593f12ca Core/Instance: stop updating the instance resettimes based on creature respawns
- Rather update normal instance reset time to 2 hours after last creature kill
- This fixes yet another integer overflow due to the possibility of having time_t max showing up
- Also change respawntime and resettime fields to bigint on respawn/instance related tables
- Start using prepared statements on the InstanceSaveMgr
2017-04-12 02:19:55 -03:00
xinef1
9dc3de10f0 Core/Loot: implement Loot Item Storage (#19018)
* Created Item Loot Storage, no more synchronous DB selects
* Fixed buyback case, where stored loot was not removed from db
* Added Primary key, and changed field types to be unsigned for table item_loot_money
2017-04-11 22:22:50 -03:00