Commit Graph

8870 Commits

Author SHA1 Message Date
QAston
1760e42e2c Core/ScriptSystem: Add compile time type check of function assigned to hooks - prevents incorrect function calls. Since this rev you have to put PrepareSpellScript(<yourscriptclassnamehere>) at the beginning of every spell script. Yes, i know it's unhandy, but unfortunately C++ preprocessor is very limited, so you have to do that extra work each time you write a script:(.
--HG--
branch : trunk
2010-10-08 21:33:44 +02:00
QAston
e5e53498ce Core/Spells:
- Add more descriptive enumerator of procflags - now clearly pointing out that proc flags are dependant to the spell dmg class of the spells causing procs.
 - Define and implement PROC_FLAG_DONE_MAINHAND_ATTACK.

--HG--
branch : trunk
2010-10-08 19:17:49 +02:00
Supabad
f6645ce6e8 Scripts/Ulduar: Boss Ignis
- Update Boss Ignis thanks to snakeice for main patch
- add support for spell slagpot thanks to Shauren and Linencloth
- apply trinity coding standard to patch

--HG--
branch : trunk
2010-10-08 18:04:11 +02:00
runningnak3d
04566e5be9 Core/GameObject: Make chests (type 3) GOs active even if they have no loot if
a questID is defined and active for the player. It is possible for events to
happen even if the GO has no loot.
Original Author: NoFantasy
Optomized by: kamikazetg

--HG--
branch : trunk
2010-10-06 18:21:42 -06:00
runningnak3d
debeea7f2a Core/GameObject: Check if a GO is a requirement of a quest, and if so make it
sparkle
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:46:18 -06:00
runningnak3d
89833567d2 Core/WorldPacket: Add support for generic (type 5) GOs sparkling if objective
of quest.
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:36:50 -06:00
runningnak3d
9e322ce69f Core/WorldPacket: Update packet to make type 10 GOs sparkle when objective of
a quest.
Author: NoFantasy

--HG--
branch : trunk
2010-10-06 16:19:12 -06:00
runningnak3d
6183efccee Core/Transport: Update taxi mask size for 3.3.5a
Author: Fmut

--HG--
branch : trunk
2010-10-06 16:14:42 -06:00
click
2873844809 Core/Authserver: Remove CRLF warnings for authserver.rc
--HG--
branch : trunk
2010-10-07 20:09:22 +02:00
Liberate
0a1d017b7d Core/Arena: Add a missing change from revision 6802b3bf07. Also personal rating should now start at 1k again if the team rating is over 1k and a new member joins the team (and the start personal rating is set to 0 in the config).
Fixes issue #4283

--HG--
branch : trunk
2010-10-07 16:49:35 +02:00
Liberate
6a504b983c Core/Arena: Fix an exploit which made you gain personal rating when you leave arena, and add some comments to the arena system (which I should have done way earlier).
--HG--
branch : trunk
2010-10-07 16:35:08 +02:00
Shauren
31d4a34000 Fix CRLF in the last file
--HG--
branch : trunk
2010-10-07 15:59:20 +02:00
click
613b81f36f REALLY fix the CRLF-crap...
--HG--
branch : trunk
2010-10-07 15:54:07 +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
dd29d9e422 More copyright header updates (will this ever end?)
--HG--
branch : trunk
2010-10-07 14:50:05 +02:00
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
Shocker
2843be87a0 Core/Spells: Fix Flask of the North, it should give specific buff depending on class
--HG--
branch : trunk
2010-10-06 21:47:25 +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
b345dc5061 Scripts/Spells: Update Master's Call script
--HG--
branch : trunk
2010-10-04 21:08:51 +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
Supabad
5adaf5887e Core/Scripts/Ulduar: fix Ulduar Teleporter
- fix ulduar save system
- adjust leviathan to use correct savesystem

--HG--
branch : trunk
2010-10-04 15:11:01 +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
Anubisss
84a29b2d35 Remove const from MySQLConnectionInfo, can't use non const functions in a const struct. This fixes the compile error.
--HG--
branch : trunk
2010-09-30 20:32:09 +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