d15556589d
* Move BattleGroundQueue to its own cpp/h.
XTZGZoReX2010-08-08 03:41:46 +02:00
9a8342abb7
Buildsystem: Make core buildable under Windows again - changed OpenSSL detection of headers around slightly - changed paths to MySQL-headers on Windows in a few files - removed precompiled header for scripts being built when building game - added requirement of building revision.h to be built before building shared - added some generic buildfixes (thanks zor) - use resource-files, allowing for icons to show up on windows
click2010-08-08 03:33:21 +02:00
36fffd9550
Properly fix problems with applying/removing mods on disarmed items.
silinoron2010-08-07 16:40:33 -07:00
5aa6bb2169
Fix an exploit allowing druids to gain substantial stat increases. Fixes issue #3316silinoron2010-08-07 16:19:52 -07:00
1bc8730b33
Convert Ahnkahet, Azjol-Nerub, Drak'tharon Keep, and Forge of Souls to the new format.
silinoron2010-08-07 16:03:37 -07:00
c260b3f778
convert Magtheridons Lair and Shattered Halls to new format
Supabad2010-08-08 00:49:40 +02:00
d3712984c1
Fixed build errors in AchievementMgr
Shauren2010-08-07 23:46:00 +02:00
7ce0a6cf69
convert Blood Furnace to new format
Supabad2010-08-07 23:17:11 +02:00
79b0567a74
convert Hellfire Ramparts to new format
Supabad2010-08-07 22:45:09 +02:00
9e1695a9c5
Convert outdoors northrend scripts to the new format.
silinoron2010-08-07 13:11:55 -07:00
c787f11de1
convert Botanica to new format
Supabad2010-08-07 22:06:31 +02:00
6baf3f9a59
Buildsystem/CMake: Adjust headerlocations on Windows so that they are correctly detected. - Remove caching of OpenSSL info (for you, zor!) - Adjust MySQL header-location in a DB-file (haha to Machiavelli, more work for you!) - Add OpenSSL-header location to the shared-library (Fixes build)
click2010-08-07 21:48:20 +02:00
f8fe880982
convert Tempest Keep The Eye to new format
Supabad2010-08-07 21:12:35 +02:00
b3e6a6c5ab
Remove useless hack for Leeeeeeeeeeeeeroy! achievement
Shauren2010-08-07 20:28:23 +02:00
b56cfe03d5
Implemented ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE Added support for "in single battleground" and "without dying" requirement to battleground achievements Add examples of scripting achievement (School of Hard Knocks, Storm Glory)
Shauren2010-08-07 18:31:06 +02:00
aff24e3598
* Some cleanups in world_scripts_full.sql. * SQL updates for battleground_template.Comment (by Click), and outdoorpvp_template content.
XTZGZoReX2010-08-07 17:30:14 +02:00
431301c1b2
Added support for scripting achievement criteria checks using ACHIEVEMENT_CRITERIA_DATA_TYPE_SCRIPT (11)
Shauren2010-08-07 16:48:34 +02:00
ed4e49a4e7
* OutdoorPvP implementations now reside in the script library.
XTZGZoReX2010-08-07 16:38:22 +02:00
b0890c32fc
Add #ifdef SCRIPTS to ScriptLoader-functions when using with -DSCRIPTS=0
click2010-08-07 15:49:28 +02:00
14aeb09945
* This should help with the Linux build; thanks to Machiavelli/click. * VehicleScript is now bound to the database (creature_template.ScriptName) and only works for creature vehicles.
XTZGZoReX2010-08-07 15:26:24 +02:00
f296addc47
Correction on previous commit: use uint32 and not simple ints
click2010-08-07 15:04:28 +02:00
f2ddd5d067
Force script-template to build nicely under GCC (thanks to Machiavelli and Zor)
click2010-08-07 14:57:54 +02:00
31887e6417
convert Arcatraz to new format
Supabad2010-08-07 14:17:07 +02:00
f1c571a79e
* Added new World::OnStartup/OnShutdown hooks.
XTZGZoReX2010-08-07 14:30:10 +02:00
360e028331
* Add new TransportScript::OnRelocate hook. * TransportScript::OnUpdate is now called on every tick, not just on movement update.
XTZGZoReX2010-08-07 14:17:32 +02:00
bcfc58a72d
* Script-side changes for my last commit.
XTZGZoReX2010-08-07 13:46:08 +02:00
87483be1e7
* Rename some more functions for consistency. * Added missing call to FormulaScript::OnZeroDifferenceCalculation. * Pass GridMap pointer into MapScript::OnLoadGridMap/OnUnloadGridMap. * Fire map hooks for all map types, not only instances.
XTZGZoReX2010-08-07 13:07:18 +02:00
9a592f44af
convert Mechanar to new format
Supabad2010-08-07 13:06:10 +02:00
10c4ef697c
* Add call to OnAuctionAdd() into code (thanks Paradox). Closes issue #3313 * Converted Zangarmash to new script system (I think I'm going to write a tool for converting)
azazel2010-08-07 13:04:00 +06:00
bef8372fe2
Rename ScriptMgr::OnRemoveAuction to ScriptMgr:OnAuctionRemove for consistency. Thanks Paradox for pointing it out.
silinoron2010-08-06 21:49:39 -07:00
443226c562
Unholy Blight should prevent the dispelling of diseases. Fixes issue #2609 Fixes issue #2982silinoron2010-08-06 21:32:42 -07:00
38402fa55b
A couple of forgotten changes.
silinoron2010-08-06 18:51:00 -07:00
c69bb618f5
Convert Alterac Valley to new format.
silinoron2010-08-06 18:48:08 -07:00
66ff6cda25
Convert go_scripts to the new format.
silinoron2010-08-06 18:42:35 -07:00
5e250b1df4
Convert scripts in the Custom directory to new format
silinoron2010-08-06 17:23:01 -07:00
f73e952de3
Convert a bunch of World scripts to the new system.
silinoron2010-08-06 17:07:41 -07:00
c2ca2e1c98
* Converted example scripts to the new format.
XTZGZoReX2010-08-07 00:06:55 +02:00
1c39e1a2f5
* Made only 71-80 BGs award arena points to winners (as of 3.3 patchnotes) * Removed on_events.cpp from VS project file
azazel2010-08-07 01:58:23 +06:00
f413d60908
* Move all movable spell effects from core to DB. Needs DB support. * Fix some compile errors made in previous commits.
azazel2010-08-07 01:02:09 +06:00
c9877c04dd
* Separated script loading into multiple functions. * Added function AddCustomScripts() - this is where all non-TC scripts should be added.
XTZGZoReX2010-08-06 19:57:33 +02:00
7f6fe6394c
* Converted hunter spell scripts to the new format (mostly for example purposes for the rest of the team).
XTZGZoReX2010-08-06 19:46:02 +02:00
255158f535
* Fixed some CRLF that magically made its way into this file...
XTZGZoReX2010-08-06 19:34:24 +02:00
946adf469c
*** New core <-> script library interface - complete rewrite of the old one. * Removed the misdesigned on_events script/hooks. * Lots of related cleanups and assertions. * The interface is now fully object-oriented. ** Scripts no longer use function pointers. ** Scripts no longer use the general-purpose Script struct for everything. ** Script types are split into separate classes which must be inherited depending on what functionality is desired. * Several script types have been added to allow extending functionality in a code-only manner (some script types require assignment in the recently added ScriptName columns in the database, though). ** SpellHandlerScript: Wrapper around spell scripts (returns new SpellScript objects (spell_script_names.ScriptName)). ** ServerScript: Allows scripting events that occur in the network layer. ** WorldScript: Allows scripting certain world-global events. ** FormulaScript: Allows hooking and interfering with core formulas. ** *MapScript: Allows hooking different map types (including world, instance, and battleground maps (instance_template.ScriptName)). ** ItemScript: Allows scripting of items (like the old interface (item_template.ScriptName)). ** CreatureScript: Allows scripting of creatures/AI (like the old interface (creature_template.ScriptName)). ** GameObjectScript: Allows scripting of gameobjects (like the old interface (gameobject_template.ScriptName)). ** AreaTriggerScript: Allows scripting triggered area triggers (like the old interface (areatrigger_scripts.ScriptName)). ** OutdoorPvPScript: Script which should return OutdoorPvP objects for use by OutdoorPvPMgr (outdoorpvp_template.ScriptName). ** CommandScript: Allows extending the in-core command table. ** WeatherScript: Allows scripting of weather changes (game_weather.ScriptName). ** AuctionHouseScript: Allows scripting of auction events. ** ConditionScript: Allows scripting of conditions (conditions.ScriptName). ** DynamicObjectScript: Allows scripting of dynamicobjects. ** TransportScript: Allows scripting of transport events (transports.ScriptName). * OutdoorPvP objects are now created through scripts. This effectively means that they'll need to be moved to scripts before the they're functional again. * The whole idea with this new interface is to allow expanding core functionality without touching core code. If further hooks are needed to expand functionality of the core, let us know; we'll add them, if we agree that it is appropriate to do so. *** NOTE: The scripts project will _not_ build before it has been adapted to the new interface. *** Thanks to everyone who helped out with related preparations and suggestions!
XTZGZoReX2010-08-06 19:23:43 +02:00
2562a4651f
Moved Pain and Suffering (47948) script effect to spell script.
azazel2010-08-06 23:03:43 +06:00
b63a31f513
* Added outdoorpvp_template table (currently unused). * Added DISABLE_TYPE_OUTDOORPVP (5) which can disable outdoorpvp_template entries.
XTZGZoReX2010-08-06 18:03:09 +02:00
edc4c3317c
* Cleanups in OutdoorPvP code (mostly formatting). Also removed useless file.
XTZGZoReX2010-08-06 17:00:39 +02:00
e4cab07f32
* Add ScriptName to conditions.
XTZGZoReX2010-08-06 16:33:31 +02:00
fd34134a45
* Add ScriptName to game_weather.
XTZGZoReX2010-08-06 16:28:17 +02:00
fda697a1e7
Implemented ACHIEVEMENT_CRITERIA_TYPE_EARN_ACHIEVEMENT_POINTS Fixed timed achievements timer restarting on every map change Added missed change in instance_template format
Shauren2010-08-06 14:56:41 +02:00
07348ff4af
Added ScriptName to battleground_template for script system rewrite
Shauren2010-08-06 13:47:17 +02:00