Commit Graph
26064 Commits
Author SHA1 Message Date
Nyeriah a30eb73e46 Scripts/ToC: The Lich King event should only be started by the announcer
(cherry picked from commit ea78bce592b66c72230b63871024e83536b693b7)
2015-03-19 19:12:17 -03:00
Duarte Duarte f024287521 Merge pull request #14403 from Luzifix/opcode-banksystem
Core/PacketIO: Banksystem
2015-03-19 21:14:55 +00:00
ariel- b3a279b6ab Split up LANG_MAP_POSITION to fix a crash when issuing .gps command
Conflicts:
	src/server/game/Miscellaneous/Language.h

(cherry picked from commit 461daadcaf0cafa410c740e6376090c27a1df8ff)
2015-03-19 11:14:02 +01:00
Carbenium 2abcd4ef46 Core/Support: Fix some static analysis issues 2015-03-19 00:52:03 +01:00
Luzifix 478e86c074 Core/PacketIO: Create BankHandler & Bank opcode Structure
Thx @gigi1237 for search Opcodes
Thx @Nayd to help with InvUpdate & InvItem Structure
2015-03-19 00:10:26 +01:00
Rushor 06744a3ef5 DB/Creature: Silithus - Complete Questrelated Stuff
* mostly texts and wps
2015-03-18 21:24:37 +01:00
Naios 433bc289c2 Core/Misc: Fix some issues detected by static analysis
* Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
  -> This argument is passed by value, it makes no sence so set it to null here.

* Member variable 'instance_violet_hold_InstanceMapScript::bWiped' is not initialized in the constructor.

* Mismatching allocation and deallocation: Data
2015-03-18 20:20:04 +01:00
Naios e40a5bf0b1 Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c959
* fixes detecting support of <initializer_list>
* fixes build on solaris
2015-03-18 19:19:30 +01:00
Rushor 7e6ef94cb1 DB/Creature: Un'Goro Crater - Spawn
includes:
* all rndmmovement
* all wps
* all gos
* all creatures
2015-03-18 17:12:17 +01:00
Naios a610dea85c Core/RemoteAccess: Remove an unused define in RASession
* probably fixes gcc compile after adding cppformat
2015-03-18 16:32:19 +01:00
Naios d64e6ffade Core/Log: Readd include of <stdarg.h> to fix compile issues under gcc 2015-03-18 15:29:56 +01:00
Nayd a4b5b41a9b Core/LFGMgr: Fix compiler error 2015-03-18 00:53:39 +00:00
Nayd 3eaace1508 Dep/CppFormat: Fix cmake error when using GCC 2015-03-18 00:47:19 +00:00
Duarte Duarte ec640e3840 Merge pull request #14370 from Kittnz/realm_achievement
Core/Condition: Realm Achievement condition
(cherry picked from commit 769acfbd02a04c114956758bcd626a740aa76c2a)
2015-03-18 00:36:17 +00:00
click cc3387d984 Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
(cherry picked from commit cf14e9051d15e33ca9fa87be3287d2a628faedef)
2015-03-18 00:35:39 +00:00
click 3a1c778d54 Core/AHBot: Remove a lingering warning that annoyed me for all too long
(cherry picked from commit 7c8f7f6f8fc7fbc76a329c70980b09b9b3ada5ef)
2015-03-18 00:35:24 +00:00
jackpoz 61e0ff3208 Revert "*Do not allow players to use vehicles to go further than 1st boss in Ulduar."
This reverts commit a009e53049.
Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script

(cherry picked from commit f1ae2c7b73f3fbc665acac8fd70ce325f20e1194)
2015-03-18 00:35:05 +00:00
jackpoz 38c23495b3 Core/Dungeon Finder: Fix Vote Kick breaking LFG queue
Fix Vote Kick started with party in queue breaking the whole LFG queue. The status of Vote Kick is now storing in a bool variable in LfgGroupData, separated from LfgState of the group/members.
If a Vote Kick started with party in queue, the members were not removed from queue correctly and would cause LFG matching system to match these "broken" players but not allowing to start a dungeon.

Closes #10191

(cherry picked from commit 22403121fe9c762c82dc32913aeba46a7e76a004)
2015-03-18 00:34:51 +00:00
click 812e117b30 Core/Script: INFO->DEBUG notification changes in ToC
(cherry picked from commit 0c7c25d6ed05355c1dfd0e1ca1179d8f20602073)
2015-03-18 00:34:00 +00:00
click 5a1c4fca7c Core/Scripts: INFO-DEBUG changes in scripts (gawd)
(cherry picked from commit a8a5fae4f9055d1099b63bb462cbc5b0b47c2d48)
2015-03-18 00:33:50 +00:00
click b0ee48370d Core: INFO->DEBUG level changes - forgot one in Map.cpp
(cherry picked from commit ad7b33a47f5b987fb41921c8ae57022bb93fce3a)
2015-03-18 00:33:40 +00:00
click 49f4ffc2c8 Core: More INFO -> DEBUG changes
(cherry picked from commit 781edbe46a9d055b8a9bfdd446873cdf806a129a)
2015-03-18 00:33:31 +00:00
click be078fd8a9 Core: WARN instead of INFO - this is actually something we'd want to be informed of...
(cherry picked from commit d5718f337257cfa2a4562df1aeb79a0ff0324add)
2015-03-18 00:33:20 +00:00
click aec29478d3 Core: And yet more INFO->DEBUG logging
(cherry picked from commit 6f961ba138530cd4bece755cc8d971e7eff38688)

Conflicts:
	src/server/game/Entities/Object/Object.cpp
2015-03-18 00:32:58 +00:00
click fb9b203be9 Core: Pet.cpp - INFO -> DEBUG level notifications...
(cherry picked from commit a31bc08e441154efd7b76272dfae878794869650)

Conflicts:
	src/server/game/Entities/Pet/Pet.cpp
2015-03-18 00:32:57 +00:00
click cbe97cc37d Core: More INFO -> DEBUG (Unit.cpp this time)
(cherry picked from commit 64584e9e7a9a8f3d754e41d354764435fbf68947)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2015-03-18 00:32:56 +00:00
click b3b7b53003 Core: INFO->DEBUG cleanups in Player.cpp
(cherry picked from commit 6e509cf7c11d886e84a66e97c441917c17c48fbf)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
2015-03-18 00:32:55 +00:00
click 2bc44a2fb1 Core: More INFO -> DEBUG/WARN/ERROR mangling
(cherry picked from commit 15e56ed0b3a43afd43760a26844567083427c544)
2015-03-18 00:32:54 +00:00
Carbenium cc0c9add5a Merge pull request #14317 from Naios/typesafelog
Type safe logging
2015-03-18 01:25:38 +01:00
click aec6353297 Core: More INFO -> DEBUG changes (WorldSession/WorldSocket)
(cherry picked from commit 132d4ede37f849ef3803dda85ae3c7087a51cc83)

Conflicts:
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
2015-03-18 00:18:20 +00:00
click 59b6c4dbbb Core: Move LOG_INFO -> LOG_DEBUG level for achievements
(cherry picked from commit 8562be602bda60f5767b9e263287edb660177972)

Conflicts:
	src/server/game/Achievements/AchievementMgr.cpp
2015-03-18 00:17:21 +00:00
click ff50abca8a Core: Move some MMAPS-related INFO-messages to DEBUG
(cherry picked from commit a854e1769036a51c35daec6e4175609fc24d3cd0)
2015-03-18 00:16:29 +00:00
click c235835827 Core: Change some map-specific INFO-messages over to to DEBUG or ERROR
(cherry picked from commit ec6bec6bc4e5b799c128992f68d429f068654b6e)

Conflicts:
	src/server/game/Maps/Map.cpp
2015-03-18 00:16:21 +00:00
click 4df9f46214 Core: Move some more INFO-level logentries to DEBUG
(cherry picked from commit db302c28c24a5bc9f77463555453bb09ca4b094a)

Conflicts:
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-03-18 00:15:52 +00:00
jackpoz a20905598d Core/PacketLog: Avoid unneeded calls with disabled packet logs
Avoid calling GetOpcodeNameForLogging() when packet logs are disabled.

(cherry picked from commit 5e7d4a44e0d6b92da8ba68a00be00c530a72c873)

Conflicts:
	src/server/game/Server/WorldSocket.cpp
2015-03-18 00:13:05 +00:00
jackpoz 22d655451c Shared/Logs: Add support to .server set loglevel command after 003d67708b9a279da3d37e5ef06eb32ceab53964
Update the lowest log level when using ".server set loglevel" command.

(cherry picked from commit 43f74fd8cfbab8f8fecf128e5d8d5d44ae767988)
2015-03-18 00:10:19 +00:00
jackpoz 064b6a4c84 Shared/Logs: Improve log performances
Improve Log::ShouldLog() performances by saving the lowest log level across all loggers and discarding any log with lower level than that.

(cherry picked from commit 003d67708b9a279da3d37e5ef06eb32ceab53964)
2015-03-18 00:10:02 +00:00
jackpoz 034dbe267d Core/Player: Optimize Player::HaveAtClient() performance
Change m_clientGUIDs from std::set to std::unordered_set to reduce by 2.7x times the cpu usage in Player::HaveAtClient()

(cherry picked from commit 49ececf03830ca1d3df45bec1cd7f657d309450b)
2015-03-18 00:09:32 +00:00
jackpoz f3f44c468d Core/Collision: Fix crash when loading invalid vmap data
Fix array overflow when loading Models from vmap tiles with wrong/outdated/bad data.
Try extracting again vmaps if you see this error.
Closes #14255

(cherry picked from commit 3035a4218bddb4362efa81a12c6bafb3c1b727bf)
2015-03-18 00:09:07 +00:00
jackpoz 1a583703c5 Core/CrashHandler: Fix char[] without '\0' handling
Fix char[] without a NULL character '\0' in the array reading over the char[] bounds

(cherry picked from commit fd844e3d7e18212d6e8dd6531eac1f198527926b)
2015-03-18 00:08:49 +00:00
Nyeriah 8b7dabab21 Scripts/Undercity: Update Lady Sylvanas' script and also implement few missing things to Journey to Undercity's quest end event
Closes https://github.com/TrinityCore/TrinityCore/pull/14094
Thanks to @Killyana @Rushor @jaredjones and all others who helped with this

(cherry picked from commit a76722ccef8ffb719d5736e9220a94415bd88a5d)
2015-03-17 20:22:55 -03:00
Rushor 4ff269b610 DB/Creature: Silithus Spawn
This contains:
* All Creaturespawns
* All Gameobjectspawns
* All CreatureSAIs
* All visual Auras
* All Rndmmovement
* All Waypoints
2015-03-17 18:44:15 +01:00
Duarte Duarte c4499cf35d Merge pull request #14386 from Gigi1237/SpeedAck
Core/PacketIO: Updated and enabled _SPEED_CHANGE_ACK
2015-03-17 12:42:14 +00:00
Vincent-Michael 8464674236 SQL: Fix import 2015-03-16 22:14:36 +01:00
Vincent-Michael 4ee22e3c5e Core/Packets: Enable opcode CMSG_BANKER_ACTIVATE / SMSG_SHOW_BANK 2015-03-16 20:39:01 +01:00
Rushor 2f718c953e DB/Quest: Navarax's Gambit 2015-03-16 20:37:45 +01:00
Rushor c51c623b22 DB/Quest: A slimy Situation 2015-03-16 20:15:59 +01:00
Duarte Duarte 430b433d59 Merge pull request #14391 from Luzifix/opcode-3
Core/PacketIO: update & enable CMSG_QUESTGIVER_HELLO
2015-03-16 18:58:04 +00:00
Luzifix 40809ebfec Core/PacketIO: update & enable CMSG_QUESTGIVER_HELLO 2015-03-16 19:22:08 +01:00
Rushor 19a10660fb DB/Quest: Ever so lonely
by @Killyana
closes #13770
2015-03-16 18:52:31 +01:00