Commit graph

2952 commits

Author SHA1 Message Date
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
VladimirMangos
b31c006bdc [9751] Add index by spell to character_spell
This is must fix porblem with long logins at
many broken spells in `character_spell` after client switch/etc.
2010-04-16 08:39:08 +04: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
VladimirMangos
dbfb1fc8ef [9747] Fixed bg template max/min per team values 2010-04-14 15:49:04 +04:00
VladimirMangos
822ec31cb9 [9746] Implement show realm version and build in realm list.
* Rename `realmlist`.`color` field to `realmflags`

* Client 2.x and later support show in realm list supported
  client version for specific realm.

  For client 1.x this implemented by adding version to name
  in similar way as it look in more recent clients.

  For enable version show each affected realm must have in `realmflags` set
  flag 4.

  For realm work with not officially supported builds (build > last suported)
  will show version 0.0.0 and correct build value.
2010-04-14 09:15:33 +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
502345b2b8 [9744] Prevent adding .vsp files from VS10 to repo 2010-04-14 02:11:08 +04:00
Laise
e89583ba34 [9743] fix spell_check.sql 2010-04-13 15:16:23 +03: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
MrLama
9a0de445b8 [9735] Fix proc for 53709 and ranks
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 12:39:06 +03: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
NoFantasy
0edbefd68f [9728] Correct icon for one option in default gossip menu
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-11 13:20:21 +02: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
Diablox
83639a0101 [9717] Fixed [9716] sql update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Grr... git_id tool corrupt old sql update (it drop sometime all except guards)
and i copy old not fixed version for restore :/

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-10 06:32:37 +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
NoFantasy
f1af55f162 [9714] Replace tab with spaces, just to make at least one push today.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-10 00:02:49 +02:00
VladimirMangos
53b84ffe19 [9713] Update future release info in NEWS 2010-04-10 00:27:27 +04:00
Laise
eef1f119b2 [9712] Use enum for effect index 2010-04-09 22:49:55 +03:00
VladimirMangos
c6fc16d064 [9711] Include in 9692_02_characters_mail.sql convertor for items.
It included in swith time sql update for use in cases not converted yes characters DB.
It can be not 100% safe used for already used in 3.3.3 mode chaarcters data.
BUT if you want you can use it at own choice ofc.

Fixed durability problem after switch. Converted non-bag items only.
Bags not have normally item text and durability.
2010-04-09 23:39:21 +04: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
VladimirMangos
d2ca4a9196 [9703] Include in pdumps more tables.
* character_account_data and then will partly included macros/settings local for character.
			 Mostyl used account wide macros not included.
* character_declinedname
* character_equipmentsets
* character_glyphs
* character_pet_declinedname
2010-04-09 06:04:02 +04:00