20 Commits

Author SHA1 Message Date
Antz
756c8ff797 Remove unused include directives
Based on the work of @stfx in commit:
https://github.com/cmangos/mangos-classic/commit/48a84fb
2017-01-20 23:20:46 +00:00
Antz
cb2d60ba17 🎉 Happy 2017 from everyone at getmangos.eu 2017-01-01 14:19:24 +00:00
H0zen
4f2eaf1adb Remove rotation matrices from GameObjectModel
- the quaternions are more numerically stable and faster than matrices
2016-12-18 16:32:36 +02:00
H0zen
e803c57c9f Transports - phase 2. Implementing the GameObject rotation quaternions.
- As long as we send the correct rotation quaternion to the client, the GAMEOBJECT_FACING must be set to 0
  - GameObjectModel internal rotation matrices now take into account the rotation quaternion
2016-12-18 12:38:38 +02:00
Antz
7d71d98188 [SYNC] Minor project sync from One 2016-09-16 11:04:11 +01:00
H0zen
cdd3489f08 Various external fixes - part 9 (#168)
Ported commits from cmangos repositories
- https://github.com/cmangos/mangos-classic/commit/b09f961
- https://github.com/cmangos/mangos-classic/commit/14cb464
- https://github.com/cmangos/mangos-classic/commit/de7e4cc
- https://github.com/cmangos/mangos-classic/commit/0181ff1
- https://github.com/cmangos/mangos-classic/commit/be4f74b
- https://github.com/cmangos/mangos-classic/commit/1ede0a0
- https://github.com/cmangos/mangos-classic/commit/5cf8095
- https://github.com/cmangos/mangos-classic/commit/35e30d8
- https://github.com/cmangos/mangos-classic/commit/ff444d2
- https://github.com/cmangos/mangos-classic/commit/86568b8
- https://github.com/cmangos/mangos-classic/commit/a554fa5
- https://github.com/cmangos/mangos-classic/commit/c4606f3
- https://github.com/cmangos/mangos-classic/commit/6fcc33f
2016-09-13 15:50:30 +01:00
Zilvereyes
fc3f83c334 Fix "crash" by ".ticket accept" (unable to handled no args) (#165)
* Fix "crash" by ".ticket accept" (unable to handled no args)
Fix .ticket info (ticket req Gamemaster+, info req Moderator+)

* Added comment on ".ticket accept"

* Added comment on ".ticket accept"
2016-09-06 01:38:31 +01:00
Zilvermoon
adf15b5145 fixed .learn all_crafts, so it now only add crafts (#140) 2016-06-14 00:10:41 +01:00
namreeb
d40731af6b Fixed output error in .mmap path 2016-03-22 00:15:54 +00:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Olion17
2f17dbe017 [GM] .ticket command rework
Including ticket numbering fix (now real ticket IDs throughout)
Closing tickets for offline players
2016-03-19 22:23:37 +00:00
H0zen
42dbd2756c Refactor the areatrigger_teleport to use condition system.
- this commit is paired with a world database update.
2016-02-21 21:47:08 +02:00
Antz
3967eddc87 [2016] Happy New Year from the MaNGOS Team 2015-12-31 21:15:37 +00:00
stormrage-project
5dabd34bd4 [Command] Cleaning of the new GO commands implementation 2015-09-23 10:36:26 +01:00
stormrage-project
1d35902127 Commands for GO manipulations (gobj): anim, state, lootstate 2015-09-10 01:25:06 +01:00
stormrage-project
7907beb0f6 [Command] Cleaning of the new GO commands implementation 2015-09-10 01:20:32 +01:00
Antz
51affc470c [Sync] Minor project sync 2015-04-10 23:09:09 +01:00
schmoozerd
95073a4d1c [Waypoints] Complete redesign of waypoint system
Rewrite Waypoint related commands (c2612)
Toggle the commands .wp add .wp modify and .wp show to be able to work with waypoints from creature_movement_template

Technical changes:
* Move Path Selection to WaypointManager
* Set visual waypoints to be summoned npcs

Remove .npc addmove command to add a waypoint. (c2619)
For this .wp add command is expected to be used

Remove unneeded functions from WaypointManager (c2620)

Waypoint Commands: Improve export command, remove import command (c2621)
* Also finally drop the wpguid columns from creature_movement[_template]
* Also remove all static spawns of id=1 (they are usually waypoints from the old system)
* Fix a minor bug in WaypointManager than can result in a crash if bad params are passed

Waypoint-Commands: Prefer current path's movement for handling (c2626)

WaypointMovement: Allow External sources to load waypoints (with different path ids) (c2627)

* Add SetExternalWaypointTable(..) function to ScriptMgr.h scope to be able to define from which table external waypoints are loaded
* Add AddWaypointFromExternal(..) function to ScriptMgr.h scope to load points into WaypointManager
* Expand MotionMaster::MoveWaypoint function to use source and pathId for specifying which path to load
* Expand MotionMaster::MoveWaypoint function to use some overwrite information for "entry".
  This will be helpfull to have one path for mobs with different entry (ie ally/horde npcs with same behaviour)
* For externally loaded waypoints let CreatureAI::MovementInform have EXTERNAL_WAYPOINT_MOVE(256) + pathId as type.
  This will allow an external user to know which of "his" paths is used
* Adapt the related commands a little bit such that parts of the commands will also be usable for external paths
  At the moment .wp show and .wp export work with external paths.

WaypointMovement: Add support to set the next waypoint (c2635)
* Also add support to initialize a path with waittime before starting movement
* Add additional types for external use of MovementInform such that MovementInform is called when a waypoint is started, or when the last waypoint is handled
* Improve some minor technical issues

Let .wp add command start with 1 as first waypoint (c2640)
2015-03-26 01:21:44 +00:00
cyberium
fa27dff227 [Core] Add "go" and "to_me" option to ".mmap path" command. (c2611)
- Select a creature and type ".mmap path go" to move to that creature using generated path.
- Select a creature and type ".mmap path to_me" to see path from creature to your player char.
- You must be a GM to see these points.
2015-03-25 12:00:53 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00