Commit Graph

879 Commits

Author SHA1 Message Date
brotalnia a37ae4642b Corrected more wrong npc_text ids. 2017-11-18 04:03:13 +02:00
StadenElysium f99e40d8dd Geolocking implementation (#518)
* Implements a mechanism for locking accounts down if a player logs in from another country.
* Removed some deprecated cruft (auto_ptr/random_shuffle/register/(unary | binary)_function) at the same time.
* Adds JSON for Modern C++ (https://github.com/nlohmann/json/) to the project.
2017-11-14 23:55:27 +00:00
brotalnia fd257ee92a Replace creature nostalrius string ids with broadcast text. 2017-11-15 00:32:45 +02:00
brotalnia 01deb6826a Correct some text ids. 2017-11-14 20:39:10 +02:00
dimefox e1038218ed Leper gnome and Gibblewilt text fixes (#622)
* Fix spoken language for leper gnomes and Gibblewilt

* Allow broadcast text from CreatureEventAI

* fix creature flee emote

* We don't take kindly to tabs around here.
2017-11-14 17:32:38 +02:00
bladez 7902fe21d2 Increase the droprate of MC profession items as per Allakhazam records (#625) 2017-11-14 19:04:36 +11:00
GuybrushGit 68b4f74cfb Fix to Green Whelp Armor (#588)
* Fix to Green Whelp Armor

* Fix to Green Whelp Armor
2017-11-14 17:29:21 +11:00
bladez 384d0d5c37 The Gates of Ahn'Qiraj War Effort (#540)
* Set Red Scepter Shard run timelimit to Blizzlike 5 hours

* Added a missing script text during the Eternal Board

* Corrected some typos, item availability and long forgotten memories quest completion

* War Effort event rework

* Allow events started at the current tick to run

* Fixed stock incrementing on handin for shared and alliance turnins
Add war effort game events and some gossips (some are missing)

* Check actual war effort event for world state

* WIP War Effort event

* Refactored gobj update and objective checking to utilize an AI that periodically updates

* Removed old, unused hard coded gossip for war effort officers

* Add condition for toggling based on the NPC entry

* Add gossip and remove script for War Effort officers

* Add NPC gossip for recruiters

* Removed shared resource contributions - the objectives are not completed simultaneously by both teams, but rather they both have the same goal for those resources

* Always add the game object to the map, regardless of whether it is spawned by default or not

* Don't offer quests if the unit has no quest giver flag

* Implement supply tier decay as the effort moves to Silithus

* Partial implementation of active game events during the effort. TODO: Build an array that dictates active events at each stage

* Adjusted event terminator to auto assign

* Now store an array of events for each stage so we can resume cleanly after a restart

* Set most war effort events to hardcode so we can control the start/end of the event better

* Ensure default spawn type is preserved when saving a game object to DB

* Fix migration, link gong to gong event

* Now properly despawn gameobjects that are not spawned by default

* Moved crystal AI to war effort script, adjusted gobj spawn handling

* Force overwrite on StopEvent, ensure the AQ gate is open at end of war, adjusted when stage events are updated

* Allow world timers to be modified externally so certain timers can be forced to occur sooner than usual

* Added a var that counts how many times a gong has been rung

* Gong is now active, final battle event is now hardcoded. Fixed comments preventing migration from executing

* Allow hardcoded events to adjust update delay dynamically based on internal state

* Added helper methods to enable/disable rather than just start/stop. We need to do this for events that can be active prior to 1.9, such as the gate
Add dynamic update for certain stages to ensure things happen in a timely manner
Re-added crystals emerging text

* Remove hard-coded Rajaxx summon, he'll be spawned with the event

* Remove Rajaxx AI outside of AQ. He just stands still on top of the gate

* Added AI for moving soldiers into position when CH is under siege

* Added Rajaxx spawn to DB
Added additional Colossal Anubisath around the gate
Added a trigger creature for CH attack waves
Updated the size of Resonating Crystals
Updated the draw distance for Hive Colossus
Add AI to IF/Org soldiers and Priestess of the Moon

* High Overlord Saurfang script and text

* Renamed some events that are now being utilized, added additional stages to the battle

* Re-numbered Saurfang script texts
Remove priestess mount aura
Fixed trigger insert query
Add dummy additional anubisaths (coords not set yet)

* Add cenarion hold attack spawn trigger
Add Saurfang AI

* Use MovePoint rather than MoveTargetedHome, since MoveInLineOfSight does not fire during the latter

* Fixed some syntax errors, added colossal spawns NE of AQ
Adjusted rifleman AI

* Made infantry AI a bit more generic so it can be extended
Added separate AI for riflemen
Added formation for following Saurfang

* Fixed AutoStoreLoot bypassing loot conditions. TODO: Remove this SHIT

* Add dummy spawns for colossal during final battle
Rectified a number of incorrectly forbidden items

* Add config option for the rate at which the war effort auto completes

* Reversed the order for CONDITION_NPC_ENTRY, added CONDITION_WAR_EFFORT_STAGE

* Added support for auto completing the war effort

* Invert npc entry condition values, restrict field duty and aq20 gear quests, update spawn pos of final battle NPCs

* Fixed stage value check

* Fixed objective count in collection event check

* Added remaining transition day count world state
Increased the wave size and reduced destroyer spawn chance during the cenarion hold attack

* Simplify gobj spawn condition

* Remove colossus events from stage updates - they can persist outside of the stages

* Now start colossus reward events on death

* Add gossip text to recruiters indicating when the resources will arrive in Silithus
Fixed mounts on cavalry and Stormwind infantry equipment

* Reduced time between the collection being completed and the transition starting

* Save the gong bang time to DB

* Prevent underflow on m_respawnDelayTime with negative spawntimesecs

* Increased the power and health of High Overlord Saurfang during the war, fixed his state being set incorrectly on respawn during the wave attack

* Don't allow zoning into AQ while the gate is up

* Now use a saved var with flags for Hive colossus events rather than starting them directly in the map update (not thread safe!)

* Add game sounds to gate opening

* Add faction-specific signet reward NPCs during the collection

* Remove npc_gossip entries, now use only gossip_menu for recruiters
Removed interactability of resonating crystal formations
Corrected the min level for turn in pre-quests

* Added support for game event checking in area trigger teleports, removed hard-coded team/rank checking and added DB support for them

* Make Ahn'Qiraj teleport triggers require the gate to be open

* Corrected the reputation requirement on some Scepter chain quests

* Overwrite start time for colossus reward events

* Move colossus text to colossus spawn rather than on the gong

* Fixed criteria check for CONDITION_NPC_ENTRY after param order change

* Add missing NPC texts from broadcast_text
Add missing world announcements for battle progress
Correct Maws resistances/armour

* Store Saurfang guid so we can follow him from across map. Implement Saurfang spell AI

* Saurfang will now correctly resume his path after engaging in combat
Soldiers following Saurfang will no longer fly and warp around after combat ends
Soldiers following Saurfang that die will respawn near him, and resume following
Added an extra point to Saurfang's path to avoid a terrain glitch
Priestess should now properly dismount on aggro
2017-11-14 16:11:13 +11:00
GuybrushGit 0d4349b4a4 Fix to Cenarion Scouts migration 2017-11-13 20:17:56 +00:00
GuybrushGit 4fda306001 Implemented the Cenarion scout quests. (#609) 2017-11-13 22:38:00 +11:00
brotalnia c012c590cc Cleanup npc_text and gossip fixes. 2017-11-12 21:32:23 +02:00
brotalnia e7828f143e Remove gossips from NPCs that didn't have it in vanilla. 2017-11-11 19:00:03 +02:00
GuybrushGit 679a7e4640 Fix to Skeram instance binding (#533) 2017-11-11 12:29:43 +02:00
GuybrushGit 3269734d89 Arcanite Dragonling adjustments (#526) 2017-11-11 12:27:00 +02:00
GuybrushGit 9eb5fa680a Item progression for wands with spell damage and healing (#445) 2017-11-11 12:23:53 +02:00
GuybrushGit 123d8b103c Misc DB fixes (#286)
* Misc DB fixes

* Empyrean Demolisher proc rate

* Twilight Corrupter

* Malowns Slam proc

* Removed rare portrait from non-rare mobs

* Removed tastyfish from STV fishing tables

* Removed Quiraj Lasher spawn

* Noth faction specific loot

* Tainted Pierce proc rate

* Misc DB fixes

* The Fate of Ramaladni

* The Madness Within and hearthstones

* T0 bosses despawn time

* Conflagration double damage

* Superior Healing Ward totem AI

* Remove Long Forgotten Memories fix

* Fix missing loot template error.
2017-11-11 12:20:22 +02:00
brotalnia 78cf966cd0 Fix drop chance for Hillsbrad Human Skull. 2017-11-11 12:18:13 +02:00
brotalnia 9d9bedfde8 Implement pre-1.10 Purgation Isle. 2017-11-11 11:51:29 +02:00
LHGemt 0e115edd68 Atiesh immuneflags and misc fix (#557)
* atiesh immuneflags

* Atiesh: slightly faster shadowbolt. Dont drop multiple weapons. Only do spawn-lightning on spawn, not after a reset.
2017-11-10 18:56:54 +11:00
GuybrushGit 61b30b222f Change condition type (#564) 2017-11-10 11:23:23 +11:00
brotalnia 77a78e4a15 Implement Broadcast Texts and add new DB release.
* Core: Implement broadcast texts.

* Core: Get rid of db_script_strings table.

* Core: Fix MaleText locales and db scripting improvements.

* DB: Add broadcast texts and fix quest 2608.

* Fixed FemaleText locales!

* Move chat functions back to worldobject.

* Replace all db_script_string ids.

* Drop table db_script_string.

* New database release.
2017-11-09 16:01:53 +02:00
Staden f9d45dca60 Move creature spawn above ground
Fixes https://github.com/LightsHope/server/issues/513
2017-11-08 19:28:09 +00:00
StadenElysium 2a5d38b1e8 Fix AV battle standards (#537)
Frostwolf/Stormpike Battle Standards are no longer consumed on use
Stormpike Battle Standard and Alliance Battle Standard now share a cooldown
Fixes https://github.com/LightsHope/server/issues/459
2017-11-08 19:17:25 +00:00
StadenElysium bf068929b3 Remove race requirements from Head of Onyxia (#538)
Fixes https://github.com/LightsHope/server/issues/370
2017-11-08 19:17:18 +00:00
Staden 00323d7262 Fix broken migration 2017-11-08 15:44:44 +00:00
brotalnia a9a0cfce16 Add old versions of Orb/Amulet of the Darkmoon. 2017-11-06 08:35:24 +02:00
brotalnia 768138ff9b Add koKR localization for quest titles. 2017-11-06 07:58:41 +02:00
brotalnia de84fc03f0 Add missing zhCN quest locales. 2017-11-06 00:38:03 +02:00
brotalnia 1814ea0bf0 Fix gossips for Fishing Promoters. 2017-11-05 08:35:09 +02:00
brotalnia 39856fb307 Correction to Alcaz Island spawns. 2017-11-05 07:17:14 +02:00
Henrik 4cc94dc20d Remove Thick Cloth gear from objects loot template (#415) 2017-11-05 15:49:24 +11:00
Henrik 1559335172 Remove Padded items from object loot table (#416) 2017-11-05 14:45:31 +11:00
brotalnia 49727ee813 Fix texts for quest Hidden Enemies. 2017-11-04 22:48:23 +02:00
LHGemt 340e7eefdc remove summoning spells from pet bar for players MCing them (#436)
* remove summoning spells from pet bar for players MCing them

* fix migration value
2017-11-04 14:58:59 +11:00
GuybrushGit 9a850a5d4f BWL fixes (#33)
* Misc BWL fixes

* Misc BWL fixes

* Misc BWL fixes

* Overseer pack position

* Fix to Nefarian warrior call
2017-11-04 14:56:22 +11:00
GuybrushGit 0954ee8fbd Fix to Edge of Madness loot tables (#233)
* Fix to Edge of Madness loot tables

* Fix to Edge of Madness loot tables

* Fix to Edge of Madness loot tables
2017-11-04 14:52:04 +11:00
brotalnia f751e931ea Fix wrong column count in migration. 2017-11-01 04:51:23 +02:00
LHGemt 22c05ecc62 Atiesh (#422)
* Atiesh implementation

* remove unused code

* only apply unholy aura during combat

* atiesh: added red lightning cast on spawn
2017-11-01 04:28:53 +02:00
Henrik d69f3545da Change reputation reward amount (#404) 2017-11-01 04:24:40 +02:00
Henrik edf2a905a2 Fix loot from Water Barrels and Dirt-stained Map (#412) 2017-11-01 04:18:02 +02:00
Henrik 217f810bae Remove Ogre Tannin from mobs in DM (#402) 2017-11-01 04:12:18 +02:00
LHGemt e6eabd1526 Crimson Rifleman no XP (#289) 2017-11-01 03:28:28 +02:00
GuybrushGit 696a08c007 Added AoE immunity creature flag (#36)
* Added CREATURE_FLAG_EXTRA_IMMUNE_AOE creature flag Added AoE immunity to Lethon Shades and Nefarian totems

* AoE immunity checks

* Updated flag value
2017-11-01 02:30:56 +02:00
GuybrushGit 5496917067 Fix to Execute miss chance (#35)
* Fix to Execute miss chance

* Interrupt Pummeler buff on weapon switch
2017-11-01 02:26:52 +02:00
GuybrushGit 5be9e51e45 Added Your Fortune Awaits You quest chests (#32) 2017-10-31 23:14:47 +02:00
GuybrushGit 4487510257 Fix to unlootable quest item containers (#27)
* Fix to unlootable quest item containers

* Fix to unlootable quest item containers
2017-10-31 23:10:40 +02:00
brotalnia e8afb1b992 Fix Felheart Belt spells. 2017-10-31 02:21:02 +02:00
brotalnia 6d8c6377b6 Add all displayid changes to D1, T1, T2 sets. 2017-10-31 01:57:37 +02:00
GuybrushGit 8eccb35644 Fix to resource spawn rates (#17)
* Fix to resource spawn rates

* Fix to resource spawn rates

* Gold vein respawn timers
2017-10-28 16:41:27 +03:00
Kittnz 3b99817d2a Core/Commands: Add EquipmentId, InhabitType, Armor and AIName to the npc info command (#268) 2017-10-28 11:46:28 +02:00