Commit Graph

26096 Commits

Author SHA1 Message Date
Killyana
2c8da5e174 DB/SAI: Add missing SAI for Mux Manascrambler
By Kodekc
Closes #17788
2016-08-18 14:49:31 +02:00
jackpoz
c852022388 Buildsystem/MSVC: Drop support to VS2013
Upgrade to VS2015 following the steps explained in the wiki
2016-08-18 14:30:48 +02:00
ariel-
fbfcfe4c1d Core/Globals: delete another synch query using CharacterInfo map 2016-08-18 01:45:44 -03:00
ariel-
c7b8f0f773 Core/World: short circuit setWorldState and avoid a db query in case there's nothing to update really 2016-08-18 01:35:42 -03:00
jackpoz
1d7013e0e2 Core/MMAPs: Update recast
Update recast to 64385e9ed0
2016-08-17 22:00:35 +02:00
ariel-
a893ecebf8 * Core/ObjectAccessor: optimize FindPlayerByName by saving a map of player names to Player* (#17797) 2016-08-17 21:32:47 +02:00
jackpoz
2585c62e6f Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
2016-08-17 15:07:02 +02:00
Aokromes
dc78f1ecfc DB/Quest: Children's Week quest RewardText variables $N / $g
Closes #17728 by tkrokli
2016-08-17 06:39:44 +02:00
tkrokli
730680430d [3.3.5] Core/Scripts: move npc_loramus_thalipedes to DB
Another chapter in core script hardcoded text removal:
- remove core script `npc_loramus_thalipedes` from zone_azshara.cpp
- add gossip, SAI script and conditions to database
- remove redundant SD2 comments from file header
2016-08-17 05:12:04 +02:00
treeston
c5549ac7e9 Revert "Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items)."
This reverts commit 63f577a7ef.

See discussion in commit comments.
2016-08-16 23:32:08 +02:00
treeston
63f577a7ef Creature/Loot: Fix a bug that prevented players from looting creatures that only had gold on them (no items). 2016-08-16 15:29:18 +02:00
ariel-
7f5756804e Core/PlayerDump: add missing character_queststatus_* columns to dump 2016-08-16 02:18:02 -03:00
ariel-
2c81e56b7d Add AppVeyor Build badge to the README
(cherry picked from commit bd415eb586)
2016-08-16 00:55:44 -03:00
ariel-
fbc521084c Core/Battlegrounds: Properly readd player to Battleground containers after a login.
Closes #16141
2016-08-16 00:51:33 -03:00
ariel-
9cdbf903e2 Core/BattlegroundMgr: Update Battlegrounds each second instead of every tick (just like Battlefield).
There are some battleground scripts (like SOTA) performing object access every update, this should help throttle the cpu usage.
2016-08-16 00:44:31 -03:00
ariel-
82517ef462 Core/Player: Do not kick AFK player from BG if it's a GM 2016-08-16 00:41:34 -03:00
ariel-
1b44377cda Core/Scripts: allow ".debug arena" and ".debug battleground" commands to be issued in the console 2016-08-16 00:40:56 -03:00
Chaouki Dhib
d7600f1126 Core/Units: Fixed melee range check (#17693)
* Split Spell::CheckRange() into 2 methods since that method had more than one responsibility.
* Moved melee range logic into its own function
* Moved melee range logic method GetMeleeRange from Spell to Unit class. Unit::IsWithinMeleeRange() and Spell::GetMinMaxRange() both use that method.
2016-08-15 18:17:07 +02:00
Gerhood
4a38773e3e Core/Auras: Increase number of auras sent to client except for group updates (#17604) 2016-08-15 14:37:55 +02:00
Aokromes
9796ee5b14 DB/Creature: missing spawn creature 40405 Kieupid <Pet Trainer>
Closes #17747 by tkrokli
2016-08-15 03:23:17 +02:00
tkrokli
03bafe334c Core/Scripts: move Pet Trainer gossip to DB
SQL content based  on issue 14719 by Killyana,
conditions output from Malcrom's Condition Creator

- remove hardcoded #define gossip options
- enum gossip menu IDs from DB
- remove outdated SD comments at the top of the file

Closes #14719
2016-08-15 03:17:53 +02:00
robinsch
dd67f4ed96 Core/Spell: Remove all raid auras on party leave (#17663)
Core/Spell: Remove all raid auras on party leave
2016-08-14 17:26:03 +02:00
Dr-J
c515cdc636 DB/Misc: Updates
1) Update to conditions for Zombiefest as previous conditions appear to have stopped working correctly
2) Update for Dark Subjugator to prevent these becoming bugged, also correct unit flags for the sentrys to prevent these from agroing player if too close and dropping immune subjugator if killed
3) Conditions to prevent console spam from Bone Warrior closes #17655
2016-08-14 14:30:47 +01:00
Carbenium
6d66adbdf1 Rename 2016_08_14_01_world.txt to 2016_08_14_01_world.sql 2016-08-14 14:20:01 +02:00
tkrokli
e2f395863a Core/Scripts: remove script npc_timothy_daniels (#17779)
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.

- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 12:05:24 +02:00
tkrokli
0c6eeb3abc Core/Scripts: move npc_mortog_steamhead to DB
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 09:50:28 +02:00
treeston
d08efca201 Entities/Player: Fixed an edge case bug that could cause a character to get stuck in forced recustomization indefinitely if two or more appearance properties were out of bounds. 2016-08-14 00:29:37 +02:00
Duarte Duarte
829d550c1b Merge pull request #17776 from ShinDarth/worldstate
Minor improvements
2016-08-13 15:42:53 +01:00
ShinDarth
c46e74928d Gitignore: ignore Visual Studio Code IDE system files 2016-08-13 16:39:52 +02:00
ShinDarth
54a7b8358e Core/Worldstates: move WS_ARENA_DISTRIBUTION_TIME declaration 2016-08-13 16:32:19 +02:00
Shauren
330e5b0ebc Core/DataStores: Reduce differences between branches - rename achievement related dbc fields 2016-08-12 18:29:21 +02:00
jackpoz
194fbd1792 Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 11:33:02 +02:00
Aokromes
d4f2f5968a Rename 2016_08_04_05_world.sql to 2016_08_11_00_world.sql 2016-08-11 13:33:31 +02:00
ForesterDev
fdcea5c7ef Core/Command: Check account password max length 2016-08-11 13:32:52 +02:00
tkrokli
2507b9f8af Core/Scripts: remove 2 unused scripts (#17759)
These scripts are no longer in use:
- generic_creature
- trigger_death
2016-08-11 13:29:28 +02:00
Aokromes
43c3f3a235 Core/Arena: Teams don't lose rating after arena draw (#17515)
By Raydor, closes #16865
2016-08-11 13:00:31 +02:00
Aokromes
1ad24352ac Core/Logs: Fine tune more logs
And move others to more logical appenders
2016-08-11 09:10:20 +02:00
Trond B Krokli
70b3373da1 Core/DB/Updater: English grammar corrections (#17207)
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
(cherry picked from commit 186375d997)
2016-08-10 18:11:36 +02:00
jackpoz
7616f796d0 Server/Database: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-10 16:57:21 +02:00
jackpoz
abe37e458c Server/Database: Reduce differences between 3.3.5 and 6.x branches
Cherry-pick 1bea52fd46 and 543bea32 to add support to TYPE_BINARY MySQL field type
2016-08-10 16:02:22 +02:00
Dr-J
3755937611 DB/Misc: Fixes
1) Make http://www.wowhead.com/quest=13125/the-air-stands-still and http://www.wowhead.com/quest=13235/the-flesh-giant-champion so player only has to tag the elite to receive credit so that if those op elites which assist player does more damage than player they still receive credit.
2) An update to previous script for Murloc Pets
2016-08-09 19:13:14 +01:00
Dr-J
53b598c6c7 DB/Loot: Toc Recipes
Set it so that both horde and alliance have equal chance of getting a recipe drop in Trial of the Crusader rather than chance been 1% for horde and 6% for alliance.
2016-08-09 19:04:57 +01:00
treeston
ac35f93c2d Entity/Creature: Fix spawn health, for real this time. Closes #17757. Also for real this time. 2016-08-09 00:19:22 +02:00
treeston
5b6eb29b74 Entities/Creature: Fix spawn health, fdd78d2 follow-up. Fixes and closes #17757. 2016-08-08 23:54:47 +02:00
jackpoz
5588881be2 Common/Common: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-08 18:07:19 +02:00
Naios
68015599dc Core/Common: Converted the common library to a shared library.
* There is still the possibility to static link against common.

(cherry picked from commit 501fd9b502)

# Conflicts:
#	src/common/Collision/Management/MMapManager.h
#	src/common/Collision/VMapTools.h
#	src/common/Common.cpp
#	src/common/Common.h
#	src/common/Cryptography/Authentication/PacketCrypt.h
#	src/common/Cryptography/Authentication/WorldPacketCrypt.h
#	src/common/Cryptography/HmacHash.cpp
#	src/common/Cryptography/HmacHash.h
#	src/common/Cryptography/SHA256.h
#	src/common/GitRevision.h
#	src/common/Utilities/Random.h
#	src/common/Utilities/Util.h
2016-08-08 18:00:32 +02:00
Treeston
fdd78d2077 Core/Creature: Fix health regeneration. Creatures immediately reset to full health upon reaching home, rather than slowly regaining it over multiple seconds, which allows players to re-engage them at less than max health. (#17756) 2016-08-08 11:22:11 +02:00
Nyeriah
358af1ccc2 DB/Misc: Fix a couple of start up errors and allow the mounted version of Attumen the Huntsmen to skip player damage check 2016-08-08 01:18:01 -03:00
ariel-
ac3bfd111d Update ObjectMgr.cpp 2016-08-07 15:25:11 -03:00
Aokromes
e4ad88245a Core/Log: Move log to more logical loglevel 2016-08-07 11:48:44 +02:00