Commit graph

3142 commits

Author SHA1 Message Date
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
darkstalker
c018563669 [9905] Correct SMSG_INSTANCE_DIFFICULTY structure (fixes raid difficulty display).
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-05-16 00:31:53 +02:00
VladimirMangos
aaa33d5385 [9904] Add new config option for wait mode at startup error.
Note: it not applied to crashes and shutdowns after mangosd/relamd startup completed.
You can continue without delay (as now) and fast exist, or wait <Enter>, or some secs
for continue. Last can be helpful for see for example not applied sql update revision
data and etc.
2010-05-16 02:19:40 +04:00
Lynx3d
f492ee6794 [9903] Fixed build problem at *nix.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 23:41:42 +04:00
VladimirMangos
efba75312d [9901] Second attempt fix sql update :/ 2010-05-15 12:45:28 +04:00
darkstalker
9fb36ed021 [9900] Fix SPELL_MOD_SPELL_BONUS_DAMAGE applying
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-15 11:37:07 +03:00
VladimirMangos
3424dbf1fa [9899] Fixed sql update for ptrev. commit. 2010-05-15 11:37:42 +04:00
VladimirMangos
1f741a16b3 [9898] Implement redundent values check in spell_bonus_data
Also do table content cleanup base at added feature.

Original check code provided by nos4r2zod.
2010-05-15 11:25:21 +04:00
VladimirMangos
6e92d43237 [9897] Avoid multiply AP bonus coeff. with spell power bonus.
Problem exist in original code before recent commits.
2010-05-15 11:17:38 +04:00
nos4r2zod
b2b8ca1d70 [9896] Cleanup spell bonus coeff use code
* Avoid coeff calculation if target value is 0.0f
* Avoid use spell_bonus_data coeffs for creature damage.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 11:17:17 +04:00
nos4r2zod
e880e7d236 [9895] Move DotFactor+GetSpellCastTimeForBonus call to CalculateDefaultCoefficient
* This coeff used if not spell_bonus_data provided for spell
* Continue prev. commit line expected that creature casts not affected by DotFactor

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 11:16:02 +04:00
nos4r2zod
4951f846dd [9894] Move GetCastingTimeForBonus and some other code to GetSpellCastTimeForBonus.
Important changes:

* Chaged way caluclation "-5% of total per any additional effect" to percent
  apply instead use raw value that correct only for 3500 cast time spells.
* GetSpellCastTimeForBonus result now alwasy not applied to creature casted spells
  Before it not applied only to instant spells. Please test if this ok in all cases.
* Leech effect modify spell casting time move into GetCastingTimeForBonus and then called
  also for melee spells. But only creature spells exist with melee class damage and its
  not affected by GetCastingTimeForBonus anyway now.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 11:15:05 +04:00
nos4r2zod
34a1cc31d0 [9893] Fixed some spelling typos in function/structure names.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 11:14:03 +04:00