Commit Graph

228 Commits

Author SHA1 Message Date
Shauren
455959c606 Core/PacketIO: Rewrite updatefield handling 2019-06-08 17:06:57 +02:00
Shauren
31fda79556 Core/PacketIO: Updated packet structures to 8.1.5 2019-06-08 17:03:15 +02:00
Gooyeth
163c487be7 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c5)
2019-01-09 17:35:13 +01:00
Shauren
3535955e8f Core: Updated allowed build to 8.0.1.28153 2018-12-09 14:50:36 +01:00
ariel-
ea0cd93662 Core/Scripts: added command to move characters across accounts
(cherry-picked from f7f865f818)
2018-12-09 14:18:42 +01:00
Shauren
c2d61e05cf Core: Updated allowed build to 7.3.5.26972 2018-06-29 22:38:38 +02:00
Shauren
6ef9c4dbfc Core: Updated allowed build to 7.3.5.26899 2018-06-22 18:00:24 +02:00
Shauren
170d10b8a9 Core: Updated allowed build to 7.3.5.26822 2018-06-14 23:08:55 +02:00
Shauren
f313e9f5e1 Core: Updated allowed build to 7.3.5.26654 2018-05-24 22:34:18 +02:00
Shauren
f05dbf814a Core/DataStores: Load Cfg_Regions and changed default realmlist region to US 2018-05-13 20:43:44 +02:00
Shauren
72a9a8a29c Core: Updated allowed build to 7.3.5.26365 2018-04-06 18:03:08 +02:00
Aokromes
d1146a4495 typo fix 2018-03-15 00:51:58 +01:00
Aokromes
bc88d3bc15 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

cherry pick of d18f8b94b0

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +01:00
Shauren
31f6ba5a92 Core: Updated allowed build to 7.3.5.26124 2018-02-28 23:18:41 +01:00
DDuarte
7f2b7dc9c2 TDB 735.00 - 2018/02/19 2018-02-19 22:48:54 +00:00
Shauren
880a135e34 Core: Updated allowed build to 7.3.5.25996 2018-02-18 16:36:49 +01:00
joschiwald
c2aead1da5 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
2018-01-02 20:55:57 +01:00
Shauren
66621a85e9 Core/Quests: Implemented player choice rewards 2017-12-31 23:22:55 +01:00
joschiwald
97c7e32a42 SQL: Fixed typo 2017-12-31 00:13:42 +01:00
joschiwald
dc29473120 Core/RBAC: Fixed permissions conflict with 3.3.5 branch 2017-12-30 23:15:15 +01:00
Shauren
96b29d2fa5 Fix base sql 2017-12-30 00:52:26 +01:00
Shauren
69a4ad408f Core: Updated allowed build to 7.3.2.25549 2017-12-30 00:29:32 +01:00
Shauren
20a3c9eed2 Core/PacketIO: Update opcodes to 7.3.2 2017-12-30 00:23:43 +01:00
Aokromes
e573607ccd 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:34:06 +01:00
Shauren
bf0ae32d18 Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
* Power names are taken from PowerType.db2 (lowercase, using _ is optional)

Closes #20833
2017-11-11 22:41:05 +01:00
Shauren
91626f0339 Core/Bnet: Moved loading account info from rest service to session
* This improves concurrency by removes thread synchronization when checking login tickets
* Also allows users to use external (web based) login systems
2017-09-22 18:26:00 +02:00
joschiwald
1f8fc55ac9 Core/Spells: Implementation of QAston proc system (#20131)
* Core/Spells: Implementation of QAston proc system

- Move checks from Unit::IsTriggeredAtSpellProcEvent (old system) to Aura::IsProcTriggeredOnEvent (new system)
- killed charge counter from SpellModifier and Player system for handling charges... no point in having 3 different systems doing the same thing
- Automatically add default entries to spellProcMap, based on spellinfo (else auras won't proc without an entry) Based on old Unit::ProcDamageAndSpellFor
- Old Unit::ProcDamageAndSpellFor renamed to Unit::ProcSkillsAndReactives and made private, will no longer handle auras.
- Start making use of HealInfo::AbsorbHeal in unit calculations, add effective healing info to HealInfo struct
- Changes in spell reflection system, emulates old behaviour, delaying aura drop
- Removed old charge count hacks in SpellMgr::LoadSpellInfoCorrections
- Removed bogus error log when procChance is 0: Some auras have initial 0 procChance but modified by SPELLMOD_CHANCE_OF_SUCCESS
- Fixed TriggerAurasProcOnEvent logic that tried to trigger twice from actor.
- Allow non damaging spells with DamageClass Melee or Ranged to proc character enchants. Ref issue #17034:

  * http://web.archive.org/web/20110309092008/http://elitistjerks.com/f47/t49865-paladin_retribution_pve/
  * When an auto-attack lands (does not dodge/parry/miss) that can proc a seal the of the following things happen independently of each other (see 2 roll system).

  * 1) A "hidden strike" which uses melee combat mechanics occurs. If it lands it refreshes/stacks SoV DoT. Only white swings can trigger a refresh or stack. (This hidden strike mechanic can also proc things like berserking..)
  * 2) A weapon damage based proc will occur if you used a special (CS/DS/judge) or if you have a 5 stack (from auto attacks). This attack can not be avoided.

  * Holy Vengeance is the "hidden strike" it has an apply aura effect and damage class melee.
- Fixed Blood Tap interaction with Death Runes (btw, don't know what was going on with those MiscValueB, spell 45529 doesn't have any MiscValueB in SPELL_EFFECT_ACTIVATE_RUNE)
- Ported some AuraEffect checks from old Unit.cpp function. added new AuraScript hook to check procs of an specific effect
- Allow only AuraEffects that passed the check to proc, this won't block whole aura from proccing (and lose charges) if at least one of the effects procs, though
- Changes in spell mod system (for SPELLMOD_CASTING_TIME). fixes #17558.
- Added an exception for SPELLMOD_CRITICAL_CHANCE too, fixes #15193

(cherry picked from commit e641d0c7d7)

# Conflicts:
#	sql/base/auth_database.sql
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Auras/SpellAuras.h
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/game/Spells/SpellMgr.h
#	src/server/game/Spells/SpellScript.cpp
2017-08-13 12:03:43 +02:00
Shauren
6c60dddbc6 Core: Updated allowed build to 7.2.5.24742 2017-08-04 23:48:02 +02:00
vincent-michael
b84d4516c3 Core: Updated allowed build to 7.2.5.24461 2017-06-30 16:20:57 +02:00
vincent-michael
917500c2d5 Core: Updated allowed build to 7.2.5.24430 2017-06-28 19:13:01 +02:00
vincent-michael
ff46a8fe62 Core: Updated allowed build to 7.2.5.24415 2017-06-25 00:56:58 +02:00
Shauren
cf5aa01be7 Core: Updated to 7.2.5.24367 2017-06-18 22:17:48 +02:00
Shauren
410bc49976 Core: Updated to 7.2.5.24330 2017-06-15 15:23:08 +02:00
Traesh
c73ce93f4c Core/Entities : Basic Conversation Implementation (#18010) 2017-05-14 11:40:55 +02:00
Aokromes
cd4e488540 Update auth_database.sql 2017-04-28 15:17:21 +02:00
vincent-michael
3b6d04badb Core: Updated allowed build to 7.2.0.24015 2017-04-28 09:15:16 +02:00
Shauren
f7b0f4c9c6 Core: Change allowed build to 7.2.0.23937 2017-04-22 19:33:15 +02:00
DDuarte
15b1aaff41 TDB 720.00 - 2016/04/18 2017-04-19 00:25:43 +01:00
Shauren
0b9548a1cc Core: Updated GameTables to 7.2.0
Tools/Extractors: Updated to 7.2.0
Tools/ConnectionPatcher: Updated patterns to 7.2.0

Supported version is now 7.2.0.23911
2017-04-17 00:03:44 +02:00
Chazy Chaz
c31de25627 Core/Players: Rename "heroic character" to "death knight"
Closes #19286
2017-03-17 19:00:56 +01:00
Rochet2
80cf4e3070 * Scripts/Commands: Fix guid usage and enhance commands
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.

Closes #18978
2017-03-11 12:29:37 +01:00
Traesh
6ab3877c91 Core/Entities: Basic AreaTrigger System (#18035)
* Implemented AreaTrigger Templates
* Implemented AreaTrigger Splines
* Implemented SPELL_AURA_AREA_TRIGGER
* and many more
2017-01-29 00:00:43 +01:00
Shauren
8c72f3ed55 Core: Change allowed build to 7.1.5.23420 2017-01-26 17:12:02 +01:00
Shauren
f11e6c8247 Core: Updated to 7.1.5.23360 2017-01-14 22:37:13 +01:00
Shauren
b633d61899 Core/Commands: Added new 'bnetaccount listgameaccounts' command to display all account table entries linked to a given battle.net email
* Also fixed errors about bad commands in db

Closes #18474
2016-12-18 12:35:27 +01:00
Shauren
a73a6c5a6d Core: Change allowed build to 7.1.0.23222 2016-12-11 18:20:24 +01:00
Shauren
f2277dd6de Core: Change allowed build to 7.1.0.23171 2016-12-04 00:50:30 +01:00
Shauren
cd898ac446 Core: Change allowed build to 7.1.0.22996 2016-11-17 23:50:03 +01:00
Shauren
48f5c11355 Core: Change allowed build to 7.1.0.22995 2016-11-09 18:47:50 +01:00
Shauren
5b84293188 Core: Change allowed build to 7.1.0.22950 2016-11-04 20:27:05 +01:00