927 Commits

Author SHA1 Message Date
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
Foereaper
fec7b5cd5f Switch to development hashes 2015-03-25 12:01:10 +01: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
Charles A Edwards
347fb87b3d Case statement not terminated properly
missing break;

It caused a start-up error, besides being totally wrong.

My bad :(
2015-03-25 10:53:01 +00:00
Antz
cebb3244a0 [Eluna] Update version 2015-03-25 10:21:10 +00:00
vladimirmangos
fb192cab4d [Core] Fix .goname command (c2605) 2015-03-24 23:35:40 +00:00
schmoozerd
edfd397ba3 [Weather] Improve and Finalize new Weather system
(c2604) @schmoozerd
* Move Weather handling from World to Map class
* Add new Map::SetWeather function to force a weather for a zone
* Allow .wchange command to also create Thunderstorm or BlackRain

(c2609) @cala
- Remove enums irrelevant for Classic
- Fixe a few errors in auto merge from previous backport
- Change packet formatting to Classic structure
Thanks @stfx for his help and reviewing this fix and @laizerox for research
2015-03-24 23:13:17 +00:00
Foereaper
867df4dd71 Revision fix
Apparently revision.h was ignored. Fixed now.
2015-03-24 23:27:34 +01: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
beb3522e2a Merge branch 'develop21' of https://github.com/mangoszero/server into develop21 2015-03-23 23:12:05 +01: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
xfurry
0daecc2859 [Core] Implement instance data call for OnCreatureDespawn. (c2602) 2015-03-23 22:03:12 +00:00
Foereaper
f51e270008 [Cleanup] Shared Final
This is the final commit to the Shared folder
2015-03-23 22:07:19 +01:00
Foereaper
532c701228 [Cleanup] Linux build fix
Linux builds should now work as intended
2015-03-23 21:45:07 +01:00
Foereaper
4f4b507434 [Cleanup] Fix Linux include 2015-03-23 21:20:25 +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
c9b37c73fa [Movement] Reverted Rel18 movement flag changes 2015-03-23 10:58:10 +00:00
Charles A Edwards
8f2743f880 Incorrect data structure used
Data structure that holds data from the gameobject_template table should
be used, not the creature_template table!

Oops, my fault :-)
2015-03-23 10:56:09 +00:00
Foereaper
cd23a589e0 [Cleanup] Part 4
Cleanup of SD2 CMake file

Not yet done with this one, will restructure parts of the folder structure soon
2015-03-23 02:32:26 +01:00
Foereaper
f251a2630b [Cleanup] Part 3
Removed unnecessary file group from Game CMake file

Tab cleanup from previous commit
2015-03-23 02:05:18 +01:00
Foereaper
8a0e116798 [Cleanup] Part 2
CMake changes to shared folder restructure

Moved loadlib out of tools and into deps

Again, this needs testing on Linux
2015-03-23 01:30:34 +01:00
Foereaper
f0f8c908fa Accidental tabs from last commit 2015-03-23 01:30:05 +01:00
Foereaper
ee1b174a27 [Cleanup] Part 1
This is the first of several cleanup commits, specifically directed towards the dependencies.

This commits removes the old, deprecate precompiled openssl and mysql libraries, as well as started restructuring of shared and deps folder.

This has not been tested on Linux yet, and the pre-built SLN files have not yet been updated.
2015-03-23 01:29:17 +01:00
rochet2
6bd6f53431 [Eluna] Updated AH Hooks 2015-03-22 22:44:11 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00