Commit Graph

1175 Commits

Author SHA1 Message Date
maximius
2ffcd76b43 *Merge rockzOr and oc_redfox's talent lists, it seems they both missed some.. resorted with quicksort
--HG--
branch : trunk
2009-08-16 04:24:02 -07:00
maximius
f74e8473a1 *Added oc_redfox's dual spec talent cleanup fix, run sql/updates/5084_character_updates_dual_spec.sql manually to cleanup talents, see file for details
--HG--
branch : trunk
2009-08-16 03:50:12 -07:00
megamage
90ed27059d *Script of quest Massacre at light's point. Original author nevan.
*primary bugs:
*you may fall below the deck of ship after exiting mine car and have to try again.
*mobs spawn too slow (part of it is db issue)
*there is no cannon on ship (db issue, you can add some 28833 by yourself or ask your db dev to do it)

--HG--
branch : trunk
2009-08-15 23:04:21 -05:00
Kudlaty
61ed8f90df Merge [SD2]
r1296 Fix typo and check for IN_PROGRESS instead of NOT_STARTED and also return after force EnterEvadeMode in UpdateAI - skip
r1297 Set sysconfdir path in different way for linux compile, to avoid possible DOTCONF++ error at start. Patch by Saeldur - skip
r1298 Fix typo in MC instance script.
r1299 Clean up one MC boss script and remove old workarounds. Patch by Reve
r1300 Add gossip to npc_naladu. Patch by hoshie
r1301 Some minor cleanup and move one folder+source file

--HG--
branch : trunk
2009-08-16 02:46:55 +02:00
maximius
bbe4b7d6b3 *Alter the behavior of 5036_character_updates
--HG--
branch : trunk
2009-08-14 18:27:40 -07:00
maximius
6ae2f91850 *Use TRANSACTION in 5036_character_updates...
--HG--
branch : trunk
2009-08-14 18:22:10 -07:00
maximius
8a8471dd96 *Use less destructive method, in an attempt to preserve character_action
--HG--
branch : trunk
2009-08-14 17:56:31 -07:00
maximius
2fd68eab44 *Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
--HG--
branch : trunk
2009-08-14 17:24:52 -07:00
megamage
7c81b694e9 *Fix sql in 5031.
--HG--
branch : trunk
2009-08-14 18:41:10 -05:00
megamage
c40be3e50a *Script of Netherspite. By Iskander
--HG--
branch : trunk
2009-08-14 18:34:16 -05:00
Anubisss
45c2334a28 *Add a missing sql from the previous rev.
*Thanks to Aokromes for the reminder. :)

--HG--
branch : trunk
2009-08-15 01:25:52 +02:00
Anubisss
227a1dc0be Show player's race and class in command .pinfo
--HG--
branch : trunk
2009-08-15 01:20:18 +02:00
maximius
c515666cdb *Fixing text of emotes, by Aokromes.
--HG--
branch : trunk
2009-08-14 16:02:35 -07:00
megamage
e1e8c4a77e *Fix a typo in sql. By Sundark.
--HG--
branch : trunk
2009-08-14 17:34:43 -05:00
Kudlaty
68c015af44 Merge [SD2]
r1284 Apply SD2 code style to all uint32 arguments in gossip related functions.
r1285 Replace all remains of _GO with proper pointer style.
Aslo some other code style.
Fix typo in world_scripts_full.sql. thx Sundark

--HG--
branch : trunk
2009-08-15 00:32:04 +02:00
Kudlaty
f37885c086 Merge [SD2]
r1281 Added support for quest 12247. Patch by Azuritus
r1282 Added support for quest 11708. Patch by Azuritus.
      Additional cleanup and code style applied.
r1283 Add support for quest 12807. Patch by Azuritus

--HG--
branch : trunk
2009-08-14 21:58:29 +02:00
megamage
1211aabb28 [8364] Implement possibility reset client cache data from server side. Author: Fog
Implemented 2 way set cache data "version":
    * New db_version.cache_id field let set cache data version by DB content creators.
      This can be used for content releases by seting some unique value at each release.
      This value used by default.
    * New mangosd.conf config option let set (overwrite DB value) or use 0 for ignore.
      This can be used by serever admin for reset cache at some local changes.

    Note: values use at client login and then must be unique for long period time to avoid ignored
          at login some long not connected client with old same cache version value.

--HG--
branch : trunk
2009-08-14 14:34:46 -05:00
Kudlaty
5ebba6e2fe Merge [SD2]
r1272 Rough cleanup of hyjal-related scripts. Mainly applied SD2 code style, but also minor improvement of code and removal of not needed functions. - skip
r1273 Move code and use JustSummoned() instead of own system in hyjalAI - skip
r1274 Simplify way to determine where to spawn creature and remove already known base area passed in function. Also rename arrays. - skip
r1275 Provide updated .patch file after changes in Mangos rev 8255 - skip
r1277 Remove adding threat for summoned waves in hyjal and instead move to point when summoned. Also add simple handler to attempt move summoned closer to base bosses when not in combat. - skip
r1278 Replace world state functions in misc scripts with new ScriptedInstance function.
r1279 Simplify spawning of correct wave in hyjal. Remove no longer needed arguments in related function.
      Also restore wave timer reset in case all mobs in wave are dead before master timer end. - skip
r1280 Added basic support for quest 1324. Patch by jotapdiez
      Also adding additional data for further development of event.

--HG--
branch : trunk
2009-08-14 21:29:28 +02:00
Kudlaty
4252c4cef0 Merge [SD2]
r1266 Added support for quest 4966
r1267 Remove obsolete ScriptedAI functions, no longer used. Clean up code. Patch by DasBlub

--HG--
branch : trunk
2009-08-14 19:45:06 +02:00
Kudlaty
485aab1186 Merge [SD2]
r1261 Add GO script to complete lyceum event in BRD. Patch by Turok
      Some minor cleanup.
r1262 Apply SD2 code style to example scripts. Patch by DasBlub
r1263 Remove AI for some of the npc's in tomb of seven event (BRD). Note that ACID is required for event to work properly (set instance data). Patch by Turok
r1264 Fix typo in filename in previous commit.
r1265 Added support for quest 2742

--HG--
branch : trunk
2009-08-14 17:14:08 +02:00
Kudlaty
65ba3044dc merge
--HG--
branch : trunk
2009-08-14 15:59:01 +02:00
Kudlaty
75faad4b93 Merge [SD2]
r1251 Add waypoints for Hellmaw
r1252 Add missing SQL to *_full for script added in rev 1243
r1253 Increment count value only for alive creature in SL instance script. Some minor cleanup.
r1254 Fix typo, and not set friendly creature in combat with zone. Also add comments and re-order code for readability. Patch by astriconX - skip
r1255 Handle akama channelers in different way, fill list of guids only when needed for event. - skip
r1256 Clean up akama script and apply sd2 code style. - skip
r1257 Correct 2 waypoints and apply sd2 code style to related script.
r1258 Add basic support for quest 1560
r1259 Simplify way to summon druid creatures. Patch by Turok
r1260 Clean up two more world bosses, apply SD2 code style and simplify code. Add missing texts. Patch by Turok.

--HG--
branch : trunk
2009-08-14 15:58:37 +02:00
QAston
172befc360 *Sql missing from prev rev.
--HG--
branch : trunk
2009-08-14 15:48:19 +02:00
QAston
a60600b717 *Script for Ebon gargoyle - original patch by thenecromancer.
--HG--
branch : trunk
2009-08-14 15:30:47 +02:00
Rat
759721bb5f *added script for quest: Escaping the Tomb (10887) original patch by: Naturamen
*fix world_script_waypoints.sql format

--HG--
branch : trunk
2009-08-14 14:38:44 +02:00
QAston
a797b2fe6f *Correct procflags for Darkmoon Card: Death - by Joro.
--HG--
branch : trunk
2009-08-14 13:26:38 +02:00
Kudlaty
5b87f1fcdc Merge [SD2]
r1245 Update escortAI MAX_PLAYER_DISTANCE from 50 to 66 yards - skip
r1246 Not call JustDied() AI function when escortAI max range is over limit(not regular death). Some additional cleanup to apply code style.
r1247 Implement automated FailQuest in escortAI (if npc has specific death events, call npc_escortAI::JustDied()). Clean up scripts related to it.
      Restore original faction at escortAI's JustRespawned() in case faction changed (normal case for escorts). Remove in scripts where defined.
r1248 Add small delay before move to first point in escortAI.
r1249 Add support for quest 898
r1250 Add support for quest 10451. Original patch by Lightguard

--HG--
branch : trunk
2009-08-14 05:32:39 +02:00
Kudlaty
93e420ed29 Merge [SD2]
r1241 Add text to ysondre and also replace manual summon with spell. Clean up script. Patch by Turok
r1242 Add support for quest 4770
r1243 Add support for quest 4904
r1244 Update most scripts calling escortAI's Start() from outside creature AI with more safe method.

--HG--
branch : trunk
2009-08-14 04:21:52 +02:00
maximius
184c8ac829 *Cleanup
--HG--
branch : trunk
2009-08-13 18:20:40 -07:00
maximius
02e759a879 *Added directions to Inscription trainers to all guards, based on Nafsih's patch
*Cleaned up Sethekk Halls

--HG--
branch : trunk
2009-08-13 18:16:55 -07:00
maximius
5d4ffbb90a *Fix Anzu multiple spawns, by Oculus
--HG--
branch : trunk
2009-08-13 17:05:15 -07:00
megamage
354c7a5f0d *Add 4854 sql to full.
--HG--
branch : trunk
2009-08-13 18:16:42 -05:00
megamage
e0449b421c *Add some detailed error log in SCRIPT_COMMAND_CAST_SPELL so we can know what is causing spams
--HG--
branch : trunk
2009-08-13 14:39:01 -05:00
megamage
25f81cdfcd *Fix some typos in spell_area which make some spells are not available to female char.
--HG--
branch : trunk
2009-08-13 13:40:30 -05:00
Drahy
eaf8c93f7a * Fixed some iport errors from previous revision
* Added more INSERTs for faster import

--HG--
branch : trunk
2009-08-13 17:58:33 +02:00
Drahy
fc9a4b32c4 * Redone world_script_texts added/fixed some texts + cleanup
* Please reimport world_script_texts.sql from FULL folder

--HG--
branch : trunk
2009-08-13 17:32:34 +02:00
Kudlaty
5ba4407d42 Merge [SD2]
r1231 Remove old hack code that never worked and move/comment a few remaining to a more suitable function.
r1232 Use more safe way to check local bool in AI, accessed from GossipSelect
r1233 Update instance type and data labels for ZG to sd2 style and remove not needed ones.
r1234 Add scriptname for Gong, prevent using it in ZG if event already in progress or done (script added in previous commit)
r1235 Restore compile, sorry for typos :)
      Apply SD2 code style to arlokk script.

--HG--
branch : trunk
2009-08-13 17:02:49 +02:00
Drahy
02da8a41f7 [8361] Avoid apply bonuses to item 32262 drain life. Author: VladimirMangos
--HG--
branch : trunk
2009-08-13 11:21:08 +02:00
Kudlaty
f6ec531d4d Merge [SD2]
r1221 Restore compile after changes to KilledMonster().
      Remove no longer needed code where creature_template are expected to have definitions for KillCredit.
      Replace one creature script with areatrigger script and some related code cleanup.
      Requires Mangos 8190+
r1222 Move waypoints for Barnes to database. Also adjust code and simplify parts of pre-event. Some additional code cleanup
r1223 Clean up labels for Kara instance.
r1224 Replace use of MANGOS_DLL_SPEC with MANGOS_DLL_DECL as expected in script. Thanks Zor for notice. - skip
r1225 Add new options for escortAI.
      For normal escorts, InstantRespawn can be set true (normal will despawn creature and use database spawntimesecs)
      For non-escorting scripts, option to loop path can be set. Creature will return to respawn coords and after, start path from beginning.
r1226 Remove escortAI option to defend self. Creature must be able to enter combat with any attacking and then defend self by attacking back.
      If custom cases exist where creature must not be set in combat with attacking, then custom script is expected.
r1227 Using _SECURE_SCL=0 to speedup iterators in Windows (release build, ref Mangos rev 8194). Patch by Vladimir - skip
r1228 Clean up gruul instance + scripts, add instance save and apply sd2 code style.
      Some adjustment to hurtful strike. Minor adjustments to other spell abilities.
      Create own AI for adds, and avoid repetitive code being common for all adds.
      Patch by Abim - skip
r1229 Move door code to instance script and simplify Set/GetData() code and aggro check. - skip
r1230 Remove no longer needed call to Reset() in Council_Base_AI and correct typo. - skip

--HG--
branch : trunk
2009-08-13 05:47:23 +02:00
megamage
4f4775a31b [8339] Improved storing/restoring BG entry point
* Introduced new table character_battleground_data
    * Entry point is now stored on BG enter event not join event
    * Entry point for dungeons is now correctly set to nearest graveyard
      (this prevent well known assert in GetInstance because of porting to already destroyed instance)
    * Teleporting from BG correctly restore mount state
    * Teleporting from BG correctly restore taxi flight
      (in multipath flight you will end up in nearest transition point on the route)

    Signed-off-by: ApoC <apoc@nymfe.net>

--HG--
branch : trunk
2009-08-12 20:27:00 -05:00
Kudlaty
ed637fbf1f Merge [SD2]
r1211 Correct tempsummon type for adds and add spellId for future use. Patch by Abim - skip
r1212 Added support for quest 6523. Patch by Meldanor - skip (already have that, just move waypoints to db)
r1213 Add a few missing address-of operators and some general cleanup.
r1214 Adjusting how pet are summoned and check when new pet can be summoned for sharkkis. - skip
r1215 Added support for event related to quest 12727. Original patch by ckegg
r1216 Some adjustments to function for controlling combat movement (MoveChase())
r1217 Use SetCombatMovement() for more scripts where expected and remove one useless function from Scripted_NoMovementAI (this may be fully removed)
r1218 Correct script_texts, adding variable %s where missing (...and where expected. Note that not all creature emote texts contain name of sender). - skip
r1219 Reset DATA_OPERA_OZ_DEATHCOUNT to 0 at start, in case event was previously run and incremented counter.
r1220 Correct lost-in-process FillPointMovementListForCreature() for quest 12727 (copy/paste == bad)

--HG--
branch : trunk
2009-08-13 02:48:34 +02:00
Kudlaty
57d2f5e7d2 Merge [SD2]
r1205 Check pointer for NULL before use. - skip
r1206 Remove conflicting MovePoint and let creature fully use MoveChase for summoned in hyjal. - skip
r1207 Add instance bosses for map 602. Scripts can not be considered complete and must be tested further when databases has better values for misc (such as creature factions, health/mana etc)
r1208 Added handling of doors for second last boss in BRD. Apply sd2 code style and clean up last boss(es) scripts and spells. Patch by Turok - skip
r1209 Merge scripts for last bosses in BRD to one source file. Also not store pointers to creatures and create only when needed.
      Added creation of portal if Moria survive and Emperor is dead. - skip
r1210 Clean up and add script for second boss in SWP. Patch by paytheo (original by ckegg) - skip
note: in previous merge should be r120x insted of r200x. Sorry for that

--HG--
branch : trunk
2009-08-13 00:57:55 +02:00
QAston
ba91c78ceb *Update Mana Shield Spell Power Coefficient - by fukifat.
*Add function void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool changeAmount), and aura effect specific stuff to it.
*More correct aura scaling with lvl for area auras.
*Prevent exploits with relog while having auras with modified amount.

--HG--
branch : trunk
2009-08-13 00:52:05 +02:00
megamage
cd78172c7d *Do not allow to enter frostwyrm wing before killing all previous bosses. If you do not like it, simply do not apply the sql.
--HG--
branch : trunk
2009-08-12 08:01:06 -05:00
maximius
7a548ff9d5 *Add some missing scripts
--HG--
branch : trunk
2009-08-11 22:57:40 -07:00
megamage
36302e1d24 *Fix ulduar script sqls. By Epsik
--HG--
branch : trunk
2009-08-11 16:49:07 -05:00
maximius
98a19f2125 *Linked Ulduar bosses with their scripts
*Wailing Caverns updates, by Oculus

--HG--
branch : trunk
2009-08-11 12:20:26 -07:00
Anubisss
c1c8333642 *Fix prison Containment Spheres in Keristrasza.
--HG--
branch : trunk
2009-08-11 04:57:09 +02:00
Drahy
1beff219b8 * Cleanup in Fulls
--HG--
branch : trunk
2009-08-11 02:02:45 +02:00
maximius
e546665e67 *Missed in last commit >_<
--HG--
branch : trunk
2009-08-10 16:37:09 -07:00