Derex
5236b648eb
[9566] Restore build
2010-03-10 21:04:04 +02:00
VladimirMangos
530580876f
[9565] Add detection code for partly cave area 3780
2010-03-10 17:26:28 +03:00
hunuza
5d84477f7f
[9564] Remove some trailing whitespace and add comment for last commit.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:45:41 +01:00
hunuza
efe0cde815
[9563] Use DEFAULT_WORLD_OBJECT_SIZE in ObjectPosSelector if size == 0.
...
This should fix a freeze in ObjectPosSelector.
If size == 0, m_anglestep became 0 -> freeze.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:32:43 +01:00
XTZGZoReX
d490532a55
[9562] Another update of AIReaction enum (and comments).
2010-03-10 11:28:43 +01:00
VladimirMangos
8b3da285ac
[9561] Fixed typos in header guards
2010-03-10 12:48:28 +03:00
Iron
37f733221d
[9560] Fixes possible runtime crash added by 9551
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-03-10 10:12:49 +03:00
XTZGZoReX
820550223a
[9559] Update AiReaction enum.
2010-03-10 01:57:38 +01:00
Lightguard
66c5e3aebb
[9558] Fix a typo from prev. commit:/
2010-03-09 12:01:05 +01:00
KAPATEJIb
c5d43bfd16
[9557] Move the code of glyph 55672 to a better place
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-09 10:10:53 +01:00
NoFantasy
3d3348e485
[9556] Allow summoned creatures use MovementType == RANDOM_MOTION_TYPE
...
Using creature_template.MovementType as default. For normal spawned creatures, data from creature table will still apply and override _template.
Radius is 5.0 as default, but may be changed in real-time from ai scripts using function.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-09 01:29:19 +01:00
ApoC
583e37e5c9
[9555] Makes some arguments as references in some ByteBuffer operator methods.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-08 22:34:36 +01:00
ApoC
1a75730f41
[9554] Fixed possible runtime crash.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-08 22:29:46 +01:00
VladimirMangos
17d8c4d075
[9553] Make GCC really happy...
2010-03-08 23:42:28 +03:00
VladimirMangos
9a884bdd83
[9552] Make some compiler happy with forward class declaration.
2010-03-08 20:45:34 +03:00
VladimirMangos
c8fd454a79
[9551] Add and use PackedGuid wrapper.
...
Also
* use more wide bytebuff << >> operators for objects
* use at read packet faisl alsways exception way instead some time used bool results.
2010-03-08 20:23:16 +03:00
VladimirMangos
ad9243ebd0
[9550] Hide unsafe templated ByteBuffer::append function only for internal use.
2010-03-08 19:41:41 +03:00
VladimirMangos
7dc6b131c8
[9549] One more typo :/
2010-03-08 01:07:23 +03:00
VladimirMangos
1297318470
[9548] Lost new ObjectGuid.cpp at prev. commit.
2010-03-08 00:52:23 +03:00
VladimirMangos
93ad67fc9d
[9547] Implement ObjectGuid wrapper for guid value
...
Only one example (mostly) case converted to use it.
Need lot work for finally switch to class obly use, so old low-level defines still exist also (while used).
But some unused low-level defines dropped.
2010-03-08 00:46:04 +03:00
NoFantasy
c5fc08934d
[9546] Less strict check in spell CheckTarget, and allow triggered spell.
...
Unit may be not selectable, but spell may be expected to target this unit in any case.
Mostly known problem with npc->npc spells and dummy/triggered spells from AI side.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-07 21:39:24 +01:00
VladimirMangos
6487c24f29
[9545] Rename ObjectDefines.h -> ObjectGuid.h
...
Also move unrelated generic defines to Common.h
2010-03-07 20:05:32 +03:00
timmit
a30af12772
[9544] Implement CONDITION_NOITEM.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-07 16:50:08 +03:00
VladimirMangos
b47520a500
[9543] Really call ACHIEVEMENT_CRITERIA_TYPE_WIN_BG
...
Also make more wide set achievement type criterias expected requirement in DB table.
Original patch in achievement call part provided BudIcePenguin.
Prepared to mangos sources by Burned@ru-mangos.ru
2010-03-07 15:34:17 +03:00
VladimirMangos
531b3b669e
[9542] Make MovementGenerator::GetMovementGeneratorType() const
2010-03-07 13:55:18 +03:00
pasdVn
66f0e6662f
[9541] Implement first target of spell 1064 and ranks boost from 61301.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 22:21:47 +03:00
Laise
39ed081898
[9540] Implement cooldown reset part for spell 60970 work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:41:09 +03:00
Grandres
56ee01242c
[9539] Item 23836 effect and spell 54757 not affcted caster spell power.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:29:39 +03:00
przemratajczak
8e9063ed80
[9538] Implement proper work spells 59465 and 56151.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:13:37 +03:00
Laise
6adebba800
[9537] Avoid proc item 46017 effect from DoTs.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 20:57:09 +03:00
Laise
dc7e4b43e7
[9536] Implement item 46017 effect.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 20:40:49 +03:00
VladimirMangos
0fae59bd50
[9535] Some percent target max health spells.
...
Thanks to timmit for research.
2010-03-06 19:35:21 +03:00
KAPATEJIb
e49fac9ef2
[9534] Attack Power bonus for spell 64382.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 18:55:15 +03:00
NoFantasy
81c6f3ff9b
[9533] Use selected target for target mode 38/46 when provided.
...
For cases where provided target is not valid (or not provided), normal closest in range will be used.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-06 16:36:05 +01:00
XTZGZoReX
ed042d4463
[9532] Fix typo in opcode name.
2010-03-06 14:23:35 +01:00
VladimirMangos
f775ac42cb
[9531] Fixed apply stamina part of 48263
2010-03-06 11:27:42 +03:00
VladimirMangos
3cf9e47110
[9530] Fixed check for SPELL_AURA_ALLOW_ONLY_ABILITY
...
Also remove public access to SpellAura::m_spellmod for avoid another hacks
with it use. Spellmods only for Player::ApplySpellMod use.
2010-03-06 07:58:09 +03:00
VladimirMangos
bbdb7bb09c
[9529] Make Player::IsValidPos const
2010-03-06 06:13:38 +03:00
Splinter
ca8454a3a4
[9528] Avoid apply spell bonuses to glyph 42397 effect.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 03:20:50 +03:00
XTZGZoReX
7be813855c
[9527] Fix CRLF in 9512_01_mangos_spell_proc_event.sql.
2010-03-05 18:41:01 +01:00
Sarjuuk
a18d73a2bc
[9526] Fix a typo from commit 9512
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-05 13:57:13 +01:00
VladimirMangos
acb297a415
[9525] Implement effect SPELL_EFFECT_TEACH_TAXI_NODE(154)
...
Original patch writed by Sadikum.
2010-03-05 12:16:41 +03:00
Yehonal
31f4850486
[9524] Use cooldown data from gameobejct trap tamplate if provided.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 10:06:21 +03:00
Sarjuuk
0ca87c50a6
[9523] Stacking Auras from dual wild weapons.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 08:38:27 +03:00
Derex
da30ea5ed8
[9522] Implement spells 58600 and 58601
2010-03-05 06:04:43 +02:00
imbecile
24540e4b03
[9521] Let build map extractor at Mac OSX
...
Also restore build at Windows (Win32 not have unistd.h)
Win32 ad.exe binary updated but not expected any functional differences.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 06:51:33 +03:00
Derex
eaf5934c99
[9520] Prevent possible memory leak in WorldSession
2010-03-05 05:48:02 +02:00
VladimirMangos
a142ed4848
[9519] Remove linking mangosd with sockets library.
...
Recent RA reimplementation added by Arrai remove using sockets library for last part mangosd code.
This let not link anymore sockets library with mangosd.
Now realmd is last sockets library user.
2010-03-05 05:05:07 +03:00
VladimirMangos
7fdbe497e9
[9518] Implement account associated execute for RA commands
...
* Now at login by RA-connection RA-connection use account id/access level
for commands execute. So at login with moderator access by RA-connection you
can execute only moderator level commands. For administrator level accounts
allowed execute only console level commands if new config option RA.Stricted = 0.
For security reasons by default RA.Stricted = 1.
* RA-connection executed commands now logged for associalted account id
* Some own account related commands allowed execute in RA-connection
NOTE: config version updated because RA.Stricted = 1 not compatible with old
way work and this can break tools thta use RA-access if it not disabled.
Yuo will need update mangosd.conf.
2010-03-05 04:24:32 +03:00
arrai
39559fc73a
[9517] rewrote RA console using ACE
...
- moved SQL pinging to SqlDelayThread
- use sAccountMgr instead of explict sql queries
2010-03-04 23:54:11 +01:00