Ambal
4ddedf0804
[11049] Fix mangos and SD2 compilation after commits [11045] and [11047].
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 23:50:40 +02:00
Ambal
0941a3f851
[11048] Save pet's spell data as one single transaction for speed
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 23:33:53 +02:00
Ambal
2890e0f45a
[11047] Execute transactions in ObjectMgr::PackGroupIds() synchronously on server startup
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 22:56:36 +02:00
Ambal
f2a8606b93
[11046] Optimize and make more safe some transactions in InstanceSaveMgr.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 22:25:24 +02:00
Ambal
631ce36680
[11045] Rewrite internals of DB layer. Simplify code and use less locking. Spawn and use separate connections for sync and async DB requests. Implement database connection pool for SELECT queries. Up to maximum 16 connections supported. Disable 'autocommit' mode for MySQL.
...
UPDATE YOUR CONFIGS!
Defaults:
LoginDatabaseConnections = 1
WorldDatabaseConnections = 1
CharacterDatabaseConnections = 1
If you are not using <mtmaps> patch do not change the default settings - this is useless. You can try following option in your MySQL config to squeeze even more performance from your DB:
[mysqld]
transaction-isolation = READ-COMMITTED
Great thanks to Undergarun, kero99 and selector for making tests and providing very useful feedback and DB statistics! Have fun :)
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-19 22:05:20 +02:00
zergtmn
9bc37afa28
[11044] Make EffectDistract implementation less hacky
2011-01-19 23:13:19 +05:00
PSZ
0f70e9a79c
[11043] Add additional check for spell 53475, 53487 and 54015
...
Only reset when current rep is less than the reset value.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-19 17:10:21 +01:00
NoFantasy
6f2804d513
[11042] Add dummy effect of spell 47305 and script effect of 47311
...
Note: spell animation (the fun part of the spells) does not play as it should, so this implementation should be revised at some point to correct that problem.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-19 16:58:01 +01:00
zergtmn
452b3d9e05
[11041] Tabs to spaces
2011-01-19 03:08:46 +05:00
VladimirMangos
bf04f46011
[11040] Fixed spell bonuses apply to healing from 58757
...
Thanks Lynx3d for help in patch writing.
2011-01-18 21:59:20 +03:00
michalpolko
f2e78cdded
[11039] As of Season 6 and later, all teams below 1500 rating will earn points as if they were a 1500 rated team
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 16:49:05 +03:00
Feanordev
3293a4c3f5
[11038] Small crash-fix in commands handling.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 16:42:53 +03:00
Feanordev
a6ea82682d
[11037] Max health dependent heal bonus for spell 55428 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 16:36:17 +03:00
Lynx3d
b46731ff7c
[11036] Update some data in spell_threat, making use of the new parameters
...
NOTE: Most lower rank data more or less guessed due to lack of reliable data!
2011-01-18 14:00:33 +01:00
Darkknight900
d12fa5b8ac
[11035] Implement some spell duration glyphs work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 15:57:07 +03:00
Ceris
97756e95a2
[11034] Implement self-damage part of spell 49016 work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 15:08:54 +03:00
michalpolko
56eb87f1f8
[11033] Implement glyph 45793.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 14:06:09 +03:00
Schmoozerd
54cb8f1a63
[11032] Implement CREATURE_FLAG_EXTRA_AGGRO_ZONE.
...
This let control zone wide aggro in DB data instead
need special script code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 13:48:46 +03:00
NoFantasy
3bb16cacdb
[11031] Add dummy effect of spell 54577 and script effect of 54581
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-18 10:57:44 +01:00
VladimirMangos
e9bfc154d9
[11030] Document all CreatureDisplayInfoExtraEntry fields.
...
Thanks to Darkrulerz for pointing to data source.
2011-01-17 20:49:19 +03:00
Neo2003
01b9ae6c58
[11029] Rewrite comment line from engrish.
...
Also thanks to Schmoozerd for pointin to other fixed typos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 19:00:51 +03:00
Lynx3d
9baa31bc04
[11028] Implement proper bonus threat distribution for spells not (only) affecting the primary target.
2011-01-17 16:49:41 +01:00
VladimirMangos
d0e2c2e9af
[11027] Move repeatable code to Object::MarkForClientUpdate()
...
This function can be used for cases when need sedn object update
for dynamic flags update.
2011-01-17 18:16:23 +03:00
VladimirMangos
5099b9133c
[11026] Implement damage reduction part of spell 50720
2011-01-17 18:05:27 +03:00
VladimirMangos
62da77153d
[11025] Fixed build.
2011-01-17 15:42:10 +03:00
michalpolko
7d61f8470e
[11024] Fixed work spell 50720
...
* Threat redirection correctly applied
* Implemented cooldown reset part.
Note: Damage redunction still not fixed.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 15:21:03 +03:00
x3n
d35be7f4c1
[11023] Implement support for threat multiplier and AP based threat bonus for spells.
...
* Higher ranks are now automatically filled when not listed in spell_threat
* Added some loading checks to detect inconsistent data
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2011-01-17 12:55:24 +01:00
Lynx3d
77d8b41cc4
[11022] Create template for loading spell ranks from DB to allow better code re-use.
2011-01-17 12:36:25 +01:00
michalpolko
1b1a7ebd24
[11021] Damage buff apply for spell 57934
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 12:58:36 +03:00
breakwater
d072a42807
[11020] Proper percent damage for effect 3 of spell 50341.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 11:08:19 +03:00
DasBlub
342b122a63
[11019] Improve the security for the MySQL DB
...
There has been a security risk as the 'mangos' user had full access to all databases on the MySQL server.
The new create_mysql.sql file now gives more restrictive rights so that the 'mangos' user can only do what he really needs to do.
If you have already set up the DB and want to make sure, that it's more secure, open up the MySQL doc about the 'REVOKE' command and revoke all rights for that user from any other db. Alternatively you can revoke ALL rights from the 'mangos' user and then re-grant him as done in the file.
2011-01-16 20:34:39 +01:00
VladimirMangos
f1957ab478
[11018] Fixed security leveld for 'send mass mail' in DB.
2011-01-16 22:26:02 +03:00
XTZGZoReX
2d87d68b4e
[10626] CONFIG_BOOL_SAVE_RESPAWN_TIME_IMMEDIATLY -> CONFIG_BOOL_SAVE_RESPAWN_TIME_IMMEDIATELY
2011-01-16 18:47:52 +01:00
VladimirMangos
784c0ca781
[11017] Finaly restore non-crashing non-in-world logout.
...
For example at close client with far teleport loading screen.
2011-01-16 20:38:48 +03:00
VladimirMangos
805d62bef1
[11016] Fixed crash at logout not in world guld member.
2011-01-16 18:40:02 +03:00
VladimirMangos
0c19c2c6a2
[11015] Prevent crash at player far teleport landing to nonexisten battleground instance.
...
Teleport back in like case or to homebind in bad case.
2011-01-16 00:31:41 +03:00
zergtmn
3de0f99f59
[11014] Fix some typos in MassMailMgr
2011-01-16 01:12:07 +05:00
pasdVn
f9a6513d38
[11013] Implemented spell 34026 and bonus to it from talent 35029 and ranks
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-15 21:17:13 +03:00
VladimirMangos
1e8ca772b3
[11012] Remove battlemaster mails support as unused now.
2011-01-15 19:18:44 +03:00
Lynx3d
3d551a68b5
[11011] Remove some more code from threatAssist()
...
* calcThreat() is also called in addThreat() when given proper parameters,
and division by 'size' is commutative
* threat redirection is also handled in addThreat() again
2011-01-15 15:50:18 +01:00
Ambal
7d4c96f244
[11010] Remove duplicated code to start transaction in Mail class.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-15 14:40:45 +02:00
Lightguard
93da661f8b
[11009] Add missing opcodes to OpcodeHandler
2011-01-14 21:57:01 +01:00
Lynx3d
279c99bd0f
[11008] Fix wrong threat assignment in threatAssist().
...
It may have been faster, but unfortunately made the aggressor threatened by his enemies instead of the opposite...
In case Player heals himself, this is of course pointless as he chooses target himself, hence it had no real effect at all.
2011-01-14 20:39:18 +01:00
VladimirMangos
f7d49a4254
[11007] Implement use personal loot slot types that fix problems with some loot cases.
...
For example it fix looting 43016.
Also use enum and clarify uses diff loot slot types.
2011-01-14 19:03:54 +03:00
VladimirMangos
5e74d1e425
[11006] Move ShapeshiftForm to SharedDefines.h and fix build for *nix.
2011-01-14 11:48:43 +03:00
VladimirMangos
c8fe77f8ca
[11005] Remove unused function from channel code. Some other cleanups.t_id
2011-01-14 08:53:32 +03:00
VladimirMangos
8d62e9dbf7
[11004] Fixed not apply spell for current form at learning.
...
Some non-passive spells autocasted at shapeshift but without fix
in case already active form at like spell learning it not has been casted
in different from passive similar spells.
This is fix apply dodge chance part of spell 17002 for described case.
2011-01-14 03:59:22 +03:00
NoFantasy
75846d28eb
[11003] Add comment to unknown byte value in spell go packet.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-13 11:40:59 +01:00
VladimirMangos
6a8af38e68
[11002] Implement 8 pieces effect of itemset 204.
2011-01-13 10:50:33 +03:00
Derex
f1283b489d
[11001] Fixed crashes in ACE network code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Thanks to kero99 for pointing to patch and testing.
2011-01-13 04:24:24 +03:00