Commit Graph

82 Commits

Author SHA1 Message Date
megamage
cb72853dc6 *Cleanup message deliver functions. Remove unused parameters.
--HG--
branch : trunk
2009-05-27 09:09:22 -05:00
megamage
c2588042e9 *Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG--
branch : trunk
2009-05-25 12:05:23 -05:00
Anubisss
3449432e38 *Add ATTACK_DISTANCE from MaNGOS.
--HG--
branch : trunk
2009-05-18 20:34:09 +02: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
3a316370b1 [7696] Fixed compile warnings Author: AlexDereka
--HG--
branch : trunk
2009-04-22 17:56:59 -05:00
megamage
1cd8ea8c1a *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-22 17:50:26 -05:00
megamage
787cd7fcb5 *More work on vehicle.
--HG--
branch : trunk
2009-04-21 13:49:39 -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
c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -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
c106914e94 *Remove some invalid template functions.
--HG--
branch : trunk
2009-04-10 17:56:42 -05:00
megamage
f59c4debf6 [7622] Added creatureAI with related database tables. Author: AlexDereka
*Note: three tables are renamed.

--HG--
branch : trunk
2009-04-07 19:38:09 -05:00
megamage
9a03bb1e5f *Backport some contents from TC2.
--HG--
branch : trunk
2009-04-04 20:31:29 -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
829c8022ac [7577] Implement YellToZone for different world object types. Author: VladimirMangos
--HG--
branch : trunk
2009-03-28 18:03:56 -06:00
megamage
1c2e62d2f4 *Backport a missing function from TC2.
--HG--
branch : trunk
2009-03-26 08:50:51 -06:00
megamage
312b8e5b73 *Merge.
--HG--
branch : trunk
2009-03-25 16:00:38 -06:00
megamage
581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -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
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
megamage
281d20be0d *Allow spells to summon vehicles.
--HG--
branch : trunk
2009-03-18 21:39:09 -06:00
megamage
6e29ab4fbb [7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
This in some cases make some zones not explorable if it not have server side data in current maps
    but not allow cheating with zone set from client.

--HG--
branch : trunk
2009-03-11 16:17:37 -06:00
megamage
167ca565d0 *Update bind sight spells code.
--HG--
branch : trunk
2009-03-10 15:26:17 -06:00
megamage
c1ea842cf7 *Merge.
--HG--
branch : trunk
2009-03-05 09:17:57 -06:00
megamage
3716a5292b *Fix a crash.
--HG--
branch : trunk
2009-03-02 18:01:27 -06:00
megamage
d3a6900667 *Merge.
--HG--
branch : trunk
2009-02-26 20:43:35 -06:00
megamage
ee6418d92a *Update active object code.
--HG--
branch : trunk
2009-02-26 16:29:55 -06:00
megamage
bf66375bc7 *Update active object code. By VladimirMangos.
--HG--
branch : trunk
2009-02-25 20:52:20 -06:00
megamage
5fda499266 *Merge.
--HG--
branch : trunk
2009-02-24 21:14:00 -06:00
megamage
fe5fa58275 *Try to fix some crash bug related to grid.
--HG--
branch : trunk
2009-02-24 20:05:29 -06:00
megamage
699bc588b8 [7330] Code warnings and style cleanups. Some bugs fixes. Author: VladimirMangos
1) comparison singed and unsigned values
    2) redundent includes
    3) wrong constructor :-part field initilization
    4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
    5) explicitly list not implemented achievement types.

    Also bugs fixed:
    1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
    2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
    3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.

--HG--
branch : trunk
2009-02-24 11:14:28 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
3a229014dc *Fix broken chain spells.
--HG--
branch : trunk
2009-01-28 11:50:12 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
336e8501f0 *Update to Mangos 7208. Implement phase system.
--HG--
branch : trunk
2009-01-31 16:38:50 -06:00
megamage
b0bf621a13 *Merge.
--HG--
branch : trunk
2009-01-29 19:35:49 -06:00
megamage
30f6b38941 *Update to Mangos 7158.
--HG--
branch : trunk
2009-01-24 11:28:00 -06:00
megamage
80263de422 Update to Trinity 863.
--HG--
branch : trunk
2009-01-16 14:32:47 -06:00