Commit Graph
56 Commits
Author SHA1 Message Date
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
Paradox 2d654fdc41 Fix cross faction interaction
--HG--
branch : trunk
2009-01-15 21:29:32 -05:00
megamage 90f30abd86 *Update to Trinity 843.
--HG--
branch : trunk
2009-01-12 11:02:18 -06:00
megamage 4daadd712f *Update to Mangos 7072.
*Remove some duplicated functions of possess.

--HG--
branch : trunk
2009-01-12 10:53:53 -06:00
megamage 9fe27bf644 *Fix the bug caused by funtions with the same name.
--HG--
branch : trunk
2009-01-09 17:52:13 -06:00
megamage 1ffb1cef33 *Merge.
--HG--
branch : trunk
2009-01-09 16:43:23 -06:00
megamage 08bb6082d9 *Update of spell target selection.
--HG--
branch : trunk
2009-01-08 14:22:15 -06:00
megamage f70d5a22c7 *Update to Mangos 6982.
--HG--
branch : trunk
2008-12-29 17:27:50 -06:00
megamage e4836ca85f *Some clean up of spell target selection.
--HG--
branch : trunk
2008-12-19 18:31:46 -06:00
MeanMachine a1c00a8dc5 Fixed (hopefully) the compile error with gcc.
--HG--
branch : trunk
2008-12-19 02:24:08 +02:00
megamage 058db69e07 *Fix build in Windows.
--HG--
branch : trunk
2008-12-18 14:20:38 -06:00
megamage 0f1f748138 *Fix build in Linux.
*Fix a bug of bloodboil. By Anubisss.

--HG--
branch : trunk
2008-12-18 09:44:57 -06:00
megamage 01db065ceb *Let feign death interrupt enemies' casting.
--HG--
branch : trunk
2008-12-17 18:45:54 -06:00
megamage b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage 39083f4ff8 *Add function SummonTrigger and allow to override its AI.
*Remove some trigger scripts. Use default trigger AI and db data instead.
*Small fix on eagle boss' electrical storm.

--HG--
branch : trunk
2008-12-10 20:25:47 -06:00
megamage c5593ef779 *Update to Mangos 6880. Source: Mangos.
*Skip 6878, 6871.
*Main change: change cell size, add is3dDistance for IsWithinDistInMap and isVisibleForOrDetect.

--HG--
branch : trunk
2008-12-06 14:01:44 -06:00
megamage 3a1293ef18 *Update melee range calculation. By QAston.
--HG--
branch : trunk
2008-12-05 18:39:31 -06:00
megamage d36672cd7e *Update spell range calculation. Original patch by QAston.
--HG--
branch : trunk
2008-12-04 23:00:35 -06:00
megamage e9d6f1b23a *Move object update from objectaccessor to map
*Move activeobject list from objectaccessor to map
*Open grid for all active creatures (previously only for possessed ones)

--HG--
branch : trunk
2008-11-21 15:41:18 -06:00
visagalis bfa9e75161 [svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir)
* Fix auth login queue. Author: Derex
* Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak
* Fixed some format arg type/value pairs. Other warnings. Author: Vladimir
* [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir

NOTE:
Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data.

--HG--
branch : trunk
2008-11-14 17:03:03 -06:00
megamage 379bc3682c [svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject.
Add some missing script sql.

--HG--
branch : trunk
2008-11-12 16:21:08 -06:00
KingPin 09a0d1122a [svn] * Improve some arena team related DB access
* Cache GM tickets on server startup.
* Remove unused src/game/HateMatrix.h and references.
* Better check client inventory pos data received in some client packets to
skip invalid cases

--HG--
branch : trunk
2008-11-10 09:04:23 -06:00
KingPin 09280b0091 [svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
--HG--
branch : trunk
rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
2008-11-10 06:53:00 -06:00
gvcoman 44bdb135f4 [svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

--HG--
branch : trunk
2008-11-05 20:51:05 -06:00
megamage e2eb694c57 [svn] Improve TargetedMovement (TODO: let mob find "near angle" rather than "random angle").
Delete a repeated check in instance canenter().
Fix some spell targets.
Add some sunwell spell sql.
Fix Magtheridons earthquake. (TODO: need to find out why soul transfer has no effect when casted by mobs)
Let Brutallus dual wield. Enable burn (still no script effect).
Quick fix for shadowmoon valley illidan quest crash (wait for author's fix).

--HG--
branch : trunk
2008-10-31 21:42:00 -05:00
w12x e72a13c3dd [svn] * Allow WorldObjects to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises.
--HG--
branch : trunk
2008-10-27 08:41:55 -05:00
megamage 0e18e4330c [svn] Fix some mistakes of the last two commits.
--HG--
branch : trunk
2008-10-27 08:28:57 -05:00