Commit graph

2870 commits

Author SHA1 Message Date
NoFantasy
149cfbb3a6 [9670] Add dummy effect of spell 55364.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-04 09:21:35 +02: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
jolan
9883ee496d [9668] Add .DS_Store to gitignore.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-03 17:20:30 +02:00
laise
56e1e48161 [9667] Implement 57849 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-03 16:15:47 +02: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
pasdVn
3d7313a229 [9665] Add another exception to IsNoStackSpellDueToSpell.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-04-03 10:46:59 +02:00
NoFantasy
8bd8986d5d [9664] Fix what author of [9663] messed up, and include the changes in mangos.sql
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-03 02:33:12 +02:00
NoFantasy
53a010d5a5 [9663] Include entry of gameobject in gobject near command
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-03 02:27:05 +02:00
DasBlub
6148675b0e [9662] Use the db-user 'mangos' instead of 'root' in the config file.
Change done for consistence with 'mangos' created in sql/create_mysql.sql

NOTE: for secirity reason better not use this user name (and password)
in real configs/MySQL.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 04:10:52 +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
ce40dedaf0 [9660] Simplify talents reset for pet case. 2010-04-02 23:20:35 +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
034da8f6d4 [9656] Implement '.list talents' command.
Command show really know by selected player talent ranks,
including bugged cases like 2 rank same talent known and etc.
Also command claculated count of talents and total used talent
points cost of known talent ranks.

Can be helpful in bug debuging and cheating cases.
2010-04-02 06:38:27 +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
Blizzy
09b873a316 [9651] Correct code for quest points of interest.
Adjusting field names and type, and send data accordingly to avoid client crash not using auto-generated id.

Due to the nature of the primary keys, two tables are truncated. Be sure to make backup if you have data you do now want to loose.

In addition, speed up load times of data from quest_poi_points, thanks Hunuza for helping out.
2010-03-31 20:58:40 +02:00
hunuza
6750ce9185 [9650] Some corpse related clean ups.
Old bones remove code anyway was dead, so remove it.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 16:40:47 +02: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
NoFantasy
41aee85145 [9648] Add comment to UNIT_BYTE1_FLAG_UNK_2 for further research
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-31 00:23:03 +02: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
Wowka321
f9f21b5f7f [9646] Really restore titles from data_backup table.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-31 00:05:59 +02:00
NoFantasy
d585f321fa [9645] Add new emotes in enum that was missing after version update.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-30 23:32:33 +02:00
VladimirMangos
5c7f6356d6 [9644] Changes in emotes work.
Waypoint/db script/event ai/'.npc playemote' emote data now auto select by emote id way to execute:
oneshot or persistent state

So if in referenced DB data wrongly used state emote as oneshot case this will work in different way now.
2010-03-30 22:13:55 +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
fd5ec0008d [9642] Add info for know by client epic difficulty
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-30 17:58:12 +04:00
XTZGZoReX
34e56c9978 [9641] Fix typo; IN_MILISECONDS -> IN_MILLISECONDS. 2010-03-30 14:44:57 +02:00
KAPATEJIb
e499150b59 [9640] Fix a typo in ReputationMgr
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-30 09:19:26 +02:00
arrai
07c92ba83e [9639] Display homebind messages only to affected players 2010-03-29 21:21:45 +02:00
XTZGZoReX
51fd11c92c [9638] Replace all C assert()s with MaNGOS ASSERT() macro. 2010-03-29 19:29:42 +02:00
VladimirMangos
4443737005 [9637] Include recent field into mangos.sql 2010-03-29 11:47:44 +04: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
hunuza
8e25d43443 [9635] Restore load/save shown action bars.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-28 15:25:22 +02: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
hunuza
1d0218bf7b [9632] Restore load/save known titles.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 23:03:04 +01:00
Zor
7b180e5fa8 [9631] Fix enum names.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-03-27 22:12:21 +03:00
hunuza
0150f48b52 [9630] Forgot to use git_id
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 18:20:02 +01:00
hunuza
4d4f3ae4a2 [9629] Replace some PQuery/PExecute by more simple Query/Execute.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 12:08:50 +01:00
hunuza
af1ce1433d [9628] Fix typo from [8408].
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 11:54:43 +01:00
hunuza
841db412e9 [9627] Make mail load async.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-27 11:15:40 +01:00
VladimirMangos
9311a36d2a [9626] Fix one wrong cast case and simplify similar debug output. 2010-03-27 04:12:36 +03:00
VladimirMangos
534a54aea7 [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
jsee
d46e6629e6 [9624] varargs list (...) auto promote any float value to double and any less int type to int.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-26 22:04:32 +03:00
erickeir
634fd2a508 [9623] Fixed typo in mangos.conf comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-26 21:36:14 +03:00
NoFantasy
f56190db12 [9622] Add keys for gameobject table.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-26 16:51:51 +01:00
zhenya
b7fa3d5d53 [9621] Typo in CastSpell.
Not affect code work except restore small code speedup.
2010-03-26 18:43:14 +03:00