Commit graph

3551 commits

Author SHA1 Message Date
VladimirMangos
1b4c82361b Remove wrongly added in mangos.sql field from unrelated unfinished patch.
Thanks to LordJZ for pointing.
2009-11-22 08:31:27 +03:00
balrok
c057ac987d [8855] fixed banproblem after [8823]
so only realmd accepted login but mangosd haven't done it
thx to the_game_master for pointing it out :)
2009-11-21 16:25:36 +01:00
Astellar
aa759d8161 [8854] Implement heal back part of spell 48181.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

I choice maybe less clear way store future heal amount, but with avoid use additional fields for auras.
2009-11-21 11:20:30 +03:00
VladimirMangos
b9419c0605 [8853] Not attempt output not existed name in opcode table. 2009-11-21 09:22:12 +03:00
DENNO
903ce57db2 [8852] Implement effects for item 47464 and 47303
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-21 08:40:02 +03:00
reeshack
3280bc4193 [8851] Add expected talent triggering cooldown.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-21 07:48:43 +03:00
XTZGZoReX
0011a41003 [8850] Check packet opcode for >= NUM_MSG_TYPES before queueing.
Also add check for wrong packet status requirement in code.
2009-11-20 20:11:48 +01:00
XTZGZoReX
ab62a11d4e [8849] Fix a typo in STATUS_LOGGEDIN_OR_RECENTLY_LOGGEDOUT. 2009-11-20 17:13:02 +01:00
arrai
b4ce8020e7 [8848] Fixed bidding on auctions below starting bid
This was possible by using cheating tools only; the client denies such
actions without sending CMSG_AUCTION_PLACE_BID.
Thanks to leak for reporting this vulnerability.
2009-11-20 16:22:02 +01:00
laise
166c4feaca [8847] Implement talent 20335 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also reorder switch cases by case values.
2009-11-20 17:32:16 +03:00
balrok
56d694b5fb [8846] corrections for my last commit
thx to vladimir and apoc :)
2009-11-20 13:25:54 +01:00
balrok
1d362eace4 [8845] fixed some gcc warnings 2009-11-20 12:57:19 +01:00
balrok
d45b6884ee [8844] log ACE-version at startup 2009-11-20 12:11:19 +01:00
Splinter
487a8de692 [8843] Drop support removed in 3.2.x spells 31892, 53720.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-20 13:19:41 +03:00
balrok
21f234bdfa [8842] send SMSG_PARTYKILLLOG when player kills an unit
thx to darkevil for investigations and help
2009-11-20 10:59:51 +01:00
thenecromancer
6c052039fb [8841] Implement talent 65661 and ranks.
SQL part prepeared by Laise.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-20 10:20:44 +03:00
tomrus88
72b9dc318e Merge remote branch 'origin/master' into 330 2009-11-19 16:22:58 +03:00
Splinter
ea28a5cfcb [8840] Correct proc flags for 53601.
Spell have in dbc wrong flags because copy its for dummy aura from triggred spell for client use.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-19 15:33:00 +03:00
XTZGZoReX
9ccf3ffc0f [8839] Correct "outdated OpenSSL" warning message. 2009-11-19 12:43:37 +01:00
klightspeed
2f3f0f20d8 [8838] Avoid attempts to install tbb libraries without honouring $DESTDIR
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-19 14:04:59 +03:00
VladimirMangos
754c1fed45 [8837] Fixed client side visual bug with login in "combat" mode. 2009-11-19 13:23:50 +03:00
VladimirMangos
120719c564 [8836] Include revision_sql.h in src/shared makefile and VC project 2009-11-19 11:07:12 +03:00
VladimirMangos
d27f889b2b [8835] .lookup title command DB description for prev commits. 2009-11-19 08:23:18 +03:00
VladimirMangos
876eb401ad [8834] Small fix for sql update remove part. 2009-11-19 07:38:16 +03:00
VladimirMangos
b5980f061a [8833] Implement new commands for add/remove/lookup titles.
Inspired by patch suggested by LordJZ.
2009-11-19 07:16:13 +03:00
VladimirMangos
f66f0a0914 [8832] Fixed typo in difficulty name 2009-11-19 03:50:10 +03:00
VladimirMangos
398ca010ca [8831] Helper function add and move for diffficulties.
* Use regular naming for 0 spwanmode/difficulty for clean consistence names (used at well known wiki)
* Move difficulty related data access from InstancedMap to Map class.
2009-11-19 03:05:52 +03:00
VladimirMangos
fe1fae46ee [8830] Restore build at *nix. Make MAKE_PAIR* users includes explicit.
Comment for recently added field also.
2009-11-18 23:57:20 +03:00
balrok
7a2764e0fe [8829] some more places where we call redundant SaveToDB
i also added now my assert with which i've found them..
maybe someone want's to look at other cases too :)
2009-11-18 19:13:03 +01:00
VladimirMangos
37ba6623bb [8828] Independent instance reset time for different difficulties.
* Store reset time for map/difficulty pairs.
* Use DBC data for reset time and max players instead `instance_template` fields (dropped)
  for each existed map/difficulty pair.
* Fix some "heroic" related checks in spells/etc.
2009-11-18 10:08:41 +03:00
tomrus88
be07beba6f - Updated to latest PTR build 10835. 2009-11-18 03:50:19 +03:00
NoFantasy
70fb82b262 [8827] Add a missing stand_state definition (and fill in with a few unknown)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-11-17 17:40:10 +01:00
NoFantasy
84432d8459 [8826] Set creatures PvP state flag based on creature faction and rename related enum
Condition with custom flag civilian and player team only is not sufficient. This update also disallow use *_addon -table (second byte of bytes2) to set flag manually (small chance it may be needed)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-11-17 15:41:04 +01:00
VladimirMangos
bc5fb40867 [8825] At fail start db connections stop all started db connection threads.
This will restore state before start Db function call and prevent crashes
at delayed access to log singleton in case outdated DB structure detection.
2009-11-17 12:42:45 +03:00
Splinter
55e715dddd [8824] Implement 3.2.x changes for spell 5308 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-17 08:39:37 +03:00
tomrus88
fe55f76a26 Merge remote branch 'origin/master' into 330 2009-11-16 02:01:51 +03:00
tomrus88
93332fb1a0 - Fixed SMSG_GROUP_LIST opcode once again (I hope so).
- Fixed typos in SQL update.
- Added some nice comments.
2009-11-16 02:01:09 +03:00
balrok
fbe9241a96 [8823] removed ban-cleanup queries from realmd at login
now they just getting executed when realmd is started

i think this will improve speed a bit.. cause we don't need to cleanup those
bans so often we just can check the conditions inside the select
2009-11-15 20:38:23 +01:00
balrok
31a2996374 [8822] one big insert for character_aura and _SaveSpellCooldowns
this is much faster than many multiple inserts..

code is partly stolen from AchievementMgr inserts (:
2009-11-15 20:36:05 +01:00
balrok
6199396b69 [8821] removed some redundant player->SaveToDB calls
SaveToDB will already be called at "SpawnCorpseBones"
so no need to do this twice
2009-11-15 20:08:57 +01:00
balrok
5475430235 [8820] drop unneded check at sessionupate
session will never get NULL there
2009-11-15 20:05:48 +01:00
balrok
35d64c8d62 [8819] remove objects if unit leaves map
prior this - the objects were only removed when
unit itself gots removed
this fix some crashes with Object::SetUint64

thx to juansalvador and vladimir :)
2009-11-15 20:03:12 +01:00
Triply
537562f29f [8818] Language.h cleanup, TODO cleanup WS and EY messages. Removed 2 minutes starting message from battlegrounds.
Signed-off-by: Triply <triply@getmangos.com>
2009-11-15 09:07:26 +01:00
balrok
f1421a4ece [8817] remove corpses from world at halting server
this fixes the crash after .server shutdown
2009-11-14 19:11:52 +01:00
balrok
c3c7ab2f63 [8816] call uncharm for all units at delete
currently it was only done for players - but units
also can have charms which must be removed
2009-11-14 19:11:04 +01:00
Triply
ef26908948 [8815] Reimplemented bgQueues announces, fixed possible problems with multithreaded queues Mutexes have to be still commented because of ACE bug. When player enters new bg from battleground, do not rewrite his m_BgData with zeros. patch is tested.
Signed-off-by: Triply <triply@getmangos.com>
2009-11-14 18:37:16 +01:00
tomrus88
b09ee8e571 - Implemented quest POI's. May be not perfect, but it works :P 2009-11-14 19:56:01 +03:00
crackm
d5ee544367 [8814] removed some spells which made creatures invisible for dead 2009-11-14 15:44:01 +01:00
XTZGZoReX
a69fe0cb1d [8813] Re-implement some changes in [8799], but with mutex calls commented. 2009-11-14 15:07:04 +01:00
tomrus88
2bdfb0d7bb - Some updates. 2009-11-14 16:22:41 +03:00