Commit graph

1085 commits

Author SHA1 Message Date
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
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
Antimozg
1b536c03e6 [9677] Implement ITEM_MOD_BLOCK_VALUE support in item stat mods and enhantments.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-06 02:16:03 +04:00
VladimirMangos
d6cd1dcc27 [9676] Not counting gems at broken item for meta gem requirements.
This is fit as cleint show meta gem state and fix cheating with gems at broken items.
2010-04-05 22:08:45 +04:00
Laise
16a281c6d0 [9674] Fix crash in ActivateSpec 2010-04-05 15:58:28 +03:00
tomrus88
9a0545cd05 Merge remote branch 'origin/master' into 330 2010-04-04 15:50:18 +04:00
Laise
7cb0edc272 [9669] Restore build at some old GCC versions
Old GCC hash_map::erase not return next iterator point

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 23:09:56 +04:00
tomrus88
4f6006b9db Fixed few opcodes. 2010-04-03 17:49:12 +04:00
Wowka321
4e81b6c98b [9666] Check max. honor points on characteacter login.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-03 11:13:10 +02:00
tomrus88
d131f137cc Merge remote branch 'origin/master' into 330 2010-04-03 11:33:45 +04:00
Laise
7fb7c47de5 [9661] Implement dual talent specializations in talent switch part.
* Implement talent specs switch functionality.
* Only gossip part still not implemented.
* At update server to this commit or later character talents will be reset
  with some spam in logs about wrong places talents in character_spell.
  It can be ignored as part of conversion to new table support.

Thanks to all getmangos.com community members who take part
in creating and updating original dual spec patch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 00:02:55 +04:00
VladimirMangos
12426b158d [9659] Simplify resetTalent code.
Currently all code related to deepndent spells unlern exist in removeSpell
so not need do it in special way in talentReset.
2010-04-02 23:18:06 +04:00
Laise
eee89851a6 [9658] Remove SPELL_EFFECT_TITAN_GRIP flag at related spell remove.
This let have correct state for flag at .unlearn related spell and etc.
Not only at full talent reset.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-02 22:51:43 +04:00
VladimirMangos
973a21060b [9657] Not include in .list talents disabled spells
Also some more cleanups in free talent points update calls.
2010-04-02 18:31:11 +04:00
VladimirMangos
db22a0a9fb [9655] Fixed bug with possible double remove spell.
In case when saved in DB spell remove triggering by
dependendences chain self remove attempt.
2010-04-02 06:34:52 +04:00
VladimirMangos
a9d6eed447 [9654] Restore action bar proper content show at spec switch. 2010-04-02 03:42:10 +04:00
VladimirMangos
daaeb0a998 [9653] Correctly update talent free points in diff cases.
Before at .unlearn or .learn all_mytalents commands free talent points not updated correctly.
Same for .learn all_mypettalents.
2010-04-02 03:03:01 +04:00
VladimirMangos
d004549fd4 [9652] Avoid corpse save at arenas also, small cleanups. 2010-04-01 17:19:10 +04:00
tomrus88
7403dee6e4 Merge remote branch 'origin/master' into 330 2010-03-31 16:24:48 +04:00
tomrus88
a4a56adf3d Quests and combopoints should work once again. 2010-03-31 16:23:52 +04:00
hunuza
8b87c7ec97 [9649] Replace some unnecessary Player::GetCorpse() calls.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 09:33:46 +02:00
tomrus88
50bed7c7da Compile fix, not tested. 2010-03-31 05:58:01 +04:00
tomrus88
97177cb517 Merge remote branch 'origin/master' into 330 2010-03-31 05:44:37 +04:00
tomrus88
646b1a1ea4 Fixed some typos.
Updated quest status enum.
2010-03-31 05:43:14 +04:00
tomrus88
f2572fdda0 Merge remote branch 'origin/master' into 330 2010-03-31 02:29:02 +04:00
VladimirMangos
47878ab6aa [9647] Fix current pet save in summoned state.
Thanks to hunuza for explcit bug line pointing ;)
2010-03-31 02:12:50 +04:00
XTZGZoReX
bf1903345b [9643] Typo in UNDERWATER_INDARKWATER.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-30 19:37:34 +04:00
XTZGZoReX
34e56c9978 [9641] Fix typo; IN_MILISECONDS -> IN_MILLISECONDS. 2010-03-30 14:44:57 +02:00
tomrus88
4c8dd37612 Merge remote branch 'origin/master' into 330 2010-03-30 13:06:34 +04:00
XTZGZoReX
51fd11c92c [9638] Replace all C assert()s with MaNGOS ASSERT() macro. 2010-03-29 19:29:42 +02:00
VladimirMangos
d7c1e06d1b [9636] Move item real-time/in-game duration counting flag to new extraflags field.
Client expected only positive duration values, so stop use duration field as signed.
2010-03-29 09:52:59 +04:00
tomrus88
7e8533adae Merge remote branch 'origin/master' into 330 2010-03-28 19:39:02 +04:00
hunuza
8e25d43443 [9635] Restore load/save shown action bars.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 15:25:22 +02:00
tomrus88
94cd6abe6f Merge remote branch 'origin/master' into 330 2010-03-28 16:01:46 +04:00
hunuza
d85e4228f1 [9634] Remove fields 'data' and 'zone' from corpse table.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 13:23:31 +02:00
hunuza
6c553bf226 [9633] Some code clean up.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 10:56:05 +02:00
tomrus88
7b1e8cae76 Merge remote branch 'origin/master' into 330 2010-03-28 04:32:10 +04:00
hunuza
1d0218bf7b [9632] Restore load/save known titles.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 23:03:04 +01:00
tomrus88
a27d1340bd Fix to fix. 2010-03-27 21:05:35 +03:00
tomrus88
5a89e063c8 Merge remote branch 'origin/master' into 330 2010-03-27 20:02:17 +03:00
tomrus88
9a2f04ac9e Fiiiiiiiiiiiiiix. 2010-03-27 19:55:36 +03:00
tomrus88
b99f51a984 Fixed bug with professions in trainer list not being marked as known until trainer list re-opened. 2010-03-27 19:41:15 +03:00
hunuza
e7e97a13e0 Remove character data blob.
Update will create backup in data_backup table, just in case...
You can drop this when you think you don't need it anymore.
(I would recommend you to keep it for a few days/weeks)

Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 17:34:15 +01:00
tomrus88
112046718a Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Player.cpp
2010-03-27 13:29:31 +03:00
hunuza
841db412e9 [9627] Make mail load async.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 11:15:40 +01:00
tomrus88
dd3d5eec69 Updated to client build 11723. 2010-03-27 03:50:35 +03:00
tomrus88
811f0e7ebf Merge remote branch 'origin/master' into 330 2010-03-25 22:46:09 +03:00