Commit Graph

22306 Commits

Author SHA1 Message Date
Dr-J
137c8a7de9 Convert Mount Vendor script to DB
Move CPP script npc_mount_vendor to db 
* Sniffed gossip menu for Veron Amberstill as we did not have this
* There is more than one text per gossip for these, readded all gossip menus we have to include the ones that where not in db already
* Conditions for vendor option and texts to only sell to elegible to players and show correct texts

We do not have text for Dreanei or dwarf have not checked gnome one since that one had already been moved to db since npc had sai

closes #13088
2014-09-11 14:09:13 +01:00
Nyeriah
b35edcabb6 Scripts/AV: Drekthar updated to EventMaps 2014-09-11 03:25:15 -03:00
Nyeriah
bd5e7cc98f SQL: Fix up my failure at 2014_09_11_00_world_conditions.sql 2014-09-11 02:43:15 -03:00
Nyeriah
ce97e9194c Scripts/Gundrak: Eck the Ferocious updated to EventMap/BossAI
- Moved his spawn handling to instance script
2014-09-11 02:39:57 -03:00
Vincent-Michael
4ce62b8a66 Remove BOM from 2014_09_11_00_world_conditions.sql 2014-09-11 06:24:01 +02:00
Nyeriah
8934593e2d DB/Conditions: Fix up conditions for Yogg-Saron's portal spells after latest changes to the instance data 2014-09-11 00:31:22 -03:00
jackpoz
8bb4f33852 Core/DB: Fix crash on shutdown
Fix race condition crash on shutdown, closing MySQL connections with queries still being executed
2014-09-10 22:39:03 +02:00
Vincent-Michael
449d7c196a SQL: Fix wrong sql count order 2014-09-10 22:37:33 +02:00
Shauren
5f62f1b6d2 Core/Misc: Fixed build with intel compiler 2014-09-10 21:18:28 +02:00
Shauren
946e2d0ca6 Core/Authserver: Added missing auth socket manager
Closes #13085
2014-09-10 21:17:55 +02:00
Dr-J
afbb3f6ae5 DB/Misc: Cenarion Thicket
* Add strange aura to spell_area for Cenarion Thicket (someone had tried getting the druids to cast this on themselves in sai whoever did obviously did not read this AttributesEx3: 0x00000100 (SPELL_ATTR3_ONLY_TARGET_PLAYERS)
* However even when aura is active it still would not hit druids only the Broken Corpses, found that the druids should not even have this aura (proper auras are permament feign death + blue radiation), also in sniff unit_flags2 is 2049 (we had 2048) and dynamic flags 0 (we had 40)
* Also removing stun from unit flags, this makes no difference in game as npc gets those flags from feign death
2014-09-10 19:34:48 +01:00
Nyeriah
561cc47a00 Scripts/AV: Captain Galvangar updated to EventMaps 2014-09-10 03:45:44 -03:00
DDuarte
b786633601 DB/Locales: Correct multiple quest names for the 3.3.5 patch
Ref  #13075
2014-09-10 01:05:18 +01:00
DDuarte
2f8587b1c4 DB/Locales: Correct multiple npc names for the 3.3.5 patch
Closes #13075
2014-09-10 00:55:57 +01:00
Duarte Duarte
9b2737c068 Core/Loot: Fix a possible unintialized slot_type in LootMgr
Noticed by @joschiwald
2014-09-09 23:40:35 +01:00
DDuarte
2bba219106 Core/Loot: Fix some issues with master loot
Thanks to @PortgasDAce for the initial patch

Closes #12732
2014-09-09 23:11:37 +01:00
Duarte Duarte
04415f33a7 Merge pull request #13077 from mik1893/fear_vs_possess
Core/Unit: Do not give client control back to player after fear/confuse if player is under player charm (UNIT_STATE_POSSESSED)
2014-09-09 23:07:18 +01:00
Dr-J
0609c25e49 DB/Misc; Perry Gatner
add some additional lines,
2014-09-09 22:59:46 +01:00
dkmbasura
08b2cf6cba Scripts/The Barrens: Make BIG WILL attackable in quest id 1719 (the affray)
Closes #13072
Ref #4764
2014-09-09 22:57:57 +01:00
Duarte Duarte
2697b18cf2 Core/Net: Fix GCC build 2014-09-09 22:32:27 +01:00
Duarte Duarte
c65b407e3b CI/Travis: Yet another attempt at reducing the number of killed builds 2014-09-09 22:31:10 +01:00
mik1893
fef376c73c Core/Unit: Do not give client control back to player after fear
if player is under player charm (UNIT_STATE_POSSESSED)
2014-09-09 23:27:33 +02:00
Dr-J
29951ba394 Remove CPP script for Jenny/Jezzix Geartwist 2014-09-09 21:38:05 +01:00
Dr-J
f703877087 DB/SAI: Jenny (Load'er UP)
Ok so found I needed to rescript this to as had not noticed there was already a script on Fezzix Geartwist for this quest, this sai has got same flaws as cpp version had, when npc gets attacked and evades looses crates aura (another example of the thing with auras getting removed at evade causing problems),
2014-09-09 21:35:01 +01:00
Dr-J
02a1c92ea7 Remove seaforium depth charge
Remove cpp script for seaforium depth charge ((Bury those cockroaches)).
2014-09-09 20:35:23 +01:00
Shauren
0c40ca8574 Build fix 2014-09-09 21:32:21 +02:00
Dr-J
52b76a48f2 DB/Misc: Borean Tundra Scripts
* Quest turn in scripts for Souls of the Decursed, The Power of the Elements and Patching Up
* Proper script for Gearmaster Mechazod
* Rescripted Bury those Cockroaches to SAI, now includes the texts from the mines, also credit npc will no longer be knocked out of sink hole by first person to do quest after a restart rendering the quest non working to all other players who try after due to the npc present not been where its meant to be
* A couple of other one line fixes
2014-09-09 20:27:05 +01:00
Shauren
e0ce4528c5 Core/NetworkIO: Use reactor style sending on linux to reduce locking overhead 2014-09-09 19:19:25 +02:00
Vincent-Michael
a2ba49afa4 Core/Creature: Implement CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING 2014-09-09 19:17:19 +02:00
Nyeriah
8907904757 Scripts/Onyxia Lair: Slight change so we don't call Reset() in the 'ctor 2014-09-08 18:02:06 -03:00
Nyeriah
e181af1b1c Scripts/Onyxia Lair: Some small improvements to GUID storage as it's only used locally 2014-09-08 17:10:46 -03:00
Odyssey
54e201b8b9 Scripts/Commands: Allow to set a custom duration to the Freeze command applied Aura
- Allow to set a default duration for the Freeze Aura in worldserver.conf
- Handle the .freeze and .unfreeze command custom effects through the Freeze AuraScript
- Make players able to eventually unfreeze by themselves since the aura will expire without someone having to use .unfreeze
- Make .freeze command usable with the following syntax:

      * .freeze (with a targeted player)
      * .freeze duration_in_seconds (with a targeted player)
      * .freeze playername duration (if duration is an invalid value it will be defaulted to the config one)
      * .freeze playername (in this case, duration will be defaulted to the config value)

- Make .listfreeze command able to show the remaining freeze duration on all affected players

Closes #12972
2014-09-08 15:56:32 +01:00
Duarte Duarte
5e745f3fbb Merge pull request #13007 from mik1893/Stormstrike
Core/Spells: Stormstrike should stack for different casters
2014-09-08 14:17:13 +01:00
Dr-J
587d87d2cc DB/Conditions: Argent Tournament Champions Daily quest
Proper conditions for champions quests

Battle Before The Citadel, Taking Battle to the Enemy, Among the Champions and Threat from Above require that player is a champion ie has done quest a champion rises
Quests Eadric the Pure / The Scourgebane require that player is a champion
Threat from above has two requirements - That player is a champion and player has completed the black knights orders
The black knights Fall requires that player is a champion, quest chain breaks at the black knights orders if you are not champion
2014-09-08 12:50:42 +01:00
joschiwald
3930606032 Core/Scripts: made BossAI::CheckInRoom virtual 2014-09-08 05:02:03 +02:00
Shauren
d5e945eec8 Core/Misc: Named an unknown creature type flag 2014-09-08 00:19:02 +02:00
Shauren
183d7f5da9 SQL: Renamed file to follow standards 2014-09-08 00:18:10 +02:00
Vincent-Michael
3d84688195 Markdown: Revert f2655b2d2d 2014-09-07 22:26:01 +02:00
Vincent-Michael
f2655b2d2d Core: Remove whitespace (again, again, ...) 2014-09-07 22:22:16 +02:00
blub
d1183e55b5 Merge pull request #13060 from LogvinovLeon/master
Removed redundant cast to c_str() in ConfigMgr::Reload function.
2014-09-07 21:52:29 +02:00
Leonid Logvinov
1e34aa9dcf Removed redundant cast to c_str() in ConfigMgr::Reload function.
cppcheck performance warning:
[src/server/shared/Configuration/Config.cpp:62]: (performance) Passing the
result of c_str() to a function that takes std::string as argument no. 1 is
slow and redundant.
2014-09-07 21:35:37 +02:00
joschiwald
cfc0c50b5e Core/Misc: dropped obsolete GameObject::GetGameObject method 2014-09-07 21:03:25 +02:00
jackpoz
df7f188cfe Core/Misc: Refactor scripts to fix static analysis warnings
Fourth batch of fixes targeting 100 issues reported by Coverity
2014-09-07 20:12:54 +02:00
Nyeriah
62cfca23ce Core/Misc: Meh some white lines, an addition to last sql's comment and a spotted typo 2014-09-07 14:29:04 -03:00
Nyeriah
93a01b6d50 Scripts/AV: Balinda Stonehearth
- Updated to EventMaps
- Removed manual spawning of Water Elemental by using proper spell
* The Water Elemental has a duration, it'll despawn once it's over. She'll resummon it during the encounter if it dies or disappears.
* Fixes it's level scalling with owner.
- Moved Water Elemental AI to database.
- Script update
** Patch 3.1.0 (14-Apr-2009): Now casts Ice Block.
2014-09-07 14:20:26 -03:00
Dr-J
18ab39b1c8 DB/Misc: Kirin'Var Village
Rescripts 

http://www.wowhead.com/quest=10305  Abjurist Belmara
http://www.wowhead.com/quest=10182 Battle-Mage Dathric
http://www.wowhead.com/quest=10307 Cohlien Frostweaver
http://www.wowhead.com/quest=10306 Conjurer Luminrath

Rescripts all of these quests to work fully blizzlike including waypoints, all texts, and equipping items, previous scripts where using wrong npc for two of these quests or the entry they should change to after retrieving item

Also a few other visual fixes for this area, and fixing some run-time errors Aokromes asked to look at earlier.
2014-09-07 17:59:16 +01:00
DDuarte
32ca780a2f DB/NPCs: Fix unit_class of some difficulty entries (DBErrors) 2014-09-07 17:53:11 +01:00
MitchesD
17be840d4d Scripts/ScarletMonastery: fix typo caused by copy-paste 2014-09-07 18:47:25 +02:00
MitchesD
46930876e2 Scripts/ScarletMonastery: Interrogator Vishas updated to BossAI and EventMap 2014-09-07 18:43:58 +02:00
DDuarte
840e9594f4 DB/NPCs: Updates to unit_class, speed_run, speed_walk, BaseAttackTime and HoverHeight 2014-09-07 17:37:32 +01:00