380 Commits

Author SHA1 Message Date
namreeb
366d693f98 Fixed double fclose() in genrevision and general tidy up 2016-03-22 16:46:56 +00:00
cyberium
7403811408 Added Missing function 2016-03-22 16:23:18 +00:00
killerwife
ae301df9fd Fix for branching within exclusiveGroup questline.
Fixed a special case when quest A has prequest B, that has exclusiveGroup<0, and exclusiveGroup relates to quest C, hence quest A should continue just after parent activation/completion not whole exclusiveGroup completion.

See https://github.com/classicdb/database/issues/761 for a good write up of the issue
2016-03-22 12:25:07 +00:00
cyberium
ad0ca2e067 Fix wrong PartyResult enum value.
Probably a backport issue.
2016-03-22 12:10:45 +00:00
cyberium
082209e8a5 Fix spelling of IsSwimmable.
Thanks @Fabian.
2016-03-22 11:51:30 +00:00
Antz
aa1642164e [CharDB] match client limits. 2016-03-22 10:33:15 +00:00
namreeb
d40731af6b Fixed output error in .mmap path 2016-03-22 00:15:54 +00:00
evil-at-wow
ca40e29e69 Some minor code changes.
With the introduction of user-defined literals in C++11, code that uses
format macro constants with no space after the preceding string literal
is invalid.

Also avoid using code that will be seen by a C++11 compiler as an
invalid use of a variably-modified type (a variable-length array or
type derived from it).
2016-03-21 11:49:54 +00:00
stfx
baf374d2f9 Enable areatrigger teleports in battleground
Idea by @joschiwald

Also cleanup and unify related code
2016-03-21 07:34:11 +00:00
Antz
c453b05106 Corrected website URL 2016-03-20 22:09:21 +00:00
Olion17
daad6a084b [SD3] Updated SD3 submodule 2016-03-20 19:41:57 +00:00
Olion17
2f17dbe017 [GM] .ticket command rework
Including ticket numbering fix (now real ticket IDs throughout)
Closing tickets for offline players
2016-03-19 22:23:37 +00:00
Zwisus
551a28f9f9 Fix Eluna OnCreatureKill
Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-18 16:23:39 +08:00
Zwisus
92ea73bbce Holy Light and Seal of Righteousness PROC and Flash of Light receive benefit from Spell Damage and Healing too low.
Signed-off-by: Zwisus <zlt988@gmail.com>
2016-03-18 14:34:11 +08:00
Zwisus
c8b4d06b6a Fix Paladin Hammer of Wrath,Judgement of Command,Seal of Command PROC,Seal of Righteousness Dummy Proc receive benefit from Spell Damage and Healing.
Prevent Seal of Command damage overflow.
Fix Talent  improve Seal of Righteousness.
Config in DB spell_bonus_data.
2016-03-18 11:51:16 +08:00
Antz
f05f21a631 Merge pull request #102 from H0zen/develop21
Fix crash on taming rare creatures.
2016-03-17 14:18:18 +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
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
H0zen
7341bd350d [Extractors] Updated Extractors 2016-03-08 11:15:17 +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
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
Olion
ed365bed34 Minor refactoring of auto-replacing player spell ranks 2016-03-02 14:09:26 +02: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
Antz
51e019d4f9 [SD3] Updated submodule 2016-02-25 20:14:03 +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
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