Commit graph

4414 commits

Author SHA1 Message Date
zergtmn
fe226f897b [9966] Add CharacterDatabaseCleaner to VS2010 filters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 19:50:23 +04:00
Insider42
ff9990a777 [9965] Fixed triggering of spell 55095 by 45524.
(based on insider42's repo commit 90de00d)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

It include reverts commit ca99760e884d82219fff63ecf5f2ca87b02b5924
with less clean implemetation.

[patch 155] Fixed triggering of spell 55095 by 45524. Patch provided by me

(based on commit 90de00d)
2010-05-23 18:36:40 +04:00
Emme
8a424642e6 [9964] Implement Treshold in Masterloot.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 18:17:33 +04:00
VladimirMangos
702d368114 [9963] Implement per-tick chance for shard for spell 1120 and ranks. 2010-05-23 17:39:20 +04:00
VladimirMangos
c7ea2be1d1 [9962] Modify way 4x damage bonus claculated for spell 1120 and ranks.
* Now apply 4x bonus dependent from target health in time spell cast,
  not from current health in tick.
* 4x bonus applied to own spell damage value, not to total taken damage.
2010-05-23 15:32:13 +04:00
pasdVn
2c396da82b [9961] Restore work talent 18213 and ranks.
Thanks also to insider42 for updating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 15:05:23 +04:00
DonTomika
3f4544df9d [9960] Implement glyph 43390.
Chance unknown and seelcted by more recent comments.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-23 14:41:27 +04:00
VladimirMangos
fcf996b4fd [9959] Fixed resent radnom problem with looting related to skinning code changes.
Thanks to boxa for help in research problem.
2010-05-23 11:47:04 +04:00
VladimirMangos
f0b1c5bd74 [9958] Implement item 34753, 43015, 43478, 43480, 46887. 2010-05-23 00:32:58 +04:00
VladimirMangos
67b8ca03b5 [9957] Alow sell item for money and extanded coset without momey in same time.
npc_vendor.ExtandedCost can be negative now that meaning:
price excluded default item BuyPrice and use only abs(ExtandedCost) items).
For example expected used for item 36908.
2010-05-22 19:49:07 +04:00
VladimirMangos
94f7a7709d [9956] Spell 45524 expected apply debuf 55095 to target at cast. 2010-05-22 16:19:29 +04:00
VladimirMangos
de454d6ff8 [9955] Prevent negetive proc events from possitive effects of negative spells.
Some negative spells have positive effects with targets not affected by negative effects of spell.
For example spell 45524 cast negative effecst to target and possitive effect to caster self.
For like possitive only target of negetive spell will not triggered negative proc events.
In last cases will avoid triggering glyph 43537 at caster at spell 43537 cast.
2010-05-22 16:18:03 +04:00
VladimirMangos
182fda8f3e [9954] Lost socket.vcxproj referecne in VS projects.
Thanks to j4r0d for catch this.
2010-05-22 15:59:10 +04:00
NoFantasy
0aac44e091 [9953] Remove two not needed cast to Creature* and make code more safe
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-22 12:04:35 +02:00
VladimirMangos
f758fac6f7 [9952] Allow update subgroup in raid for offline players.
Also prevent crash and wrong subgroup number send from client.
2010-05-22 11:57:26 +04:00
VladimirMangos
29c0efe9b4 [9951] Fixed bug with raid subgroup size update at move member to another.
Also some code cleanups
2010-05-22 11:38:45 +04:00
Hantet
5940bd7d07 [9950] Fixed crash at .gobject turn command (at *nix at least)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-22 11:01:59 +04:00
VladimirMangos
d740b2f167 [9949] Add target for TARGET_DUELVSPLAYER_COORDINATES only if not provided by another way.
This fix for exmple unexpected empry heal if targeted by spell 48438 and ranks.
2010-05-22 10:19:08 +04:00
NoFantasy
7151b4e538 [9948] Remove a few not needed checks in spell script effect
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-21 09:28:37 +02:00
VladimirMangos
2591a2333a [9947] More skinning fixes.
* Restore work with money loot.
* Old code sometime generate empty loot windows for normal loot and sometime skip its.
  Code changed to be more consistent. Added new option Corpse.EmptyLootShow that control
  show empty normal loot window in some cases enabled by default:
   - if creature expected to be lootable but loot generated empty by some reasons.
   - if creature can be skinnable
  If option disabled thne code attempt avoid empty normal loot windows for empty cases.
* Possible fixed case instant despawn non-skinable creature after normal loot complete.
2010-05-21 11:10:59 +04:00
j4r0d
c2fc89c86c [9946] Prevent remove unexpected for remove spell at cast 35729.
Also drop removed spell call for spells 19574/34471.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-21 07:55:36 +04:00
VladimirMangos
33c9af577c [9945] Update mangos_spell_check.sql
* Add all data from Spell.cpp
* Add missing data from recent commist for added parts of SpellEffect.cpp
2010-05-21 07:33:52 +04:00
j4r0d
36a76e38a9 [9944] Implement spell 633 and ranks self casting restrictions in 3.3.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-21 05:39:25 +04:00
NoFantasy
bca866cd8c [9943] Add a small delay for npc despawn related to spell 51840
This will solve problem with summoned GO that does not appear before later, but does not solve problem with visual effects (which is a generic problem with many spells).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-21 00:14:53 +02:00
VladimirMangos
4f4bf7f45d [9942] Output ACE version at realmd start. 2010-05-21 01:26:28 +04:00
NoFantasy
f14c0e319f [9941] Add additional check for UNIT_NPC_FLAG_GOSSIP before using TalkedToCreature
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-20 09:29:03 +02:00
Derex
47186c05ec [9940] Fix typo in AuthSocket.cpp 2010-05-20 02:10:45 +03:00
VladimirMangos
540edb5a81 [9939] Sockets library use finally dropped
Specially thanks to Derex for make this possible! :)
2010-05-20 02:57:46 +04:00
NoFantasy
b881c06104 [9938] Correct premature call of TalkedToCreature.
Only use TalkedToCreature when gossip does not have any following sub menu (and of course when the prepared npc options does not include any gossip)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-20 00:06:49 +02:00
AlexDereka
85e3100bc7 [9937] Added copyright notice. 2010-05-20 02:05:17 +04:00
Derex
8814eec3eb [9936] Remove sockets library from UNIX build 2010-05-20 00:15:50 +03:00
Derex
8a1fd9e086 [9935] ACE realmd, thanks to Zor and Vladimir for windows. 2010-05-19 23:37:35 +03:00
VladimirMangos
d4f1b510ae [9934] Skinning related fixes
* Show skinning tooltip only after creature loot
  (when creature can be explcitly skinned).
* Allow reopen skinning loot if still have not looted items.
2010-05-19 15:35:20 +04:00
zergtmn
cad8693819 [9933] Call DealDamageMods for leech DoTs damage
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-19 05:15:12 +04:00
VladimirMangos
49751e40f9 [9932] Change AllowTwoSide.Accounts default in code also.
And update config version.

Also note: it not has been propertly updated in prev. time
when config version in .conf.in changed. It must be sync changed in
*.conf.in and in SystemConfig.h.in
2010-05-19 04:51:04 +04:00
The_Game_Master
b33dabea68 [9931] After 3.2.0 expected AllowTwoSide.Accounts = 1 for any realm type by default.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-19 04:42:33 +04:00
VladimirMangos
adb09fd0f4 [9930] Move enum QuestTypes to QuestDef.h where it only used.
This is also fix build at GCC
2010-05-19 04:30:09 +04:00
VladimirMangos
54c2da8d53 [9929] Move apply spell coeffs and level penalties code to new function.
* No reson have 6 copies near to exactly same code.

* This fix problem with apply attack power bonus in some case.
  Thanks to Wowka321 for find and reseach problem.
2010-05-19 02:50:31 +04:00
bloutix
a457f35b21 [9928] Fix build...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-19 01:21:24 +04:00
VladimirMangos
d5c7e7b7d2 [9927] Support new raid allowed quest types. 2010-05-18 15:36:50 +04:00
zergtmn
611b53fab8 [9926] Typos in Unit::DealDamageMods
Can be source very strange damage/absorb and any near stored/calculated in memory values. and crashes also.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-18 14:21:22 +04:00
VladimirMangos
d86dcd60d7 [9925] Add more log filters
* damage - different direct damage calculation tracing
* combat - combat state updates, roll attack result and etc
* spell_cast - spell cast progress and aura apply
2010-05-18 12:38:52 +04:00
VladimirMangos
b6d7365ac9 [9924] Implement .server log filter and .server log level comamnds.
* .server log filter comamnd let temporary (until config reload or restart)
  set log filters state. Or look at filters state.
* .server log level renamed from .server set loglevel but now let look at log level also.
2010-05-18 12:03:02 +04:00
zergtmn
ffd2cf874d [9923] Fixed typo in prev commit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-18 10:35:24 +04:00
LordJZ
60bdbed8f4 [9922] Rename BG_WS_UNK1 -> BG_WS_TIME_ENABLED
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-18 04:59:58 +04:00
VladimirMangos
bed8794a75 [9921] In case player who tap creature in group leave group it must anyway rewarded with group. 2010-05-18 04:48:33 +04:00
KillerFrca
e5dc7a098c [9920] Restore group rewarding at player kill.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-18 04:37:59 +04:00
VladimirMangos
bfffc715e5 [9919] Output player name in ObjectGuid player output string. 2010-05-17 12:59:19 +04:00
VladimirMangos
696a4b6db0 [9918] Fixed player's tapped creature loot access by group in diff cases
* If player tap creature in group and leave then group will have access to creature loot if not disbanded
* If player tap creature and after join to group then creature loot will accesable only by player
* Also RewardPlayerAndGroupAtKill divided to simgle player and group reward versions used for group tap
  and single player tap cases.
2010-05-17 12:56:57 +04:00
VladimirMangos
96d50bf55a [9917] Fixes in loot roll timer work and related cleanups.
* Changes include (in fact as part cleanup) fix got NeedBeforeGreed locked item after expire roll timer
  suggested by somedruid@mangos.lighthouseapp.com.
* Added cancel rolling at creatuer corpse remove.
* For NeedBeforeGreed and GroupLoot sued common code for prepare item roll.
2010-05-17 05:29:01 +04:00