Commit graph

5980 commits

Author SHA1 Message Date
NoFantasy
5fc4a839e3 [11270] Let GM (.gm on) always see gossip options regardless of conditions set.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-21 10:13:49 +01:00
VladimirMangos
92a1e9b4d0 [11269] Apply to lootPlayerNonQuestNonFFAConditionalItems same loot rules as to notmal shared loot.
Also some code refactoring.
2011-03-21 04:26:28 +03:00
NoFantasy
5b9c2bf336 [11268] Add dummy effect of spell 43014
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-20 18:41:47 +01:00
VladimirMangos
b442332403 [11267] Restore itemset 647 4p bonus affect work. 2011-03-20 07:16:25 +03:00
VladimirMangos
52c6d0ef24 [11266] Fixed work glyph 41108 (typo in spell id) 2011-03-20 05:12:27 +03:00
NoFantasy
0432802379 [11265] Properly take reagents for triggered spell of 44364 (ref previous commit)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-19 11:43:51 +01:00
NoFantasy
f1fb9afa43 [11264] Add script effect of spell 44364
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-19 11:16:03 +01:00
VladimirMangos
3c9f268b53 [11263] Revert "[11262] Revert "[11261] Check gaps in quest RewChoiceItem* data.""
This reverts commit 714d48a99e2ccc9404b34ebcfec50b2d8300fc46.

Additiona reserch show that no any know cases when data in RewChoiceItem* have gaps
except detected wrong data cases. So check good have in 3.x/2.x for better data intergrity checks.
2011-03-18 18:57:26 +03:00
VladimirMangos
24545a6162 [11262] Revert "[11261] Check gaps in quest RewChoiceItem* data."
This reverts commit a2d5f153c2d0256ad943a48442535730894e5d5e.

Only 1.x client have this problem.
2011-03-18 01:42:40 +03:00
VladimirMangos
5fce047e69 [11261] Check gaps in quest RewChoiceItem* data.
Client can crash if data not continues.

Thanks Chero and Joey for help in research problem ^^
2011-03-17 21:47:29 +03:00
zergtmn
df89544baa [11261] Get rid of two const_casts by storing const char* instead of char* 2011-03-17 12:17:31 +05:00
VladimirMangos
b588ea9db3 [11260] Add wrapper for creature vistual item set. 2011-03-16 20:21:45 +03:00
zergtmn
a6d155fc54 [11259] Move scheduled scripts counter to ScriptMgr
Also cleanup forward declarations.
2011-03-16 20:01:10 +05:00
Vinolentus
dee6d712c4 [11258] Typo in ObjectMgr::LoadItemConverts()
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-16 16:50:24 +03:00
Hundekuchen
f1a880a4ed [11257] Fix overwrite spells 33649 and 20572, other cases with same icon.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-16 03:36:57 +03:00
Vinolentus
06d319e5f8 [11256] Restore broken in [7207] Creature::SaveToDB overwriting.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-16 03:26:49 +03:00
VladimirMangos
a7405fd673 [11255] Fixed receive BoA item from deleted character by mail. 2011-03-16 03:01:42 +03:00
VladimirMangos
7196d81679 [11254] Really load item text at login.
This fix problem when item with text created but not read before
logout after logout not show text. In most cases this is mail text
copied to inventry. Client cache text in WDB so if open before
logout then item "show" text. If you have items created before
this fix with like problem you need clear WDB cache for fix text
show for item.
2011-03-16 02:15:35 +03:00
VladimirMangos
d8b71eade1 [11253] Drop unused define GAMEOBJECT_FISHINGNODE_ENTRY 2011-03-15 23:49:22 +03:00
VladimirMangos
acc12cc9ed [11252] One missing case for save non-static spawned creatures. 2011-03-15 21:50:19 +03:00
NoFantasy
7b070a93aa [11251] Add some base code for GAMEOBJECT_TYPE_CAPTURE_POINT
Note that code is only a tiny start to implement these gameobjects, and are most likely wrong in itself as conditions for calling events does not exist yet.
To be used in further development.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-15 11:14:05 +01:00
NoFantasy
167ec0df42 [11250] Fix create position for summoned creatures.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-15 09:43:32 +01:00
VladimirMangos
789f513ede [11249] Lost summon point set for critter 2011-03-15 04:18:10 +03:00
Vinolentus
a6bab82c72 [11248] Clarify and check DBC/SQL storage format field types.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-15 02:55:10 +03:00
VladimirMangos
189e7c08b7 [11247] Prevent attemps save npc data without static spawns
Original patch provided by Vinolentus.
2011-03-15 01:02:20 +03:00
VladimirMangos
52b0748282 [11246] Provide mail template items for offline players
Implemented generation mail template items at mails loading in case when
original mail send in time when receiver has been offline. Before like
receiver not receive items.

Small change in mail.has_items meaning. Now it set also in cases when items
generated for template but none items really added to mail. This not affect
mostly existed code work aceept case when mail with template loading.
2011-03-14 23:20:37 +03:00
NoFantasy
13776fa1e4 [11245] Clarify and provide more details for errors related to table spell_script_target
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-14 10:15:47 +01:00
VladimirMangos
2b65cdb3bb [11244] Collect in CreatureCreatePos data for delayed pos setup into Creature::Create.
* CreatureCreatePos work in 3 modes:
    - exactly provided coordinates/orientation/map/phasemask
    - exactly object + orientation as coordinates/map/phasemask
    - delayed position calculation near provided object at specific dist/angle.
* Use in similar way and for Pet/Vehicle Create functions.
  For Totem created new Totem::Create function with some moved in to it totem specific code.
* This let resolve recent problems with creature spawn and preserve fix for cases when
  Creature::Create addon/script code expected known correct possition for creature.
2011-03-14 06:18:34 +03:00
NoFantasy
44915f6f13 [11243] Allow riding training from other team factions when exalted
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-14 00:01:35 +01:00
DasBlub
a19c308001 [11242] Fix line endings for Visual Studio Solution Files (they need to be CRLF, not LF) 2011-03-12 20:03:22 +01:00
DasBlub
93da372dc5 [11241] Fix some renglish/denglish -> english in config files
For the "MaNGOS-Feeling" (c) I left most of the renglish and typos in there, so you will still be able to recognize it as a MaNGOS file ;)
2011-03-11 23:24:25 +01:00
DasBlub
98a5eb6f0e [11240] Drop dead code from vmap extractor 2011-03-10 22:01:51 +01:00
NoFantasy
99b8c8b34f [11239] Comment out crap added in [11237] and bonk the author for creating it.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-10 20:06:51 +01:00
NoFantasy
0ca45c76dc [11238] Add IsActive check in PointMovementGenerator, as with similar waypointmovement
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-10 19:54:08 +01:00
NoFantasy
fcb4eca715 [11237] Implement conditional check in EffectQuestComplete
A few spells has basepoint value, conditional for successful effect.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-10 17:13:55 +01:00
NoFantasy
792b5ba343 [11236] Add dummy effect of spell 49859
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-10 11:04:18 +01:00
Kaios
287aa642b3 [11235] Fixed typo in mangosd.conf comment
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-09 19:31:21 +03:00
Iriskin
a9b7f00a9e [11234] Fixed typo in .debug spellcoefs help string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-09 17:20:58 +03:00
zergtmn
ad1f8a1791 [11233] Better way to get caster GUID of dynamic object 2011-03-08 21:21:43 +05:00
NoFantasy
2469bf946a [11232] Proper check for loot recipient.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-08 12:57:11 +01:00
NoFantasy
c73e3cbd67 [11231] Add dummy aura effect for spell 43969
TODO: fix spell so that no initial aggro are made. Possibly other requirements are needed for effect.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-08 12:51:29 +01:00
crackm
c3f2a6be77 [11230] Add dummy effect of spell 42793
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-08 10:24:09 +01:00
VladimirMangos
69e01fc349 [11229] Avoid access to Pet in pre-Create relocation 2011-03-07 16:20:08 +03:00
zergtmn
777e4e0fb2 [11228] Correct constant in CalculateRewardHonor
0.1000000014901161 actually is single precision approximation for 0.1 in IEEE 754 standard.
2011-03-06 21:06:37 +05:00
VladimirMangos
ad6ab0bc49 [11227] Fixed item search by guid in bank item slots. 2011-03-06 18:55:18 +03:00
VladimirMangos
275928e504 [11226] More strict checks for insatance data load. 2011-03-06 17:14:06 +03:00
virusav
a3f9d3a4dc [11225] Add comments about spells related to spell 47110
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-06 12:40:48 +01:00
NoFantasy
710dce3f97 [11224] Add script effect of spell 24751
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-06 11:45:23 +01:00
VladimirMangos
5aeda4f28b [11223] Replace direct auras adding from creature*_addon tables by cast spell. 2011-03-06 12:49:17 +03:00
VladimirMangos
51b4556c4b [11222] Move possition setup for Creature and subclases before Create call.
Some called from Create code can req. proper pos setup for creature.
Bad side: But in way how currently code orginized impossible setup excetly position for most
Creature sublasses. So in this part need more work.
2011-03-06 12:47:37 +03:00