Commit Graph

56 Commits

Author SHA1 Message Date
megamage 15a753351c *Fix or add debug message for crash caused by controlled creatures
--HG--
branch : trunk
2009-06-19 11:19:23 -05:00
megamage 3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
megamage 33c24110dd *Fix a bug that player takes fall damage when finishing taxi path.
--HG--
branch : trunk
2009-05-20 20:39:55 -05:00
megamage 8fc07d443a *Change waypoint data structure. Use creature db guid as path id. If a creature uses waypoint movement as default movement type, the path id should be DBGUID*10. For paths of script use, the path id should be DBGUID*10+1 ~ DBGUID*10+9.
*Two sql queries are included. Converter is used to convert the existing path id to new path id. "...creature_add..." is used to change table structure. You can first run the converter, then run the other one. Or run the other one directly and get the new data from the db team. Because it may take hours to run the converter.
*If you have custom data, you may need to run the converter. We suggest you use console to run it It is extremely slow to run the query. If you have multiple paths for a creature in your db, you need to do more work to convert it. However, if you know how to use multiple paths, you should already have more db knowledge than I do and you should know how to convert it.
*There may be a faster query to convert the db. If you know, please tell us. I am no sql expert.
*Backup your db first!
*Thanks to X-Savior and subhuman_bob.

--HG--
branch : trunk
2009-05-11 13:27:10 -05:00
megamage e5f93acf31 *Fix the bug that player get fall damage after taxi flight.
--HG--
branch : trunk
2009-05-09 19:41:26 -05:00
megamage fa1dcd16cf *Update summon system.
--HG--
branch : trunk
2009-05-06 13:34:11 -05:00
megamage 9f0f239e60 *Merge.
*Also fix build in VC7 and VC8.

--HG--
branch : trunk
2009-05-02 13:30:55 -05:00
megamage a102098eb2 *Send stop packet iff necessary. Hope this can fix the bug that cannot immediatly remove confuse movement and face wrong direction after charging.
--HG--
branch : trunk
2009-05-01 21:04:02 -05:00
megamage de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage 95a0928190 *Merge.
--HG--
branch : trunk
2009-04-20 18:05:32 -05:00
megamage 922453f362 *Do not allow process script immediately in waypoint movement to prevent crash of mtmap.
--HG--
branch : trunk
2009-04-20 17:51:49 -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 1ae90f3e9f *Fix a bug that players ater flight are still considered as in flight. By DearScorpion
--HG--
branch : trunk
2009-03-21 14:16:55 -06:00
megamage 9c7f2a0c01 [7480] Clear flight flag early for safe. Author: VladimirMangos
--HG--
branch : trunk
2009-03-17 14:58:13 -06:00
megamage 5fe7b48037 *Merge.
--HG--
branch : trunk
2009-02-23 17:04:15 -06:00
megamage 34517a860f *More fix about move flag.
--HG--
branch : trunk
2009-02-23 13:14:04 -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 6aee5fcbe7 *Merge.
--HG--
branch : trunk
2009-02-12 17:09:15 -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 d69198732e *Merge.
--HG--
branch : trunk
2009-02-04 17:22:43 -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 8a9a9f88cc *Fix the crash bug of waypoint movement.
--HG--
branch : trunk
2008-12-31 10:46:43 -06:00
megamage 12d4ce413e *Update waypoint movement code. Also fix Linux build.
--HG--
branch : trunk
2008-12-30 19:39:43 -06:00
megamage bf3f187785 *Fix the bug of rockbiter.
--HG--
branch : trunk
2008-12-30 18:10:11 -06:00
megamage 7e85d91f69 *Fix crash caused by Waypoint movement.
--HG--
branch : trunk
2008-12-28 16:24:28 -06:00
megamage 9fa37dc693 *Update waypoint Initialize().
--HG--
branch : trunk
2008-12-28 10:31:52 -06:00
megamage e7c220d843 *Reset currentNode in waypoint generator initialize. By trullyone.
--HG--
branch : trunk
2008-12-28 10:01:05 -06:00
megamage 48d84dbad4 *Fix build in Linux.
--HG--
branch : trunk
2008-12-26 22:24:15 -06:00
megamage b24cc17a4b *Fix a typo.
--HG--
branch : trunk
2008-12-26 16:32:20 -06:00
megamage c58a199db8 *Try to fix the bug about crash caused by waypoint.
--HG--
branch : trunk
2008-12-26 15:46:10 -06:00
TrullyONE 08fa019253 *Additional movement checks added.
--HG--
branch : trunk
2008-12-24 12:06:25 +02:00
TrullyONE c27ef3542b *Prevents creature skipping next waypoint after Waypoint Movement is reset.
--HG--
branch : trunk
2008-12-19 12:14:31 +02: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 bf0e8489a0 *Some code cleanups and crash fixes with Waypoint Movement Generator.
--HG--
branch : trunk
2008-12-17 00:14:00 +02:00
megamage f2028e1583 *Fix compile in Linux.
--HG--
branch : trunk
2008-12-11 12:58:43 -06:00
shadowu@mail.bg 66de4c5358 *Waypoint Movement Generator - fixed typo
--HG--
branch : trunk
2008-12-11 05:50:31 +02:00
shadowu@mail.bg 0029017e17 WaypointMovementGenerator - linux compile fix
--HG--
branch : trunk
2008-12-11 02:47:15 +02:00
MeanMachine 9be484f8c8 Small structural change to fix an error on some compilers.
--HG--
branch : trunk
2008-12-10 07:41:01 +02:00
megamage 36af87fc72 *Recommit four files because of eol issue.
--HG--
branch : trunk
2008-12-09 23:02:17 -06:00
megamage bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*Big changes:
*[6858] Prevent cheating with ignore waiting in login queue.
*[6863] Arena team related clean ups and adding parts of w12x's arena patch.
*Some Config changes and guild changes.

--HG--
branch : trunk
2008-11-30 12:47:26 -06:00
megamage 1e997b95cc Re-commit 262 due to EOL issues. (no difference from 262)
--HG--
branch : trunk
2008-11-20 16:16:57 -06:00
visagalis d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
w12x b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
megamage 2a742e78b9 [svn] Fix a bug that shaman's shield can stack.
Fix: MovementInform without behavior change for waypoint movement. Patch provided by DragonHunter.
Update gruul lair script. Patch provided by Blaymoira.

--HG--
branch : trunk
2008-10-22 09:41:31 -05:00