Schmoozerd
c44438a517
[10607] Handle GAMEOBJECT_TYPE_GENERIC at Use() to trigger despawn of GO
...
In addition, a check is added to prevent unexpected call to Use() at received opcode. Despawn of this type GO can then only be used with explicit call to Use()
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-14 14:44:57 +02:00
NoFantasy
df4563e653
[10606] Fix loot for victims being creature type critter
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-14 09:41:14 +02:00
SilverIce
4c5c6c46a1
[10605] Fixed infinity loop at grid loading
...
this also probably solves the problem that object tries to be loaded twice
2010-10-13 22:39:07 +03:00
nos4r2zod
90e4480439
[10604] A couple more spell_proc_event entries for relics.
...
Missing items were 38360, 40714, 45509, 45144, 50454, 50455, 50456, 50457, 50458, 50459, 50460, 50461, 50462, 50464.
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-10-13 11:43:19 +02:00
NoFantasy
edbe9ed886
[10603] Replace one hard coded value w/enum name. Additional code style cleanup
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-13 09:41:44 +02:00
VladimirMangos
589c9d8a5d
[10602] Add GO_DYNFLAG_LO_ACTIVATE to GAMEOBJECT_TYPE_GENERIC and merge similar cases.
2010-10-12 04:31:53 +04:00
VladimirMangos
0236699b0a
[10601] Amother attemp fix locale structures corruption.
...
Possible real source of problem: existing in code mixed
std:: structure templates instanting under pack pragma and out.
And this incompatible structure layouts wrongly mixed used by GCC.
So all std:: strcutures used moved out from pack pragma guards.
2010-10-10 23:14:40 +04:00
NoFantasy
2fe45365c0
[10600] Correct size of animprogress for GO Create()
...
Add a default define and use it instead of hard coded value.
Some additional minor corrections for transport GO's
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-10 13:27:25 +02:00
cyberbrest2
0205adfde1
[10599] Attempt fix data corruption for some localization structures with GCC use.
...
By unknown reason GCC generate wrong code for locale structures declared in header after pack pragma.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-09 22:43:24 +04:00
NoFantasy
ba3578107a
[10598] Create enum GameObjectDynamicLowFlags and use instead of hard coded
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-09 19:20:29 +02:00
VladimirMangos
c4c9b5a726
[10597] Enable by default vmap.enableHeight and vmap.enableLOS
...
mangosd.conf version updated.
2010-10-09 03:00:56 +04:00
VladimirMangos
304bd3d7b6
[10596] Apply restrictions to vmap options.
...
After switch to new vmap version and later height check code chnages
some vmap related options now outdated.
* Option vmap.ignoreMapIds removed. You can't now diable vmaps use for selected maps.
* Option vmap.enableHeight must be always enabled for normal work server and server
at startup now pring error if it's diabled. Option still supported just for special
work cases (debug, new clients testing, etc).
Possible soon option vmap.ignoreSpellIds also will be removed, because like los ignore checks
must be in spell code instead options.
2010-10-09 02:53:53 +04:00
NoFantasy
926381824f
[10595] Add new functions to Set/RemoveShortFlag (uint16, lo and high part of uint32)
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-09 00:11:15 +02:00
zerg
2fa5fa43bd
[10594] Use equal_range instead of lower_bound/upper_bound pairs
...
(based on zergtmn's repo commit 0499169)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-09 01:37:57 +04:00
NoFantasy
0caa0e32dd
[10593] Cleaning up code a bit, in related functions for recent commits
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 22:11:26 +02:00
NoFantasy
795c3e1f2f
[10592] Make GO type 2 activate/deactivate
...
As with similar GO's that are not interactable (gameobject_template.flags|4) as default, GO's of type 2 becomes active when player can take a quest (or deliver quest).
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 20:48:51 +02:00
kamikazetg
8bb27ebd8e
[10591] Simplify LoadGameObjectForQuests for case GO type 3
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 12:45:36 +02:00
NoFantasy
66555530a8
[10590] Check if GO is requirement of quest to activate sparkle if it is
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 12:14:28 +02:00
NoFantasy
b0d5e3e51a
[10589] Always activate GO type 3 when quest id is defined (and active)
...
GO may be "lootless", but events at looting can happen
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 10:21:52 +02:00
NoFantasy
fc2e66231b
[10588] Make GO type 8 activate and sparkle at related quest active
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 09:40:28 +02:00
NoFantasy
657894786a
[10587] Make GO type 5 sparkle at related quest active
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 09:10:38 +02:00
Fmut
41a82beb3f
[10586] Update taxi mask size for 3.3.5a
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-08 03:02:42 +04:00
NoFantasy
2a758e1cd6
[10585] Make GO type 10 become nice and shiny: sparkling animation and jingle bells
...
When GO is active for quest, same as GO type 3.
Also add comments for future development of gameobject dynamic flags
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-08 00:45:16 +02:00
VladimirMangos
3d5298fbd7
[10584] Prevent lost aura connection with item at Aura::ReapplyAffectedPassiveAuras
...
Thanks to Lynx3d for research problem and testing.
2010-10-07 03:07:24 +04:00
VladimirMangos
15e6c17158
[10583] Remove dual ERROR in logs
2010-10-07 01:59:07 +04:00
Lynx3d
f41909a14b
[10582] Add spell_proc_event data for some relic related spells.
...
Missing ones were 67356, 67363, 67365, 67379, 67381, 67384, 67386, 67389, 67392.
2010-10-06 22:57:02 +02:00
NoFantasy
3d2d99e3d4
[10581] Rename some local variables in random move generator for easier reading
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-06 13:08:41 +02:00
VladimirMangos
119ce033a8
[10580] TARGET_ALL_RAID_AROUND_CASTER include caster only for positive spells.
2010-10-06 04:17:32 +04:00
akreao
8eddf07074
[10579] Better wording in log for shutdown cancelled case.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-06 03:34:11 +04:00
VladimirMangos
685ba899d3
[10578] Use static call for IsBGWeekend in BattleGroundAV
2010-10-05 00:21:18 +04:00
PowerPete
1e9b405b7a
[10577] 'shuttingdown' -> 'shutting down' in log
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-10-02 18:40:38 +04:00
Laise
2c38016459
[10576] Prevent diseases to be dispelled while 50536 is on target
2010-10-02 13:39:50 +02:00
NoFantasy
bc2f2916e9
[10575] Fix world states related to arena season.
...
Replace the "in progress" option in config (as no such thing exist) with the expected "previous arena season id".
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-02 11:29:06 +02:00
VladimirMangos
fa8f9ad522
[10574] Fixed non-weapon offhand equip after my recent commit.
2010-10-02 06:32:17 +04:00
VladimirMangos
321b8a4ae8
[10573] Add end file empty line to some files.
2010-10-01 21:05:18 +04:00
VladimirMangos
41e41947e7
[10572] Drop unused Spell::m_triggeringContainer
2010-10-01 17:00:08 +04:00
VladimirMangos
85f8219ecf
[10571] Properly remove dual-wield flag at spell unlearn.
2010-10-01 16:39:36 +04:00
Laise
a67b6a1da5
[10570] Store spell entry of triggering spell on triggered, original patch provided by insider42
2010-10-01 13:17:28 +02:00
zergtmn
ead698e881
[10569] Don't save holders from channeled spells
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-10-01 12:02:43 +02:00
DasBlub
f3903d2261
[10568] Drop unused column 'realmid' from the table 'character_tutorial'
2010-09-30 22:51:39 +02:00
VladimirMangos
a383494eb7
[10567] Revert VS90/game.vcproj changes in [10551]
2010-10-01 00:27:25 +04:00
Opterman
a9231eee98
[10566] Implement SMSG_SPELLINSTAKILLLOG
...
Signed-off-by: DasBlub <dasblub@gmail.com>
2010-09-30 21:31:26 +02:00
zergtmn
f8a0f1f9e4
[10565] Fixed loaded DBC count.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-30 23:09:07 +04:00
VladimirMangos
be07edb8a1
[10564] Not allow charmed by player creatures have threat list.
...
Original patch provided by zergtmn.
2010-09-30 22:30:40 +04:00
zergtmn
f9fcf5e055
[10563] Implement CMSG_PET_STOP_ATTACK.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-30 21:02:43 +04:00
VladimirMangos
98f36e4652
[10562] Cleanup WorldSession::HandlePetAction
...
Also fixed attack target seelction base at packet content instead direct player selection.
Remove unneded arg for Unit::SendPetAIReaction.
2010-09-30 20:39:13 +04:00
zergtmn
ab3de84cca
[10561] Avoid ask AI for direct controlled creature at attack.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also fix warrning double->float in recent commited code.
2010-09-30 18:05:38 +04:00
VladimirMangos
02b51fb976
[10560] Remove reundenant spell store for temporary unsummoned pet.
...
We not use this data and now always have proeprtly save current pet
when it temporary unsummoned and avoid it overwrite by another cases.
2010-09-30 17:50:44 +04:00
NoFantasy
bc04ae4b4c
[10559] Add world state id in comments for all hard coded state id's
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-09-29 23:59:13 +02:00
cmaranec
cfe681ff7a
[10558] Fix spell "Spinning" (64385) for item "Unusual Compass" (45984)
...
Signed-off-by: DasBlub <dasblub@gmail.com>
2010-09-29 22:09:42 +02:00