Commit Graph

41 Commits

Author SHA1 Message Date
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
3a229014dc *Fix broken chain spells.
--HG--
branch : trunk
2009-01-28 11:50:12 -06:00
Paradox
2d654fdc41 Fix cross faction interaction
--HG--
branch : trunk
2009-01-15 21:29:32 -05: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
08bb6082d9 *Update of spell target selection.
--HG--
branch : trunk
2009-01-08 14:22:15 -06:00
megamage
12d4ce413e *Update waypoint movement code. Also fix Linux build.
--HG--
branch : trunk
2008-12-30 19:39:43 -06:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
shadowu@mail.bg
51f0c70b7e *Movement Generators standardization.
- bool GetDestination(&x,&y,&z) added to all movement generators.(it is used by update of players view distance)
- Fixed when creature entering in combat not count this as StoppedByPlayer.
- Random Movement Generator - added support for creating custom spawndist during the game.
- Random Movement Generator - Db spawndist is checked only at initialize(NOT in each sellect of random location).
- Added Random Movement to motion master - it can be called now by MoveRandom(spawndist) e.g. for use in SD2.
- Home and Random movements no more using RespawnCoords(Home Position has implemented)
- Fixed bug when creature is moving on path and enter combat, after that returns to spawn position.
-Typo fix in Confused Movement Generator

--HG--
branch : trunk
2008-12-19 00:37:40 +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
827b706028 *Fix a typo that makes no trigger can be summoned.
--HG--
branch : trunk
2008-12-15 15:38:02 -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
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
ee02a2fc84 [svn] Send AttackStart package when update visibility.
Update DoMeleeAttackIfReady to support dual wield.
Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model.
Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable.
Add NullCreatureAI for trinityscript.
Fix channeler's soul transfer.
Some update of black temple scripts.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage
43910434c5 [svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

--HG--
branch : trunk
2008-11-06 10:27:58 -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
972e2d56e2 [svn] Add function GameObject::CastSpell. Used for hunter's trap and so.
Use original caster instead caster to check spell hit result.
Let spell triggers have the same faction as the summoner.
Fix the bug that trigger creatures attack enemy. (no need use civilian extra flag in the future, 128 is enough)
Fix shadow step.

--HG--
branch : trunk
2008-11-02 00:59:44 -05: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
megamage
daec9868d9 [svn] Enable linked spells: cast spells/remove auras when spells casted/spells hitting/auras removed. Add new table "spell_linked_spell". Some illustrations provided in sql.
Let trigger creature cast AOE spells when summoned. Illustration provided in sql.
Let active creatures always visible if possible. (seems does not work for now, need to find out why)

--HG--
branch : trunk
2008-10-30 11:32:10 -05:00
w12x
fc77e2d761 [svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead.
--HG--
branch : trunk
2008-10-27 11:48:45 -05:00
megamage
4cbc6f830a [svn] Fix a compile error about M_PI_2.
Update Felmyst script to test new setActive function.
Fix the bug that priest's fear is unbreakable (dirty hack before find the correct way).
(some unfinished unused content included, just ignore them, will finish them later)

--HG--
branch : trunk
2008-10-27 10:57:53 -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
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
w12x
4f06be912b [svn] Implement CREATURE_FLAG_EXTRA_TRIGGER. In GM mode, creatures flagged with this will be displayed with displayid_a, in non-gm mode with displayid_h.
--HG--
branch : trunk
2008-10-20 13:41:05 -05:00
megamage
e4b701caba [svn] Add Unit::GetObjectInWorld function to get object by guid without providing reference.
Small change in SummonGameObject.
Fix a bug that player can not click summoned najentus spine (must let target summon gameobject).

--HG--
branch : trunk
2008-10-18 19:59:34 -05:00
megamage
fe453877d1 [svn] Modify SummonGameObject function to set owner GUID.
Implement spell 23019. Patch provided by Edder.

--HG--
branch : trunk
2008-10-18 12:02:47 -05:00
w12x
16dcd37279 [svn] Added a function for WorldObjects to summon GameObjects. Original patch provided by streetrat. Please refer to the patch thread for usage instructions.
--HG--
branch : trunk
2008-10-17 18:13:04 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
Seline
63af34886b [svn] * Send ShutdownMsg to console using outstring_log.
* Prevent Client Crashes when MOVEMENTFLAG_ONTRANSPORT and MOVEMENTFLAG_SPLINE2 is set on creatures.
* Implement four new SEC_ADMINISTRATOR commands:
    - Group (.group [leader]/[disband]/[remove]) commands.
    - GameObject State (.gobject state <guid> <state>) command.

--HG--
branch : trunk
2008-10-12 18:26:26 -05:00
Neo2003
95b91afbab [svn] * svn:eol-style native set on all files that need it
--HG--
branch : trunk
2008-10-11 14:16:25 -05:00
Neo2003
f736567a37 [svn] * Updated to 6743 and 685
Moved language id used by Arena to a higher place to solve conflicts
Added the empty script folders

--HG--
branch : trunk
rename : 6731-680 => 6743-685
2008-10-09 08:42:22 -05:00
derex_tri
e36e114abe [svn] * Removed ObjectPosSelector and DetectPosCollision. See http://www.trinitycore.org/forum/project.php?issueid=3
* Need win32 build fix ;)

--HG--
branch : trunk
2008-10-06 07:39:04 -05:00
Neo2003
1fc73ff41b [svn] * PlaySound changed to SendPlaySound, moved to WorldObject and used everywhere instead of hard-coding packet
--HG--
branch : trunk
2008-10-05 11:38:24 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00