Commit Graph
10637 Commits
Author SHA1 Message Date
Rat e68c149e69 Core/ConditionMgr: use chamer/owner player for spell condition check where avaliable
--HG--
branch : trunk
2010-10-31 22:37:54 +01:00
Rat 96df97c5ae Core/SmartAI: fix logic in HAS_AURA event
note: copy-paste from eai is bad idea ..

--HG--
branch : trunk
2010-10-31 22:11:56 +01:00
Rat 32f088558d Core/ConditionMgr: added two new conditions NEAR_CREATURE and NEAR_GAMEOBJECT
--HG--
branch : trunk
2010-10-31 22:10:31 +01:00
Rat 9a02ae79c9 Core/Conditions: fixed a typo in logging
--HG--
branch : trunk
2010-10-31 15:39:09 +01:00
Rat 75c065637c Core/SmartAI: added new target type (invoker's vehicle)
-added new action: ENTER_VEHICLE (79), param1: seatID

--HG--
branch : trunk
2010-10-31 14:21:35 +01:00
Rat b6c8158f88 Core/Vehicles: temp fix visibility issues when creatures enter a vehicle, this also fixes the 'Ride Vehicle' type spells
note: isntance scripts using spell+EnterVehicle() hacks should be updated

--HG--
branch : trunk
2010-10-31 14:19:14 +01:00
Machiavelli 05a292633c Core/DBLayer:
- Fix a race condition in KeepAlive() when connections are using mysql context when ping is called.
- Don´t wait for locks to be released on a connection when pinging, this means the connection is not idle and locking is redundant.

Patch by admin@****.net

Fixes issue #4599

--HG--
branch : trunk
2010-10-31 10:55:29 +01:00
Rat c9bbe85e48 Core/DB: changed some errors to DB errors
--HG--
branch : trunk
2010-10-30 23:06:05 +02:00
Spp c9b6f44e9f Core/Groups: Add some checks to prevent a crash with Invites
Core/Groups: Use proper size with SMSG_GROUP_DECLINE Opcode

Fixes issue 4412. (Prevents the crash but the main reason of player being null not solved)

--HG--
branch : trunk
2010-10-29 14:09:25 +02:00
Shocker 7b35d0b2e8 Core/Spells: Deathfrost weapon enchantment shouldn't scale with spellpower
--HG--
branch : trunk
2010-10-29 00:21:39 +03:00
Shauren 618afa3656 Scripts/Icecrown Citadel: Fixed possible crash in Shadow Prison aura script
--HG--
branch : trunk
extra : rebase_source : 6eb3f49dece9087b4ac82a1cda236ca63ce97c24
2010-10-28 16:55:28 +02:00
runningnak3d bcce517c6d Core/Scripts: Fix exploit in ToC5 where vehicles could be used a
multipassenger mounts anywhere. Thanks Aokromes from reporting

--HG--
branch : trunk
2010-10-27 15:01:29 -06:00
Spp 1d7100b67f Core/Dungeon Finder: Fix a crash when someone leaves the group while a Rolecheck is active
--HG--
branch : trunk
2010-10-28 17:14:18 +02:00
silinoron f1f1823901 Core/SmartScript: Fix a compile error.
Thanks Aokromes for telling me it existed.

--HG--
branch : trunk
2010-10-27 20:03:42 -07:00
silinoron da4c2339bc Core: Add a warning message for those who are using SFMT for random number generation.
Patch and suggestion by Paradox.

--HG--
branch : trunk
2010-10-27 19:51:41 -07:00
Rat afe683aff4 Core/AI: fix debug / nix build
--HG--
branch : trunk
2010-10-27 23:19:35 +02:00
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
Shauren c9fba03da9 Scripts/Icecrown Citadel: Fixed Gaseous Blight removal on Festergut's death
Scripts/Icecrown Citadel: Added missing in room check for Blood Prince Council
Scripts/Icecrown Citadel: Fixed Professor Putricide facing during phase transitions

--HG--
branch : trunk
2010-10-27 18:46:48 +02:00
Shauren ba6fc58bad Core/Spells: Fixed "not handled custom case" log spam for Sniper Training
--HG--
branch : trunk
2010-10-26 15:36:32 +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 2e08f94338 Core/Dungeon Finder/Script: Move debug log msg to debug priority
--HG--
branch : trunk
2010-10-25 13:00:34 +02: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
Shauren 8ab5a04b7f Core/Spells: Fixed coefficient of Frostbolt, by A.Metaphysical.Drama
Closes issue #4386.

--HG--
branch : trunk
2010-10-25 12:17:26 +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 4acf6012a8 Scripts/Pit of Saron: Added script for Overlord's Brand aura
--HG--
branch : trunk
2010-10-25 11:23:29 +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
click 910264070c Core/OpenPVP: Fix Outdoor PVP objectives in Eastern Plaguelands - patch by retriman, converted by D_Skywalker
--HG--
branch : trunk
2010-10-25 01:51:48 +02:00
click 989f696d1e Core/Scripts: Fix chest respawn exploit in Hellfire Rampart - origjnal fix by Gyullo (thanks)
--HG--
branch : trunk
2010-10-25 01:39:18 +02:00
click b3f60aee2d Core/Scripts: Fix non-PCH compile
--HG--
branch : trunk
2010-10-25 01:22:00 +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