Commit graph

2841 commits

Author SHA1 Message Date
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
VladimirMangos
62726741d6 [9455] Check glyph index send by client at glyph adding to prevent cheating. 2010-02-26 01:58:22 +03:00
VladimirMangos
73eeac234f [9454] Fixed some time existed multi-map taxi problem.
Interrupt taxi movegen at far teleport time with remove related state.
Far teleport triggered code not expect this state set.
2010-02-26 00:48:10 +03:00
laise
ac99fa4d6f [9453] Implement heal bonus from talent 62905 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-26 00:33:57 +03:00
VladimirMangos
010b0504b6 [9452] Replace battleground announcer options.
* Drop Battleground.QueueAnnouncer.Enable and Battleground.QueueAnnouncer.PlayerOnly
* Add Battleground.QueueAnnouncer.Join with 0..2 values (1=to joined player, 2=to world)
* Add Battleground.QueueAnnouncer.Start for start bg event

Also fixed bug when not rated arenas announced as BG announces
Also lost mangosd.config changes from prev commit.
2010-02-25 17:02:50 +03:00
Insider
19b14c5d58 [9451] Added new config option for arena queue announcer.
Option Arena.QueueAnnouncer.Enable removed so if it used
need update mangosd.conf to new options use.

(based on insider42/mangos commit 211506f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 16:10:09 +03:00
laise
7f6f199911 [9450] Implement item set 887, 251, 232 spell effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 06:22:10 +03:00
Zooey Aurora
f40f564bd6 [9449] Fixes for the Solaris platform.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 05:09:39 +03:00
freghar
c8e45058a6 [9448] Ignore anything untracked in src/bindings/
NOTE: works only on directories

(only modification / deletion of tracked files
will show up in "git status")

To force-stage a file/directory, use "git add -f",
an exception was made for universal/ .

Signed-off-by: freghar <compmancz@gmail.com>

(based on commit 0a4057f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 03:18:33 +03:00
VladimirMangos
47442073fc [9447] Typos and missing info in mangosd.conf
Provided by erickeir and unknown author (sorry, lost info about who point me to first typo)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 02:53:59 +03:00
ApoC
9d6531ae6d [9446] Compile fix in MovementGenerator.cpp
Also added few newlines to end of files to satisfy GCC.

Signed-off-by: ApoC <apoc@nymfe.net>
2010-02-24 22:20:37 +01:00
VladimirMangos
87b08b4fa1 [9445] Possible fix often crashes in waypoint movegen.
Thanks to DrKLO for research source of problem!
2010-02-24 22:40:16 +03:00
NoFantasy
24f2d4658f [9444] Add script call EffectAuraDummy, called at dummy aura(4) apply/remove
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-24 17:15:23 +01:00
NoFantasy
9f3b42d8ee [9443] Add dummy effect of spell 55818
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-24 01:48:40 +01:00
NoFantasy
5b6c0566ae [9442] Add dummy effect of spell 44454 and script effect of spell 44455
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-24 01:17:22 +01:00