leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
leak
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Nay
67198416f0
Core/Conditions: Improve CONDITION_REPUTATION_RANK, it should check for rank equality. This way it can be used in more cases.
2011-04-22 17:42:30 +01:00
Azazel
03852e14e5
Core/Conditions: improve CONDITION_QUEST* conditions. Now you can invert meaning of these conditions by setting ConditionValue2 to 1. For example, if you use CONDITION_QUEST_COMPLETE and ConditionValue2=1 then this condition will be true if this quest has any status but completed
2011-04-21 16:23:20 +06:00
Supabad
baedc78b10
Core/Conditions: fix little typo in previous commit.
2011-04-09 10:23:54 +02:00
Supabad
6174703d45
Core/Conditions: updated CONDITION_SPELL to allow to return false also
2011-04-09 10:12:45 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387
Core/ObjectMgr: Static members are no longer accessed through singleton
...
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
leak
6115b0bd5f
Removing ProgressBars as they are performing badly on startup.
...
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
leak
fd694cd232
Streamlining loading functions for server startup
...
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)
--HG--
branch : trunk
2010-12-19 17:06:33 +01:00
linencloth
59da698189
Core: Rename spell attributes, use more general names
...
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
Rat
9abf7f98b3
Core/Conditions: updated CONDITION_ITEM, it should work with 0 item count
...
--HG--
branch : trunk
2010-11-15 23:20:20 +01:00
Shauren
d73d975d56
Core/Conditions: Prevent double deleting the same condition on cleanup, fixes shutdown crashes with conditions
...
--HG--
branch : trunk
2010-11-13 20:48:20 +01:00
Rat
d79ee2e824
Core/Conditions/Typo
...
--HG--
branch : trunk
2010-11-05 23:33:31 +01:00
Rat
b45e12fdf9
Core/Conditions: updated CONDITION_AURA, if Param3 is set true target is tested for condition, else caster is tested
...
--HG--
branch : trunk
2010-11-05 22:54:51 +01:00
Rat
32f088558d
Core/ConditionMgr: added two new conditions NEAR_CREATURE and NEAR_GAMEOBJECT
...
--HG--
branch : trunk
2010-10-31 22:10:31 +01:00
Rat
b282438198
Core/ConditionMgr: small fix for CONDITION_QUEST_COMPLETE
...
--HG--
branch : trunk
2010-10-25 18:08:50 +02:00
Rat
5eb8ea2a5d
Core/ConditionMgr: added CONDITION_QUEST_COMPLETE, conditionValue1: questiID, true if player has the quest in the questlog as 'completed'
...
--HG--
branch : trunk
2010-10-24 21:44:58 +02:00
Rat
e67f04d362
Core/ConditionMgr: added CONDITION_SOURCE_TYPE_VEHICLE_SPELL, sourceGroup=creatureTemplate.entry, sourceEntry=spellEntry
...
--HG--
branch : trunk
2010-10-22 22:45:11 +02:00
Shauren
8a17d95647
Scripts/Icecrown Citadel: Added Professor Putricide script
...
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead
Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction
Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code)
Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask)
--HG--
branch : trunk
extra : rebase_source : 943e3bac5d9063974d7f7132f144e91946f825d4
2010-10-16 16:34:21 +02:00
Rat
5ee2c83835
Code/ConditionMgr: added CONDITION_DRUNKENSTATE, true if player is drunk enough. sober(0), tipsy(1), drunk(2), smashed(3)
...
--HG--
branch : trunk
2010-10-11 23:35:55 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
Rat
f745705ef9
Code/ConditionMgr: cleanup
...
--HG--
branch : trunk
2010-10-05 18:07:41 +02:00
Rat
f733d8b224
Code/ConditionMgr: added CONDITION_LEVEL(27) value1: player level, value2: modify test statement, default(0) is '=='
...
--HG--
branch : trunk
2010-10-05 17:54:27 +02:00
Spp
13aa8cbbf5
Core: Compile Fix (remove some lines that should have been removed in 11576b019b)
...
Thanks to |Paradox| for pointing out
--HG--
branch : trunk
2010-10-03 05:20:37 +02:00
Machiavelli
27e2a98920
Core/Conditions: Drop hacky/nonworking CONDITION_AD_COMMISSION_AURA (10). Condition data with this condition type needs to use CONDITION_AURA (1) to function properly.
...
--HG--
branch : trunk
2010-10-02 22:24:02 +02:00
Rat
0857c18af8
Code/ConditionMgr: added condition_NOITEM (26) value1: item.entry value2: 0/1 if 1 it searches player's bank too
...
--HG--
branch : trunk
2010-09-30 22:41:19 +02:00
Shocker
78803c9f09
Magic numbers cleanup:
...
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry
--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
Machiavelli
3c6dc32030
Core/DBLayer:
...
- Rewrite Field class to be able to store both binary prepared statement data and data from adhoc query resultsets
- Buffer the data of prepared statements using ResultSet and Field classes and let go of mysql c api structures after PreparedResultSet constructor. Fixes a race condition and thus a possible crash/data corruption (issue pointed out to Derex, basic suggestion by raczman)
- Conform PreparedResultSet and ResultSet to the same design standards, and using Field class as data buffer class for both
* NOTE: This means the fetching methods are uniform again, using ¨Field* fields = result->Fetch();¨ and access to elements trough fields[x].
* NOTE: for access to the correct row in prepared statements, ¨Field* fields = result->Fetch();¨ must ALWAYS be called inside the do { }while(result->NextRow()) loop.
* NOTE: This means that Field::GetString() returns std::string object and Field::GetCString() returns const char* pointer.
Still experimental and all that jazz, not recommended for production servers until feedback is given.
--HG--
branch : trunk
2010-09-24 22:16:21 +02:00
Rat
d2af10618f
Core/ConditionMgr: added placeholder for CONDITION_GUID
...
renamed targetOverride to invoker
removed targetOverride code (had no use)
--HG--
branch : trunk
2010-09-24 18:16:29 +02:00
Rat
8b5369ff3f
Core/ConditionMgr: only send special error msg if condition failed
...
--HG--
branch : trunk
2010-09-21 23:30:37 +02:00
Spp
7a3fd2e9bf
Core/: Fix warnings
...
--HG--
branch : trunk
2010-09-21 10:11:25 +02:00
Rat
8e6ba6e7c9
Core/ConditionMgr: small cleanup, small fix
...
--HG--
branch : trunk
2010-09-20 22:11:55 +02:00
Rat
2fb80e4a86
Core/ConditionMgr: You can now hide/show the quest marks with conditions (! ?)
...
note: check only runs at quest giver query!
Using together with CONDITION_SOURCE_TYPE_QUEST_ACCEPT you can totally hide quests
--HG--
branch : trunk
2010-09-20 10:19:20 +02:00
Rat
5de3183180
Core/ConditionMgr: You can now add conditions to QuestAccept (at CanTakeQuest check)
...
--HG--
branch : trunk
2010-09-19 19:49:23 +02:00
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Shauren
320929ff40
Core/Conditions: Added "player knows spell" condition type
...
--HG--
branch : trunk
2010-09-10 20:49:29 +02:00
QAston
a8de57559b
*Allow channeled spells to be casted on dead target
...
*Define relted spell attributes
--HG--
branch : trunk
2010-08-30 17:32:51 +02:00
azazel
341e6303ef
Core:
...
* add helping methods for manipulating unit's health and use it where applicable
* fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces)
--HG--
branch : trunk
2010-08-26 01:20:57 +06:00
Spp
16d95d3115
Core: Fix some warnings
...
--HG--
branch : trunk
2010-08-23 07:51:19 +02:00
Spp
e7856a831c
Core: Remove "enumeration value 'xxx' not handled in switch" warnings
...
--HG--
branch : trunk
2010-08-21 20:55:31 +02:00