Commit graph

6548 commits

Author SHA1 Message Date
Schmoozerd
e9140ec82b [11926] Let Waypoints fly. Thanks to qsa for the idea
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-09 00:12:44 +01:00
Schmoozerd
b899f97e33 [11925] Improve interaction checks related to quests
'I see dead people, they are everywhere' - and now you can interact with them for quests.
Also fix aura 10848

Please report any missing issues (could not test all cases)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-08 23:14:42 +01:00
SilverIce
8c912d0ab3 [11924] fix MoveMapGen vc90 build problems (add missing project dependencies) thx Thermaltake 2012-02-07 23:59:59 +02:00
SilverIce
02b89c794c [11923] simplify HandleMmapTestArea code a bit 2012-02-07 22:50:52 +02:00
Schmoozerd
49bd484a41 [11922] Add ASSERT helper function to print entry and guid info
Use this in first cases: GetAngle and in PathFinder::BuildPolyPath

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-07 17:25:46 +01:00
Schmoozerd
b03443c425 [11921] Improve MoveMapGen script to create mmaps directory if not exists - thanks to Bobi for pointing 2012-02-07 15:20:46 +01:00
Schmoozerd
bccded7e4b Fix previous commit *headbang. Thx to Reamer for pointing 2012-02-07 12:18:15 +01:00
cyberium
b984d3f787 [11920] Fix possible crash when trying to add playerto group who is not in world
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-07 11:41:44 +01:00
faramir118
6c8000705f [11919] Improve GetNearPoint 2012-02-07 00:04:25 +01:00
sixsixnine
d0bdf7611a [11918] Let creatures evade when the enemy is unreachable
This commit is not great, but will be improved hopefully soon.
However it seems that it doesn't really cause problems, it is just not as good as it should be!
2012-02-07 00:03:51 +01:00
faramir118
68b701f5d1 [11917] Increment map version magic. You have to re-extract maps, vmaps and mmaps
With this commit, Pathfinding is implemented in MaNGOS!
Thank you very much to all who contributed, especially to Faramir118 and qsa.

Please report bugs and required offmesh changes, so that they can be adressed
For *nix users of the extractor, help about compiling content of contrib/ can be found in forums
2012-02-07 00:02:28 +01:00
Schmoozerd
1d42263285 [11916] Remove old binaries for extraction 2012-02-06 23:57:24 +01:00
Schmoozerd
abb7909e5a [11915] Update ad.exe 2012-02-06 23:57:09 +01:00
Schmoozerd
9c9e3a0e0d [11914] Add new scripts and windows binary files for extraction 2012-02-06 23:56:48 +01:00
faramir118
d83c7d8c8c [11913] Add commands for MMaps
Added commands are:
.mmap [on|off] to show state of mmaps, or to enable/disable mmaps globally
.mmap stats to show information about current state of mmaps
.mmap loadedtiles to show which tiles are currently loaded
.mmap path to calculate and show a path to current select unit
.mmap loc to print on which tile one is
.mmap testarea to calculate paths for all nearby npcs to player

Authorship goes to qsa in addition
2012-02-06 23:18:47 +01:00
sixsixnine
2f0ed05566 [11912] Use mmaps for MovementGenerators 2012-02-06 23:18:34 +01:00
sixsixnine
e738c27714 [11911] Use mmaps for Spline Movement 2012-02-06 23:18:16 +01:00
faramir118
df3a5f2808 [11910] Implement loading for MMap Generator 2012-02-06 23:18:04 +01:00
sixsixnine
d3606fb4ee [11909] Implement Pathfinder class to handle the actual pathfinding
Authors of this are Faramir118 and qsa.
Also thanks to many others for testing and suggestions!
2012-02-06 23:17:50 +01:00
faramir118
1c64b0658e [11908] Add a pathfinding log-filter 2012-02-06 23:17:29 +01:00
sixsixnine
86dd5cea19 [11907] Add files for MMaps Implementation 2012-02-06 23:17:16 +01:00
sixsixnine
808776decb [11906] Ignore RecastDemo/Build directory with git 2012-02-06 23:17:03 +01:00
faramir118
da1c3615b4 [11905] Add recastnavigation to dependencies 2012-02-06 23:16:48 +01:00
faramir118
73b3ae889d [11904] Fix Liquid Extraction and better hole support 2012-02-06 23:16:35 +01:00
faramir118
deb97590a1 [11903] Add MoveMapGen tool to generate MMaps
Authorship also includes qsa, and thanks to others!
2012-02-06 22:52:50 +01:00
faramir118
136c0ba618 [11902] Import Recast Navigation
Import Recast Navigation as third party dependency
Credits go to Mikko Mononen memon at inside dot org
2012-02-06 22:51:24 +01:00
Quriq14
97cb838de1 [11901] Prevent EVENT_T_TIMER_OCC to expire while evading
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-06 21:18:39 +01:00
stfx
02101dc111 [11900] Sync default range for Say and TextEmote
Sync default values in core to the values we pass by default in the config file

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-04 19:12:33 +01:00
Reamer
c4b061e894 [11899] Fix HandleListStabledPetsOpcode to work with spell-access to stable
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-04 18:24:37 +01:00
cyberium
35e991d70e [11898] Prevent resetting instances while offline players are in it
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 22:42:43 +01:00
cyberium
2836e704a8 [11897] Remove redundant call of ResetInstance - Raids cannot be reset at all
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:43:43 +01:00
Hundekuchen
ceeafd567c [11896] Implement spell 32960
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:17:59 +01:00
Forusim
ac2398aeb2 [11895] Implement spell 31447
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:17:51 +01:00
Schmoozerd
9dbd54ea19 [11894] Implement spell 21056 2012-01-31 19:17:38 +01:00
rsa
c9ead52e68 [11893] Fix copy&paste error from last commit - otherwise server will crash with first loaded player pet
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 14:42:02 +01:00
Schmoozerd
6aab5c1022 [11892] Really fix [11890]. This basicly reverts commit 11890
Remove the actually not required faction check in Player::GetNPCIfCanInteractWith - this is done by IsHostileTo a line before
Improve the Player-login AtWar selection to also consider forced reactions

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 00:16:21 +01:00
Xfurry
85309aa3c1 [11891] Implement aura handling for spells 61900, 62019
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-30 01:07:44 +01:00
Schmoozerd
3e552fc739 [11890] Fix Player::GetNPCIfCanInteractWith to consider forced reactions
This will fix ie quest 9410 A Spirit Guide

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-27 00:20:14 +01:00
pasdVn
0fe4f21b6a [11889] Improve handling of target mode TARGET_RANDOM_NEARBY_DEST
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-26 00:57:36 +01:00
Schmoozerd
f25e14fd9f [11888] Implement FLAG_DESPAWN_ON_EVADE for creature_linking.
Thanks to Xfurry for testing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 23:27:27 +01:00
rsa
df9e0ebf6a [11887] Fix spell targeting for pet spells with target-type (0,0)
Also some style improvements

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 22:57:37 +01:00
rsa
d1a45fed71 [11886] Implement periodic aura effect of 58886
Research and original patch by Lopin
Thanks to tst12 for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 22:07:51 +01:00
Astoria
8aadf27964 [11885] Add spell_proc_event values for spell 72413
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 21:21:11 +01:00
Schmoozerd
5506b22b38 [11884] Fix missing cast from changes of 11880
Thanks to Rog360 for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-24 23:15:21 +01:00
Xfurry
d8466dc392 [11883] Implement spells 32300, 32301
Based on research done by Bugfix at SD2 forums
Also reorder a few case spell_id in this area

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-24 19:19:01 +01:00
C:/Program Files (x86)/git/dev/rsa
2c175f6d82 [11882] Improve a few functions related to Angle calculation
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-23 22:51:19 +01:00
Xfurry
de3bdc0ed0 [11881] Implement ScriptEffect of spell 49405
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-23 22:10:00 +01:00
Schmoozerd
71bdb8e5b6 [11880] Ensure that db saved values and values in memory are in sync
This fixes db-errors for npcs with random movement added with .npc add command.
Patch inspired by NoFantasy and MasterTomas
2012-01-20 02:58:42 +01:00
faramir118
eca3586d74 Fix some combat behaviour of NPC-Pets
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-20 00:42:59 +01:00
Schmoozerd
177bc78108 [11879] Inform AI function of original caster in some cases
Inform the AI of an original caster for JustSummoned and SpellHitTarget.
This should make scripting some hard cases easier.
Remark that _both_ caster and original caster will be informed (if they are different).

Check your scripts that they still behave as expected!
2012-01-19 00:05:38 +01:00