Commit Graph

139 Commits

Author SHA1 Message Date
azazel
590199d8e1 * Rename InstanceData to InstanceScript
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.

--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
Shauren
bd926de31c Correct include dirs in scripts and achievement_scripts build errors (because of Battleground renames)
--HG--
branch : trunk
2010-08-08 15:37:42 +02:00
Shauren
68d24581aa PCH for scripts is now fixed
--HG--
branch : trunk
2010-08-08 15:07:35 +02:00
Shauren
03a7683ef2 Fix PCH for scripts
--HG--
branch : trunk
2010-08-08 14:12:11 +02:00
XTZGZoReX
eddeef5431 * Convert Ashenvale scripts.
--HG--
branch : trunk
2010-08-08 14:03:22 +02:00
XTZGZoReX
02121a026e * Convert npc_professor_phizzlethorpe.
--HG--
branch : trunk
extra : rebase_source : 55c18bea7f25634a86c028cff3bbf2a2c10420d3
2010-08-08 13:48:01 +02:00
Shauren
0758e9f78a More cleaning for CMakeLists
Moved ScriptPCH from game directory to scripts

--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/ScriptPCH.cpp => src/server/scripts/PrecompiledHeaders/ScriptPCH.cpp
rename : src/server/game/PrecompiledHeaders/ScriptPCH.h => src/server/scripts/PrecompiledHeaders/ScriptPCH.h
2010-08-08 12:41:22 +02:00
John Holiver
99a054bfd2 Converting EasternKingdoms/ZulAman and EasternKingdoms/ZulGurub.
Need to recheck tomorrow. :)

--HG--
branch : trunk
2010-08-08 05:01:17 -03:00
John Holiver
0ce01cdb63 Missed a new file from EasternKingdoms/Uldaman
--HG--
branch : trunk
2010-08-08 03:41:36 -03:00
silinoron
8082363fc1 merge
--HG--
branch : trunk
2010-08-07 16:41:27 -07:00
John Holiver
af15ba29d1 Converting EasternKingdoms/Uldaman
--HG--
branch : trunk
2010-08-07 20:42:50 -03:00
silinoron
1bc8730b33 Convert Ahnkahet, Azjol-Nerub, Drak'tharon Keep, and Forge of Souls to the new format.
--HG--
branch : trunk
2010-08-07 16:03:37 -07:00
Supabad
c260b3f778 convert Magtheridons Lair and Shattered Halls to new format
--HG--
branch : trunk
2010-08-08 00:49:40 +02:00
Supabad
7ce0a6cf69 convert Blood Furnace to new format
--HG--
branch : trunk
2010-08-07 23:17:11 +02:00
Supabad
79b0567a74 convert Hellfire Ramparts to new format
--HG--
branch : trunk
2010-08-07 22:45:09 +02:00
silinoron
9e1695a9c5 Convert outdoors northrend scripts to the new format.
--HG--
branch : trunk
2010-08-07 13:11:55 -07:00
Supabad
c787f11de1 convert Botanica to new format
--HG--
branch : trunk
2010-08-07 22:06:31 +02:00
Supabad
f8fe880982 convert Tempest Keep The Eye to new format
--HG--
branch : trunk
2010-08-07 21:12:35 +02:00
Shauren
b3e6a6c5ab Remove useless hack for Leeeeeeeeeeeeeroy! achievement
--HG--
branch : trunk
2010-08-07 20:28:23 +02:00
Shauren
8ada64e337 Missed this file
--HG--
branch : trunk
2010-08-07 18:32:41 +02:00
XTZGZoReX
ed4e49a4e7 * OutdoorPvP implementations now reside in the script library.
--HG--
branch : trunk
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.h => src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.h => src/server/scripts/OutdoorPvP/OutdoorPvPHP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.h => src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.h => src/server/scripts/OutdoorPvP/OutdoorPvPSI.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.h => src/server/scripts/OutdoorPvP/OutdoorPvPTF.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.h => src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
2010-08-07 16:38:22 +02:00
Supabad
31887e6417 convert Arcatraz to new format
--HG--
branch : trunk
extra : rebase_source : 9c77e524badeccac0c2adbe68110f741b5a3549b
2010-08-07 14:17:07 +02:00
XTZGZoReX
bcfc58a72d * Script-side changes for my last commit.
--HG--
branch : trunk
2010-08-07 13:46:08 +02:00
Supabad
9a592f44af convert Mechanar to new format
--HG--
branch : trunk
2010-08-07 13:06:10 +02:00
azazel
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)

--HG--
branch : trunk
2010-08-07 13:04:00 +06:00
silinoron
38402fa55b A couple of forgotten changes.
--HG--
branch : trunk
2010-08-06 18:51:00 -07:00
silinoron
c69bb618f5 Convert Alterac Valley to new format.
--HG--
branch : trunk
2010-08-06 18:48:08 -07:00
silinoron
66ff6cda25 Convert go_scripts to the new format.
--HG--
branch : trunk
2010-08-06 18:42:35 -07:00
silinoron
5e250b1df4 Convert scripts in the Custom directory to new format
--HG--
branch : trunk
2010-08-06 17:23:01 -07:00
silinoron
f73e952de3 Convert a bunch of World scripts to the new system.
--HG--
branch : trunk
2010-08-06 17:07:41 -07:00
XTZGZoReX
c2ca2e1c98 * Converted example scripts to the new format.
--HG--
branch : trunk
2010-08-07 00:06:55 +02:00
azazel
f413d60908 * Move all movable spell effects from core to DB. Needs DB support.
* Fix some compile errors made in previous commits.

--HG--
branch : trunk
2010-08-07 01:02:09 +06:00
XTZGZoReX
485886fe71 * Merge.
--HG--
branch : trunk
2010-08-06 20:43:47 +02:00
XTZGZoReX
731eaf72cb * Example on AI script conversion (and minor correction in CreatureScript).
--HG--
branch : trunk
2010-08-06 20:42:42 +02:00
silinoron
f9fdc660de convert example spell script, too.
--HG--
branch : trunk
2010-08-06 11:41:32 -07:00
silinoron
23c434cfd8 merge
--HG--
branch : trunk
2010-08-06 11:36:10 -07:00
silinoron
14459bc467 Convert spell scripts to new system.
--HG--
branch : trunk
2010-08-06 11:35:39 -07:00
XTZGZoReX
4fca015f4c * Fixed last commit; didn't mean to remove AddSC_instance_deadmines.
* Converted area trigger scripts.

--HG--
branch : trunk
2010-08-06 20:34:17 +02:00
XTZGZoReX
b51630ccb6 * Example on converting instance scripts.
--HG--
branch : trunk
2010-08-06 20:22:42 +02:00
Shauren
5a345eeade Implemented Dalaran no-fly zone
--HG--
branch : trunk
2010-08-06 20:09:23 +02:00
XTZGZoReX
7f6fe6394c * Converted hunter spell scripts to the new format (mostly for example purposes for the rest of the team).
--HG--
branch : trunk
2010-08-06 19:46:02 +02:00
XTZGZoReX
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!

--HG--
branch : trunk
2010-08-06 19:23:43 +02:00
azazel
2562a4651f Moved Pain and Suffering (47948) script effect to spell script.
--HG--
branch : trunk
2010-08-06 23:03:43 +06:00
azazel
885fc368fd * Implement item limit category (based on changes by VladimirMangos)
* Additional check for HandleAutoBankItemOpcode (thanks to VladimitMangos)
* Properly show empty vendor list for empty item list (author: a1ien)
* More stricted checks for store operations (thanks to VladimirMangos)
* Prevent autostoring of not empty bags (thanks to L1ghtGu4rd)

Changes need testing. Please post bugs on our tracker.

--HG--
branch : trunk
2010-08-05 22:08:07 +06:00
QAston
6353e7dd8c *Update movement enums - thanks to Zor for info.
*Add functions for position data streaming.

--HG--
branch : trunk
2010-08-04 14:39:45 +02:00
Shauren
705de07e7e Fixed Carrion Feeder pet talent
Removed useless code for Wolverine Bite

--HG--
branch : trunk
2010-08-04 12:12:58 +02:00
John Holiver
c4c0f5734e Really fix Sartharion adds loot farming this time.
--HG--
branch : trunk
2010-08-03 17:27:53 -03:00
Shauren
ee147d6402 Compile fix
--HG--
branch : trunk
2010-08-03 11:31:23 +02:00
Shauren
109bcb0927 Fixed Heart of the Phoenix pet spell
--HG--
branch : trunk
2010-08-03 10:47:38 +02:00
silinoron
14827321bf Add support for CreatureAI::DamageDealt used in a Zul'Aman script. Thanks joshwhedon.
--HG--
branch : trunk
2010-08-02 14:18:30 -07:00