Commit Graph

136 Commits

Author SHA1 Message Date
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
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
megamage
69657cad7c *Try to fix the bug that pet is not attackable during duel/arena.
--HG--
branch : trunk
2009-04-06 12:09:22 -05:00
megamage
d95d81f765 *Update the crash check in object.cpp.
--HG--
branch : trunk
2009-04-05 17:16:05 -05:00
QAston
20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage
9a03bb1e5f *Backport some contents from TC2.
--HG--
branch : trunk
2009-04-04 20:31:29 -06:00
megamage
899a39ea1e *Fix a bug that makes server cannot start up.
--HG--
branch : trunk
2009-04-04 14:58:31 -06:00
megamage
fc5da8a7bf *Add check in ClearUpdateMask.
--HG--
branch : trunk
2009-04-04 14:09:44 -06:00
megamage
34f9778296 *Add some checks during object deconstruction.
--HG--
branch : trunk
2009-04-03 16:28:15 -06:00
megamage
fe0a01d82a *Try to fix a crash.
--HG--
branch : trunk
2009-04-02 12:46:02 -06:00
megamage
30eedaa72d *Try to fix some crash.
--HG--
branch : trunk
2009-04-01 21:17:59 -06:00
megamage
031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -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
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
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
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
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
1c2e62d2f4 *Backport a missing function from TC2.
--HG--
branch : trunk
2009-03-26 08:50:51 -06:00
megamage
1c2eab4110 *Fix a crash caused by pet.
*Make pet class derived from guardian class.

--HG--
branch : trunk
2009-03-25 21:32:34 -06:00
megamage
9f27e0be86 *Fix a crash caused by active object.
--HG--
branch : trunk
2009-03-25 18:14:18 -06:00
megamage
ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage
d2e0ed5f57 *Only set guardian's ownerguid in setpet.
--HG--
branch : trunk
2009-03-25 10:12:15 -06:00
megamage
d1169aa48b *Fix a crash caused by summoncreature.
--HG--
branch : trunk
2009-03-24 09:06:49 -06:00
megamage
f18a9c916d *Fix some crashes possibly related to vehicles.
*Fix a bug that client crashes when seer is far away from caster.

--HG--
branch : trunk
2009-03-23 20:13:37 -06:00
megamage
ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
megamage
a47d2e1c22 *Note some script id are changed. DB change may be needed.
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args) Author: VladimirMangos

    * Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
      Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
      and for not depednet (PlayDirectSound)
    * Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
      Note: function called for _source_ of sound in different from old function.
    * chat command .debug ps removed and .debug playsound can used for bother packects test:
      if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.

--HG--
branch : trunk
2009-03-22 19:20:03 -06:00