Commit Graph

54 Commits

Author SHA1 Message Date
Trazom62
76afec204d Yet another crash fix due to invalid cast.
Fixes issue #1079.

--HG--
branch : trunk
2010-03-13 12:51:37 +01:00
Machiavelli
19b646cdff Typo (sorry)
--HG--
branch : trunk
2010-03-12 14:28:43 +01:00
Machiavelli
b085d8eadc Fix faulty debug logging and a crash caused by improper typecasting. Fixes issue #1068
--HG--
branch : trunk
2010-03-12 14:25:43 +01:00
raczman
07f3b91426 Some Creature* casts moved to new ToCreature.
Added const Creature* ToCreature()

--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
n0n4m3
99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3
5953596cee Update Movement code for 322a
--HG--
branch : trunk
2009-12-17 11:31:44 +01:00
maximius
72607c20ba *Prevent MoveFollow and MoveChase while UNIT_FLAG_DISABLE_MOVE is present, by Liberate. Closes #168.
*Some cleanup, and fix typo from cf0046bc32c6.

--HG--
branch : trunk
2009-11-19 20:03:35 -08:00
maximius
d22768a6b5 *Cleanup
--HG--
branch : trunk
2009-10-18 18:38:46 -07:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
019234148a *Fix the quests 'Slay them All' and 'No Mercy Merciless', by manuel
*Minor cleanup

--HG--
branch : trunk
2009-10-16 12:59:02 -07:00
maximius
333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
maximius
140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
megamage
31324d56eb *Fix the lurker below. Thanks to rat.
--HG--
branch : trunk
2009-08-30 11:50:55 -05:00
megamage
d802cd3811 *More update about positions.
*Ulduar: do not allow demolisher to regenerate pyrite. Player must shoot down and grab the containers to refill pyrite.

--HG--
branch : trunk
2009-08-29 23:20:16 -05:00
megamage
69c487abe5 *Handle creature rotation using movement generator. Please tell me if this breaks any script.
--HG--
branch : trunk
2009-08-29 17:14:47 -05:00
megamage
2280ca66b8 *Set reactpassive when creature is calling for assistance.
--HG--
branch : trunk
2009-05-21 17:24:22 -05:00
megamage
31005dab82 *Fix a infinite loop introduced in 3444.
--HG--
branch : trunk
2009-05-21 15:17:51 -05:00
megamage
67c84b1f3d Mobs fleeing and getting assistance feature implementaion. Author: Neo2003
--HG--
branch : trunk
2009-05-21 10:48:00 -05:00
megamage
df4e8b456b *Move MoveFollow owner from MoveTargetedHome to enterevademode.
--HG--
branch : trunk
2009-05-12 10:11:54 -05:00
megamage
84fc76439c *Fix a crash caused by feedpet.
*Also have delay for jump spells.

--HG--
branch : trunk
2009-05-03 16:29:33 -05:00
megamage
785dc69318 *Merge.
*One rev skipped:  Fixed exploit with several spells being casted on pet with no de-buff applied. Author: Elron.

--HG--
branch : trunk
2009-04-12 16:51:46 -05:00
megamage
74977d73f3 *Do not allow chase/follow self.
--HG--
branch : trunk
2009-04-12 16:32:03 -05:00
megamage
164467d251 *Fix the bug that minipet does not follow owner.
--HG--
branch : trunk
2009-04-12 12:15:25 -05:00
megamage
dda2fdff33 *Implement spell Disengage and Death Grip.
--HG--
branch : trunk
2009-04-11 22:41:15 -05:00
XTZGZoReX
2fe9fed7c7 * Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG--
branch : trunk
2009-04-07 10:51:45 +02:00
megamage
ac4edf0e09 *Update creature formation code.
--HG--
branch : trunk
2009-04-06 20:33:52 -05:00
megamage
e8866340ce *CreatureGroups fixed and improoved. By TrullyONE
- Multimap support for instances added.
 - Removed redundant group checks.
 - New movement rules (bool group formed/dismissed added).
 - uint32 Creature::GroupID replaced with CreatureGroup pointer.

--HG--
branch : trunk
2009-04-06 13:27:42 -05:00
megamage
04b27302b0 *Add new log level "crash alarm" to record very dangerous errors.
--HG--
branch : trunk
2009-03-23 20:09:55 -06:00
megamage
ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
megamage
6a8c9c001d *Set default movement as follow movement for charmed/pet when enterevademode.
--HG--
branch : trunk
2009-03-21 10:11:29 -06:00
megamage
abe53c5cb6 *Fix a bug that mobs do not return home after wipe.
--HG--
branch : trunk
2009-03-15 10:50:10 -06:00
megamage
0bba1e0551 *Fix the bug that sheep attacks people.
--HG--
branch : trunk
2009-03-04 10:16:15 -06:00
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
1ff96e6ac2 Fixed crash when MotionMaster's Clean or ExpireMovement called from MovementGenerator update. Original patch by ApoC. Backport from 308.
--HG--
branch : trunk
2009-02-08 22:56:57 -06:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
9f1409c557 *Fix a crash bug caused by motionmaster.
*Fix charge movement.

--HG--
branch : trunk
2009-01-17 17:46:28 -06:00
megamage
88fd745532 *Fix some bugs about movement.
--HG--
branch : trunk
2009-01-17 13:29:26 -06:00
megamage
f414ab1686 *Update flee and confuse movement.
--HG--
branch : trunk
2009-01-17 00:00:48 -06:00
megamage
0a1c601a1c *Update of MotionMaster.
--HG--
branch : trunk
2009-01-16 22:57:03 -06:00
megamage
65ef38963d *The last merge from Mangos TBC. Update to Mangos v0.12.
--HG--
branch : trunk
2008-12-22 10:59:38 -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
shadowu@mail.bg
32a9420289 *Small typo fixes. After this update leader's GUIDS in CreatureGroups must be added also as group member GUIDS.
--HG--
branch : trunk
2008-12-17 20:30:36 +02:00
megamage
ebf6469fb4 *Merge to solve EOL issue.
--HG--
branch : trunk
2008-12-09 23:06:16 -06:00
MeanMachine@MeanMachine-PC
cc0838459a Featuring a rewritten waypoint movement with more options, optimised code and revamped ingame waypoint control. To convert entries from the old tables manually, please use the PHP script provided at http://www.trinitycore.org/forum/project.php?issueid=830
--HG--
branch : trunk
2008-12-10 06:34:35 +02: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
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00