Commit graph

1085 commits

Author SHA1 Message Date
VladimirMangos
4be91fa97a [9619] Reset more UNIT_FIELD_FLAGS at login. 2010-03-25 20:10:00 +03:00
tomrus88
561c340f95 Fixed typo in mail query.
Fixed SMSG_ITEM_TEXT_QUERY_RESPONSE.
Other misc fixes.
2010-03-25 19:46:26 +03:00
tomrus88
d4647bbeaa Dropped itemtextid field from mail table. 2010-03-25 15:33:22 +03:00
VladimirMangos
b658b25ff8 [9618] More use ObjectGuid in spell/etc code 2010-03-25 13:59:46 +03:00
tomrus88
50c96da112 Some work on mail/auction. 2010-03-25 13:19:21 +03:00
tomrus88
3db72991f9 Fixed quests.
Fixed bg list packet.
2010-03-24 11:52:22 +03:00
tomrus88
292f6189ea Merge remote branch 'origin/master' into 330 2010-03-24 08:33:12 +03:00
AlexDereka
e0dc4d60c4 [9611] Add index for some tables in characters DB. 2010-03-21 14:24:03 +03:00
XTZGZoReX
bb1638fd2b [9606] Send packed caster GUID for AFLAG_NOT_CASTER. 2010-03-19 16:39:29 +01:00
VladimirMangos
a27ff3e79d [9602] Simplify creating mail draft with content text, cleanup includes. 2010-03-18 12:10:47 +03:00
VladimirMangos
db51c29235 [9596] Use area trigger zone check for inn leave case.
This is still have false cases but will more correct for specific area triggers.
Also let cleanup code and store less data for Player.
2010-03-17 01:42:22 +03:00
VladimirMangos
43a0e595ea [9591] Fixed rest state remove at leave tavern 2010-03-15 23:17:25 +03:00
tomrus88
654a93d7cd Merge remote branch 'origin/master' into 330 2010-03-15 14:56:52 +03:00
tomrus88
8ad6f70c35 Fixed typo. 2010-03-14 13:24:45 +03:00
Opterman
547919e249 [9582] Send looted creature guid in proper field of loot packets.
Also use ObjectGuid in related functions.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-14 00:09:35 +03:00
tomrus88
c2a3062f4e Fixed quests. 2010-03-13 20:34:23 +03:00
tomrus88
26070c571f Merge remote branch 'origin/master' into 330 2010-03-13 17:52:17 +03:00
tomrus88
9ae77536a3 Merge remote branch 'origin/master' into 330 2010-03-13 17:37:54 +03:00
VladimirMangos
ab7840a591 [9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build. 2010-03-13 17:35:47 +03:00
VladimirMangos
2bf75e7a10 111 2010-03-13 16:12:13 +03:00
VladimirMangos
8416702d7c [9579] Use ObjectGuid in some loot code.
Also use ObjectGuidSet instead std::set<ObjectGuid>
2010-03-13 14:06:27 +03:00
tomrus88
086e9fa1ce Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Player.cpp
	src/game/PlayerDump.cpp
2010-03-13 00:54:13 +03:00
tomrus88
768772b14b Updated to PTR build 11655. 2010-03-13 00:50:15 +03:00
VladimirMangos
acde81fc54 [9578] Use ObjectGuid in visibility sets 2010-03-12 22:54:14 +03:00
VladimirMangos
a12fecab0d [9575] Use ObjectGuid in Map object stores/world access/search. 2010-03-12 14:38:38 +03:00
tomrus88
e73c5d3b79 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Unit.cpp
2010-03-10 20:24:28 +03:00
tomrus88
393d46f9f6 Updated to latest PTR build. 2010-03-10 20:21:18 +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
6487c24f29 [9545] Rename ObjectDefines.h -> ObjectGuid.h
Also move unrelated generic defines to Common.h
2010-03-07 20:05:32 +03:00
VladimirMangos
bbdb7bb09c [9529] Make Player::IsValidPos const 2010-03-06 06:13:38 +03:00
VladimirMangos
bc5092686e [9516] Fixed talent 50391 and ranks in part apply rune cooldown expire speed.
* Apply rune cooldown buff only for spell 48265
* Implement SPELL_AURA_MOD_POWER_REGEN_PERCENT work for POWER_RUNE

Thanks to Laise for problem research.
2010-03-04 15:29:50 +03:00
VladimirMangos
7fb5d850bf [9510] Gameobject casting improvements.
* Add IsHostileTo/IsFriendlyTo and implement expected way checks for diff. world object types.
  For controlled object check redirected to specific owner, for wild gameobject base at gameobject faction.
  If faction not set expected to be hostile to anyone.
* Update grid searchers to be usable with world object instead only unit case.
  Some grid searches lost redundent second object arg, AnyAoETargetUnitInObjectRangeCheck lost hitHidden arg
  (for hitHidden==true case added new AnyAoEVisibleTargetUnitInObjectRangeCheck)
* Updated grid searchers used with gameobject area casts now.
  Note: Gameobject area spell cast animation will still wrong show around cast triggering target instead
  center around gameobject.
* In case gameobject aura apply to target for restored use target itself as caster because
  we not have currently another way apply aura form wild gameobject.
2010-03-04 07:38:26 +03:00
VladimirMangos
84e5f7520b [9508] Finish impement new functionlity for item 5513 and similar.
* Implement recharge low rank item in inventory.
* Implement recharge item at loading after 15 offline mins
2010-03-03 07:36:00 +03:00
VladimirMangos
4c4629e861 [9507] Implement SPELL_EFFECT_RESTORE_ITEM_CHARGES
Also it application in special case of item 5513 and similar.
2010-03-03 06:02:32 +03:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
VladimirMangos
4a051e2443 [9496] HomeBind fixes.
* Use area id instead zone id for home bind zone info as expected.
  This will for example proper show capital name in area himebinding for capital; tavern.
* Clarify that player create zone in fact is area (subzone)
* Implement SPELL_EFFECT_BIND for normal homebinding.
  Also support spell target position mode used in 53823/53821 spells
* Add Spell::EffectEmpty for mark spell effects that used but not expect any code in handler.
  Example weapon spells that used just as known spell markers for client.

Original patch idea inspirit by Sadikum patch suggestion.
2010-03-01 13:08:52 +03:00
VladimirMangos
6295275529 [9440] Store in plauer spell list structure instead pointer.
Just not reason in element persistanse storage as std::map
store pointer to structure with size < 16 bits.
2010-02-23 19:11:52 +03:00
tomrus88
32168d697b Updated to 3.3.3.11573 client. 2010-02-23 08:08:33 +03:00
VladimirMangos
df652c56c0 [9425] More achievement types support.
Implemented new achievement criteria requirement:
* ACHIEVEMENT_CRITERIA_REQUIRE_S_EQUIPED_ITEM_LVL (item level and item quality equiped in specific slot)

Implemented suppoprt achievement types:
* ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM (required DB data)
* ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL (required DB data)

Also achievment types used only for statistics:
* ACHIEVEMENT_CRITERIA_TYPE_CREATE_AUCTION
* ACHIEVEMENT_CRITERIA_TYPE_WON_AUCTIONS
* ACHIEVEMENT_CRITERIA_TYPE_MONEY_FROM_VENDORS
* ACHIEVEMENT_CRITERIA_TYPE_GOLD_EARNED_BY_AUCTIONS
* ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM
* ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM
2010-02-21 03:20:26 +03:00
VladimirMangos
233e75ab4b [9415] Dome not catched cases for MAX_EFFECT_INDEX use. 2010-02-19 19:57:07 +03:00
VladimirMangos
84080aaf60 [9411] More SpellEffectIndex using in apropriate cases 2010-02-19 06:45:11 +03:00
VladimirMangos
ff8d494ed4 [9408] Add MAX_EFFECT_INDEX to enum SpellEffectIndex and use it. 2010-02-18 23:33:16 +03:00
VladimirMangos
e74f62ea31 [9404] Fixed glyph apply with with specs.
This resolve problem when glyph rejetect applied
at some spec if it applied already at another spec.
2010-02-18 00:59:11 +03:00
NoFantasy
7c555add76 [9403] Replace number with enum name where explicitly used in array/other checks
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 19:07:00 +01:00
VladimirMangos
d20e50a8e5 [9398] Some config enmus fixes. 2010-02-16 16:08:16 +03:00
VladimirMangos
f9db93e78b [9397] Fixed unexpected rounding in healamount = healamount * int32(TakenTotalMod); 2010-02-16 00:28:12 +03:00
hunuza
462117198e [9390] Remove unneeded mail related queries on character load.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-15 15:31:21 +01:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
AlexDereka
5368751c13 [9386] Store some config values in Rate emun. 2010-02-15 00:17:44 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00