Commit Graph
22016 Commits
Author SHA1 Message Date
Dr-J 70053d3a45 DB/Misc: More event fixes
* Scripts repeating event between High Overlord Saurfang and Garrosh Hellscream in Warsong Hold
* Scripts repeating event between Chieftain Wintergale, Durm Icehide and Sage Aeire at Taunka'le Village

* A few texts for reward/accepting of quests
* On Agro texts for several creatures, even though these still need scripting with abillities
* A run-time error
* A bit of additional script for Watcher Leesa'oh to prevent npc bugging out (no npc flags) caused by sai not running if no player in grid and if player disappears will cause npc to remain without npc flags, as the sai to restore flags wont run from script if no player there, at start of script, script will set phase 1 with ooc to restore flags in that phase.
2014-08-14 18:43:33 +01:00
Vincent-Michael 5b355c57ba Core/Creature: Fix warning 2014-08-14 16:36:04 +02:00
joschiwald ccfa82e7d5 Core/Creature: update creature_template and some other small things
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-14 16:09:14 +02:00
Jared P. Jones 1b65cda948 Scripts/Icecrown Citadel: The Teleporters in ICC are now Blizzlike *Upon entering the raid, the Lights Hammer teleporter is no longer immediately active. Both the Light's Hammer and the Oratory Portal will pop up after the completion of Lord Marrowgar as it does on official during 3.3.5a. *A teleporter in ICC can no longer teleport you to itself. *There is no longer a reason to allow GMs to use portals without available GOSSIP text and teleport locations. Therefore the teleports now use GO_FLAG_NOT_SELECTABLE when they are unavailable. In the future we can enable GMs to use portals without bosses defeated, however for now all it does is break the instance if some bosses are done out of order. *Currently the Upper Spire teleporter cannot be visited unless the event ColdFlameTraps is completed. This isn't blizz-like. During WotLK retail, the teleporter in the upper spire can be visited once any member has walked over an AreaTrigger which is located the moment you enter the UpperSpire Facade. The cold flame event has nothing to do with the teleporter, the cold flame event instead should be triggered to "DONE" when a rogue instead disarms it. *A bug has been addressed that causes the ColdFlameTraps event to not start back up after a server restart. The event will now restart as long as the player goes through the Saurfang->Upper Spire doorway; I'm not sure who required the doorway to be an area trigger, but it's hacky and not blizzlike. I have not yet addressed the area trigger problem with the doorway in this commit, mainly because the point of this commit is to make the ICC teleporters extremely Blizz-Like. *The "Conspicuous Lever" will now spawn inside of ICC. (From Sniff on Retail) While the lever currently doesn't do anything, in the future it will turn off the ColdFlame Traps. *The teleporter near Saurfang is not supposed to disable during the Intro. It disables whenever Saurfang enters combat with the players. The teleporter then enablers again when combat stops.
Closes #12834
2014-08-14 14:35:47 +02:00
Dr-J e65f5ec142 DB/SAI: Script more quest complete scripts
Script turn in events for http://www.wowwiki.com/Quest%3ABlighted_Last_Rites and http://www.wowwiki.com/Quest%3ATest_at_Sea

All waypoints, texts, spells are sniffed,

Also fix Blighted Last Rites so it works properly, as the Scarlet Onslaught Prisoner should not die when the flask of the blight is used on it instead it should emote 'The %s moans but seems otherwise unaffected by the blight.' so fixed that too.
2014-08-13 11:35:11 +01:00
Shocker 07158af425 Core/Spells: Implement SPELL_ATTR7_IGNORE_DURATION_MODS attribute 2014-08-13 03:53:56 +03:00
Dr-J 1890649b0e Rename 2014_08_11_02_world_misc.sql to 2014_08_12_01_world_misc.sql 2014-08-12 23:51:26 +01:00
Dr-J 77eb683745 DB/Misc: Fix some errors 2014-08-12 18:06:26 +01:00
Shauren bd4edf6e22 Core/Threading: Fixed possible race condition with m_timeOutTime and fixed Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread in PCQ 2014-08-12 18:18:52 +02:00
Dr-J 9f7075215d Remove Manaforges CPP Script
Remove script
2014-08-12 13:36:21 +01:00
Dr-J 87f95ddb3d DB/SAI: Rescript Manaforge quests
Rescripts the following quests: -

* Shutting Down Manaforge B'naar
* Shutting Down Manaforge Coruu
* Shutting Down Manaforge Duro
* Shutting Down Manaforge Ara

All events are now started from gossip select which is correct way rather than player just clicking on console
go remains clickable if player does not have access crystal or is not on quest but displays different gossip without the option to start event
Added mising gossips for npcs in manaforge coruu for if spoken to while player is disguised from item provided for http://www.wowhead.com/quest=10198
2014-08-12 13:17:06 +01:00
Shauren c741d2682a Core/NetworkIO: Prevent queueing more async operations when socket is already closed 2014-08-11 20:43:07 +02:00
Dr-J e9943914ab Rename 2014_08_11_01_world_misc.sql to 2014_08_11_01_world_misc.sql 2014-08-11 16:51:18 +01:00
leak 1a27ce1267 Core/NetworkIO: Restore networking related scripting hooks
Closes #12607
2014-08-11 17:40:43 +02:00
Dr-J d89a40df85 DB/Misc: More texts
add some missing texts from npcs, also set missing emotes for some existing texts.
2014-08-11 13:32:23 +01:00
leak 528baae5f7 Kill potentially uninitialized variable warning 2014-08-11 14:03:16 +02:00
Dr-J 08ba49848e DB/Creature: Watcher Leesa'oh
Script turn in event for stealing back the mushrooms.
2014-08-11 10:47:41 +01:00
Shauren 730ca4d9e0 Merge pull request #12818 from MrSmite/pet_spell_cooldown
Fix pet spell cooldown
2014-08-11 09:02:58 +02:00
leak 14cb6e4235 Resolve shutdown crash/leak if MySQL server is not running
Fixes #12734
2014-08-10 22:43:48 +02:00
Vincent-Michael 9aea8046ce Core: Fix non pch build 2014-08-10 21:46:04 +02:00
Shauren f5bf13295c Core/NetworkIO: Prevent double closing the same socket 2014-08-10 21:32:57 +02:00
Dr-J a3fba94d38 DB/Misc: Perry Gatner event
Script for Perry Gatner.

This script may be updated when I sniff more but all data is from sniffs, I wont add texts without the emotes so thats why there will be updates which will just be texts and additional timed action lists to run as random scripts..
2014-08-10 16:32:46 +01:00
jackpoz f8a7d537ec Tools/MMAPs: Fix log message if mmaps folder is not found
Fixes #12787
2014-08-10 17:25:48 +02:00
Shauren 99e36e923f Core/Misc: Removed ACE leftovers 2014-08-10 12:09:26 +02:00
Shauren 4fe45b8c63 Core/Worldserver: Replaced old hack sending key events to unblock console thread 2014-08-10 11:50:19 +02:00
Shauren 39d3480172 Core/Authserver: Fixed writing to invalid memory address 2014-08-10 11:48:43 +02:00
Shauren df11916ad5 Core/NetworkIO: Allow receiving packets bigger than buffer size and properly handle situations where not entire packet was read in one go
Core/Authserver: Restored authenticator functionality
2014-08-10 11:00:27 +02:00
MrSmite 5dcf111150 Fix pet spell cooldown being extended without successful cast
Closes #12560
2014-08-10 04:51:46 -04:00
Dr-J 91053d557c DB/Misc: Add More missing texts
Add missing texts for hellfire peninsula.
2014-08-10 03:09:30 +01:00
Aokromes 69a6101293 DB/Quest: Fix Hunter Trainer Offering Quest To Rogues
By MrSmite, closes #12809
2014-08-10 02:02:24 +02:00
Vincent-Michael 0daebd9705 Core: Fix build for Intel Composer XE 2014-08-10 01:08:07 +02:00
DDuarte df3b08d140 Core/Server: Use nullptr instead of 0 where pointers are expected 2014-08-09 21:32:26 +01:00
DDuarte a394205eca Core/Server: Add missing overrides 2014-08-09 20:17:40 +01:00
jackpoz 272b9d3d16 Core/WorldSession: Fix socket not being closed on clean logout
Close the WorldSession socket if Player didn't even login or logged out successfully and then closed the client.
2014-08-09 19:37:57 +02:00
Vincent-Michael 893d58fa87 Scripts/Commands: Fix static analysis issues 2014-08-09 19:18:05 +02:00
Shauren d830890305 Core/Trade: Fixed putting soulbound items to "will not be traded" slot 2014-08-09 10:08:53 +02:00
Duarte Duarte a5d2d3ac85 Merge pull request #12810 from Carbenium/questreward
Core/Player: Fix an issue with Player::RemoveRewardedQuest not deleting ...
2014-08-09 01:14:23 +01:00
Carbenium dbaf0557e8 Core/Player: Fix an issue with Player::RemoveRewardedQuest not deleting the queststatus_rewarded form database
Needed for SPELL_EFFECT_CLEAR_QUEST
2014-08-09 01:54:22 +02:00
jackpoz 8402570bb8 Scripts/Misc: Fix static analysis issues
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
2014-08-09 00:12:20 +02:00
jackpoz 78af80230d Core/Misc: Fix static analysis issues 2014-08-08 21:14:12 +02:00
Shauren 936db9d50d Core/NetworkIO: Handle exceptions thrown from socket constructor when retrieving remote address 2014-08-08 14:01:09 +02:00
Vincent-Michael 7c6e1b1505 Revert "Core: Fix build for vs2014"
This reverts commit e303451189.
2014-08-07 21:21:19 +02:00
Vincent-Michael e303451189 Core: Fix build for vs2014 2014-08-07 20:41:33 +02:00
jackpoz f25a87cda0 Core/Misc: Remove unused variable 2014-08-07 19:23:01 +02:00
jackpoz d3100edccb Tools/MMAPs: Fix uninitialized value in mmap_generator
Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644
2014-08-07 18:58:21 +02:00
Duarte Duarte ca368a781b Core/Socket: Fix typo in constructor
Using moved objects is generally a bad idea

Thanks @Daejiv

Closes #12800
2014-08-07 14:25:43 +01:00
Vincent-Michael fad2bd4f92 Core: Kill AGAIN whitespace :( 2014-08-07 07:19:06 +02:00
Vincent-Michael 8c73b2dbae Core: Fix non pch build 2014-08-07 07:00:17 +02:00
leak 48b94c3beb Prevent reading address information from potentially closed socket 2014-08-06 23:16:40 +02:00
jackpoz 0f07dcfea6 Core/Scripts: Fix possible crash
Fix possible NULL dereference crash spotted by Coverity.
2014-08-06 20:55:43 +02:00