Commit Graph

27386 Commits

Author SHA1 Message Date
Gerhood
bab59b28fa Core/Spells: implement Mad/Crazy Alchemist's potions 2017-01-29 14:06:40 +01:00
ariel-
d3d6c55650 Core/World: readd lines lost in rebase 2017-01-29 01:38:03 -03:00
ariel-
6245b0703e Misc: fixed some headers.
Updated year, bye bye 2016!
2017-01-29 01:03:19 -03:00
xinef1
88f746935f Remade who list processing (#18636)
* Remade who list processing, requests are now processed in maps. Player entries are now copied every 5 seconds to dedicated storage (avoids usage of hashmapholder mutex)
2017-01-29 00:59:17 -03:00
Shauren
2dc939c204 Fixed copypaste mistake in character creation 2017-01-28 17:16:12 +01:00
ariel-
317efd51ec Core/Scripts: remove GMs from Sindragosa's Fury's targetlist
By Keader
Ref #18452
2017-01-28 01:42:50 -03:00
ariel-
6f9e8b6c91 Core: add some missing Player Name normalization on input data 2017-01-28 01:27:39 -03:00
xinef1
b955456008 Few small optimizations here and there (#18684)
Changes list:
- Added CharacterGuidByNameContainer which contains name -> guid unordered map (updated along CharacterInfo)
- Extended CharacterInfo structure with GuildId
- Extended CharacterInfo structure with ArenaTeamId[3], for all possible teams (2v2, 3v3, 5v5)
- Removed CHAR_SEL_GUID_BY_NAME and CHAR_SEL_CHAR_GUID_BY_NAME synchronous queries, name -> guid can be now retrieved in World::GetCharacterGuidByName
- Removed CHAR_SEL_GUID_RACE_ACC_BY_NAME synchronous query, guid can be retrieved by name and rest of the data can be retrieved by guid
- Removed CHAR_SEL_CHAR_LEVEL synchronous query, level can be retrieved by guid
- Changed CHAR_SEL_CHARACTER_ACTIONS_SPEC to asynchronous query, action bars are now loaded asynchronously
- Removed CHAR_SEL_CHARACTER_NAME_CLASS synchronous query, guid can be retrieved by name and rest of the data can be retrieved by guid
- Removed CHAR_SEL_PLAYER_ARENA_TEAMS and CHAR_SEL_ARENA_TEAM_ID_BY_PLAYER_GUID synchronous queries, arena teams are now stored in CharacterInfo
- Replaced synchronous db calls with CharacterInfo lookups
- Removed ObjectMgr::GetPlayerGUIDByName, as it used db query
- Replaced some unnecessary UpdateObjectVisibility() calls because they were either duplicated (called few lines above in other function) or it is enough to call DestroyForNearbyPlayers because object is being removed or should be invisible and DestroyForNearbyPlayers is faster
- Corrected typo in Player::DestroyForPlayer, only items in slots 0 to EQUIPMENT_SLOT_END are sent to other players
- Renamed Player::GetGuildIdFromDB to Player::GetGuildIdFromCharacterInfo and changed the function to use CharacterInfo structure
- Renamed Player::GetArenaTeamIdFromDB to Player::GetArenaTeamIdFromCharacterInfo and changed the function to use CharacterInfo structure
- Renamed Player::GetLevelFromDB to Player::GetLevelFromCharacterInfo and changed the function to use CharacterInfo structure
- Removed GameEventMgr::_questToEventLinks and associated functions, eventId is now stored in Quest class under _eventIdForQuest variable
- Changed some functions checking quest status to use other functions for quest status check instead of duplicating code
- Removed callback from add friend, because we can get the guid from appropriate storage, no need to make db query
- Removed callback from add ignore, because we can get the guid from appropriate storage, no need to make db query
- Added callback to unwrap wrapped items asynchronously
- Removed synchronous select in tutorials to check if we have any entries in db, if any entry exists in db, m_TutorialsChanged variable will have TUTORIALS_FLAG_LOADED_FROM_DB flag added and it is no longer necessary to query database
2017-01-28 01:00:28 -03:00
Keader
3c4dc3ec4f Core/Scripts: Removed double check of CheckRequiredBosses in Sindragosa 2017-01-27 23:42:25 -03:00
Keader
15ea5b1b8d Core/Entities: Implemented CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE (#18980) 2017-01-27 20:47:54 -02:00
xinef1
3c81a9a6d4 Properly clear focused target on evade (#18992)
Closes #18095
2017-01-27 19:42:50 -03:00
xinef1
66dc97bb27 Core/Spells: Added very little tolerance level to completed casts to ensure that spell cast at target standing at the max possible range is finished properly even if target moves a little (#18969) 2017-01-27 20:50:25 +01:00
xinef1
587786ce66 Core/Spells: Properly send autorepeat cancel packet to self and fix some problems with autoshot (#18918)
Closes #13595
Closes #14460
2017-01-27 20:49:08 +01:00
Tonghost
684a5fd3f1 Core/Auth: Use QueryCallbackProcessor insted boost::optional. Fixes build for boost 1.55.0 2017-01-26 13:21:58 -03:00
Rushor
6de46d30c9 DB/Creature: Stormforged Taskmaster
Closes #18976
2017-01-26 16:53:55 +01:00
Rushor
d5ab68250c DB/Creature: Iron Sentinel <Servant of Loken>
Closes #18974
2017-01-26 16:53:06 +01:00
Rushor
5d626c8e55 DB/Creature: Wild Elekks
Closes #18970
2017-01-26 16:52:24 +01:00
Rushor
bb46b09fe8 DB/Creature: Romping Rhino
Closes #18967
2017-01-26 16:51:34 +01:00
Rushor
535b727b94 DB/Creature: Stormforged Iron Giant
Closes #18965
2017-01-26 16:50:47 +01:00
Rushor
cca6bfee7b DB/Quest: The Last of Her Kind
Closes #18962
2017-01-26 16:50:02 +01:00
Rushor
35675ceef1 DB/Creature: Son of Hodir
Closes #18961
2017-01-26 16:49:03 +01:00
Rushor
cb466b7543 DB/Creature: Plains Mammoth
Closes #18960
2017-01-26 16:48:05 +01:00
Rushor
6485a4afd8 DB/Creature: Brittle Revenant
Closes #18959
2017-01-26 16:46:52 +01:00
Rushor
57beed2f70 DB/Creature: Stormpeak Wyrm and Stormpeak Hatchling
Closes #18958
2017-01-26 16:45:46 +01:00
Rushor
fd1e484baa DB/Creature: Ice Steppe Bull, Ice Steppe Rhino
Closes #18953
2017-01-26 16:44:52 +01:00
Rushor
3c4c3a26bd DB/Creature: Stormforged Tracker
Closes #18949
2017-01-26 16:43:52 +01:00
Rushor
3ad455f87a DB/Creature: Hyldnir Overseer and Overseer Syra
Closes #18947
2017-01-26 16:42:54 +01:00
xinef1
0d1c535041 Fixed unstuck mechanics (#18968) 2017-01-26 11:57:32 +01:00
Shauren
d7b02a0624 Removed debug leftovers
(cherry picked from commit e8273b7b37)
2017-01-25 23:38:19 -03:00
Shauren
580f46693d Build fix
(cherry picked from commit 0314abc26a)
2017-01-25 23:38:16 -03:00
Shauren
4c27203c8f Core/DBLayer: Convert async queries to new query callbacks and remove old callback handling
(cherry picked from commit 8e2634b2b4)

Conflicts:
	src/server/bnetserver/Server/Session.cpp
	src/server/bnetserver/Server/Session.h
	src/server/database/Database/QueryCallback.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/SocialHandler.cpp
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Server/WorldSocket.h
	src/server/game/World/World.cpp
	src/server/game/World/World.h
2017-01-25 23:38:13 -03:00
Shauren
8af3cccc83 Core/DBLayer: Refine new query callback for chaining
(cherry picked from commit 73e61fa652)
2017-01-25 23:38:10 -03:00
Shauren
b879a6cae5 Core/DBLayer: Added new async query callback api
(cherry picked from commit fcabeed754)
2017-01-25 23:38:07 -03:00
joschiwald
62b62ddd63 Core/Packets: updated some contactlist packets
(cherry picked from commit e01bb91887)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Entities/Player/SocialMgr.cpp
	src/server/game/Entities/Player/SocialMgr.h
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Server/Packets/MiscPackets.cpp
	src/server/game/Server/Protocol/Opcodes.cpp
	src/server/game/Server/Protocol/Opcodes.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
2017-01-25 23:36:24 -03:00
Gustavo
f57132b795 Core/Scripts Fix issue with Lady Deathwhisper's door 2017-01-26 00:17:46 +01:00
ariel-
5f901d3d75 DB/Spell: Recently Bandaged debuff shouldn't break stealth
Closes #18951
By Noryad
2017-01-25 01:43:48 -03:00
ariel-
77b59c07ad DB/Spell: added conditions for Argent Squire/Gruntling Pennant spells
- Should only target the pet, according to sniffs
2017-01-25 01:35:59 -03:00
ariel-
6ca9f99aaf Core/SpellScript: Pass vector to ValidateSpellInfo by reference 2017-01-24 23:38:46 -03:00
ariel-
2c20b368bc Core/EscortAI: fix invalid iterator dereference 2017-01-24 23:38:21 -03:00
Rushor
5b6994b7ae DB/Creature: Thrallmar Peon Worker
Closes #18939
2017-01-24 13:42:37 +01:00
Rushor
f43a940b54 DB/Creature: Heldgarr Steelbeard
Closes #18937
2017-01-24 13:41:51 +01:00
Rushor
533749bfa2 DB/Creature: Civilian Recruit
Closes #18936
2017-01-24 13:40:41 +01:00
Rushor
d3a8605470 DB/Creature: Sifreldar Runekeeper and Storm Maiden
Closes #18931
2017-01-24 13:39:43 +01:00
Rushor
e6e7354396 DB/Creature: Thrallmar Grunt
Closes #18930
2017-01-24 13:38:35 +01:00
Rushor
31d77d2773 DB/Creature: Icetip Crawler
Closes #18929
2017-01-24 13:37:37 +01:00
Rushor
e2400c6d78 DB/Creature: Jimmy the Stable Boy
Closes #18928
2017-01-24 13:36:44 +01:00
Rushor
abed5e1586 DB/Creature: Savage Hill Brute/Mystic/Scavenger
Closes #18922
2017-01-24 13:35:32 +01:00
Rushor
d1d2fbd3e3 DB/Creature: Snowblind Devotee
Closes #18920
2017-01-24 13:33:55 +01:00
Aokromes
3bfaa0eac8 Build: Added 1.63 Boost version to FindBoost 2017-01-24 10:30:00 +01:00
ariel-
2db3e86d9b Core/Scripts: implemented Gnomish Harm Prevention Belt
Updates #18542
2017-01-23 22:03:24 -03:00