Commit Graph

1049 Commits

Author SHA1 Message Date
click
a67d7c9afd Copyright header updates - part 3... (and some whitespace cleanups)
--HG--
branch : trunk
2010-10-07 14:00:52 +02:00
click
df66aee929 Yet more copyright header updates
--HG--
branch : trunk
2010-10-07 13:38:35 +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
Shocker
b269a3db97 Core: auth.uptime.maxplayers should hold max players count, not max active sessions, closes issue 2219
--HG--
branch : trunk
2010-10-06 21:52:55 +03:00
Spp
c47c1b43cc Core/Dungeon Finder: Move all debug msgs to Debug.
--HG--
branch : trunk
2010-10-06 18:48:39 +02:00
Spp
5606bdd9ab Core/Dungeon Finder: Add log error when no areatrigger found for map and difficulty
--HG--
branch : trunk
2010-10-06 17:31:54 +02:00
Spp
58c535a7cd Core/Dungeon Finder: Move back some debug msgs to Debug level.
--HG--
branch : trunk
2010-10-06 17:26:12 +02:00
Spp
e7817a4a49 Core/Dungeon Finder: After a new player have been found for a existing LFG group, teleport player to any of the players inside dungeon not to the entrance. Also do not teleport players inside dungeon to entrance
--HG--
branch : trunk
2010-10-06 15:52:39 +02:00
_manuel_
4aff9d0203 Core/Player: Added value for counting root times, used by SMSG_FORCE_MOVE_ROOT & SMSG_FORCE_MOVE_UNROOT. Actually I am not sure for what it is. Thanks to linencloth for help.
--HG--
branch : trunk
2010-10-05 23:02:46 -03: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
QAston
cac4cfda42 Core/ScriptSystem: Add missing script call preparation for SpellScripts - fixes issues with core false alarms after recent changes
--HG--
branch : trunk
2010-10-05 08:17:10 +02:00
QAston
abe769a310 Core/ScriptSystem: Extend SpellScript API by spell focus targets accessors.
--HG--
branch : trunk
2010-10-04 20:32:10 +02:00
QAston
69057dcaeb Core/ScriptSystem/SpellScripts: Runtime checks for functions working only during spell hit phase
--HG--
branch : trunk
2010-10-04 19:12:20 +02:00
QAston
caaa77deb2 Core/ScriptSystem:
Add basic code for runtime checks of function calls in AuraScripts
 Make AuraScript::PreventDefaultAction() do not take parameters and add description for the function
 Remove PreventDefaultEffect() from aura script, use PreventDefaultAction() instead
 Unload aura scripts memory on aura delete

--HG--
branch : trunk
2010-10-04 17:44:49 +02:00
Shauren
6c35c376e9 Buildsystem: Generating revision.h is now a part of build process (revision.h is back as target)
Buildsystem: Removed non-existing include directories

--HG--
branch : trunk
2010-10-03 16:30:22 +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
runningnak3d
b90c5d6760 Core/Misc: Set the hard level of the waypoint wisp to 255. If you for *SOME*
reason had more than 255 waypoints, bad things (such as a client crash) would
happen.

--HG--
branch : trunk
2010-09-30 21:06:53 -06:00
runningnak3d
8e9b0647b5 Core/Misc: Allow waypoint wisp to exceed level 100. If more than 100 waypoints
are generated, there will be errors thrown if you don't have level stats, but
this is acceptable.

--HG--
branch : trunk
2010-09-30 20:39:53 -06:00
Machiavelli
c4710bde76 Core/DBLayer: Fix MySQL timeout issue. World runnable will now call KeepAlive on each database after a specified number of seconds (MaxPingTime in worldserver.conf)
Based on patch by kingarus81
Fixes issue #4062

Also remove explicit numbering from WorldTimers enum

--HG--
branch : trunk
2010-10-02 14:26:58 +02:00
Spp
0f09690c5c Core/Dungeon Finder: Fix a typo in 7539ae56e9 that prevented individual players to join queue
Thanks to p.alexej@freenet.de for pointing the typo

--HG--
branch : trunk
2010-10-02 05:40:33 +02:00
_manuel_
91858c4ff8 Core: Fixed compile.
--HG--
branch : trunk
2010-10-01 21:24:50 -03:00
_manuel_
dfa401faf6 Core/Quests: Modified Quest System to support DF quests, the will work at the same time with daily quests but in parallel; in this way they will not count in the daily quests limit. Again, thanks to Spp & Gyullo.
--HG--
branch : trunk
2010-10-01 20:32:00 -03:00
_manuel_
6246d79b55 Core/Dungeon Finder: Modified LFGMgr to use DF quests to reward.
* In this way we will store the character's day progress in the db, preventing to lose the information because of a crash/restart/shutdown.

Patch by Gyullo and me, thanks to Spp & linencloth for help.

* The next commit will modify the current Quest System to support DF quests.

--HG--
branch : trunk
2010-09-28 00:19:37 -03:00
Spp
952d3cf10e Core: Fix couple of warnings
--HG--
branch : trunk
2010-10-01 09:10:07 +02:00
Rat
395df76860 Core/Commands: added .debug areatriggers
-if turned on it will print the trigger id to chat if you get near it

--HG--
branch : trunk
2010-10-01 00:07:14 +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
linencloth
41d816740b Core/Battleground: Fix typo
--HG--
branch : trunk
2010-09-30 19:54:32 +02:00
Spp
b6ebbd744c Core/Dungeon Finder: Fix some errors in Join
- return Internal error if group/player already in queue (They shouldn't be able to join when already queued)
- Fix crash when trying to delete player selected dungeons (cause was forcing a leave in join to keep consistency) and return a proper lfg error
- Fixes issue 4262

--HG--
branch : trunk
2010-09-30 13:52:29 +02:00
Spp
fd7ef08946 Core/Group: Send player roles
Thanks to Wojta for the info

--HG--
branch : trunk
2010-09-30 02:20:48 +02:00
click
b87d8f4700 Buildsystem: Overhaul of the CMake buildsystem:
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets):
  - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree
  - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode)
  - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition
- delete genrev and related buildsystems
  (now deprecated)
- Move some files around to adhere to buildsystem structure
Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower

--HG--
branch : trunk
rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-29 23:42:09 +02:00
Rat
af660f80ec Core/CreatureTextMgr: send emote, sound with texts, return duration after chat so scriptsystem can handle timings, cleanup
--HG--
branch : trunk
2010-09-29 23:26:28 +02:00
Shauren
1ae3459cff Core/Spells: Added partial support for Mixology (duration boost)
Update issue #4097.
Status: Confirmed
Implemented duration part, waiting for the rest

--HG--
branch : trunk
2010-09-29 20:44:14 +02:00
Shauren
442b312cbf Core/Spells: Implemented SPELL_ATTR_EX2_ALWAYS_APPLY_MODIFIERS, fixes Aura Mastery and some paladin aura related talent behavior when learning
Closes issue #2457.

--HG--
branch : trunk
2010-09-29 19:56:10 +02:00
Xanadu
eb1b037611 Core/Spell: * Removed proc overrides for some AoE spells that really shouldn't be there on WotLK. Fixes all Improved Blizzard procs and breaking stealth by Blizzard, Volley, Hurricane, RoF.
* Closes issue #3100. Closes issue #3711. Makes dr.tenma smile.

--HG--
branch : trunk
2010-09-29 01:50:07 +02:00
Shocker
11b682e4df Core/Spells: Rename SPELL_ATTR_EX7_UNK3 spell attribute to SPELL_ATTR_EX7_DISABLED_CLIENT_SIDE
--HG--
branch : trunk
2010-09-29 00:20:34 +03:00
Shauren
665e7a06ce Core/Commands: Remove all active bans before adding new one, prevents multiple active bans for one character/account
Core/DBLayer: Converted most of ban related queries into prepared statement (might have missed some)

Closes issue #4218.

--HG--
branch : trunk
2010-09-28 21:30:05 +02:00
Shocker
53f42d9511 Core/Commands: Also allow .list object possibility to print gameobject entry
--HG--
branch : trunk
2010-09-28 22:21:14 +03:00
Shauren
fe84720720 Core/Spells: Fixed compile warnings added in previous revision
--HG--
branch : trunk
2010-09-28 18:57:19 +02:00
Shauren
956f9115dc Core/Spells: Moved checking if item has USE: effect to Spell::CheckItems (from effect handler), also generates blizzlike error message now
--HG--
branch : trunk
2010-09-28 18:50:38 +02:00
Spp
b4b3eeee10 Core/Dungeon Finder: Do not allow to join LFG if queued to Battleground or Arena
--HG--
branch : trunk
2010-09-28 17:49:30 +02:00
Shauren
d2117fd4ee Core/Spells: Fixed Shadowmourne proc
Scripts/Quests: Fixed quest 24547 (A Feast of Souls)

Closes issue #2331.

--HG--
branch : trunk
2010-09-28 17:35:59 +02:00
Rat
6875626647 Core/Commands: added selection's name to gm logs
--HG--
branch : trunk
2010-09-28 16:42:06 +02:00
Spp
e27976102d Core/: Fix warnings
--HG--
branch : trunk
2010-09-28 14:48:17 +02:00
Shocker
1037c723a1 Core/Spells: Bladestorm shouldn't drop the flag, closes issue 4222
--HG--
branch : trunk
2010-09-28 08:43:42 +03:00
Shocker
f106db551b Forgotten file from previous commit regarding magic numbers cleanup
--HG--
branch : trunk
2010-09-28 08:41:24 +03: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
Shocker
192e972a59 Core/Spells: Remove outdated code for Vampiric Embrace
--HG--
branch : trunk
2010-09-28 04:13:48 +03:00
Spp
b1c97f15bf Core/Dungeon Finder: Remove Spell 72221 when leaving a dungeon using the portal
--HG--
branch : trunk
2010-09-27 23:27:52 +02:00