1030 Commits

Author SHA1 Message Date
Antz
f05f21a631 Merge pull request #102 from H0zen/develop21
Fix crash on taming rare creatures.
2016-03-17 14:18:18 +00:00
Antz
db4c6098a1 Merge pull request #101 from zwisus/zwisus
Low-level spells cast by high-level players will receive smaller bonu…
2016-03-17 14:17:31 +00:00
H0zen
f6731a4f91 Fix crash on taming rare creatures. 2016-03-17 15:41:26 +02:00
Zwisus
118c2a3073 The energy gained from "Thistle Tea" now decreases with levels past 40.
Until Patch 2.0.3
http://wowwiki.wikia.com/wiki/Patch_2.0.3

Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-17 21:13:18 +08:00
Zwisus
347ccad218 Low-level spells cast by high-level players will receive smaller bonuses from +healing and +spell damage.
until Patch 2.0.1

Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-17 20:30:19 +08:00
Antz
1f37bc0bc6 Merge pull request #100 from H0zen/develop21
Various external fixes - part 6
2016-03-12 08:42:34 +00:00
H0zen
be9e1176d9 Fix wrong use of uninitialized locks.
Whenever ACE_XXX_Thread_Mutexes are used, there are 3 fundamental rules to obey:
1. Always make sure the lock is initialized before use;
2. Never put 2 locks each other in memory (false sharing effect);
3. Always verify that the lock is really acquired - use ACE_XXX_GUARD macros;
2016-03-11 20:53:59 +02:00
H0zen
96dc9c854f Various external fixes - part 6
Ported commits from cmangos repositories
- https://github.com/cmangos/mangos-classic/commit/82f0bea
- https://github.com/cmangos/mangos-classic/commit/8bb9271
- https://github.com/cmangos/mangos-classic/commit/ba373b1
- https://github.com/cmangos/mangos-classic/commit/7800ce6
Also
- fixed MacOS X build
2016-03-11 17:09:32 +02:00
Antz
e8b6cf7482 Update ScriptCommands.md 2016-03-08 22:30:31 +00:00
H0zen
7341bd350d [Extractors] Updated Extractors 2016-03-08 11:15:17 +00:00
Antz
bd6a2da446 Merge pull request #98 from H0zen/develop21
Fix the AuctionHouseBot seller not posting auctions
2016-03-07 21:17:56 +00:00
H0zen
e91cdfbdd1 Fix the AuctionHouseBot seller not posting auctions on some architectures/builds
The issue was a forgotten initialization.
2016-03-07 15:23:44 +02:00
Antz
5ebe0a0194 Merge pull request #97 from H0zen/develop21
More robust checks on mutex acquire.
2016-03-04 22:25:09 +00:00
H0zen
c4aa484bea Update Eluna submodule. 2016-03-04 23:34:57 +02:00
H0zen
b026642ce2 More lock fixes. Also fix the .character level command 2016-03-04 16:46:51 +02:00
H0zen
dbc21ed903 More robust checks on mutex acquire.
- When using ACE_xxx_Guard, the caller must ensure the internal lock is really acquired before entering the critical section
(see http://www.dre.vanderbilt.edu/Doxygen/6.0.1/html/libace-doc/a00186.html#_details - Warnings paragraph)
2016-03-04 14:30:48 +02:00
Antz
fc72b48f84 Merge pull request #96 from H0zen/develop21
More fixes.
2016-03-03 19:55:13 +00:00
H0zen
2a71b6a089 More fixes.
- fix the GO's type 8 (traps) to trigger on more conditions. This solves the annoying issue of Basic Campfires not giving spirit buffs.
    - fix and simplify the Player::addSpell function. All credits go to @Olion17 for refactoring the code.
    - having the trap GO's more responsive, let's hope the issue https://www.getmangos.eu/issue.php?issueid=735 is finally solved.
2016-03-03 17:23:16 +02:00
Olion17
ceaf2aa1e9 cleanup inspired by GCC build 2016-03-02 23:34:54 +00:00
Antz
c7ebd0cb92 Merge pull request #95 from Olion17/develop21
Minor refactoring of auto-replacing player spell ranks
2016-03-02 18:10:52 +00:00
Olion
ed365bed34 Minor refactoring of auto-replacing player spell ranks 2016-03-02 14:09:26 +02:00
Olion
b47f186c76 Merge remote-tracking branch 'zero/develop21' into develop21 2016-03-02 10:45:41 +02:00
MadMax
a30e9df93e Merge pull request #94 from H0zen/develop21
Various fixes. Fixes #1017
2016-03-02 00:30:59 +00:00
H0zen
c4750d29ff Various fixes
- fix a bug in Player::addSpell causing wrong values in skills and talents. Thanks @Olion17
    - fix doubling the text displayed in channels` chat when playerbots building is enabled.
2016-03-02 01:30:16 +02:00
Olion
852d00014a Merge remote-tracking branch 'zero/develop21' into develop21 2016-02-27 20:26:27 +02:00
H0zen
6ae46f691a Various external fixes - part 5
Ported commits from cmangos repositories
    + https://github.com/cmangos/mangos-classic/commit/a3d6d1a
    + https://github.com/cmangos/mangos-classic/commit/cd32eab
2016-02-27 20:25:46 +02:00
Antz
8f7ae31212 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-27 20:25:46 +02:00
Antz
51e019d4f9 [SD3] Updated submodule 2016-02-25 20:14:03 +00:00
Antz
886d21d1ef Merge pull request #93 from H0zen/develop21
Various external fixes - part 5
2016-02-24 23:55:01 +00:00
H0zen
59d55845e7 Various external fixes - part 5
Ported commits from cmangos repositories
    + https://github.com/cmangos/mangos-classic/commit/a3d6d1a
    + https://github.com/cmangos/mangos-classic/commit/cd32eab
2016-02-25 01:09:40 +02:00
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