Commit graph

4290 commits

Author SHA1 Message Date
VladimirMangos
ec0141261a [9843] Restore need seelction show at loot roll.
Also some clanups including merge 2 roll type enum.
2010-05-07 01:39:52 +04:00
NoFantasy
de95b8ad5f [9842] Remove a line of whitespace
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-06 10:02:14 +02:00
Laise
91572b1e01 [9841] Really fix invisible target selection for TARGET_AREAEFFECT_CUSTOM 2010-05-06 10:54:08 +03:00
VladimirMangos
53b056cfff [9840] Include Timer.h for getMSTime in SendMonsterMoveByPath 2010-05-06 05:10:05 +04:00
Laise
432b1b8b38 [9839] Fix shadow damage part of 55090 and ranks 2010-05-05 17:51:39 +03:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
Laise
e83aa1ba9d [9837] Remove calls to Taken part when its not used for damage dealing and fix HoT tick amount used in 18562 code(Thanks to insider42) 2010-05-05 06:58:16 +03:00
VladimirMangos
6dec6c8a9f [9836] Make log output code more consistent for diff build modes.
* Make possible have debug output if build in release mode.
* But preserver current optimization in avoid debug output args
  calculation if debug ouput disabled if done using DEBUG_LOG
* Implement in same way BASIC_LOG, DETAIL_LOG. Recommended use
  its instead explicit access to sLog
* Use variadic macros for DEBUG_LOG and other new defines.
  All supported VS/GCC have its support as C++ extension.
* Add DEBUG_FILTER_LOG and semilar defines for filered log output and use its.
* Also move recent added debug output for transport events under LOG_FILTER_TRANSPORT_MOVES
2010-05-04 22:29:11 +04:00
Laise
6726a08b48 [9835] Fix broken compilation after [9831]. Thanks to VladimirMangos. 2010-05-04 19:52:08 +03:00
Laise
9c6b53aca9 [9834] Fix damage bonus applying from 49471 and ranks to 49143 and ranks 2010-05-04 17:12:06 +03:00
Laise
8a4b520979 [9833] Allow TARGET_AREAEFFECT_CUSTOM to target invisible/not targetable npc if script target for them exists 2010-05-04 15:05:29 +03:00
NoFantasy
92ab082fc6 [9832] Move function to select an attacking target from EventAi to Creature class
Also rename function to a more descriptive name, SelectAttackingTarget

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-04 12:46:09 +02:00
Laise
0cc946e91e [9831] Fix type conversion in spell/healing bonus calculations 2010-05-04 07:22:18 +03:00
VladimirMangos
3f5eccd8a9 [9830] Implement taxi/transport event scripts support. 2010-05-03 19:39:53 +04:00
VladimirMangos
e54c919adb [9829] Avoid redundent data copy in transport waypoints generation. 2010-05-03 13:38:30 +04:00
Laise
577812ff6e [9828] Fix TARGET_AREAEFFECT_CUSTOM 2010-05-03 11:14:55 +03:00
XTZGZoReX
d3f6a89313 [9827] Rename two more opcodes (related to projectiles). 2010-05-03 05:26:05 +02:00
VladimirMangos
34d1c80c85 Replace DOS lines ends by Unix version. 2010-05-03 04:19:38 +04:00
KiriX
c5ed3978bc [9826] Fix spell 38736
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-05-02 23:17:56 +02:00
XTZGZoReX
049951a988 [9825] Rename one more opcode. 2010-05-02 07:44:13 +02:00
VladimirMangos
57dcc84940 [9824] Use in taxi flight movegen original taxipath data. 2010-05-02 06:14:26 +04:00
VladimirMangos
c52e9c5d27 [9823] Really fixed link error in gcc after [9816]. 2010-05-02 06:14:02 +04:00
NoFantasy
555e1b8d6d [9822] Fix link error in gcc after [9816] and include needed header
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-02 00:44:29 +02:00
XTZGZoReX
fa7f495f48 [9821] Rename two more opcodes... 2010-05-01 23:18:08 +02:00
Spp
b3af0b3233 [9820] Fix some handlers (correctly use Handle_ServerSide).
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-05-01 22:44:31 +02:00
XTZGZoReX
e83781f6a7 [9819] Rename some more opcodes.
Also fix the name of some older opcodes that were marked as obsolete but no longer are.
2010-05-01 21:45:27 +02:00
Laise
e076f50a2f [9818] Fix display bug when spell with more than 1 persistent area aura effect had several icons 2010-05-01 20:54:20 +03:00
Pygmy
a0c32a101c [9817] Add dummy effect of spell 53808
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-01 15:39:12 +02:00
NoFantasy
ebc5de7477 [9816] Add script effect of spell 44462
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-01 10:33:31 +02:00
VladimirMangos
4fd4c1da3f [9815] Some cleanups in vc100 project files.
* More wide use $() for have same textual values for all build modes
* Fix NoPCH_Debug build.
2010-05-01 00:59:28 +04:00
VladimirMangos
b5347feeaa [9814] Add filter files to VC100 projects
Its store file groupping info into projects.
2010-04-30 21:11:48 +04:00
VladimirMangos
11372470ba [9813] Add VS2010 project files to git_id 2010-04-30 01:12:40 +04:00
Spp
d3fd1a6cf3 [9812] Fix a typo. 2010-04-29 22:42:44 +02:00
XTZGZoReX
1746ce94c5 [9811] Update/fix some opcode names. 2010-04-29 22:19:15 +02:00
VladimirMangos
c121c96691 [9810] Move pre-switch sql updates (except realmd related) to subdir. 2010-04-29 22:31:29 +04:00
KiriX
7ce07fb495 [9809] Drop dead code after switch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-29 22:19:22 +04:00
VladimirMangos
4910add486 [9808] Simplify TaxiPathNodes data use, specially for transport case. 2010-04-29 19:44:21 +04:00
Spp
de3192b2f5 [9807] Add some missing (dummy) opcode handlers to the list.
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-04-29 17:21:10 +02:00
VladimirMangos
9e356f10c9 [9806] Fixed player loading to transport.
Bug exist already some time but possible hide by another code way work or
client change maybe.
2010-04-29 17:25:13 +04:00
VladimirMangos
6146e19acb [9805] Fixed lost flight mount/form for GM in old contentes. 2010-04-29 15:32:48 +04:00
NoFantasy
05d8b00ad4 [9804] Add script effect of spell 52941
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-29 13:30:17 +02:00
Laise
a69018efec [9803] Fix typo in taken damage/healing bonus calculations and fix damage of 64085 2010-04-29 13:14:44 +03:00
Laise
dbf19ba5e3 [9802] Fix 17962 damage broken after [9798] commit 2010-04-29 12:07:05 +03:00
Olynn
9d8aab98e6 [9801] Typo in enum name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-29 11:45:42 +04:00
VladimirMangos
a765f1f0e7 [9800] Not need explicit value numbering for internal server side enum 2010-04-29 00:44:42 +04:00
NoFantasy
8a212ac0df [9799] Remove duplicate code causing next reset of daily/weekly quests to double up
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-27 16:26:47 +02:00
Laise
471af8fb27 [9798] Implement basic splitting for caster/target part damage/heal bonus calculations, periodic damage/heal over time auras will now store m_amount with caster side bonuses applied and calculate target part on each tick. Currently critical chance/bonus calculations are not affected by this change 2010-04-27 13:13:50 +03:00
Chipleo
bb95e4a868 [9797] Prevent interect with NPC/Gameobject player in non-react state
* (stun,confuse,fleeing).
* This also fix cheating with taxi use.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-27 05:30:25 +04:00
SilverIce
6ab55fa09e [9796] Controlled unit should be a source of movement packets, not player-controller.
Now movements of controlled unit are visible for nearby players,
even when controller too far from controlled unit

This new type of packet broadcasting used in HandleMovementOpcodes handler only,
maybe it can be used somewhere else.

(based on SilverIce's repo commit d2387ca)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-26 14:02:41 +04:00
patman128
3032e80bb6 [9795] Implement CONDITION_INSTANCE_SCRIPT (mapid, some_id)
True if mapid fit to called instance map id and instance script confirm success for some_id case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-26 09:12:48 +04:00