Commit Graph

8836 Commits

Author SHA1 Message Date
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
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
linencloth
20b124ab03 Core: Fix compile
--HG--
branch : trunk
2010-09-29 23:08:46 +02:00
Shauren
67a531c8c7 Core/Scripts/Items: Removed unused variable from shadowmourne script (forgot to delete temp dev stuff)
--HG--
branch : trunk
2010-09-29 22:46:13 +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
click
608ad9dd3d Buildsystem/OSX: Fix genrevision runtime conditon for generating revision.h (forgot to change it to a target, not as a singlerun command)
--HG--
branch : trunk
2010-09-29 16:51:54 +02:00
Machiavelli
fcec787e9c Core/DBLayer: Pass connection info down to lower level class MySQLConnection and use relevant data in logging messages in its methods
--HG--
branch : trunk
2010-09-29 15:29:57 +02:00
Machiavelli
d3b30e979a Fix linux compile. Thanks to click, hunshijie and tomkuzyno for spotting the culprits.
--HG--
branch : trunk
2010-09-29 14:59:05 +02:00
Machiavelli
bf72fa749f Core/DBLayer: Store MySQL connection details in a struct and print relevant data in sql driver messages
--HG--
branch : trunk
2010-09-29 08:48:06 +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
Machiavelli
7abe69b570 Core/DBLayer: Remove obsolete parameter in PreparedResultSet constructor.
Thanks to Spp for pointing out.

--HG--
branch : trunk
2010-09-28 14:03:35 +02:00
Shocker
c847d3c825 Core/Spells: Fix Glyph of Blast Wave (based on patch by dr.tenma), closes issue 3593
--HG--
branch : trunk
2010-09-28 09:11:41 +03:00
click
90a7f3292f Buildsystem: Make genrev use a premade revisioninfo-file if it exists (patch by Paradox)
Closes issue 4180.

--HG--
branch : trunk
2010-09-28 07:56:38 +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
Spp
1afdd143d9 Core/Dungeon Finder: Fix bad use of iterator that made LFG inconsistent and sometimes crash
Closes issue 4009

--HG--
branch : trunk
2010-09-27 23:19:22 +02:00
Xanadu
781592d63a Core/Spells: * Removed special handling of SPELL_AURA_ABILITY_IGNORE_AURASTATE, now handled by the proc system (again).
* Fixed Fingers of Frost buff display. Closes issue #3324.

--HG--
branch : trunk
2010-09-27 20:30:47 +02:00
click
8c9501286f Scripts/Vazruden: Stop the infinite respawning of the lootable chest after the Vazruden fight. (Fix by Leak)
Closes issue 4186.

--HG--
branch : trunk
2010-09-27 05:44:50 +02:00
click
88420cdcd1 Core/Spells: Do not allow adding USE-enhancements on items that already has a Use: spell. Fixes a possible exploit (original fix by Leak)
(Cleaned up to adhere to codingstandards)
Closes issue 4185.

--HG--
branch : trunk
2010-09-27 05:41:13 +02:00
click
ee705bba32 Core/OjectMgr: Properly load guildbank items (and some minor cleanups)
- fixes issues where guildbanks looked empty but weren't
- kudos to Linencloth for the discussion and thorough breakdown of this issue
Closes issue 4199.

--HG--
branch : trunk
2010-09-27 04:16:41 +02:00
Shocker
ede2a1c5ed Core/Quests: Make sure itemcount doesn't get to be negative.
Since this is an old issue and probably there are various entries with huge values as itemcounts already, a cleanup must be done before changing structure of character_queststatus which was done in r9be097c482, thus I'll include the SQL cleanup in that revision's .sql file or MySQL will thrown an error regarding out of bounds values

--HG--
branch : trunk
2010-09-27 02:57:01 +03:00