Commit graph

3583 commits

Author SHA1 Message Date
faramir118
c9ac685f04 [9766] Remove outdated code for 54936
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-20 12:03:55 +03:00
VladimirMangos
f2dd9daf45 [9765] Prevent crash at use .npc delitem to item with multiply extanded costs. 2010-04-19 13:38:12 +04:00
przemratajczak
6398abc725 [9764] Remove outdated code for 15286
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-19 09:18:21 +03:00
VladimirMangos
b2fefc2ca9 [9763] Use min/max BG/arena levels from DBC. Update table content.
* Use min/mac level from dbc because anyway list real selectable
  for player level bg/arena backets set min/max range.
* Drop related fields and update per team min/max values.
2010-04-18 21:31:19 +04:00
VladimirMangos
d7acc13d09 [9761] Restore .list object output.
No reason have different command output in chat and console
just because need fix crash.
2010-04-18 18:09:44 +04:00
NoFantasy
73475d0dc0 [9760] Add missing argument causing crash using .list obj, after change in [9663]
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-18 15:23:00 +02:00
VladimirMangos
7f90b8955e [9759] Comment cleanups related to spell base points use. 2010-04-18 13:08:23 +04:00
VladimirMangos
ead6468b13 [9758] Include SharedDefines.h to AchievementMgr.h for provided used enum type definition. 2010-04-18 12:33:31 +04:00
Laise
5b56c321c8 [9757] Add triggered spell(strength buff) for 71904 2010-04-18 10:47:47 +03:00
hunuza
a502d1eb78 [9756] Avoid database query on tutorial save by caching tutorial state.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-17 16:36:47 +02:00
VladimirMangos
48254e3879 Cleanups in instance_template and map entrance DBC data. 2010-04-17 15:24:49 +04:00
Laise
6610484609 [9754] Rename flight speed related auras and fix spell 40120 2010-04-16 17:54:58 +03:00
NoFantasy
5570f8c9cd [9752] Add storage for min/maxgold of gameobject
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-16 08:45:46 +02:00
XTZGZoReX
ef979daddc [9750] Add structure of SMSG_REDIRECT_CLIENT (0x50D).
Thanks to TOM_RUS for help with research.
2010-04-15 09:11:54 +02:00
VladimirMangos
5d84dbb492 [9749] Partly revert "[9736] Added more usable interface for grid visits"
In part related broadcasts by explicit provided Map pointer (in different object GetMap() requested)

This is must fix recent crashes in Map::MessageBroadcast
2010-04-15 09:25:15 +04:00
VladimirMangos
92b11459b1 [9748] Fixed startup problems after recent realmd DB. 2010-04-14 16:40:11 +04:00
NoFantasy
88139a7857 [9745] Update equipment at aura transform apply/remove for creature case
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-14 00:58:20 +02:00
VladimirMangos
ee0089826d [9742] Final cleanup in non proper now EffectBasePoints use. 2010-04-13 16:11:16 +04:00
Laise
958edb65f7 [9741] Implement DOT related part of 54049 and ranks 2010-04-13 13:27:03 +03:00
VladimirMangos
f225be06d3 [9740] Update in comment indexes for SpellEntry
No real code changes.
2010-04-13 01:57:05 +04:00
VladimirMangos
ece6cb6c48 [9739] Use local var value instead recalculation. 2010-04-13 01:00:45 +04:00
SilverIce
d8736576d3 [9738] Restore build on *nix
Also fix my typo in Unit::SelectRandomUnfriendlyTarget

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-13 00:47:25 +04:00
Ceris
0566ca0370 [9737] Fix number of ticks calculation for 53209 (1978 and ranks part)
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 17:54:02 +03:00
SilverIce
e3f3f3410a [9736] Added more usable interface for grid visits
(based on SilverIce's repo commit f20f01e)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-12 15:15:55 +04:00
przemratajczak
35fbdd90f3 [9734] Removed outdated code for 33702,33697,20572
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 11:54:56 +03:00
Ceris
06378778e8 [9733] Make Replenishment only affect its caster in arena
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-04-12 10:41:08 +02:00
VladimirMangos
6a50185cfd [9732] Remove another case hardcoded set skill step.
We not have currently way set proper set skill step at loading,
but this not required, because important only for new learned rank have different step.
Also drop outdated (as tested) comment.
2010-04-12 12:17:43 +04:00
VladimirMangos
c7095fb3ed [9731] Cleanup in skil steps code.
* Move step arg in SetSkill to end for make possible for it default value.
* Merge GetSkillStep function to SetSkill, base at fact that old GetSkillStep
  code can be != 0 only for already known spell, so at update
2010-04-12 08:51:17 +04:00
VladimirMangos
c64a2e8c84 [9730] Mail send related fixes in recent code.
* Avoid use explicit MailReciever/MailSender where not need.
  Types specially added for autoconvertion from common cases.

* Prevent allow copy text auction mails. It anyway store encoded data.
  Same for some another non-player mails.
2010-04-12 05:07:47 +04:00
VladimirMangos
9304d7509d [9729] Client not like vendor slot 0 so restore send slots counted from 1
This is must fix not selling first item in list by vendor.
2010-04-11 23:29:11 +04:00
SilverIce
234e241284 [9727] Build equiped item data only for item's owner
This is must decrease amount of data send to network
at player enter to visibility radius for another player.

(based on SilverIce's repo commit 8c60a80)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-11 08:30:18 +04:00
VladimirMangos
49f6a53187 [9726] Restore map outdated format protection and copyright years.
Tom, please update in UpdateFields.h generator 2009->2010 ;)
2010-04-11 08:09:52 +04:00
SilverIce
53eeebf2fe [9725] removed PlayerNotifier and related Map::UpdatePlayerVisibility function, used UpdateObjectVisibility instead
(based on SilverIce's repo commit e226019)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Note: this changes not affect in any good/bad way recent problem with player guids.
2010-04-11 06:27:57 +04:00
VladimirMangos
20162b6db4 [9724] Temporary back to 0 player highguid.
This is resolve "none from players see each other" problem.
Please, reapply non-0 player guid only with or after this problem resolve.

Some ObjectGuid use cleanups added while reseach porblem source.
2010-04-11 05:36:05 +04:00
VladimirMangos
c6b56b512c [9723] Finaly cleanup usage ventorslot values.
This is also fix recent showup problem buy items
from vendors in case when some items usable (and then show in list)
only for some class/races.
2010-04-11 00:25:31 +04:00
VladimirMangos
50c7e57541 [9722] Please include spell names in comments in code and and avoid its used in commit notes. 2010-04-10 21:15:01 +04:00
tomrus88
dc1bb13c72 [9721] Updated high guids. Renamed few files. Added some comments. 2010-04-10 16:59:30 +04:00
SKW
8f18a0d920 [9720] Implement Glyph of Siphon Life and fix Siphon Life proc
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-10 10:01:30 +03:00
VladimirMangos
117bc1e836 [9719] Drop very old item amount calculation hack code.
Use pre-calculated normal effect value as amount.
This also must fix recent item amount crafted items.
2010-04-10 08:22:19 +04:00
VladimirMangos
052f02209a [9718] Use proper index for character_pet_declinedname in pdump code. 2010-04-10 07:50:28 +04:00
VladimirMangos
25c2a76b63 [9716] Allow to vendor have same items in list with different extanded price. 2010-04-10 05:41:30 +04:00
insider42
da253087cb [9715] Implement required basic elements for dual spec learn gossips.
Required DB data for real work. This is final part required at core side for support.

Also note that commit include

* generic implementation money cost gossip menu items so let
  implement in DB many money cost gossip operations with _fixed_ cost.
* useful CONDITION_SPELL that let implemtn menu item visible if specific
  spell known/don't known also wide used case for diff gossips.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-10 03:09:09 +04:00
Laise
eef1f119b2 [9712] Use enum for effect index 2010-04-09 22:49:55 +03:00
VladimirMangos
6ef88699d1 [9710] Add gm possibilities reset talents for all specs.
* At login reset '.reset all talents' will reset all spec talents.
* New command '.reset specs' will reset its online/offline.
* Command '.reset talents' now not support offline player case.
2010-04-09 22:43:11 +04:00
Laise
15e4d337c3 [9709] change case 0 handle for basepoints calculation 2010-04-09 18:21:21 +03:00
ApoC
c6af8b7d3e [9708] Compile fix under GCC.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-04-09 16:25:21 +02:00
crackm
77c930249d [9707] Fixed typo added by Vladimir to patch in [9704].
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add check to prevent have NONE gender with some other for same entry
in `achievement_reward` and `locales_achievement_reward`.
2010-04-09 16:26:41 +04:00
ApoC
f0af98568e [9706] Correctly update next daily quest reset timestamp in DB after reset.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-04-09 13:49:52 +02:00
ApoC
8aa9d795be [9705] Fixed typo.
This fixes assert in Player::AddQuest when quest log is full.

Signed-off-by: ApoC <apoc@nymfe.net>
2010-04-09 11:13:16 +02:00
crackm
12c3227e32 [9704] Add to achievement_reward support gender dependent rewards.
For example for achievement 1793

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-09 07:11:31 +04:00