Commit graph

3229 commits

Author SHA1 Message Date
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
VladimirMangos
24f2d03485 [9702] Drop now redundent item_text table.
* In beggining bad news: at 3.3.3 switch has been forgoted item_instance.data field chnage.
  In result items with texts (mail copy in to inventory, some other) lost text content.
* That why in current commit item_text droped without convertion. In result all itesm with texts
  will lost text. Sorry for this as i think small porblem :(
* Now text stored in item itself.
2010-04-09 02:10:36 +04:00
VladimirMangos
53486545b5 [9701] Fix basepoints calculation
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-08 23:15:48 +03:00
NoFantasy
f39cdc66a6 [9700] Update comments for two quest flags.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-08 22:12:31 +02:00
VladimirMangos
b48da9755f [9699] Drop item text ids generation.
Now item text not used as independent object (real item texts associated with item guid)
2010-04-08 22:42:00 +04:00
Splinter
7a0cb930eb [9698] Fixed .pdump work after 'data' drop.
Also add `character_talent` including to pdump

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

Also drop save `item_text` as not used in items/mails now after switch to 3.3.3
2010-04-08 22:27:15 +04:00
Splinter
30360f13db [9697] Include changes from [9692] to characters.sql
mangos.sql part already updated.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-08 19:57:25 +04:00
Sarjuuk
ca07446e63 [9696] Fix 16972 and ranks.
Thanks to vdpqtc and darkstalker.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-08 10:33:45 +02:00
cyrex
23da1a86d1 [9695] Fixed typo in error output string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-08 06:12:52 +04:00
VladimirMangos
45fba95d13 [9694] Not crash in case unknown spell expected to be learned at spec switch.
It will output error insteed and continue.
2010-04-08 05:57:55 +04:00
ilija
93bc46b1f3 [9693] Update spell 6572 and ranks for 3.3.3
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-08 05:41:51 +04:00
VladimirMangos
cf6aac84fd [9692] Switch to support client 3.3.3a (build 11723)
Merge branch '330'

You need regenerate dbc/map/vmap files.

Thanks to TOM_RUS who make most work for adding 3.3.3 support. ;)
2010-04-08 04:27:09 +04:00
VladimirMangos
ae1d8d6488 [9691] Up to date mangos_spell_check old data and add some new. 2010-04-08 02:48:42 +04:00
Wowka321
c5860e0892 [9690] fix item 47670 spell proc event
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-07 19:18:46 +03:00
Revils
724fc87332 [9689] Fixed typo in daily/weekly flags conflict check.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 17:14:45 +04:00
VladimirMangos
c56000b666 [9688] Fixed typo in daily quest reset time init. 2010-04-07 06:19:38 +04:00
VladimirMangos
d78117bbc8 [9687] Add to mangos.conf options for daily/weekly reset time.
* Quests.Daily.ResetHour (0..23) for daily quests
* Quests.Weekly.ResetWeekDay (0..6) and Quests.Weekly.ResetHour (0..23) for weekly quests.
* Drop time from character_queststatus_daily and use same way as weekly quest reset time store.
2010-04-07 05:48:14 +04:00
GriffonHeart
fdddf9188a [9686] Implement support weekly quests cooldowns.
Part code provided by zhenya.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 04:24:51 +04:00
VladimirMangos
e45d165a8e [9685] Code style cleanups in quest code. 2010-04-07 03:27:28 +04:00
DasBlub
ea5788ff70 [9684] Add helper function to check if a string is numeric
(based on DasBlub's repo commit 1d5b209)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-07 00:27:47 +04:00
qsa
570852e70e [9676] Implement AURA_252
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-06 21:05:34 +03:00
VladimirMangos
fbf530cb50 [9682] Clarify areatrigger related tables loading errors.
(based on 330 commit 71c1d67)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-06 21:37:05 +04:00
hunuza
dd2dda62a5 [9681] Add config to decide whether character stats should only be saved on logout.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 16:29:17 +02:00
hunuza
145182a53d [9680] Create new table character_stats for external tools.
Added new config value to define whether it should be updated.

This table will only be updated on logout, not on periodic save.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-06 15:03:43 +02:00