Commit graph

3602 commits

Author SHA1 Message Date
NoFantasy
6b8e4ceee6 [10153] Add GOSSIP_ICON_* for id 11 to 20
Note that all may not be in use(or exist), and needs more research

Adjust one enum creature type flag to CREATURE_TYPEFLAGS_CAN_ASSIST
Adjust one enum item flags to ITEM_FLAGS_INDESTRUCTIBLE

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-05 11:57:01 +02:00
VladimirMangos
dbd0cec336 [10152] Useless use 'std::string' for temporary store 'char const*' 2010-07-05 02:12:17 +04:00
Lightguard
091b69500d [10151] Prevent autostoring not empty bags
Thanks to The_Game_Master for detailed information about the bug.
2010-07-04 22:58:42 +02:00
VladimirMangos
59871ac550 [10150] Disableand exclude code use for gui promt from G3D
* It mostly useless becase we use console error reporting way for other cases
* It have porblem with G3D_OSX based build

Original patch provided by Imbecile.
2010-07-05 00:16:55 +04:00
Derex
0cb3a01833 [10149] Build tbb on linux/unix
Unix specific notes:
* Use --with-std-malloc in configure to disable tbb, if you have problems or you want to use the default or another allocator.
* Even if you disable tbb, the library will still be built and installed, so you can still use it manually.
2010-07-04 21:55:05 +03:00
Lightguard
ba5de6eb8c [10148] Improve .gm ingame command
Thanks to Vladimir for suggestions
2010-07-04 00:30:36 +02:00
VladimirMangos
790e3b85bd [10147] Dynamic objects not have interactive size. 2010-07-04 00:11:27 +04:00
crackm
52e4c0ab17 [10146] Implement SCRIPT_COMMAND_PLAY_MOVIE (19)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-03 23:58:41 +04:00
VladimirMangos
ebf27938fb [10145] Use better (but still hack) way for gameobject size calculation
* This is also hack because some float with unknown exactly value used as 'size'
* Another not resolved problem: go size used in creature target autoselection, so for large 'virtual' go
  creature can seelct strange points near in attempt select 'free' place near target.
2010-07-03 23:26:59 +04:00
Insider42
35bf2a56dd [10144] Fix movement impairing effects remove for 65547
Signed-off-by: Laise <fenrisse@gmail.com>
2010-07-03 12:16:02 +03:00
Insider42
55542a5219 [10143] Set correct real caster for 48181 and ranks
Signed-off-by: Laise <fenrisse@gmail.com>
2010-07-03 12:10:05 +03:00
VladimirMangos
c6a55a4ac0 [10142] Read/write time as uint64 in [character_]account_data
Client currently expected uint32 value and time_t fit but
in DB time_t stored for portability as uint64 for this and other tables.
2010-07-03 09:25:53 +04:00
VladimirMangos
c0d7e2a176 [10141] Fixed commented part of SpellRangeEntry structure 2010-07-03 07:15:18 +04:00
VladimirMangos
5724fa1d43 [10140] Reuse GiveQuestSourceItem code for check case
Also show correct amount added item in case partly existed amount.
2010-07-02 23:24:57 +04:00
SilverIce
87946f9c76 [10139] Fix camera iteration in CameraCall function also dropped not needed for now viewpoint's member
(based on SilverIce's repo commit 885724b)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 22:17:36 +04:00
antiroot
f0fceda7bc [10138] Include openssl libpath in MANGOS_LIBS for later proper lib search
Also fix typo in ax_check_openssl.m4

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 21:24:13 +04:00
Oniryck
f3049e6dd7 [10137] Fixed item/go checks for active raid quests.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 17:31:12 +04:00
VladimirMangos
ae01a353ef [10136] Switch to support client 3.3.5a (build 12340)
Merge branch '335'

You need regenerate dbc/map/vmap files.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-07-02 05:43:50 +04:00
VladimirMangos
696db0a3f0 [10135] Bump for 0.17.0 development. 2010-07-02 04:39:03 +04:00
VladimirMangos
b1321feabb [10134] MaNGOS 0.16 release. 2010-07-02 04:01:42 +04:00
Lightguard
38d3fd9c6e [10133] Fix targetmap of spell 53434 and 70893
Thanks to Blaymoira for 70893
2010-07-02 01:49:41 +02:00
VladimirMangos
885c3449b4 [10132] Cleanup code for Group::_homebindIfInstance 2010-07-02 03:22:13 +04:00
przemratajczak
8d80906296 [10131] Fix spellpower bonus received by 54181
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-07-01 10:17:15 +02:00
zerg
3dbb8385b5 [10130] Proper stacking 30108/348 anr ranks from 3.2.x
(based on zergtmn's repo commit 7588ca9)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 22:34:59 +04:00
zerg
3215c80cce [10129] Add cooldown marker for talent 56342 and ranks triggering spell.
(based on zergtmn's repo commit 87d1309)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 22:14:03 +04:00
zerg
f5d6fe6b01 [10128] Since 3.3 pets receive 100% of master's resilience
(based on zergtmn's repo commit 21eba43)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 21:57:12 +04:00
dardennf
a1a70515f9 [10127] Double damage reduction as expected in 3.3.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 21:18:38 +04:00
schmoozerd
c0f549244b [10126] Code style cleanup in Level2&3.cpp
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 20:58:00 +04:00
schmoozerd
9379e3b81d [10125] Add pool/event ids to diff creature/gameobject list output commands.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 20:45:12 +04:00
Lightunit
ef1358c901 [10124] Fixed typo in mangos.conf.in comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 18:36:22 +04:00
VladimirMangos
41f8cfb14c [10123] Fixed recent problem with enter to dungeons in group.
Problem related to implicit get map id from player in Group::GetBoundInstance
when in some cases check done before player mapid update.
2010-06-30 00:45:14 +04:00
Lynx3d
15390df4d9 [10122] Avoid use EquippedItemInventoryTypeMask mask for not item targeted spells check.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-29 22:16:14 +04:00
NoFantasy
4024a1c50c [10121] Add a few comments about DYNAMICOBJECT_BYTES + fix typo in one. 2010-06-29 12:23:29 +02:00
VladimirMangos
fdcbd7d5f5 [10120] Check expected creature_model_info data for player races 2010-06-29 12:06:02 +04:00
NoFantasy
b8942160be [10119] Add model data for undead player that got lost for rev 10109
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-29 09:54:55 +02:00
VladimirMangos
cd0bbabf9a [10118] Check gameobject scale at loading (strict DB error filter)
This let avoid check scale value at it
2010-06-29 11:02:37 +04:00
VladimirMangos
969986a596 [10117] New config option set min size of auction deposit fee. 2010-06-28 21:14:44 +04:00
NoFantasy
b8540cf04d [10116] Remove some wrongly initialized fields for dynamic object.
This will correct visual appearance of spells like for example id 26573.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-28 12:55:39 +02:00
NoFantasy
1713caae17 [10115] Add function to update model_info at changes to scale or model.
* At every change to model or scale, the related data (bounding_radius/combat_reach) is now updated accordingly (note that player combat_reach are not changed like creature).
* UpdateModelData is called from within SetDisplayId while changes to scale has explicit call to UpdateModelData after new scale is set (mostly for aura scale)
* The updated values are calculated by (scale*bounding_radius)/(scale*combat_reach)
* Database values for bounding_radius/combat_reach are expected to be relative to scale like 1.0

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-28 12:10:56 +02:00
VladimirMangos
67a7892075 [10114] Store associated InstanceSave for dungeon map in Map object 2010-06-27 21:11:26 +04:00
VladimirMangos
6f4481a591 [10113] Some cleanups in Instance loading code.
* Remove reduncent chekc and args for MapInstanced::CreateInstance(const uint32 mapId, Player * player)
* Rename for avoid name duplication raw InstanceMap creating to MapInstanced::CreateInstanceMap
* Move lookup code of player/group bounde instance save to Player::GetBoundInstanceSaveForSelfOrGroup
2010-06-27 19:50:52 +04:00
NoFantasy
3eb2d2910e [10112] Rename GetObjectSize function to GetObjectBoundingRadius
To reflect better what the function should actually return and also to clarify when used in misc calculations.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-27 14:14:23 +02:00
NoFantasy
0757b43929 [10111] Move code for initialize player model data and scale to same function, InitDisplayIds
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-27 13:13:12 +02:00
NoFantasy
2375a1cb71 [10110] Add function Get/SetObjectScale and update code where scale is set.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-27 12:39:29 +02:00
NoFantasy
bb3b0bd598 [10109] Add and use actual bounding_radius/combat_reach per model for characters.
Data are stored in same table as for creature (like dbc models data), and provides the default values for playable races.
Currently the bounding and reach are applied only at creation and load. Note that these values are modified by scale. For player case, scale is always 1.0 as default.

For later, auras and spell effects that change scale and/or modelid must in addition make sure bounding_radius are updated accordingly to the new scale and/or model (combat_reach does not seem to be affected by such changes, and is always 1.5 for players).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-27 01:31:51 +02:00
VladimirMangos
698fe93eb7 [10108] Prevent access to out of range [0] element of empty string at utf8 convertion. 2010-06-26 22:39:52 +04:00
schmoozerd
4e1c8a2ad6 [10107] Pool/event info in .npc info and .gobject target commands
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-26 18:56:22 +04:00
VladimirMangos
a504b4d200 [10106] More modes for .go commands
* Now '.go' command can be used with creature_entry/gameobject_entry shift links (output of .lookup creature/object commands)
* Now '.go object' command sipport id-mode and name part mode similar .go creature case: .go object id #gameobject_id or .go object $namepart.
* HandleGoHelper use in more commands also.
2010-06-26 17:26:00 +04:00
VladimirMangos
e203a235ba [10105] Condition CONDITION_ZONEID (4) extanded way work.
* Condition CONDITION_ZONEID renamed CONDITION_AREAID and now work also with subzone area ids
* Second arg of condition cna be 0 or 1 now in in case 1 check "not in area" case
* Also all condition related error output include condition id.
2010-06-25 14:51:57 +04:00
arrai
11372496e5 [10104] Cleaned up WorldObject::HasInArc 2010-06-24 16:33:52 +02:00