Commit graph

2712 commits

Author SHA1 Message Date
przemratajczak
a4ce06fd15 [9512] Spell 16952 and ranks will now correctly proc from all cat form abilities that add combo points
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:03:57 +01:00
VladimirMangos
bee93cb17c [9511] Hotfix for low chance crash at not accessable gameobject cast. 2010-03-04 08:53:44 +03:00
VladimirMangos
7fb5d850bf [9510] Gameobject casting improvements.
* Add IsHostileTo/IsFriendlyTo and implement expected way checks for diff. world object types.
  For controlled object check redirected to specific owner, for wild gameobject base at gameobject faction.
  If faction not set expected to be hostile to anyone.
* Update grid searchers to be usable with world object instead only unit case.
  Some grid searches lost redundent second object arg, AnyAoETargetUnitInObjectRangeCheck lost hitHidden arg
  (for hitHidden==true case added new AnyAoEVisibleTargetUnitInObjectRangeCheck)
* Updated grid searchers used with gameobject area casts now.
  Note: Gameobject area spell cast animation will still wrong show around cast triggering target instead
  center around gameobject.
* In case gameobject aura apply to target for restored use target itself as caster because
  we not have currently another way apply aura form wild gameobject.
2010-03-04 07:38:26 +03:00
VladimirMangos
52701a58f6 [9509] Move custom data from item spell charges sign to new field NoConsumable.
Some items with negative by defaul charges not expected to be deletedt at no charges.
In past this fixed by using positive charges amount in like cases in different from
expected negative value. Adding new field for avoid this.
2010-03-03 09:14:09 +03:00
VladimirMangos
84e5f7520b [9508] Finish impement new functionlity for item 5513 and similar.
* Implement recharge low rank item in inventory.
* Implement recharge item at loading after 15 offline mins
2010-03-03 07:36:00 +03:00
VladimirMangos
4c4629e861 [9507] Implement SPELL_EFFECT_RESTORE_ITEM_CHARGES
Also it application in special case of item 5513 and similar.
2010-03-03 06:02:32 +03:00
NoFantasy
d775eea9a4 [9506] Add missing AI calls to inform summoner of summon-related events
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-03 00:25:26 +01:00
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