Commit graph

4014 commits

Author SHA1 Message Date
KAPATEJIb
3a5f6ff0fb [9505] Removed facing limitation for spell 2764.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 23:47:21 +01:00
KAPATEJIb
6f5d57cd04 [9504] Removed obsolete code for spell 18096 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 22:39:24 +01:00
pasdVn
53623696cc [9503] Updated behavior of auto shot according to the client changes.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 22:11:35 +01:00
unknown
ab74b20006 [9502] Update SpellCastResult enum to 3.3.x state. 2010-03-01 14:18:20 +01:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
VladimirMangos
52ace6bcb7 [9500] More speel effects table cleanups in comments 2010-03-02 11:42:07 +03:00
NoFantasy
6ec9dd5d93 [9499] Add replacement spells for GO type 10 that may have dummy spellId in _template
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 16:52:25 +01:00
arrai
faa29797f6 [9498] Restored build on *nix 2010-03-01 15:09:39 +01:00
NoFantasy
44d768cac5 [9497] Implement basic use of SPLINETYPE_FACINGTARGET
Adjust related helper function accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 14:13:35 +01:00
VladimirMangos
4a051e2443 [9496] HomeBind fixes.
* Use area id instead zone id for home bind zone info as expected.
  This will for example proper show capital name in area himebinding for capital; tavern.
* Clarify that player create zone in fact is area (subzone)
* Implement SPELL_EFFECT_BIND for normal homebinding.
  Also support spell target position mode used in 53823/53821 spells
* Add Spell::EffectEmpty for mark spell effects that used but not expect any code in handler.
  Example weapon spells that used just as known spell markers for client.

Original patch idea inspirit by Sadikum patch suggestion.
2010-03-01 13:08:52 +03:00
qsa
aa13458b69 [9495] Show overheal from HoT in combat log.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 09:00:33 +03:00
qsa
827d47a211 [9494] Implement SPELL_EFFECT_JUMP (41).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 08:37:42 +03:00
laise
59b28e3110 [9493] Fixed wrong spell cast at talent 50391 and ranks apply case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 07:46:01 +03:00
VladimirMangos
7ecd5365b9 [9492] Some cleanup in effects table. 2010-03-01 06:43:02 +03:00
NoFantasy
1f329d2fb3 [9491] Restore code commenting style after 9489/9490
Adjust comment style for rest of function and some additional code style cleanup.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 03:22:22 +01:00
VladimirMangos
9ba8235649 [9490] Make common apply/remove handler for another spell group in HandleAuraDummy 2010-03-01 02:12:20 +03:00
VladimirMangos
7550c31138 [9489] No reason have different code for apply/remove for this spells. 2010-03-01 01:57:44 +03:00
arrai
5df9eaff8b [9488] Fixed semaphore locking on non-posix systems 2010-02-28 23:49:35 +01:00
pasdVn
9811c0d0e3 [9487] Fix a typo in Pet::addSpell
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-28 23:36:56 +01:00
VladimirMangos
89cdcd2472 [9486] Increase reserverd stack size for mangosd up to 4Mb at Windows
Most Unuxe/Linux OSs have by default 4Mb as max stack size for application by default.
VisualStudio for x86/x64 set 1Mb by default. In result at Windows possible more often
stack overflow crashes in cases when Unux version work fine. So we fix this not nice
difference.

VS10 version not included. If someone prepare patch for VS10 case it can be added to repo.
2010-03-01 01:15:44 +03:00
Christyan
dfdd59a483 [9485] Fix a value in movement update blocks with update flag UPDATEFLAG_VEHICLE
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-28 21:34:20 +01:00
NoFantasy
a505b8cd1c [9484] Add dummy aura effect of misc feign death spells
Please note that it may not be correct to handle them all in the same way.
Some more research should be done regarding the whole issue with creatures and faking death (cheaters) and a possible difference between the spells.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-28 21:18:09 +01:00
VladimirMangos
9bebf96c8e [9483] Not affect anything but not nice typos... 2010-02-28 17:17:28 +03:00
VladimirMangos
4dc85260c7 [9482] Implement 48266, and 50365, 50384, 50391 and ranks.
Original patch provided by laise.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-28 17:10:25 +03:00
NoFantasy
ae7f6de936 [9481] Add dummy effect of spell 51276
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-28 13:56:57 +01:00
NoFantasy
53eeb6d99a [9480] Add aura dummy effect of spell 29266
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-28 11:35:41 +01:00
Quriq14
bf7616138b [9479] Use Clear call in MotionMaster::Initilize
Function can be called from deep code in time MotionMaster::Update.
So need use safe way cleanup with possible delayed movegens deletion.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-28 09:52:25 +03:00
VladimirMangos
e05f4b1b03 [9478] Reimplement Aura::IsNeedVisibleSlot
Rewrite base at area aura type check
* For positive area aura types show at non-caster target or caster-totem or non-passive aura at caster
* For negative area aura show at non-caster target
* For other auars show at any target if non passive auras or totem-caster
2010-02-28 08:55:05 +03:00
VladimirMangos
9a51a65b47 [9477] Implement glyph 45776 2010-02-28 08:31:29 +03:00
VladimirMangos
f4f3ae4282 [9476] Add basepoints array to Unit::HandleDummyAuraProc 2010-02-28 08:21:50 +03:00
VladimirMangos
ded1e3c263 [9475] Add and use TotemSlot enum type 2010-02-28 07:31:25 +03:00
VladimirMangos
7e2d7d8324 [9474] Implement negative totem effect apply for 30706 and ranks. 2010-02-28 03:58:35 +03:00
VladimirMangos
eacf2218be [9473] Apply recent sql update to mangos.sql itself. 2010-02-27 23:53:19 +03:00
VladimirMangos
65d36235bf [9472] Revert "[9465] Make passive aura buffs/debuffs always show at not-casters."
This reverts commit 43f6a355e5a94c56c8fd6b881b572e1d685f046c.

Need more work.
2010-02-27 23:06:04 +03:00
NoFantasy
76a1843bdd [9471] Add dummy effect of spell 43036
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-27 16:52:42 +01:00
NoFantasy
3102858312 [9470] Add dummy effect of spell 42287
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-27 15:34:39 +01:00
NoFantasy
b91bd9ef83 [9469] Add dummy effect of spell 51333 2010-02-27 14:20:10 +01:00
NoFantasy
4b00529f56 [9468] Restore compile Win32/x64 (VC80/VC90), add correct include dir to all builds
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-27 13:50:29 +01:00
NoFantasy
c41dfaaef3 [9467] Add dummy effect of spell 51330
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-27 12:36:19 +01:00
arrai
e520d8409e [9466] Implemented SOAP in MaNGOS
- removed deprecated code from RASocket
- allow more than one login at a time on the RA console
- added gsoap library for handling SOAP requests
- removed deprecated mangos_string entry

Thanks to:
- Derex for reporting a bug which occured if more than 1024
    players were connected  [poll() vs select()]
- caeruleaus for adding windowsbuild support
- vladimir for suggesting a different thread starting order
- fdb_ for suggesting SOAP in the first place
2010-02-27 10:52:07 +01:00
VladimirMangos
844f032458 [9465] Make passive aura buffs/debuffs always show at not-casters.
This fix case when some racial party passive bufs not show for party members.
2010-02-27 07:10:25 +03:00
laise
6efb768daa [9464] Spell effects of itemset 883 and variants.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-27 06:46:21 +03:00
NoFantasy
fc08496048 [9463] Add script effect of spell 45691 and dummy effect of 45685
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-27 01:58:23 +01:00
ApoC
a421990a5b [9462] Compile fix under GCC.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-02-26 23:58:47 +01:00
VladimirMangos
c179c45087 [9461] Some another cases when movegen can be lost while updating. 2010-02-27 01:21:16 +03:00
przemratajczak
01e05f5d7e [9460] Spellpower bonuses for spell 47540 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-27 00:18:59 +03:00
MrLama
b57f4a179b [9459] Make spell 47540 and ranks channeling interruptible
In fact make triggered spell replace main spell for channeling.
This also let drop hack for target death case interrupt channeling for spell.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-26 22:37:45 +03:00
NoFantasy
09b4acc53e [9458] Add exception for spell 51912 and then trigger 45668 as expected
Also remove commented code for spell 45668

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-26 19:55:53 +01:00
MrLama
530be51dc5 [9457] Implement spell/attack power bonus for 59547 and similar spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix build in prev. rev. in result my not added changes.
2010-02-26 03:44:41 +03:00
pasdVn
1e05a737bd [9456] Fixed spell proc code for mixed proc event cases.
* Allow spells with multiple procEx flags to trigger also with 0 dmg, if current
procExtra is no normal hit (e.g. block and normal hit as flags -> all dmg blocked).

* Also allow proc at hit as result partly block. This fix case from unknown author
  prepered by KAPATEJIb.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-26 02:49:06 +03:00