39 Commits

Author SHA1 Message Date
Antz
2a9c1867df Tab cleanup pt2 2021-03-06 08:10:49 +00:00
Antz
99cc20629e
Happy New Year 2021 from everyone at getMangos.eu 🎉 2020-12-30 00:36:17 +00:00
Antz
3669c6390f Project Cleanup pt3 2020-01-10 11:59:08 +00:00
Pastew
a84632bdd0 Fixed dead URL 2019-02-21 16:28:04 +00:00
MadMax
18f9001e15 Move the license file
License file moved to root of repository.
2018-04-16 12:21:45 +01:00
Antz
15857643ae [Docs] Some minor updates in prep for Release 21 2017-01-02 19:01:11 +00: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
Antz
72bc2d4757 Renamed some Doc Files 2016-09-13 12:13:42 +01:00
H0zen
1e747c0ca3 Various external fixes - part 8 (#158)
Ported commits from cm repositories.
New DB script commands:
- SCRIPT_COMMAND_SET_FLY (39)
- SCRIPT_COMMAND_DESPAWN_GO(40)
- SCRIPT_COMMAND_RESPAWN (41)
- SCRIPT_COMMAND_SET_EQUIPMENT_SLOTS (42)
- SCRIPT_COMMAND_RESET_GO (43)
- SCRIPT_COMMAND_UPDATE_TEMPLATE (44)
2016-08-26 02:17:17 +01:00
Antz
40c96bd9db Update ChangeLog.md
Updated ready for Rel21 - thanks Krill
2016-05-05 19:54:43 +01:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Antz
e8b6cf7482 Update ScriptCommands.md 2016-03-08 22:30:31 +00:00
Antz
5d5ef6f372 Update ChangeLog.md 2016-02-05 11:36:50 +00:00
Antz
e52fd6c09a Update Authors.md 2015-11-10 12:54:06 +00:00
Antz
5a8a79b883 [Sync] Some adjustments from One 2015-09-07 23:54:44 +01:00
xfurry
dc0b0e9f7a [Core] Fix logic error introduced in [cz2670] [cz2675] 2015-09-03 21:18:15 +01:00
cala
383924d7c0 [Core] Allow GAMEOBJECT_TYPE_GOOBER to start DBScripts on GO Use [cz2673] 2015-07-10 21:13:29 +01:00
xfurry
310684e4a4 [Core] Allow dying creatures to deal damage when casting spells [cz2670]
This will fix damage spells casts on creature death
2015-07-08 23:08:52 +01:00
evil-at-wow
eecafb280d [Core] Minor code cleanup. [cz2668]
* Fix a few spelling and grammar mistakes.
* Remove some pointless comments.
2015-07-08 22:42:05 +01:00
evil-at-wow
ffca823878 [Core] Fix a crash. Using format specifiers without matching values is a no-go and clean up. [z2667] [z2669]
[z2667] Fix a crash. Using format specifiers without matching values is a no-go.
[z2669] GuidString already includes information like "Creature"
2015-07-08 22:25:51 +01:00
robinsch
5dc51349ed [Core] Skip item SPELLTRIGGER_ON_USE at form change. [cz2665]
This will fix auras casted from items with spell charges (spell 25211) disappearing on form change.
2015-07-08 21:59:13 +01:00
fgreinus
93c77682bf [Core] Implement possibility to force enable/disable mmap-usage for specific creatures. [cz2663] 2015-07-07 22:46:42 +01:00
xfurry
d3ba1289c3 [Core] Override spell range for script target spells when not provided. [cz2661]
This will fix all the spells which require script targets but have a RangeIndex 1.
2015-07-07 22:17:23 +01:00
Antz
58a3c51881 Update RequiredPorts.mangosproof 2015-05-20 22:54:06 +01:00
Antz
ee45e49800 Update RequiredPorts.mangosproof 2015-05-20 16:14:30 +01:00
Antz
13c037972b [Core] Some minor text cleanup 2015-03-26 23:15:59 +00:00
schmoozerd
c9d7879cd9 [DBScripts] Implement SCRIPT_COMMAND_SEND_MAIL (c2639)
Attention DB-Devs:

The fields quest_template.RewMailTemplateId and .RewMailDelaySecs are scheduled to be removed
2015-03-26 11:53:27 +00:00
cyberium
4de5fa3543 [Core] Implement holes handling on map. Now GetHeight correctly returns no height when a hole is detected. This is very useful in vmap object because in some cases we had a bad value returned by map data wich makes it hard to choose the right height. (c2617) 2015-03-26 10:15:02 +00: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
cyberium
c6210ba12c Improve confused, random and fleeing movement generators.
Improve random movement generator. (c2607) @cyberium

Now creatures will have possibility to move up/down on swim/fly situation.
Random groundpoint  will have more accurracy and the creature have less chance to go throught object.

Note:
- Some creature may have invalid value like inhabit type and other flags in relation of movement in water. If its the case the result is not so good. DB must be corrected for these creatures.
- we have to find a way to handle correctly movement flags.

Make sure player stop moving when confused aura is removed. (c2629) @cyberium
modified version of @kvipka work

Improve confused movement generator. (c2630) @cyberium

Improve fleeing movement generator. (c2631) @cyberium
2015-03-25 11:34:46 +00:00
xfurry
c0b73d3fee [AI] Fix TARGET_SELF-TARGET_SCRIPT target combination (c2606)
Also introduce more symmetric behaviour for TARGET_FOCUS_OR_SCRIPTED_GO
2015-03-25 10:57:01 +00:00
Foereaper
ac236d5d47 [Cleanup] Part 6
Restructured mangosd, realmd and some general cleanup

Moved docs to the correct doc folder

Moved SOAP related lib files to the correct dep location

Updated PCH naming convention for SD2 to match the rest of the source

General CMake cleanup

Possibly fixed postgre build, to be tested
2015-03-24 23:03:31 +01:00
schmoozerd
4819ec8ebc [Scripts] DBScripts-Engine: Implement new commands
* Add SCRIPT_COMMAND_MOVE_DYNAMIC to move to a random point or towards another unit

* Toggle GetRandomPoint function to be able to return a random point with min-distance or a given direction.
* Toggle MovementGenerator::GetResetPosition to be able to return a reasonable orientation for reset.

Ideas and requirement research by virusav!
Thanks to virusav and Grz3s for test-feedback! (c2603)
2015-03-23 22:52:40 +00:00
Foereaper
d3f068660d [Cleanup] Part 5
Cleaned up SD2 structure

Still some tweaks that could be done to the cmake file, will come back to this later
2015-03-23 23:11:43 +01:00
tarwyn
081bdda60d [Core] Adds infrastructure to support talent based effects in the future. (c2600) 2015-03-23 13:26:41 +00:00
xfurry
19ab916daa [Core] Implement movement wrappers for creatures and players
(c2599)
This will set the movement flags and send SMSG_SPLINE_MOVE_* opcodes on movement change.
This will fix movement for flying vehicles and allow future scripting possibilities.

(c2608) Make CanSwim and CanFly abstract method. Also precise UNIT_FL…AG_UNK_15 possible use.
@cyberium
2015-03-23 13:01:20 +00:00
Antz
c710687b8b [Docs] Added porting placeholder 2015-03-22 23:01:35 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00