Commit Graph
100 Commits
Author SHA1 Message Date
megamage eb9bb0dc5d *Add some update from TC1. I am not able to merge from TC1 because bg patch has too many conflicts. TC1 authors: please merge your patch to TC2 after pushing it to TC1.
--HG--
branch : trunk
2009-04-04 13:22:56 -06:00
megamage e53521d228 *Merge.
--HG--
branch : trunk
2009-04-04 13:11:03 -06:00
megamage b858dd535a *Fix the bug that pet cannot be put in stable.
--HG--
branch : trunk
2009-04-03 18:22:46 -06:00
megamage 837e15405d *Fix a bug about pet talents.
--HG--
branch : trunk
2009-04-03 17:29:27 -06:00
megamage ef3295d279 *Fix broken execute.
--HG--
branch : trunk
2009-04-03 16:59:01 -06:00
megamage 84a74b2155 *Update eventAI to SD2 979. Author: nofantasy.
--HG--
branch : trunk
2009-04-03 16:54:20 -06:00
megamage ebc836f424 *Merge.
--HG--
branch : trunk
2009-04-03 16:43:15 -06:00
megamage b922da4db1 [7611] Prevent casting owner spell/use item or gameobject by mind controlled player or creature. Author: VladimirMangos
This also prevent some crashes in like wrong case.
[7610] skipped.

--HG--
branch : trunk
2009-04-03 16:42:19 -06:00
megamage 3d1200f4ac [7609] Trailing whitespace cleaning Author: freghar
--HG--
branch : trunk
2009-04-03 16:39:21 -06:00
megamage df479707e2 [7608] Implement ACHIEVEMENT_CRITERIA_TYPE_USE_GAMEOBJECT. Author: VladimirMangos
--HG--
branch : trunk
2009-04-03 16:37:06 -06:00
megamage cb8b3fe5db [7607] Improvements in support some generic achievement classes Author: VladimirMangos
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
    * Implement support achievement complete req. with specific count of completed critirias.
    * Avoid full achievement list scan at search achievement associated with criteria.

--HG--
branch : trunk
2009-04-03 16:36:20 -06:00
megamage f7cc04e9dd [7606] Fix use % power burn in effects Author: Lutik
--HG--
branch : trunk
2009-04-03 16:33:25 -06:00
megamage 8ad562d008 [7605] Counting in ACHIEVEMENT_CRITERIA_TYPE_USE_ITEM only for not triggered item casted spells. Author: VladimirMangos
--HG--
branch : trunk
2009-04-03 16:31:37 -06:00
megamage 34f9778296 *Add some checks during object deconstruction.
--HG--
branch : trunk
2009-04-03 16:28:15 -06:00
megamage c48ea87a03 *Fix some crash when unit is removed.
--HG--
branch : trunk
2009-04-03 14:51:40 -06:00
megamage 19f725cd51 *Try to fix the bug of visibility update.
--HG--
branch : trunk
2009-04-03 14:44:34 -06:00
Rat 893eb77a07 *hopefuly fix Thrall reset bug
--HG--
branch : trunk
2009-04-03 22:20:19 +02:00
megamage b449693f17 *Fix a crash of warbringer_omrogg script.
--HG--
branch : trunk
2009-04-03 12:01:50 -06:00
Rat 335c04b791 *added new escortAI functions (does not effect already coded escort scripts)
--HG--
branch : trunk
2009-04-03 17:57:57 +02:00
megamage dd2a8443d5 *Also call combatstart when applying areaaura/persistant aura
--HG--
branch : trunk
2009-04-02 22:23:51 -06:00
megamage 2bc033a328 *Fix bugs related to hunter and warlock pets.
--HG--
branch : trunk
2009-04-02 22:03:25 -06:00
megamage f2e88cae51 *Fix some visibility bug.
--HG--
branch : trunk
2009-04-02 20:27:10 -06:00
megamage fbf36c9afe *Fix build. Sorry.
--HG--
branch : trunk
2009-04-02 19:09:52 -06:00
megamage 8e0a0877e1 *Try to fix the bug that pet cause client crash.
--HG--
branch : trunk
2009-04-02 19:05:17 -06:00
megamage bd6974abcd *Merge.
--HG--
branch : trunk
2009-04-02 18:34:41 -06:00
megamage 3d0dc473f1 [7601] Not check reagents for triggered spells, it checked and taken at triggered spell casting moment in original spell. Author: VladimirMangos
--HG--
branch : trunk
2009-04-02 16:50:37 -06:00
megamage 9f65886787 [7600] Apply at far teleport AURA_INTERRUPT_FLAG_MOVE and AURA_INTERRUPT_FLAG_TURNING in simlar to near teleport case. Author: VladimirMangos
--HG--
branch : trunk
2009-04-02 16:49:52 -06:00
megamage 03f482fb8e [7598] Implement proper hide out of range (at another map) transports. Remove duplicate name field. Author: VladimirMangos
--HG--
branch : trunk
2009-04-02 16:49:29 -06:00
megamage 943d0c6e2d [7597] Fixed crash at stealing single target auras (54648 for example) Author: arrai
--HG--
branch : trunk
2009-04-02 16:44:18 -06:00
megamage 4a3066392f [7596] Better use wmo MOPY flags data on extract vmaps. No changes, just speedup. Author: DiSlord
--HG--
branch : trunk
2009-04-02 16:36:36 -06:00
megamage 4ca04684f2 [7593] Map::EnsureGridLoaded related cleanups and fixes: Author: VladimirMangos
* Make generic EnsureGridLoaded function and move specialized code to LoadGrid and EnsureGridLoadedAtEnter
    * Rename args to gx/gy for low-level grid numbering values.
    * Remove redundent LoadMpa call after always case loading maps in EnsureGridCreated

--HG--
branch : trunk
2009-04-02 16:33:35 -06:00
Rat 43b9dbe31e *fixed Black Temple doors
--HG--
branch : trunk
2009-04-02 23:22:20 +02:00
megamage 2ea4fab57f *Try to fix a crash caused by dualcomplete.
--HG--
branch : trunk
2009-04-02 13:47:10 -06:00
megamage 1f1a082697 *Fix a crash of delrissa script.
--HG--
branch : trunk
2009-04-02 13:16:49 -06:00
megamage fe0a01d82a *Try to fix a crash.
--HG--
branch : trunk
2009-04-02 12:46:02 -06:00
Rat be4cdba28b *fix teron gorefiend's doom blossom
--HG--
branch : trunk
2009-04-02 20:17:45 +02:00
megamage 09757c1d59 *Fix a crash bug.
--HG--
branch : trunk
2009-04-02 09:04:39 -06:00
megamage f548b4a9a0 *Fix broken summon vehicle spells.
--HG--
branch : trunk
2009-04-01 22:40:12 -06:00
megamage 30eedaa72d *Try to fix some crash.
--HG--
branch : trunk
2009-04-01 21:17:59 -06:00
megamage 1b6c44dae5 *Fix a crash of Illidan script.
--HG--
branch : trunk
2009-04-01 21:17:06 -06:00
megamage 4ed49490ae *Merge.
--HG--
branch : trunk
2009-03-31 18:22:32 -06:00
megamage 8408fb7cd3 *Merge.
--HG--
branch : trunk
2009-03-31 18:21:45 -06:00
megamage 7f209249a2 *Do not call reset in construct funciton of script.
*Add function doaction to safely pass parameters between scripts.

--HG--
branch : trunk
2009-03-31 18:12:49 -06:00
megamage bd1a630463 *Fix build.
--HG--
branch : trunk
2009-03-31 17:10:23 -06:00
megamage b91529fd8e *Backport some code from TC2.
--HG--
branch : trunk
2009-03-31 14:40:54 -06:00
megamage 84f3bf8b71 *Update 52375 and ranks code. Author: Charlie2025
--HG--
branch : trunk
2009-03-31 14:25:38 -06:00
megamage a0dfedfab6 *Merge.
--HG--
branch : trunk
2009-03-31 14:21:20 -06:00
megamage 4afd030b48 *Merge.
--HG--
branch : trunk
2009-03-31 14:17:57 -06:00
megamage b51cea6ce4 *Remove some code which may cause crash.
--HG--
branch : trunk
2009-03-31 14:08:38 -06:00
XTZGZoReX 1fe8050b09 * Remove unexisting config.h and svn_revision.h from TrinityScript vcproject.
--HG--
branch : trunk
2009-03-31 19:04:15 +02:00
megamage 031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage be89c6bb2a [7590] Prevent send achievement packets at login. Author: VladimirMangos
For speed (player not in world and grid broadcast not work anyway)
    and correctness (guild members don't must be spammed)

--HG--
branch : trunk
2009-03-31 07:43:20 -06:00
megamage 77cf2aab0f [7589] Fixed Assault sounds in Arathi basin. Author: darkEvil
--HG--
branch : trunk
2009-03-31 07:42:13 -06:00
XTZGZoReX 8168e7144c * Some changes to last commit. This must be the correct way.
--HG--
branch : trunk
2009-03-31 10:01:21 +02:00
XTZGZoReX 6f5efa3c7a * Do not print chat logs to console. It will simply screw up console output.
* Fix a possible crash in if/else checks in channel chat logging.

--HG--
branch : trunk
2009-03-31 09:18:03 +02:00
raczman f2df7bbdcc Probably fix a crash in SocialMgr.cpp
--HG--
branch : trunk
2009-03-31 08:36:54 +02:00
raczman 075d8a44a5 Optimize storage for eventAI. Store as Map of creature id's linked to vectors of events used by that creature id
Author of both commits: NoFantasy.

--HG--
branch : trunk
2009-03-31 00:15:17 +02:00
raczman 8e308da259 Allow eventAI creature have events both inside instance and outside, without producing error message.
Note that EFLAG_NORMAL/EFLAG_HEROIC must still be defined if this event should trigger in this mode. Creature outside instance will always use all events regardless.

--HG--
branch : trunk
2009-03-30 23:45:17 +02:00
raczman e097f358a1 Fix build after importing Kudlaty's script.
--HG--
branch : trunk
2009-03-30 17:40:47 +02:00
raczman e0637c6c20 Added script for GO 185913 by Kudlaty.
--HG--
branch : trunk
2009-03-30 17:24:13 +02:00
raczman 3f985645db Added GO gossip menu support. Kudos and cookies to arrai.
--HG--
branch : trunk
2009-03-30 16:57:17 +02:00
megamage ba99171d5b [7585] Implement quest item 39164 work. Author: KiriX
--HG--
branch : trunk
2009-03-29 17:22:58 -06:00
megamage d332c7225b [7584] Fixed compiler warning at windows Author: arrai
--HG--
branch : trunk
2009-03-29 17:21:48 -06:00
megamage 7668b6aae6 [7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. Author: VladimirMangos
--HG--
branch : trunk
2009-03-29 17:21:06 -06:00
megamage 77d2786091 [7582] Prevent memory corruption at DBC loading. Thanks to Lynx3d for investigating that issue Author: arrai
--HG--
branch : trunk
2009-03-29 17:19:47 -06:00
megamage d0877fa006 [7581] Move spell 58418, 58420 to script effect (first) from dummy (second). Author: VladimirMangos
In new spell data second dummy effect often use for additional info (script+dummy) or (dummy+dummy) and not called in fact.

--HG--
branch : trunk
2009-03-29 17:18:51 -06:00
megamage 5840bf4467 [7580] Add Policies/Singleton.h include in all headers where it expected. Author: VladimirMangos
--HG--
branch : trunk
2009-03-29 17:18:01 -06:00
megamage 28532e2524 [7579] Check quest state and more generic code use for 58418, 58420.Author: GriffonHeart
--HG--
branch : trunk
2009-03-29 17:16:30 -06:00
megamage e3da95f16a [7578] Replace generic [7577] implememtaion by more explicit code. Author: VladimirMangos
This must restore build at Unix/Linux.

--HG--
branch : trunk
2009-03-29 17:15:37 -06:00
megamage 43a08cdfa0 *Fix build in linux.
--HG--
branch : trunk
2009-03-29 15:32:50 -06:00
raczman 9d02feed4f Removed obsolete file
--HG--
branch : trunk
2009-03-29 23:15:10 +02:00
raczman d8bd91cf34 Removed automake from TC for good. ACE automake is still there, for folks who want to build ACE from dep/ACE_wrappers.
--HG--
branch : trunk
2009-03-29 23:14:53 +02:00
megamage 889d9f10e7 *Fix build in linux.
--HG--
branch : trunk
2009-03-29 15:03:50 -06:00
megamage faaa052dff *Fix build.
--HG--
branch : trunk
2009-03-29 13:38:50 -06:00
megamage e528611141 *Fix a crash.
--HG--
branch : trunk
2009-03-29 11:58:19 -06:00
megamage 3733af4d6a *Fix a typo of the last commit.
--HG--
branch : trunk
2009-03-29 10:16:05 -06:00
megamage 666db14e7c *Try to fix a crash caused by attackstop.
--HG--
branch : trunk
2009-03-29 10:12:04 -06:00
megamage 09342fe2be *Fix a crash when toggle autocast for pet.
--HG--
branch : trunk
2009-03-29 09:45:47 -06:00
Drahy 60710d6116 * Used trinity sql coding style for proper import
--HG--
branch : trunk
2009-03-29 11:25:40 +02:00
megamage 783e4fd3ff *Add new creature_template column VehicleId
*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
2009-03-28 22:44:09 -06:00
megamage 3a485c658d *Fix a bug that pet does not toggle autocast when loaded.
--HG--
branch : trunk
2009-03-28 22:05:12 -06:00
megamage 6e438e38ec *Temp fix build in linux.
--HG--
branch : trunk
2009-03-28 19:43:04 -06:00
megamage 829c8022ac [7577] Implement YellToZone for different world object types. Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 18:03:56 -06:00
megamage 4bd98db3ab [7575] Avoid unrelated skill search at ACHIEVEMENT_CRITERIA_TYPE_*_SKILL_LEVEL update Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 18:00:33 -06:00
megamage eee2d0216e [7573] Implement ACHIEVEMENT_CRITERIA_TYPE_LEARN_SKILL_LEVEL Author: Trazom
--HG--
branch : trunk
2009-03-28 17:58:21 -06:00
megamage 6581497411 [7572] Use enum type instead int for World::SendServerMessage arg Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 17:56:15 -06:00
megamage bf1cb43b3a *Merge.
--HG--
branch : trunk
2009-03-28 17:54:44 -06:00
megamage b1c5d4c593 Implement initial known taxi nodes for DK. Author: Lightguard, VladimirMangos
--HG--
branch : trunk
2009-03-28 17:50:36 -06:00
megamage f69c48202f [7571] Implemented AttributesEx4 & 0x40 - SPELL_ATTR_EX4_NOT_STEALABLE Author: arrai
Flag has been verified by comparing 3.0.3 AttributesEx4 value of spell 55336 with 3.0.9 one

--HG--
branch : trunk
2009-03-28 17:47:12 -06:00
megamage 3256b75ac5 [7569] Fix typo in spell damage/healing default bonus for staked spell Author: pasdVn
--HG--
branch : trunk
2009-03-28 17:45:00 -06:00
megamage b7001f6135 *Fix build.
--HG--
branch : trunk
2009-03-28 17:40:07 -06:00
megamage 12bb5538b5 [7568] Spell proc event data from forums Author: DiSlord
--HG--
branch : trunk
2009-03-28 17:36:49 -06:00
megamage 6d138d2e5e [7567] Fix charges count for 51124 Author: miebaik
--HG--
branch : trunk
2009-03-28 17:35:41 -06:00
megamage 85e497eb58 [7566] Fix shield block value pct mod use (apply it on strength bonus also) Author: DiSlord
--HG--
branch : trunk
2009-03-28 17:34:29 -06:00
megamage 4bf4575f9a Fix typo in spell block chance calc Author: pasdVn
--HG--
branch : trunk
2009-03-28 17:33:46 -06:00
megamage 2ab52aa2a1 [7565] Move all hardcoded strings used in .account onlinelist to DB. Author: VladimirMangos
Also update format as originally suggested by Cha0S2.

--HG--
branch : trunk
2009-03-28 17:31:27 -06:00
Drahy 34c0777ff2 * Added trinity sql coding style
--HG--
branch : trunk
2009-03-28 23:53:06 +01:00
megamage b72b2a2f5e [7564] fixed WorldObject::HasInArc(): must return true if testing self Author: fgenesis
--HG--
branch : trunk
2009-03-28 16:36:54 -06:00
megamage 4797684f3b [7562] Drop code for now not existed spell support. (Touch of Weakness triggered spell) Author: cccyril
--HG--
branch : trunk
2009-03-28 16:34:34 -06:00
megamage 6dff0bfd5e [7560] Implement IconName for gameobject Author: NoFantasy
--HG--
branch : trunk
2009-03-28 16:28:36 -06:00