Rat
5cb119e617
Core/AI: implemented SmartScripts System (still beta) not 100% complete
...
WARNING: Use scripts at own risk. You were warned.
NOTE0: creature, gameobject, areatrigger type scripts should be fully functional
NOTE1: has no effect on any core related stuff if not using any SmartScript
NOTE2: all event/action/etc descriptions can be found in SmartScriptMgr.h
SmartScripts is a reloadable DB-Sript system, with full control for special scripting,
like escorting, following, complex combat handling, pre-stored AI templates(caster, turret, etc) and much more
with a total of 66 events, 78 actions, 22 target types, and can be easily extended
--HG--
branch : trunk
2010-10-27 21:01:47 +02:00
Spp
0b4abbb48e
Core: Fix some warnings added in recent commits
...
--HG--
branch : trunk
2010-10-26 11:40:13 +02:00
Rat
23d3f72bcb
Core/World?: (forgotten commit) make SessionMap public , can be usaful in some places..
...
--HG--
branch : trunk
2010-10-25 18:47:30 +02:00
Rat
e4c27a2ffa
Core/TextMgr: updated with new funtions for future useage
...
--HG--
branch : trunk
2010-10-25 18:25:21 +02:00
Rat
a792e3d67c
Core/AI: added Gossip* and Quest* virtual functions to UnitAI, will be used in future system (not all functions hooked yet)
...
--HG--
branch : trunk
2010-10-25 18:23:45 +02:00
Rat
67346f449a
Core/Grids: implemented AllWorldObjectsInRange searcher, will be used in upcoming script engine
...
--HG--
branch : trunk
2010-10-25 18:13:49 +02:00
Rat
064b3fd2b3
Core/AI: use NullGameObjectAI for gameobjects with ScriptName
...
- use GameObjectAI with Transports too
--HG--
branch : trunk
2010-10-25 18:11:52 +02:00
Rat
b282438198
Core/ConditionMgr: small fix for CONDITION_QUEST_COMPLETE
...
--HG--
branch : trunk
2010-10-25 18:08:50 +02:00
azazel
ff0fdbfbea
Core/Guilds:
...
* on load initialize guild vector with maximum available guild id (to avoid reallocations while loading);
* reserve space for more than one guild when adding guild to guild vector in case when new guild is out of available vector's size (to avoid reallocations for at least 15 next new guilds).
--HG--
branch : trunk
2010-10-25 19:20:39 +06:00
Spp
3ac979e624
Core/Dungeon Finder: Fix a crash in UpdateProposal (added in 66a8af8214)
...
Closes issue 4564
--HG--
branch : trunk
2010-10-25 12:21:42 +02:00
Spp
ae38b0441b
Core/Opcodes: Change status type of CMSG_UPDATE_PROJECTILE_POSITION Opcode to unhandled
...
--HG--
branch : trunk
2010-10-25 12:00:54 +02:00
Spp
d7bcc25e38
Core/Map: Reenable error msg to find missing graveyards and use a better msg when a zone id is not found
...
--HG--
branch : trunk
2010-10-25 11:47:23 +02:00
Spp
f381e74c10
Core/Map: Add log to find bad zone ids when trying to find a graveyard
...
--HG--
branch : trunk
2010-10-25 11:28:42 +02:00
Spp
b1d759e79f
Core/Dungeon Finder: Fix proposal window now being removed after a proposal success
...
--HG--
branch : trunk
2010-10-25 11:26:22 +02:00
Spp
18de18e7b9
Core/Dungeon Finder: Prevent a crash in Leave by checking Player or Group exist
...
--HG--
branch : trunk
2010-10-25 11:26:01 +02:00
Spp
739f336618
Core: Fix warnings
...
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
Shauren
b96a206dc3
Core/Scripts: Moved OnPlayerLogout hook call before removing player, fixes crashes in scripts using this hook
...
--HG--
branch : trunk
2010-10-25 11:17:17 +02:00
Shauren
42065a236e
Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction
...
--HG--
branch : trunk
2010-10-25 11:12:47 +02:00
Shauren
4f5a60c487
Core/Scripts: Moved DamageDealt and DamageTaken down from CreatureAI to UnitAI
...
--HG--
branch : trunk
2010-10-24 22:12:35 +02:00
Spp
6d849ca34c
Core/Dungeon Finder: revert 5f4b58ea4bc5 (Do not allow 1 member groups)
...
- Last member in dungeon not being kicked will be handled in other way
--HG--
branch : trunk
2010-10-25 07:36:26 +02:00
Spp
3fc2d414b1
Core/Dungeon Finder: Use scripts to interact between groups and LFG
...
--HG--
branch : trunk
2010-10-25 07:29:53 +02:00
Spp
4cd2431cd7
Core/Dungeon Finder: Redo Find algorithm to select one proposal (not all and later pick one)
...
--HG--
branch : trunk
2010-10-25 07:16:46 +02:00
linencloth
9b8a457aeb
Core/DBLayer: Optimize creature formation loading
...
--HG--
branch : trunk
2010-10-25 02:32:33 +02:00
linencloth
2d692e9e87
Core/DBLayer: Optimize waypoint script loading
...
--HG--
branch : trunk
2010-10-25 02:31:19 +02:00
linencloth
3742e8ddec
Core/Transport: Prevent creature passengers from teleporting to an invalid grid.
...
--HG--
branch : trunk
2010-10-25 02:30:50 +02:00
Shauren
ae58481c21
Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
...
--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
2010-10-24 22:03:53 +02:00
Rat
5eb8ea2a5d
Core/ConditionMgr: added CONDITION_QUEST_COMPLETE, conditionValue1: questiID, true if player has the quest in the questlog as 'completed'
...
--HG--
branch : trunk
2010-10-24 21:44:58 +02:00
Shauren
88ae092744
Core/Quests: Use honor multiplier as base for calculating honor rewards, not the amount of kills (fix by Nay)
...
--HG--
branch : trunk
2010-10-24 21:32:26 +02:00
Shauren
d03aeab9ad
Scripts/Icecrown Citadel: Added Blood Prince Council script
...
Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets
Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony)
Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance
Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage
Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter
Scripts/Quests: Fixed quest "Unholy Infusion" (24749)
--HG--
branch : trunk
2010-10-24 21:27:02 +02:00
linencloth
07fa1bcbdf
Core/Creature: Implement FarTeleportTo (teleport to an other map)
...
Core/Transport: Cleanup and optimize transport and passenger handling
- Only transports will be active objects
- Reduced cpu and memory usage
- Using FarTeleportTo for creature passengers at transport teleportation
- Creatures won't be recreated on teleport
--HG--
branch : trunk
2010-10-24 02:55:50 +02:00
Rat
62739ed26f
Core/AI: implemented basic class for GameObjectAI
...
--HG--
branch : trunk
2010-10-23 23:31:37 +02:00
Shauren
e484a63622
Core/World: Changed corpse clean timer to 20 minutes (down from 3 hours)
...
--HG--
branch : trunk
2010-10-23 11:25:51 +02:00
click
f16c94701d
Core/World: Remove autobroadcast notifications from console (only showing when viewed in loglevel 3 (debug)) + some codestyle changes
...
--HG--
branch : trunk
2010-10-22 22:56:42 +02:00
Rat
e67f04d362
Core/ConditionMgr: added CONDITION_SOURCE_TYPE_VEHICLE_SPELL, sourceGroup=creatureTemplate.entry, sourceEntry=spellEntry
...
--HG--
branch : trunk
2010-10-22 22:45:11 +02:00
_manuel_
3ee05b26ce
Core/Spells: Now you can cast the Water Elemental's Freeze without cancelling its Waterbolt.
...
Author: dr.tenma
Fixes issue #4215
--HG--
branch : trunk
2010-10-22 17:22:38 -03:00
click
dc9708d09f
Core/Guild: And fix a typo... *sigh*
...
--HG--
branch : trunk
2010-10-22 21:51:19 +02:00
click
67d5708bf0
Core/DBLayer: Use DirectPExecute, NOT DirectExecute, since we're actually using parameters in the queries - my bad!
...
--HG--
branch : trunk
2010-10-22 21:38:22 +02:00
click
12289c872e
Core/DBLayer: Use DirectExecute instead of PQuery on some instance-saving queries
...
--HG--
branch : trunk
2010-10-22 21:08:27 +02:00
click
de0a8f9777
Core/Guilds: Adjust size of guildMap by 1 element, not 512 (fix by machiavelli)
...
--HG--
branch : trunk
2010-10-22 21:07:11 +02:00
click
a1319a2020
Core/Unit: Revert r457923c3f3 - combattimer handling from that revision is wrong, as it dictates wether not a creature will actually enter combat or not - with
...
the earlier change this ment that any creature entering combat would not properly continue if target moved.
--HG--
branch : trunk
2010-10-22 03:59:08 +02:00
click
caf8bbbe0a
Core/Grid: Fix infinity-loop in grid loading (patch by SilverIce)
...
--HG--
branch : trunk
2010-10-22 03:39:27 +02:00
click
cfa052d429
Core/Spells: Explicitly set target-effects to hot ONLY owner/caster and his/her pet for Hunter T10 Set bonuses and the Warlock T10 4P bonuses
...
Thanks to tenma for the mini-discussion on the subject.
--HG--
branch : trunk
2010-10-22 01:33:47 +02:00
click
30542a442d
Core/PetHandler: Implement CMSG_PET_STOP_ATTACK - thanks to zergtmn for the original code
...
--HG--
branch : trunk
2010-10-22 01:10:39 +02:00
click
8ac91ada22
Core/Unit: Fix leave combat timer - original patch by Laise
...
Needs further testing, give feedback if wrong.
--HG--
branch : trunk
2010-10-21 22:09:45 +02:00
click
03c6c34a4b
Core/Spells: Fix a small proc-issue with Warlpcl T10 4P bonuses (Devious Minds)
...
Same functionality as for 70728 (Exploit Weakness) - thanks to Svetilo for the heads up
--HG--
branch : trunk
2010-10-21 21:18:19 +02:00
click
e2dbc2e53a
Core/Spells: Fix a small proc-issue with hunter T10 set bonuses (Exploit Weakness)
...
(original fix by Dr.Tenma)
Comment issue #4362
From DBCs TargetA[0] is already set as TARGET_UNIT_PARTY_CASTER, which maps to TARGET_UNIT_CASTER,
so it should be enough to explicitly target the casters pet in this case, ie. just doing
spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; - feedback on this required.
--HG--
branch : trunk
2010-10-21 21:05:29 +02:00
linencloth
168a085723
Core/Guilds: Fix a crash
...
--HG--
branch : trunk
2010-10-21 17:15:13 +02:00
linencloth
d9d1ec3670
Core: optimize string splitting
...
- Mainly affects item loading performance
- Reduces guild loading time a lot
--HG--
branch : trunk
2010-10-21 16:56:51 +02:00
Spp
8996a10f6c
Core/Groups: Move OnGroupChangeLeader so it could be triggered when a leader leaves a group
...
--HG--
branch : trunk
2010-10-19 19:17:36 +02:00
Spp
959ef0878a
Core/Groups: Use the proper RemoveMethod when player leaves a group
...
--HG--
branch : trunk
2010-10-19 18:32:04 +02:00