Commit Graph

25137 Commits

Author SHA1 Message Date
Nyeriah
c1905771f0 Scripts/Command: Solve several format exception crashes introduced in a recent commit
Ref #16648
Closes #16751
2016-03-09 00:42:45 -03:00
DDuarte
a41bd8e943 Tools/MMaps: Add format library linking to mmaps_generator
(Very) partial cherry pick of ed75b0649a
2016-03-07 17:30:06 +00:00
Aokromes
7ee7548b94 DB/Misc: Fix some engrish
By tkrokli closes #16648
2016-03-07 10:35:33 +01:00
Aokromes
f7a05eba63 DB/Gameobject: Fix respawn time of few Quest GameObjects
By Tauriella, closes #16701
2016-03-07 10:32:57 +01:00
Duarte Duarte
2e1e608450 Merge pull request #16696 from TrinityCore/realm6xto335
Core: Backport 6.x realm changes
2016-03-07 00:06:37 +00:00
DDuarte
7b687be4ba Core/Auth: Fix the "Added realm" spam 2016-03-07 00:06:13 +00:00
Dr-J
83e8deaa8f DB/Quest: Troll Patrol: High Standards
Closes #16734
2016-03-06 21:59:07 +00:00
Dr-J
ce0e1c0fbe DB/Misc: A few updates
1) Delete the duplicated spawns from 8aabb087f0
2) Correct targeting for text which was bought up on irc yesterday
3) Correct phasing for objects involved with http://www.wowhead.com/quest=13220/putting-olakin-back-together-again
2016-03-06 21:28:52 +00:00
DDuarte
6cd63ca3d4 Core/Authserver: Partial port of 56cf7ff2a8
Change the "UpdateIfNeed" logic to a deadline_timer
2016-03-06 19:46:59 +00:00
DDuarte
2ea31027e5 Core: Backport 6.x realm changes
Make acessible all the info about current realm (e.g name) anywhere, not only realm id
Reduce the number of differences between the two branches

Original changes by Shauren

Partial port of bacc90b6ba and 63def8aa32
2016-03-06 19:46:59 +00:00
jackpoz
510bb30b2c Scripts/Misc: Fix issues reported by static analysis 2016-03-06 16:11:55 +01:00
Shauren
7fe5a77f5e Warning fix 2016-03-05 20:17:37 +01:00
Shauren
3d0b065135 Core/Commands: Fixed a crash in .wp mod by @Magnifikator
Closes #16732
2016-03-05 20:16:42 +01:00
Shauren
e73d5a7bf4 Core/Commands: Fixed incorrect use of GetGUID instead of GetSpawnId in waypoint commands
Updates #16732
2016-03-05 20:14:58 +01:00
treeston
49de12b1cf Unit/PlayerAI: Yeah, we allow charmer to be null now, should probably check for that.
Fixes and closes #16728.
2016-03-05 13:29:49 +01:00
Dr-J
431da2ffc9 DB/Quest: Drag and Drop
Updates my previous script from before I actually sniffed this

The Aldur'thar Sentry will now actually grab the Dark Subjugator and drop of edge,
2016-03-05 01:26:26 +00:00
sirikfoll
c4e4ee3ae1 Core/Scripts: Fixed Yogg-Saron Portals
Closes #16390
Closes #16708
2016-03-04 20:45:28 +01:00
treeston
f46a0e7eb3 Instance/SunkenTemple: Some cleanup. 2016-03-04 17:52:07 +01:00
Aokromes
d55d32fa0f Misc/Extractor: Add batch file for extractors
You must copy it to your wow directory with the tools and run it.
Linux version is welcomed.
2016-03-04 14:58:09 +01:00
MitchesD
a1b18a13fa Rename 2016_03_03_NPC_THRALL_WARCHIEF_world_335.sql to 2016_03_04_02_world_335.sql 2016-03-04 10:50:31 +01:00
MitchesD
e081bc36dc Merge pull request #16720 from tkrokli/npc_thrall_warchief
Core/Scripts: npc_thrall_warchief hardcoded text
2016-03-04 10:49:57 +01:00
Aokromes
361e5640ae Rename 016_03_04_01_world.sql to 2016_03_04_01_world.sql 2016-03-04 08:11:44 +01:00
Aokromes
6cdd29611b DB/Misc: Fix startup error
Closes #16721
2016-03-04 06:10:40 +01:00
durotar
768a5cf354 Scripts/SunkenTemple: Quest 3447 Secret of the Circle Thanks to Tkrokli, Kilyana and Nayd Closes #808
Signed-off-by: MitchesD

Closes https://github.com/TrinityCore/TrinityCore/pull/16367
2016-03-04 00:05:52 +01:00
MitchesD
8e152e0d4a Merge pull request #16523 from tkrokli/smart_action_set_corpse_delay
[3.3.5][6.x]Core/SmartScript: create SMART_ACTION_SET_CORPSE_DELAY
2016-03-03 23:16:59 +01:00
Dr-J
1cb718d9e7 DB/Quest: Killing Two Scourge with One Skeleton
* script turn in event with ghostwing grabbing Olakin Sainrith
* phasing at Blackwatch

will also kill Table `vehicle_template_accessory`: creature template entry 31432 has no data in npc_spellclick_spells from previous commit
2016-03-03 21:02:51 +00:00
tkrokli
2bbe00e5f4 Core/Scripts: npc_thrall_warchief hardcoded text
7 more text lines removed in the ongoing series:
"Remove hardcoded text from core scripts".

Core script for quest 6566, What The Wind Carries
(part of the Horde Onyxia quest chain)

- create new gossip_menu_option entries
- link the options via the table gossip_menu
- remove hardcoded text from the script
2016-03-03 21:40:39 +01:00
treeston
fe707db96f Core/AI: Fix an edge case crash with PlayerAI. Again. Sheesh. 2016-03-03 20:57:03 +01:00
MitchesD
c7dded13a7 Rename 2016_03_03_00_world.sql to 2016_03_03_00_world.sql 2016-03-03 17:37:16 +01:00
Dr-J
8aabb087f0 DB/Quest: Troll Patrol: Can You Dig it?
Script http://www.wowhead.com/quest=12588/troll-patrol-can-you-dig-it
Also fixes http://www.wowhead.com/quest=12519/troll-patrol-whatdya-want-a-medal
And fixes some issues with http://www.wowhead.com/quest=12568/troll-patrol-done-to-death

Also fixes run time error 'able `event_scripts` has gameobject type (175584) unsupported by command SCRIPT_COMMAND_RESPAWN_GAMEOBJECT for script id 4845'
2016-03-03 15:28:35 +00:00
Naios
62815c6e1c Core/Database: Use RAII for resource management in MySQLConnection
* Prevents double deletion of MySQLConnection after errors
* The object stays valid after an error and will wait for a reconnect
* Also crash the server if 5 reconnects fail
* Corrects an issue where the server was crashed after one reconnect
  because mysql_thread_id was invoked with an invalid handle
2016-03-03 01:19:58 +01:00
Naios
09fa0ab46a Core/Database: Move DatabaseWorkerPool into it's own translation unit 2016-03-03 01:06:13 +01:00
Naios
5ed0180994 Core/Database: Use RAII instead of raw pointers for resource management
* Corrects dirty usage of vectors with array indexes
* Removes _connectionCount which is now handled through the vector size
* Rename magic identifier "t" to "connection"
2016-03-03 01:06:13 +01:00
Naios
7d3cffc297 Core/Database: Close the databases correctly when the DBUpdater fails
* Also fixes a memory leak spotted by Aokromes
2016-03-03 01:06:13 +01:00
Treeston
472e78d682 Merge pull request #16676 from ccrs/summonsinit
Core/TempSummons: avoid use MoveInLineOfSight before InitSummon
2016-03-02 23:54:37 +01:00
Shauren
0e9b34ff05 Merge pull request #16711 from ariel-/conditionmerge
[3.3.5 only] Core/Conditions: Improved mergeability between branches
2016-03-02 16:55:22 +01:00
ariel-
2f1451f188 Rename 2016_99_99_99_world_335.sql to 2016_03_02_00_world_335.sql 2016-03-02 12:23:05 -03:00
ariel-
d573bd2fe7 Core/Conditions: Improved mergeability between branches 2016-03-02 10:57:14 -03:00
treeston
224b42c53a Util/Random: Add randtime(Milliseconds const&, Milliseconds const&) to supersede urandms(uint32,uint32) for scripts being ported to std::chrono. 2016-03-01 23:09:25 +01:00
ccrs
6a339ed5c9 Core/TempSummons: avoid use MoveInLineOfSight before InitSummon 2016-03-01 21:20:47 +01:00
Dr-J
45c911ba94 DB/Quest: Troll Patrol / Congratulations
* Congratulations only available if a version of troll patrol is complete
* Pooling for Troll Patrol quests
2016-03-01 20:03:36 +00:00
treeston
89e2afb8f9 Core/Creature: Prevent friendly vehicles from trying to attack their rider after dismounting. 2016-03-01 20:12:46 +01:00
Nyeriah
ecd9dec384 Scripts/Karazhan: Use the correct method to access Opera's side entrance door 2016-03-01 12:38:09 -03:00
joschiwald
47f628353b Merge pull request #16706 from tkrokli/zulaman_sound_duplicates
Core/Scripts/Zul'Aman: sound handled in creature_text
2016-02-29 23:58:44 +01:00
tkrokli
c897988a7e Core/Scripts/Zul'Aman: sound handled in creature_text
- Sound playback is handled via creature_text
- remove `DoPlaySoundToSet()` to avoid duplicate playback
- remove redundant 'me' parameter from `Talk()` entries
2016-02-29 19:31:47 +01:00
Kittnz
3b389b7a5c DB/Event: Removed remaining gameobject that are no longer present ingame 2016-02-29 17:56:25 +01:00
Aokromes
b646bcbb91 Update boss_nalorakk.cpp 2016-02-29 03:45:14 +01:00
Aokromes
24e996811d Rename 2016_02_29_ZULAMAN_world.sql to 2016_02_29_00_world.sql 2016-02-29 03:43:11 +01:00
Aokromes
1359a55aa2 Merge pull request #16704 from tkrokli/zul_aman_text_cleanup
Core/Scripts: Zul'Aman boss script text cleanup
2016-02-29 03:40:24 +01:00
tkrokli
9806f7812a Core/Scripts: Zul'Aman boss script text cleanup
Replacing more hardcoded text with DB entries.
A little bit extra enum alignment and sorting.
2016-02-29 03:16:23 +01:00