Commit graph

4954 commits

Author SHA1 Message Date
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
Darkruler
0b7f090a37 [9916] Fixed .account onlinelist work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-17 02:20:32 +04:00
VladimirMangos
ce761f4925 [9915] Clarify game_event field values and fix typos.
Thanks to BrightStone for pointing to ;)
2010-05-17 01:57:54 +04:00
NoFantasy
628f11e1a7 [9914] Add script effect of spell 51864, 51889 and 51910
In addition, dummy effect of spell 51866 and 51872 and dummy aura effect of spell 51870.
Dummy effect of 51866 might need additional work (see comments).

Code expect additional spell cast by AI (summon dummy at death of related quest target creatures).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-16 13:52:51 +02:00
NoFantasy
fab9a3ae96 [9913] Fix TARGET_SCRIPT searcher and also look for objects that are Pet*
Pet (guardian, mini-pet) may also be the target of TARGET_SCRIPT, and are not considered a grid object.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-16 09:29:49 +02:00
VladimirMangos
6d5d8778fa [9912] Partly revert [9911] :/ 2010-05-16 09:51:52 +04:00
VladimirMangos
112afc260c [9911] Check script using and existance at creature_movement_scripts load. 2010-05-16 09:26:48 +04:00
LordJZ
0828c3aa81 [9910] Implement expected from 3.2.x time limit for BattleGroundWS.
With updates and fixes from zergtmn.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 07:56:44 +04:00
VladimirMangos
df6bd3df30 [9909] Prevent SQL injection in equipment sets code.
Author of original verison: Machiavelli
2010-05-16 05:25:02 +04:00
LordJZ
92b7920cbb [9908] Add missing break. Not affect current code work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 03:38:34 +04:00
LordJZ
ad1926585e [9907] Make comment really proccessed by doc generator.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 03:32:59 +04:00
Patman128
2ee1bb5219 [9906] More user friendly output at DB version check fail.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-16 03:03:25 +04:00