XTZGZoReX
e03c873bcf
* Move weather management to new WeatherMgr (yes, I care that much about the weather - I really do).
...
--HG--
branch : trunk
2010-08-08 05:06:13 +02:00
XTZGZoReX
18dce8897f
* Rename: Sha1Hash -> SHA1Hash.
...
--HG--
branch : trunk
2010-08-08 04:49:04 +02:00
XTZGZoReX
909e332579
* Rename: BattleGround -> Battleground.
...
--HG--
branch : trunk
2010-08-08 04:37:24 +02:00
click
3d1efa6ed7
Renaming a little bit more - this IS war!
...
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/BattleGroundQueue.cpp => src/server/game/Battlegrounds/BattlegroundQueue.cpp
rename : src/server/game/BattleGrounds/BattleGroundQueue.h => src/server/game/Battlegrounds/BattlegroundQueue.h
2010-08-08 04:27:32 +02:00
click
4cb0f25b94
Some consistency-cleanups on the TC battleground (This means war?)
...
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/ArenaTeam.cpp => src/server/game/Battlegrounds/ArenaTeam.cpp
rename : src/server/game/BattleGrounds/ArenaTeam.h => src/server/game/Battlegrounds/ArenaTeam.h
rename : src/server/game/BattleGrounds/BattleGround.cpp => src/server/game/Battlegrounds/Battleground.cpp
rename : src/server/game/BattleGrounds/BattleGround.h => src/server/game/Battlegrounds/Battleground.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.h => src/server/game/Battlegrounds/Zones/BattlegroundAA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.h => src/server/game/Battlegrounds/Zones/BattlegroundAB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.h => src/server/game/Battlegrounds/Zones/BattlegroundAV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.cpp => src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.h => src/server/game/Battlegrounds/Zones/BattlegroundBE.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.h => src/server/game/Battlegrounds/Zones/BattlegroundDS.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.cpp => src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.h => src/server/game/Battlegrounds/Zones/BattlegroundEY.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.cpp => src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.h => src/server/game/Battlegrounds/Zones/BattlegroundIC.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundNA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.h => src/server/game/Battlegrounds/Zones/BattlegroundNA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.h => src/server/game/Battlegrounds/Zones/BattlegroundRB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.h => src/server/game/Battlegrounds/Zones/BattlegroundRL.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.h => src/server/game/Battlegrounds/Zones/BattlegroundRV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.h => src/server/game/Battlegrounds/Zones/BattlegroundSA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.h => src/server/game/Battlegrounds/Zones/BattlegroundWS.h
2010-08-08 04:12:18 +02:00
XTZGZoReX
bee3e7c681
* Some cleanups and fixes in cmakes.
...
--HG--
branch : trunk
2010-08-08 04:08:18 +02:00
XTZGZoReX
66f1ac04d5
* Rename SARC4 to ARC4.
...
--HG--
branch : trunk
2010-08-08 03:55:24 +02:00
XTZGZoReX
d15556589d
* Move BattleGroundQueue to its own cpp/h.
...
--HG--
branch : trunk
2010-08-08 03:41:46 +02:00
click
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
--HG--
branch : trunk
2010-08-08 03:33:21 +02: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
36fffd9550
Properly fix problems with applying/removing mods on disarmed items.
...
--HG--
branch : trunk
2010-08-07 16:40:33 -07:00
silinoron
5aa6bb2169
Fix an exploit allowing druids to gain substantial stat increases.
...
Fixes issue #3316
--HG--
branch : trunk
2010-08-07 16:19:52 -07: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
Shauren
d3712984c1
Fixed build errors in AchievementMgr
...
--HG--
branch : trunk
2010-08-07 23:46:00 +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
click
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)
--HG--
branch : trunk
2010-08-07 21:48:20 +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
XTZGZoReX
40db22ead0
* Update PackageList.txt.
...
--HG--
branch : trunk
2010-08-07 19:06:43 +02:00
click
ce435f6d4f
BuildSystem/VS: Remove now defunct an unmaintained buildfiles - use CMake for generating solutionfiles
...
--HG--
branch : trunk
2010-08-07 19:01:57 +02:00
Shauren
3cc24e0971
Moved OutdoorPvP scripts from game to scripts in VS projects
...
--HG--
branch : trunk
2010-08-07 18:40:17 +02:00
Shauren
481c0cef3f
Use proper WHERE query in 9240_world_achievement_criteria_data.sql
...
--HG--
branch : trunk
2010-08-07 18:37:20 +02:00
Shauren
8ada64e337
Missed this file
...
--HG--
branch : trunk
2010-08-07 18:32:41 +02:00
Shauren
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)
--HG--
branch : trunk
2010-08-07 18:31:06 +02:00
XTZGZoReX
9794e99d8a
* Some fixes and cleanups.
...
--HG--
branch : trunk
2010-08-07 17:58:45 +02:00
XTZGZoReX
aff24e3598
* Some cleanups in world_scripts_full.sql.
...
* SQL updates for `battleground_template`.`Comment` (by Click), and `outdoorpvp_template` content.
--HG--
branch : trunk
2010-08-07 17:30:14 +02:00
Shauren
431301c1b2
Added support for scripting achievement criteria checks using ACHIEVEMENT_CRITERIA_DATA_TYPE_SCRIPT (11)
...
--HG--
branch : trunk
2010-08-07 16:48:34 +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
click
b0890c32fc
Add #ifdef SCRIPTS to ScriptLoader-functions when using with -DSCRIPTS=0
...
--HG--
branch : trunk
2010-08-07 15:49:28 +02:00
XTZGZoReX
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.
--HG--
branch : trunk
2010-08-07 15:26:24 +02:00
click
f296addc47
Correction on previous commit: use uint32 and not simple ints
...
--HG--
branch : trunk
2010-08-07 15:04:28 +02:00
click
f2ddd5d067
Force script-template to build nicely under GCC (thanks to Machiavelli and Zor)
...
--HG--
branch : trunk
2010-08-07 14:57:54 +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
f1c571a79e
* Added new World::OnStartup/OnShutdown hooks.
...
--HG--
branch : trunk
2010-08-07 14:30:10 +02:00
XTZGZoReX
360e028331
* Add new TransportScript::OnRelocate hook.
...
* TransportScript::OnUpdate is now called on every tick, not just on movement update.
--HG--
branch : trunk
2010-08-07 14:17:32 +02:00
XTZGZoReX
bcfc58a72d
* Script-side changes for my last commit.
...
--HG--
branch : trunk
2010-08-07 13:46:08 +02:00
XTZGZoReX
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.
--HG--
branch : trunk
2010-08-07 13:07:18 +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
bef8372fe2
Rename ScriptMgr::OnRemoveAuction to ScriptMgr:OnAuctionRemove for consistency. Thanks Paradox for pointing it out.
...
--HG--
branch : trunk
2010-08-06 21:49:39 -07:00
silinoron
443226c562
Unholy Blight should prevent the dispelling of diseases.
...
Fixes issue #2609
Fixes issue #2982
--HG--
branch : trunk
2010-08-06 21:32:42 -07: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
XTZGZoReX
2cdd868645
* Merge.
...
--HG--
branch : trunk
2010-08-06 23:22:21 +02:00
XTZGZoReX
0993b1fcb5
* Fixes for Linux build.
...
--HG--
branch : trunk
2010-08-06 23:21:58 +02:00
azazel
1c39e1a2f5
* Made only 71-80 BGs award arena points to winners (as of 3.3 patchnotes)
...
* Removed on_events.cpp from VS project file
--HG--
branch : trunk
2010-08-07 01:58:23 +06: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
8a22c60150
* Err...
...
--HG--
branch : trunk
2010-08-06 20:07:04 +02:00
XTZGZoReX
c9877c04dd
* Separated script loading into multiple functions.
...
* Added function AddCustomScripts() - this is where all non-TC scripts should be added.
--HG--
branch : trunk
2010-08-06 19:57:33 +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
255158f535
* Fixed some CRLF that magically made its way into this file...
...
--HG--
branch : trunk
2010-08-06 19:34:24 +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
XTZGZoReX
b63a31f513
* Added outdoorpvp_template table (currently unused).
...
* Added DISABLE_TYPE_OUTDOORPVP (5) which can disable outdoorpvp_template entries.
--HG--
branch : trunk
2010-08-06 18:03:09 +02:00
XTZGZoReX
edc4c3317c
* Cleanups in OutdoorPvP code (mostly formatting). Also removed useless file.
...
--HG--
branch : trunk
2010-08-06 17:00:39 +02:00
XTZGZoReX
e4cab07f32
* Add ScriptName to conditions.
...
--HG--
branch : trunk
2010-08-06 16:33:31 +02:00
XTZGZoReX
fd34134a45
* Add ScriptName to game_weather.
...
--HG--
branch : trunk
2010-08-06 16:28:17 +02:00
Shauren
fda697a1e7
Implemented ACHIEVEMENT_CRITERIA_TYPE_EARN_ACHIEVEMENT_POINTS
...
Fixed timed achievements timer restarting on every map change
Added missed change in instance_template format
--HG--
branch : trunk
2010-08-06 14:56:41 +02:00
Shauren
07348ff4af
Added ScriptName to battleground_template for script system rewrite
...
--HG--
branch : trunk
2010-08-06 13:47:17 +02:00
azazel
6a202826e6
Remove obsolete files from project. Thanks [email protected] for pointing this out. Closes issue #3257
...
--HG--
branch : trunk
2010-08-06 17:39:18 +06:00
Shauren
9b22ad006b
Removed unused access_id from instance_template table (obsolete since access_requirement rewrite)
...
Fixed build issues with my previous commit
--HG--
branch : trunk
2010-08-06 13:12:18 +02:00
Liberate
c0df111bb0
Fixes an exploit to get 65k spell power.
...
Fixes issue #3212
--HG--
branch : trunk
2010-08-06 13:00:16 +02:00
Shauren
7cae47210e
Added ScriptName to transports table for script system rewrite
...
--HG--
branch : trunk
2010-08-06 12:13:13 +02:00
XTZGZoReX
9cfef5c39f
* Minor correction to world_database.sql.
...
--HG--
branch : trunk
2010-08-06 12:02:07 +02:00
azazel
eb5fb3664b
* Add NULL-pointer check to CharmInfo destructor. Closes issue #3287 .
...
* Remove references to AuctionHouseBot files from win project.
--HG--
branch : trunk
2010-08-06 15:50:12 +06:00
azazel
4fb3098d18
* Add NULL-pointer check to CharmInfo destructor. Closes issue #3287 .
...
* Remove references to AuctionHouseBot files from win project.
--HG--
branch : trunk
2010-08-06 12:28:37 +06:00
click
1565fe4ff4
Adjust maximum sizes of some healthcalculations over to utilize 64-bit uint
...
--HG--
branch : trunk
2010-08-06 05:11:28 +02:00
click
9a21459c9d
Forgot two removals in previous commit
...
--HG--
branch : trunk
2010-08-06 04:29:40 +02:00
click
f5d57f05f7
Remove AuctionHouseBot-functionality from core (some cleanups may be required)
...
--HG--
branch : trunk
2010-08-06 04:22:07 +02:00
click
0caaa3e478
Revert changes done in r0074e32c2f and r4d86e4199a - fixes buildissues ( if()+reinterpret_cast is faster than dynamic_casts btw )
...
--HG--
branch : trunk
2010-08-06 03:00:39 +02:00
silinoron
71ef21de21
Add helper Player::GetAverageItemLevel() function for future use in Dungeon Finder and vehicle scaling.
...
--HG--
branch : trunk
2010-08-05 14:18:33 -07:00
azazel
309970936c
Remove phasing when player enters/leaves instance (by 2010phenix)
...
Closes issue #3279
--HG--
branch : trunk
2010-08-06 00:24:11 +06:00
azazel
f9a51dc214
* Corpse related cleanup (author: Hunuza)
...
* Avoid saving of the corpse in arenas (author: VladimirMangos)
--HG--
branch : trunk
2010-08-06 00:15:29 +06:00
Shauren
4773aad26b
Make use of new ToItem() casts
...
--HG--
branch : trunk
2010-08-05 18:43:30 +02:00
Shauren
c94046b065
Make typecasting methods *really* safe and get rid of redundant typeId/Typemask checks, thanks Zor and Machiavelli for help
...
--HG--
branch : trunk
2010-08-05 17:01:25 +02:00
Shauren
30194bdd61
Add forgotten proc flags in revision ed3790455dfd (9166)
...
--HG--
branch : trunk
2010-08-05 18:28:23 +02: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
Shauren
a042b972ed
Fixed pet talents amount exploit
...
Closes issue #3273 .
--HG--
branch : trunk
2010-08-05 11:33:54 +02:00
QAston
e659c3faf3
*Update CMSG_USE_ITEM opcode to fit new clientCastFlag handling.
...
--HG--
branch : trunk
2010-08-04 22:52:35 +02:00
azazel
f3eab91102
* Convert SCRIPT_COMMAND_* defines to enum. Make comments for values up-to-date.
...
* Cleanup ScriptsProcess method. Move repeating parts of code to inline helper methods.
* Improve SCRIPT_COMMAND_CAST_SPELL command. You can specify triggered attribute when datalong2 = 4 by making dataint negative.
* Improve SCRIPT_COMMAND_KILL command. Now, if source is not a creature, it tries to use target object instead.
--HG--
branch : trunk
2010-08-05 00:55:10 +06:00
QAston
96fa91034f
Missing part of r7dd45a0182 :(
...
--HG--
branch : trunk
2010-08-04 20:34:08 +02:00
QAston
bc8c74475e
*Fix a crash in Aura::UnregisterSingleTarget.
...
--HG--
branch : trunk
2010-08-04 20:03:33 +02:00
QAston
2789b30d19
*Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones.
...
--HG--
branch : trunk
2010-08-04 19:44:34 +02:00