Commit Graph
162 Commits
Author SHA1 Message Date
megamage 76e4dfe8dd *Store creatureData and goData for creatures and gos.
--HG--
branch : trunk
2009-05-31 21:04:04 -05:00
megamage f92e8315cf [7918] Improve portability in work with uint64 string format specifiers and in code literals. Author: VladimirMangos
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
      I64FMTD renamed to UI64FMTD for more clear name.
    * Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
      Please always use UI64LIT(0x00001) instead less portable 0x00001LL

--HG--
branch : trunk
2009-05-31 16:15:12 -05:00
megamage 5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -05:00
megamage da871e2fc0 *Move addcre/go functions from opvp to objmgr.
*Do not save respawn time for internally added cre/go.

--HG--
branch : trunk
2009-05-31 14:26:57 -05:00
megamage 8d1f4f9ea0 *Provide another way to implement dynamic spawns. Now a creature will call its zonescript before spawn to determine the spawned entry. This can be used to implement zones such as wintergrasp with less data requirement (only need to know the entry of counterpart creatures, not require spawn points)
*Use zonescript as basic class of opvp script and dugeon script (can also be used for bg)
*Store zonescript in worldobject.
*Add door for sapphiron.

--HG--
branch : trunk
2009-05-30 22:15:05 -05:00
megamage 89f4c1c444 *Add function FindNearestCreature and FindNearestGameObject to replace old FindCreature and FindGameObject
--HG--
branch : trunk
2009-05-29 16:49:28 -05:00
megamage 106766e4ac *Add an assert to find a bug.
--HG--
branch : trunk
2009-05-29 12:08:06 -05:00
megamage 4a7a63e438 *Add an errorlog in HasInArc function to find a bug.
--HG--
branch : trunk
2009-05-28 15:49:23 -05:00
megamage ba934b35d6 *Try to fix a freeze bug. (atan2(0,0) returns invalid value)
--HG--
branch : trunk
2009-05-27 13:22:21 -05:00
megamage cb72853dc6 *Cleanup message deliver functions. Remove unused parameters.
--HG--
branch : trunk
2009-05-27 09:09:22 -05:00
megamage d971d0121f *Do not consider possessed creatures as pet. Also fix the bug that possessed creature does not display spells.
--HG--
branch : trunk
2009-05-25 22:52:08 -05:00
megamage 452bda72a1 *When alliance and horde are in same group, also display pets as friendly.
--HG--
branch : trunk
2009-05-24 12:56:09 -05:00
megamage a4c88418ea *Fix the bug that warlock pet is not shown in stat window.
--HG--
branch : trunk
2009-05-24 12:28:26 -05:00
megamage 5ca07b38d3 *Fix a bug that cause quest GO cannot be open.
--HG--
branch : trunk
2009-05-23 10:08:35 -05:00
megamage 4ed847a6e3 *Implement spell effect wmo damage.
--HG--
branch : trunk
2009-05-21 10:01:03 -05:00
megamage d99e66d931 [7836] Fixes for distance range checks. Author: VladimirMangos
* ignore 0.0f min range limit (this correct case when 2 object overlapped)

    Also use int32 for temporary store GetSessionDbLocaleIndex result.

--HG--
branch : trunk
2009-05-17 10:09:06 -05:00
megamage 047cc95388 *Add some distance check functions. By VladimirMangos.
--HG--
branch : trunk
2009-05-14 16:50:47 -05:00
megamage 40a8e6d3ab *Rename some script functions (no real change).
--HG--
branch : trunk
2009-05-10 14:29:28 -05:00
megamage e35d07ad81 *Update Sapphiron script.
--HG--
branch : trunk
2009-05-09 10:50:41 -05:00
megamage 80bec6788c *Try to fix some bugs about pet spells and talents.
--HG--
branch : trunk
2009-05-08 17:15:19 -05:00
megamage fa1dcd16cf *Update summon system.
--HG--
branch : trunk
2009-05-06 13:34:11 -05:00
megamage e69d2cbed9 [7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
    npc_spellclick_spells, otherwise you won't be able to use them

--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage 1cfc04f1f5 [7745] Fixed gcc warnings. Author: AlexDereka
--HG--
branch : trunk
2009-05-03 22:21:46 -05:00
megamage 206556b111 *Fix broken creature trigger spell visual effect.
--HG--
branch : trunk
2009-05-03 11:06:48 -05:00
megamage 122d944945 *Update summon system.
*Fix the bug that shaman cannot summon fire elemental.
*Fix the bug that totem meters cannot be displayed.

--HG--
branch : trunk
2009-05-02 19:24:22 -05:00
megamage 182a04f5ea *Do not update object visibility immediately when object is added to map.
--HG--
branch : trunk
2009-05-01 11:26:19 -05:00
megamage 207c3f7aff *Fix a bug that player summoned creature does not count player as summoner.
--HG--
branch : trunk
2009-04-29 00:12:28 -05:00
megamage 5ac67c27f7 [7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos
Also use enum for gsmeobject states.

--HG--
branch : trunk
2009-04-27 18:36:10 -05:00
megamage bce871f253 *Fix a client crash caused by transport.
--HG--
branch : trunk
2009-04-23 00:12:29 -05:00
megamage 1cd8ea8c1a *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-22 17:50:26 -05:00
megamage 06667c40dd *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-21 15:43:03 -05:00
megamage 0c56b79e96 *Merge.
--HG--
branch : trunk
2009-04-20 20:31:20 -05:00
megamage df26c17a11 *Try to fix compile in linux.
--HG--
branch : trunk
2009-04-20 19:57:01 -05:00
megamage 95a0928190 *Merge.
--HG--
branch : trunk
2009-04-20 18:05:32 -05:00
megamage dc99a44797 *Add m_map in worldobject to make getmap faster.
--HG--
branch : trunk
2009-04-20 17:37:59 -05:00
megamage f0cbed1ad8 *Merge.
--HG--
branch : trunk
2009-04-17 15:29:55 -05:00
megamage c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
Anubisss 96ffb827ae *Better names for var Modelid.
--HG--
branch : trunk
2009-04-16 00:11:48 +02:00
megamage ea3e950758 *Fix build.
--HG--
branch : trunk
2009-04-11 23:42:50 -05:00
megamage 0010f7ffe3 [7648] Resolve problems with expected fall damage at near teleport. Author: VladimirMangos
Move near teleport landing code to WorldSession::HandleMoveTeleportAck.
    This make Player::TeleportTo code working in same way for both far/near teleports.
    Move mSemaphoreTeleport from WorldObject to Player and merge with DoNotMove (using 2 fields for far/near teleport flag).
    Skip movement packets until landing confirmation for near teleport from client.

--HG--
branch : trunk
2009-04-11 23:07:07 -05:00
megamage dda2fdff33 *Implement spell Disengage and Death Grip.
--HG--
branch : trunk
2009-04-11 22:41:15 -05:00
megamage c9005f636e *Improve setupatebit code. Also can get more debug info.
--HG--
branch : trunk
2009-04-11 12:00:43 -05:00
megamage 7f0e951104 *Revert the aura display fix of TC1 because it may not be needed in TC2.
--HG--
branch : trunk
2009-04-10 18:31:03 -05:00
megamage d1c2d98015 *Merge.
--HG--
branch : trunk
2009-04-10 18:01:15 -05:00
Rat e830ca7206 *fix auras (buff/debuff) original patch by Iskander
--HG--
branch : trunk
2009-04-10 23:48:44 +02:00
megamage 1694ab1f95 *Update Object deconstruct check.
--HG--
branch : trunk
2009-04-09 17:15:40 -05:00
megamage 5a71d93bd2 *Update vehicle code.
*Show correct visual effects to other players.
*Do not allow attack players on vehicle.
*Only dismiss vehicle when it is summoned.

--HG--
branch : trunk
2009-04-09 13:39:23 -05:00
QAston 02bb32f60f *Fix seals: command, justice, wisdom, light unleashing damage.
--HG--
branch : trunk
2009-04-09 14:58:25 +02:00
megamage e3272f2b0a *Merge.
--HG--
branch : trunk
2009-04-08 17:34:01 -05:00
megamage a7e04a252f *Add unit to notify when unit is add to world (including load grid case).
*Add some check in remove object function.

--HG--
branch : trunk
2009-04-08 17:23:57 -05:00