450 Commits

Author SHA1 Message Date
Antz
474fa45ebb Fix crash when loading invalid vmap data. Author @jackpoz
Fix array overflow when loading Models from vmap tiles with wrong/outdated/bad data.
2016-02-24 11:51:37 +00:00
Antz
e971e46477 Merge pull request #91 from Olion17/develop21
[Scripts] Allow SD3 scripted dummy and script spelleffects upon players
2016-02-23 08:55:30 +00:00
Olion
c942e9ec1a [SD3] Updated 2016-02-23 08:53:06 +00:00
Olion
c571e47a8a Merge remote-tracking branch 'zero/develop21' into develop21 2016-02-22 23:20:21 +02:00
MadMax
5654238603 Merge pull request #90 from H0zen/develop21
Fix playerbot module building
2016-02-22 18:27:43 +00:00
H0zen
b21d79183b Fix playerbot module building 2016-02-22 19:40:22 +02:00
Olion
1cfae0615b Merge remote-tracking branch 'zero/develop21' into develop21 2016-02-22 12:45:47 +02:00
MadMax
72ee46d721 Merge pull request #89 from H0zen/develop21
Refactor the areatrigger_teleport to use condition system.
2016-02-21 22:24:40 +00:00
H0zen
272e76e8b6 Minor fix. 2016-02-21 23:40:40 +02: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
Olion
414c3a433c [Spell] Stop casting non-instant spell when target is lost
Rogue vanish, hunter feign death, probably invis potion are handled.
Spell is interrupted w/o cooldown set (even if channeled) and mana loss.
https://www.getmangos.eu/issue.php?issueid=736
2016-02-21 14:34:10 +00:00
Olion
5982813b4e [Pets] The next Bestial Swiftness improvement
Looks like the only issue left: the pet returns to the master at normal "follow" speed after combat.
2016-02-21 14:10:04 +00:00
Olion
51828bdbba [Pets] Bestial Swiftness: should be incative while pet following
Predicted issue: the pet will not return to the master 30% faster.
Additional UpdateSpeed() call(s) may be in order elsewhere.
2016-02-21 14:00:12 +00:00
Olion
983ea0c038 Disables: DISABLE_TYPE_ITEM_DROP=10. Also fixed memory leak 2016-02-21 08:53:38 +00:00
Olion
71ba7d9374 Disables: item drop disable
Quest loot cannot be disabled here, disable the quest instead.
Not the most efficient implementation (chance is checked before disable), but working.
2016-02-21 08:49:32 +00:00
Olion
a3cde56b18 [Spell] minor cleanup
Too lazy to find out what exactly was influenced by it, but it was wrong :)
no effect != negative effect
2016-02-20 22:41:08 +00:00
Olion
93abbf4c72 Disable spawns: base checking entry, additionally - guid
Set `flags` to 1 and `data` to guid.
If flags not set, all spawns of the entry are disabled.
2016-02-20 22:26:59 +00:00
Olion
ae88c9cdcf [AI] Accounting disabled LoS check while mob casting 2016-02-20 22:21:57 +00:00
Olion
b91cdd6d8d a minor cleanup 2016-02-20 22:20:15 +00:00
Olion
763fcf6ccf [Map] Disable access to PvP barracks for too low ranks and other faction
H: Hall of Legends, A: Champion's Hall
This is a crude hack.
TODO: change areatrigger_teleport table to include condition ID; add condition for honor rank.
More TODO: refactor whole condition system to TC-likeness.
2016-02-20 22:19:24 +00:00
Olion
98dfabe70b [Loot] 50% player damage to mob reuired for reward
Unchanged TC backport. Not fully tested.
2016-02-20 22:17:26 +00:00
Olion
1b8c8209a7 Disable BG: another way to do 2016-02-20 22:15:48 +00:00
Olion
b9184b364a Channel world: disabling join/leave announces 2016-02-20 22:14:16 +00:00
Antz
0974681da2 Merge pull request #88 from H0zen/develop21
Various external fixes - part 4
2016-02-20 22:07:46 +00:00
Olion
aa7f682aa9 Interrupt autoshot by deselecting target 2016-02-20 22:06:09 +00:00
Rochet2
8d7be47e39 Eluna update version - Fix VS 2013 build 2016-02-20 23:02:32 +02:00
H0zen
787ac6036d Various external fixes - part 4
- ported commits from cmangos repositories
2016-02-20 18:21:44 +02:00
Olion
f7fa36681f Merge remote-tracking branch 'zero/develop21' into develop21 2016-02-20 11:56:37 +02:00
Antz
91df8aa4a6 Merge pull request #87 from H0zen/develop21
[Spell] Fix Mind Soothe aggro.
2016-02-20 08:40:25 +00:00
H0zen
6c4ca38d56 Correct spell damage taken on melee attacks.
- spell damage taken should be affected by auras id 14 (SPELL_AURA_MOD_DAMAGE_TAKEN)
    - fixes issue https://www.getmangos.eu/issue.php?issueid=605
2016-02-20 02:21:27 +02:00
Olion
247313df1d Reload command do not announce to player accs 2016-02-19 23:27:04 +00:00
Olion
22786bae5d [Log] Partially debugged logging code, still not connected to the core
Current state: player leveling works and reputation change must to, but this all needs to be tested extensively because of possible crashes.
Part connecting logging to the core I do not push yet.
The logging type PROGRESS is added (and mostly debugged).
2016-02-19 23:25:09 +00:00
H0zen
7e1d4c804e Fix Mind Soothe aggro.
- Fix issue https://www.getmangos.eu/issue.php?issueid=908
2016-02-20 00:51:00 +02:00
Antz
435d78e1aa Merge pull request #86 from H0zen/develop21
Validate the spawn distance passed to RandomMovementGenerator ctor
2016-02-19 15:22:54 +00:00
H0zen
ffffc0175e Make some errors more verbose. 2016-02-19 16:35:15 +02:00
H0zen
a1a3a0b0fb Validate the spawn distance passed to RandomMovementGenerator constructor. 2016-02-19 16:23:17 +02:00
Antz
0dda46f1f9 Merge pull request #85 from H0zen/develop21
Various external fixes - part 3
2016-02-19 13:19:58 +00:00
H0zen
c9a4609eac Updated submodule. 2016-02-19 13:00:17 +02:00
Olion17
73806ad2ae Not so bright warning if DB content newer than core awaits 2016-02-19 09:57:30 +00:00
Antz
ae4f5e150b [Extractors] Updated extractors to fix movement bug. Will need to reextract 2016-02-19 09:56:35 +00:00
H0zen
c7a96ab067 Various external fixes - part 3
- ported commits from cmangos repositories
    - also:
        + fix Movement::MoveSpline::ComputePosition to return only positive angles
        + improved algorithm for finding a random reachable point on ground
2016-02-19 01:06:54 +02:00
Olion
89a3ec852e Allow SD3 scripted dummy and script spelleffects upon players 2016-02-17 23:11:41 +02:00
MadMax
78c5faed9d Merge pull request #84 from H0zen/develop21
Various external fixes - part 2
2016-02-17 18:12:03 +00:00
H0zen
95991c8a81 Various external fixes - part 2
- ported fixes from cmangos repositories
2016-02-17 19:39:14 +02:00
MadMax
50e913d252 Merge pull request #83 from H0zen/develop21
Various external fixes - part 1
2016-02-17 14:33:09 +00:00
H0zen
625ea2a6db Various external fixes - part 1
- ported fixes from cmangos repositories
2016-02-17 15:46:42 +02:00
Antz
2acb9ffdd4 Merge pull request #82 from Olion17/develop21
Fixing crash at player leave map during loot roll
2016-02-16 22:00:17 +00:00
Olion
6c7b86c4bd Fixing crash at player leave map during loot roll 2016-02-16 22:35:33 +02:00
Antz
d721f96076 Merge pull request #81 from H0zen/develop21
Fix displaying the right ranks of spells in spellbook
2016-02-16 15:08:20 +00:00
H0zen
8261268c69 Improved version of previous commit
- addSpell now properly replaces ranked spells in action bar and spellbooks
2016-02-16 13:47:00 +02:00