mns
d699d0973b
[11068] Prevent infinity creature fall at fail get heght.
...
Also fix wrong use INVALID_HEIGHT as height value.
It must be used only for _check_ height, and DON'T must use as real height value.
Must fix some wrong height check results.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 01:17:53 +03:00
Schmoozerd
21cc7cd179
[11067] DB error text for creaure difficulty checks misleading.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:27:28 +03:00
Skirnir
75b4f75f4d
[11066] Remove tail whitespaces.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
breakwater
d5b982cbbe
[11065] Implement stun absorb part of spell 24858
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-24 23:07:39 +03:00
NoFantasy
686d9b0c70
[11064] Add dummy effect of spell 9976
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-22 12:30:18 +01:00
Ambal
49810598c6
[11063] Convert Database::DirectExecute() method to more effective form due to change [11061].
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-22 02:25:44 +02:00
cyberium
a3315d0a11
[11062] Correctly show team member status while teleporting
2011-01-22 00:35:38 +02:00
Ambal
fce48282ad
[11061] Bring 'autocommit' mode for MySQL back. This MySQL feature operates in so frustrating way so it is better to keep it ALWAYS ENABLED!!!
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-21 23:45:59 +02:00
zergtmn
f7a45e9e9a
[11060] Fix compile of builtin ACE on FreeBSD
2011-01-22 02:06:03 +05:00
Ambal
d67219e327
[11059] Fix crash in [11054]. As it turned out - we use not only async transactions but async queries too during server startup =/
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-21 22:11:35 +02:00
Lynx3d
24164ef020
[11058] Add 2P bonus of item set 894 and 4P bonus of item set 884 to spell_proc_event
2011-01-21 14:35:50 +01:00
NoFantasy
1824dd767f
[11057] Add script effect of spell 48917
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-21 12:19:27 +01:00
schmoozerd
4643d9020e
[11056] Limit max targets for spell 802/804
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-21 10:53:28 +01:00
Ambal
7ef75985b9
[11055] Save pet related data in one single transaction. Also merge Pet::DeleteFromDB() queries into one single transaction request.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-21 00:07:05 +02:00
Ambal
07c9f0cbb8
[11054] Do not allow async transaction execution while server is loading. Call Database::InitDelayThread() function explicitly to create async DB worker thread after server initialization is complete.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-20 23:46:51 +02:00
Ambal
e6e7bf8573
[11053] Process all SQL requests upon SqlDelayThread object destroying which might have been added while thread was stopping.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-20 23:06:38 +02:00
XTZGZoReX
241712305d
[11052] Some comments for some unused CMD_REALM_LIST values...
2011-01-20 14:50:42 +01:00
zergtmn
2223393527
[11051] Implement spell 51662
2011-01-20 17:13:06 +05:00
Sarjuuk
a7bf12de71
[11050] Implement aura state AURA_STATE_BLEEDING (18)
...
Signed-off-by: zergtmn <zerg@myisp.com>
2011-01-20 03:26:00 +05:00
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