32 Commits

Author SHA1 Message Date
H0zen
4bd4b91e6f Rel. 0.22.1 - fix build issues 2019-05-15 13:41:17 +03:00
H0zen
feefa3b7bf Release 0.22 2019-05-14 13:07:40 +03:00
Antz
b5c8fd1b54
[Cleanup] Remove tabs which have crept into the source 2019-01-10 09:39:47 +00:00
Antz
6b0e4a7228
Happy New Year 2019 from everyone at getMangos.eu 🎉 2019-01-02 23:27:16 +00:00
H0zen
ef91e6f31c Fix some codacy detected issues 2018-04-12 21:59:49 +01:00
MadMax
61ad4fe70d Revert "Allow OpenSSL version up to 1.1.x"
This reverts commit 6ccf8443ddca9db38c7accc1d2828b9cf2fe8946.
2018-04-12 16:42:48 +01:00
H0zen
6ccf8443dd Allow OpenSSL version up to 1.1.x 2018-04-12 15:46:05 +01:00
H0zen
d014ca2599 ObjectAccessor rewrite
- ObjectAccessor now hides it's inner locks
  - Introduced C++11 lambdas; from now on, VS2012 and any non C++11 compiler are not supported anymore
2018-03-29 14:39:32 +03:00
Rochet2
737fc48970 Fix Eluna hook calls 2018-01-15 22:33:39 +02:00
Antz
52454825c7 Happy new year from getmangos 🎉 2018-01-14 10:24:47 +00:00
Wolverine
021aa8cfac Local variable reassigned prior to reading
Local variable is reassigned in all paths prior to being read.
2017-08-27 12:58:17 +01:00
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
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
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
H0zen
21dc241950 More thread-safety checks. 2016-03-25 20:05:47 +02:00
H0zen
d011a70e97 Fix previous commit. 2016-03-25 15:19:45 +02:00
H0zen
0650132741 Refactoring db_scripts
The unity!
2016-03-25 02:13:06 +02:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Olion
89a3ec852e Allow SD3 scripted dummy and script spelleffects upon players 2016-02-17 23:11:41 +02:00
Antz
3967eddc87 [2016] Happy New Year from the MaNGOS Team 2015-12-31 21:15:37 +00:00
Antz
fcc75e083e [SD3] Added initial ScriptDev3 changes 2015-11-02 21:22:41 +00:00
Evildead666
e251c79685 [Core] Enabled autopooling code and fixed quest 5203 as well as Troll Beserking and Stoneform Racial
Enabled autopooling code again but this feature is switched off by default.
Quest 5203 Escape from Jaedenar should now be fully working, including equipment and name change of the npc, missing spawns have been added.
Added Script_command_change_entry, and corrected small mistakes in the code.

enable autopooling feature for testing purpose
script enhancement for quest 5203
Script command change entry
fix Troll Berserking
Fix spell stoneform racial
2015-07-07 10:04:12 +01:00
Olion
321f7fb739 Gcc build: get rid of few warnings 2015-04-07 00:15:24 +03:00
Olion
e28a446f24 [Core/SD2] Major refactoring of SD2 script system 2015-04-01 01:34:08 +03: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
xfurry
57f1039ece [Core] Allow GAMEOBJECT_TYPE_BUTTON and TRAP respawn using SCRIPT_COMMAND_RESPAWN_GAMEOBJECT. (c2615/2634) 2015-03-26 10:03:11 +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
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
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00