Commit Graph

10251 Commits

Author SHA1 Message Date
Rushor
f1101b145b Scripts/Bloodmyst Isle: Script Quest: Ending Their World
closes #1815

* Add missing Waypoint
* Improve Aggrobehaviour
* Add BroascasttextIDs
* Update to current GUID-Handling

Original Patch by @trickerer
2015-03-18 12:11:13 +01:00
Shauren
bba8555a29 Build fix 2015-03-18 11:47:30 +01:00
Carbenium
6757ef2217 Core/Authserver: Include cppformat 2015-03-18 03:01:39 +01:00
Carbenium
03176662d1 Merge pull request #14317 from Naios/typesafelog
Type safe logging
(cherry picked from commit cc0c9add5a)

Conflicts:
	src/server/bnetserver/CMakeLists.txt
	src/server/game/Server/WorldSocketMgr.cpp
	src/server/shared/Logging/AppenderDB.cpp
	src/server/worldserver/CMakeLists.txt
2015-03-18 02:59:40 +01:00
Naios
301ec0be56 Core/Game: Fix some issues detected by static analysis.
* Possible inefficient checking for 'list' emptiness.

* Variable '_scheduledScripts' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Variable 'Text' is assigned in constructor body.
  Consider performing initialization in initialization list.

* Possible inefficient checking for 'm_loadedScripts' emptiness.

(cherry picked from commit 9a61049f88)

Conflicts:
	src/server/game/Server/Packets/TicketPackets.cpp
2015-03-18 01:13:47 +00:00
Naios
a38945a3b3 Core/Log: Fix some issues detected by static analysis.
* Either inefficient or wrong usage of string::find(). string::compare() will
  be faster if string::find's result is compared with 0, because it will not scan the whole string.
  If your intention is to check that there are no findings in the string,
  you should compare with std::string::npos.

* C-style pointer casting detected. C++ offers four different kinds of casts as replacements:
  static_cast, const_cast, dynamic_cast and reinterpret_cast.

(cherry picked from commit 8882a6ca78)
2015-03-18 01:13:46 +00:00
Nyeriah
a76722ccef 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
Thans to @Killyana @Rushor @jaredjones and all others who helped with this
2015-03-17 20:18:09 -03:00
Duarte Duarte
769acfbd02 Merge pull request #14370 from Kittnz/realm_achievement
Core/Condition: Realm Achievement condition
2015-03-17 12:42:35 +00:00
Rushor
f723b18164 Scripts/Borean Tundra: Enable Texts for 'Nesingwary Trapper'
by @Killyana + @danlapps
closes #10234
2015-03-17 00:05:06 +01:00
Kittnz
e50489c010 Core/Condition: Added Realm Achievement condition
- Partly Fixes https://github.com/TrinityCore/TrinityCore/issues/5754
@DRJ has SQL examples
2015-03-16 20:03:49 +01:00
joschiwald
d3ad87b1cf Core: silence broadcasttext startup errors 2015-03-16 14:18:31 +01:00
click
cf14e9051d Merge pull request #14371 from Kittnz/movecirclepath_003
Core: Move FillCirclePath function to MotionMaster
Closes #14371
2015-03-15 21:32:35 +01:00
click
7c8f7f6f8f Core/AHBot: Remove a lingering warning that annoyed me for all too long 2015-03-15 21:04:51 +01:00
Nayd
0ebc15e6f4 Core/DBLayer: Remove references to table character_currency (6.x only)
Ref 170bc318b3
2015-03-15 15:50:05 +00:00
Rushor
eee10edb56 Merge pull request #13997 from Rushor/malfurion
Scripts/SunkenTemple: Add Eventsupport for NPC: Malfurion Stormrage
2015-03-15 15:41:27 +01:00
Nayd
dbcfa3b120 SpellAuras.cpp: typo fix 2015-03-15 14:09:00 +00:00
joschiwald
170bc318b3 Core/Player: fixed some leftovers in db after player delete
* character_arena_stats
* character_battleground_random
* character_cuf_profiles
* character_currency
* character_stats
* character_void_storage

(cherry picked from commit 2955a1f595)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
2015-03-15 13:06:49 +00:00
Shauren
a23ad2b33c Core/Auras: Fixed possible crash in Aura::RefreshDuration - Aura::GetCaster can return NULL
(cherry picked from commit 8cd1c9514f)

Conflicts:
	src/server/game/Spells/Auras/SpellAuras.cpp
2015-03-15 12:57:08 +00:00
Kittnz
61557ee7c6 Core: Move FillCirclePath function to MotionMaster 2015-03-14 23:25:19 +01:00
jackpoz
f1ae2c7b73 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
2015-03-13 21:48:42 +01:00
jackpoz
9948e633ab Revert "Core/Server: Catch exceptions in int main()"
This reverts commit 958999ff5c.

Closes #14329
2015-03-11 20:59:21 +01:00
jackpoz
22403121fe 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
2015-03-10 21:11:54 +01:00
leak
147a959f51 CMake: Remove unused source reference 2015-03-09 14:53:23 +01:00
click
f3101d20a9 Core: Change a few 'stupid' log-messages down to DEBUG-level 2015-03-08 12:01:33 +01:00
click
356f3b6bc5 Core: INFO->ERROR level adjustment in ObjectMgr.cpp
Suggest everyone attempt to remember this:
 TC_LOG_TRACE  = extreme debugging (debuginfo with packetstructures/data)
 TC_LOG_DEBUG  = debugging (detailed activity of functions and activites inside core)
 TC_LOG_INFO   = normal runstate (regular info like logins/logouts/levelups/passwordchanges etc)
 TC_LOG_WARN   = possible issue with config/data etc - things that are not how they should be)
 TC_LOG_ERROR  = actual error that has been either caought or must be fixed at some point
 TC_LOG_FATAL  = crash or data corruption imminent
Using the right logmech also helps distinguishing between 'regular runtime info' and stuff that might lead to a pissy situation later on... :)
2015-03-08 07:47:17 +01:00
click
0c7c25d6ed Core/Script: INFO->DEBUG notification changes in ToC 2015-03-08 06:35:15 +01:00
click
a8a5fae4f9 Core/Scripts: INFO-DEBUG changes in scripts (gawd) 2015-03-08 06:34:49 +01:00
click
ad7b33a47f Core: INFO->DEBUG level changes - forgot one in Map.cpp 2015-03-08 06:34:19 +01:00
click
781edbe46a Core: More INFO -> DEBUG changes 2015-03-08 06:33:57 +01:00
click
d5718f3372 Core: WARN instead of INFO - this is actually something we'd want to be informed of... 2015-03-08 06:17:32 +01:00
click
6f961ba138 Core: And yet more INFO->DEBUG logging 2015-03-08 06:16:46 +01:00
click
a31bc08e44 Core: Pet.cpp - INFO -> DEBUG level notifications... 2015-03-08 06:12:01 +01:00
click
64584e9e7a Core: More INFO -> DEBUG (Unit.cpp this time) 2015-03-08 06:11:12 +01:00
click
6e509cf7c1 Core: INFO->DEBUG cleanups in Player.cpp 2015-03-08 06:06:03 +01:00
click
15e56ed0b3 Core: More INFO -> DEBUG/WARN/ERROR mangling 2015-03-08 05:54:50 +01:00
click
132d4ede37 Core: More INFO -> DEBUG changes (WorldSession/WorldSocket) 2015-03-08 05:51:07 +01:00
click
8562be602b Core: Move LOG_INFO -> LOG_DEBUG level for achievements 2015-03-08 05:40:20 +01:00
click
a854e17690 Core: Move some MMAPS-related INFO-messages to DEBUG 2015-03-08 05:38:53 +01:00
click
ec6bec6bc4 Core: Change some map-specific INFO-messages over to to DEBUG or ERROR 2015-03-08 05:30:33 +01:00
click
db302c28c2 Core: Move some more INFO-level logentries to DEBUG 2015-03-08 05:18:51 +01:00
MitchesD
999a5ffa64 Merge pull request #14012 from Rushor/Arca
Scripts/Arcatraz: Harbinger Skyriss Adds - Remove Unattackable Flag on Spawn
2015-03-07 17:53:38 +01:00
D4R4
ceea37c9e3 Scripts/The Lich King: Defile should not grow when player grabbed by Val'kyr is moves across
Closes #14131
2015-03-07 17:46:43 +01:00
joschiwald
31ee86e6ba Fixed typo in dea095a84b 2015-03-07 17:44:13 +01:00
MitchesD
5009d67f0c Scripts/Nexus: commanders converted from SAI to C++ 2015-03-07 11:38:10 +01:00
Aokromes
61c150a293 Merge pull request #14303 from danlapps/3.3.5
remove king jotum vehicule of code as per Killyana request
2015-03-07 09:26:36 +01:00
Lapps
25c7fbc887 fix build 2015-03-06 23:23:23 -05:00
joschiwald
dea095a84b Scripts/Rotface: moved mutated infection removal handling to spellscripts to fix an startup error
(cherry picked from commit 1dc60e8717)
2015-03-07 03:36:39 +01:00
Lapps
8659b0176c remove king jotum vehicule of code as per Killyana request 2015-03-06 19:55:26 -05:00
jackpoz
5e7d4a44e0 Core/PacketLog: Avoid unneeded calls with disabled packet logs
Avoid calling GetOpcodeNameForLogging() when packet logs are disabled.
2015-03-03 23:09:42 +01:00
jackpoz
43f74fd8cf Shared/Logs: Add support to .server set loglevel command after 003d67708b
Update the lowest log level when using ".server set loglevel" command.
2015-03-03 21:11:08 +01:00