Commit Graph

22049 Commits

Author SHA1 Message Date
Shauren
abfd29ab61 Core/WorldSession: Added research notes about CMSG_AUTH_SESSION values and reordered checks during login to always initialize encryption first to make sure the client can read failure packet 2014-08-21 18:18:13 +02:00
Duarte Duarte
33da371812 Merge pull request #12813 from MitchesD/misc_2
Scripts/ScarletMonastery: rewritten InstanceScript and some bosses conve...
2014-08-21 14:45:32 +01:00
Aokromes
c8e8d3396c DB/Warsong Gulch: Supreme Defender
By horn, closes #3859
2014-08-21 15:44:00 +02:00
Aokromes
f28a8f0df2 DB/Conditions: Add gossip conditions to Highlord Darion Mograine
Closes #12868
2014-08-21 15:16:06 +02:00
Aokromes
a49fce68dc Rename 2014_08_19_01_world_misc.sql to 2014_08_19_02_world_misc.sql 2014-08-20 12:30:22 +02:00
Dr-J
87b973c280 DB/SAI: All is Well That Ends Well
Script turn in event with Rhonin and Brann Bronzebeard for turn in of either version of all is well that ends well

rhonin will respawn a few seconds after despawning after using the teleport visual due to script on Archmage Aethas Sunreaver to respawn him, on retail he is there right after he teleports but since in sai teleport does not work for npcs have had to use a work around to get to respawn otherwise been a faction leader takes a long time to respawn on tc.
2014-08-20 03:24:53 +01:00
Shauren
36e32cc242 Core/NetworkIO: Restored opcode and size checks lost during ace->boost changes, fixes crashes caused by players sending invalid opcodes/too big packets 2014-08-19 19:32:06 +02:00
Shauren
01b754ccc5 Merge pull request #12882 from cemak/exploit_arena
Core/Arena: Fix exploit on delete member with team during fights.
2014-08-19 19:02:55 +02:00
cemak
ecf399e237 Core/Arena: Fix exploit on delete member with team during fights. 2014-08-19 19:26:26 +04:00
Dr-J
ba6365fc7a DB/Gameevent: Brew of the Year
Adds vendors, events, sai for faction change, change of appearance depending on location (orgrimmar or iron forge), gossip and conditions

* To Do

* At start of each monthly event mail should be sent to players who are members with a sample of that months brew, this is not currently implemented.
* Possibly missing yells from vendors saying beer but cannot confirm this.
2014-08-19 16:02:27 +01:00
Dr-J
f50cd88a9e DB/Misc: Greetings texts for Dalaran Vendors
Only one not working is Tiffany Cartier even though sai is same as the rest and texts are added,

idk seems theres an invisible wall as unlike other vendors player cannot get behind counter where tiffany is either.
2014-08-19 15:03:58 +01:00
Dr-J
803d0c3b16 DB/Misc:Missing Emotes
Add missing emotes for Image of Loken and High Abbot Landgren for quest scripts,
2014-08-19 11:57:03 +01:00
Sebastian Valle Herrera
d15bbc63de Merge pull request #12875 from runningnak3d/master
Core/Loot: Fix lootable items so they can be moved in inventory, and also fix lootable items not saving items that fail conditions to the DB. Closes #10548
2014-08-18 19:36:15 -05:00
Brian Swango
8d92ccd54a Fixed tabs 2014-08-18 20:06:49 -04:00
Brian Swango
87cbe5a2fc Core/Loot: Fixes lootable items being able to be moved in inventory, and
also loot generated that uses conditions from being saved to the DB.
2014-08-18 20:03:13 -04:00
jackpoz
4a3416627d Core/Creatures: Fixed an arithmetic error in respawn code
Creatures should now respawn correctly in their correct time.
Issue was caused by single-precision floating-point format losing precision on lower digits with high numbers, for reference http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html
Closes #12428
2014-08-19 00:00:54 +02:00
Duarte Duarte
a60c902b45 Rename 2014_08_14_02_world_command.sql to 2014_08_18_01_world_command.sql 2014-08-18 22:53:11 +01:00
Zharvek
58c2b66e95 Core/RBAC: Fix RBAC permissions
This commit adds three missing commands to the world.commands table. The RBAC.h file is updated to the correct IDs from the auth.rbac_permissions table and the world.commands table. The RBAC.h file also had to be reordered to keep it clean.

Closes #12854

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2014-08-18 22:06:06 +01:00
Unholychick
377f385c81 Scripts/Ulduar: Spellscripts for Mimiron
Closes #12579

Signed-off-by: DDuarte <dnpd.dd@gmail.com>
2014-08-18 22:01:47 +01:00
Dr-J
8257338dc7 DB/Misc: Misc Fixes
On agro texts and a missing gossip option and menu.
2014-08-16 19:54:26 +01:00
jackpoz
cb53d64191 Merge pull request #12847 from ShinDarth/tc_fix_mount_abuse_after_bg
Core/Battleground: fixed possible mount abuse after leaving BG
2014-08-16 18:17:46 +02:00
ShinDarth
ae97b50af2 Core/Battleground: fixed possible mount abuse after leaving BG 2014-08-16 16:09:05 +02:00
Shauren
7cb72c2aac Core/DBLayer: Fixed an incredibly rare memory leak happening when player started loading from database and never finished 2014-08-16 01:43:42 +02:00
Shauren
5c60976046 Core/Transports: Delayed adding transport model to next tick after teleporting to fix race conditions happening when teleporting transport happens at the same time as destination map balances its dynamic LoS tree 2014-08-16 01:06:30 +02:00
Dr-J
0594b1d838 DB/SAI: New Hearthglen Fixes
Several missing texts for creatures in New Hearthglen

Also scripts Admiral Barean Westwind (Dragonblight version)
2014-08-15 21:29:25 +01:00
Shauren
acfaf2d182 Core/Misc: Fixed loading trinity_string 2014-08-15 20:01:58 +02:00
Shauren
aab4ab166d Core/Socket: Added helpers to retrieve the size of currently ready data 2014-08-15 18:43:17 +02:00
Dr-J
0d46ecd3c6 Remove uneeded files. 2014-08-15 11:34:56 +01:00
Dr-J
1d1968886d DB/Misc: Resubmission
Resubmit c212c4fcc3 with different guids
2014-08-15 11:33:08 +01:00
Shauren
2fdc4723c2 Core/Misc: Optimized locale loading 2014-08-15 11:36:11 +02:00
Dr-J
c212c4fcc3 DB/Creature: Remnant of Dahlia Suntouch
Script event which occurs when Dahlia Suntouch is killed.
2014-08-15 03:01:12 +01:00
Dr-J
fecb074deb DB/Misc: Missing Spawns
Respawn the following creatures as tc had considerably less spawns of them than should have done

* Tua'kea Crab Trap 
* Nerub'ar Victim 
* Giant Tidecrawler
2014-08-14 22:30:45 +01:00
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