VladimirMangos
6e241689e7
[10987] Prevent deleting reflect source aura ebfore reflected spell cast.
2011-01-09 00:53:05 +03:00
VladimirMangos
287229bfdb
[10986] Fixed linking porblem for scripting library.
...
Visual Studio have known porblems with make public (in DLL access meaning)
for private fields accessed by public inline functions.
2011-01-08 12:42:18 +03:00
VladimirMangos
324c8c4cd2
[10985] More safe for use PET_FOLLOW_ANGLE define.
2011-01-08 05:48:00 +03:00
VladimirMangos
106440ad89
[10984] Alow implicit copy constrictor call for fix build at some compilers.
2011-01-08 03:59:34 +03:00
VladimirMangos
ea930108da
[10983] Config option for disable progress bar show at server startup.
...
Make happy nervouse ppl by some secs startup speedup.
2011-01-08 03:15:03 +03:00
Ambal
b89e531fee
[10982] Optimize memory usage of Field class used in DB code. Should also slightly speedup server startup time.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-01-07 18:54:06 +02:00
x3n
f56ae22ed9
[10981] Removed 600 percent threat mod for talent 50385
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 08:25:10 +03:00
Pat S
7ca769f031
[10980] Lost config fiel part of prev. commit.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 07:57:23 +03:00
Pat S
46fdc3af97
[10979] Add extra ghost speed rate for BGs: Death.Ghost.RunSpeed.Battleground
...
Also recently added option renamed to Death.Ghost.RunSpeed.World
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 07:46:41 +03:00
VladimirMangos
a7f784f676
[10978] Use PExecute instead PQuery for geme event status updates
...
This also must fix unexpected duplucate record errrors at server startup
2011-01-07 06:48:56 +03:00
Pat S
af50b352b2
[10977] Add ghost speed rate in config: Death.Ghost.RunSpeed.
...
Also clarify context for remove ghost auras place after set alive state.
This let get more expected results at remove ghost speed aura.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 06:45:25 +03:00
SkirnirMaNGOS
7aab4eecdf
[10976] Fixed trailing whitespace.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-07 05:16:28 +03:00
VladimirMangos
1b5a82bccd
[10975] Report error about not existed item loot data only if item not have money loot.
2011-01-07 02:35:04 +03:00
VladimirMangos
dba840fe01
[10974] Possible fix for GCC based build problems after prev. commit.
2011-01-06 13:49:52 +03:00
VladimirMangos
6b9de2c958
[10973] Implement game event mail sends at event start/stop.
...
Also implement save game event state to DB mostly for avoid
send mails at resume game event after server downtime.
Thanks to X-Savior for inspiring and original research.
2011-01-06 12:40:15 +03:00
VladimirMangos
da228b707d
[10972] Implement mass mail gm commands.
...
* New comamnds mirror related normal sedn commands:
- send mass items
- send mass mail
- send mass money
* Instead player name it expect or numeric racemask or textual race/team name or 'all'.
2011-01-06 06:55:51 +03:00
VladimirMangos
f347f4bc00
[10971] Make normal server shutdown safe for not finished mass mail tasks.
2011-01-06 06:46:29 +03:00
VladimirMangos
5f2aef756a
[10970] Implement mass mail send infrastructure.
...
It expected to be used in 2 case: some gameevent must send mails at start/end,
and this can be useful in game commands. Both case wil implemented in later commits.
* New MassMailMgr can accept tasks for send mass mails in safe way for map update threads context/etc.
* It work in way:
- By provided race mask or more generic SQL query string in async query selected affected characters
- At query result ready at next world tick update in safe common part of tick code some from mails
from queued mas mail tasks send.
- Amount mails limited MassMailer.SendPerTick confir option (10 by default). This done for prevent
high server load/lags at send too many mails in one tick (mail send all existed characters in DB
who match to seelction criteria)
- Manager not persistant for server shutdowns so any not send mails in queue lost at shutdown.
But with default setting 10K mail send in 20 secs (10000/50/10). Adding more safe execution
for this case will make related code lot more slow and req. many DB tables and code support.
2011-01-06 06:10:15 +03:00
VladimirMangos
231c6d77ce
[10969] Some cleanups in MailDraft API
...
* Use Set* names for cases when function replace old value by new (instead Add*)
* Prevent hidden MailDraft copy create becase if draft have items its can't be just shared
and need preoprtly cloned, but item close is high price operation (guid use, DB tiuched and etc)
So this must be explictly operation. In next commits will be added clone function for this.
* Some MailDraft overwrite by assign cases rewrited to more clean way.
2011-01-06 02:11:21 +03:00
VladimirMangos
22115a8d04
[10968] More typo fixes in Callback.h
2011-01-06 01:20:21 +03:00
Daggy
9f8cfb77d4
[10967] Add dummy effect of spell 38194 and limit it's maxTargets
...
Correct order of spellfamily case.
Note: triggered spell 38203 needs target map fill
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-05 10:24:23 +01:00
VladimirMangos
43707056f3
[10966] Fixed typos in Callback template classes.
2011-01-05 08:57:49 +03:00
patman128
4372a956dc
[10965] Fixed typo in faction state changes flags reset.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-05 06:36:33 +03:00
NoFantasy
86b8e4b2f0
[10964] Update a few GO create error messages with better engrish.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-05 00:38:21 +01:00
NoFantasy
514a66fd67
[10963] Rename UNIT_STAND_STATE_SUBMERGED to more generic *_CUSTOM
...
Visual appearance depend on model animation capability.
In addition, change stand state for creature at enter combat when creature has custom stand state.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-05 00:13:27 +01:00
Kid10
b206e5ddd0
[10962] Fixed wrong spell cast code call with missing bool arg.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also added trap code for like wrong cases
2011-01-05 00:54:38 +03:00
VladimirMangos
fda171d6bd
[10961] Avoid use scripting support wrappers for internal server code.
2011-01-04 22:48:04 +03:00
VladimirMangos
3a99027a80
[10960] Send SMSG_DISMOUNT to client.
...
As know no any affect in work from it.
2011-01-04 21:55:58 +03:00
NoFantasy
7828ee18ad
[10959] Better description of UNIT_FLAG2_UNK1
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-04 12:06:50 +01:00
NoFantasy
b3076146fc
[10958] Rename function to CanUseEquippedWeapon
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-04 10:29:04 +01:00
QAston
4fe41fb335
[10957] Implement auras SPELL_AURA_MOD_DISARM_OFFHAND (254) and SPELL_AURA_MOD_DISARM_RANGED (278).
...
Thanks to Qsa prepare for mangos.
Note: single unsure case: is block chance must be show or set to 0 in shield disarm time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-04 06:42:35 +03:00
Schmoozerd
883e88fad5
[10956] Implement support triggered spells in SCRIPT_COMMAND_CAST_SPELL
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-04 04:15:47 +03:00
thenecromancer
9174e5d085
[10955] Fixed MSG_PVP_LOG_DATA data prepering.
...
Thnaks to Lightguard for not let this patch lst and prepare to recent sources.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-04 03:34:44 +03:00
VladimirMangos
9cdafee907
[10954] Drop not help clarify code comments.
2011-01-03 19:54:27 +03:00
VladimirMangos
2f7db4801e
[10953] Add changes from [10949] to mangos.sql
2011-01-03 15:20:59 +03:00
VladimirMangos
a0e298179c
[10952] Don't use singleton to access static functions.
2011-01-03 14:55:55 +03:00
Lynx3d
32649abe6b
[10951] Add some missing spell_proc_event entries for set bonuses.
...
- set 898, 4 pieces
- set 891, 2 and 4 pieces
- set 889 and set 901, 4 pieces
2011-01-03 01:07:30 +01:00
VladimirMangos
9ae7104251
[10950] Check for scripting lib that it build with exactly same mangos rev.
...
This prevent use outdated script DLL with hidden possible incompatibilities
in used from core inline functions or defines.
2011-01-02 20:19:21 +03:00
NoFantasy
0da3463758
[10949] Fix the word accessable -> accessible in log message
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-02 01:30:21 +01:00
VladimirMangos
20e7cdb55e
[10948] Fixed typo in enum names
2011-01-02 00:23:56 +03:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
siduskana
984f690e71
[10946] Drop redundent spell_proc_event data.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-01 18:50:50 +03:00
VladimirMangos
84b5ee3b43
[10945] Restore check scripting lib API at load.
...
Also report result of script library load/reload to chat/console.
2011-01-01 18:39:09 +03:00
Lynx3d
d4018322b9
[10944] Lock action buttons before unlearning talents on spec switch.
...
This prevents client from automatically requesting removal of buttons that use unlearned spells.
2010-12-31 00:54:12 +01:00
VladimirMangos
cb1e82d663
[10943] Fixed mangos.sql after rename table to game_event_creature_data
2010-12-31 00:27:37 +03:00
VladimirMangos
7a2478ff4f
[10942] Implement .reload npc_text.
2010-12-30 23:41:54 +03:00
VladimirMangos
16768da053
[10941] More strict check player race/class allowed values.
2010-12-30 06:53:06 +03:00
VladimirMangos
b325e93538
[10940] Apply mangos code style to in class {} indent.
2010-12-30 04:11:05 +03:00
VladimirMangos
afdfdf6559
[10939] Check non-unit target case for avoid crash in EffectQuestComplete.
2010-12-30 03:20:39 +03:00
zergtmn
0b7e78d2a7
[10938] Some adjustments to script calls OnQuestChooseReward replaced with OnQuestRewarded. Also fix compile in VC 8.0 and VC 9.0.
2010-12-30 01:27:13 +05:00