Commit Graph
100 Commits
Author SHA1 Message Date
runningnak3d 1cdd1a6700 Branch merg
--HG--
branch : trunk
2010-10-09 01:54:36 -06:00
Supabad 8f9660fa07 Scripts/Ulduar: Boss Razorscale
- Update Boss Razorscale thanks to PrinceCreed
- harpoon event needs work
- apply trinity coding standard to patch
- change minor typo in Boss Ignis Thanks to Lopin

--HG--
branch : trunk
2010-10-11 01:17:16 +02:00
runningnak3d 7a9a9426a7 Misc/CodeStyle: Apply proper code style to c746695313
Thanks Paradox

--HG--
branch : trunk
2010-10-09 01:48:32 -06:00
runningnak3d 40e3ca4366 Misc: removed no longer needed / outdated tags
--HG--
branch : trunk
2010-10-09 01:17:53 -06:00
runningnak3d fa4586c17a Core/SQL: Updates for creature_classlevelstats by Shauren
--HG--
branch : trunk
2010-10-08 21:52:34 -06:00
runningnak3d 3feda9b6af Core/Vmaps: Remove the ability to ignore individual maps from vmap LOS /
height checking. Also add a warning if vmap.enableHeight is disabled. You
*MUST* have all LOS / height checking enabled to have a functional server.
Original patch by: Vladimir

--HG--
branch : trunk
2010-10-08 20:14:12 -06:00
runningnak3d a6170675c6 Core/Misc: Fix typo
Thanks: jamieplucinski

--HG--
branch : trunk
2010-10-08 19:05:52 -06:00
runningnak3d a667faaa94 Core/GameObject: Create enum GameObjectDynamicLowFlags instead of using hard
coded flags.
Author: NoFantasy

--HG--
branch : trunk
2010-10-08 18:38:58 -06:00
runningnak3d 86dbbe4afe Core/Misc: Fix logic problem.
Thanks Zor

--HG--
branch : trunk
2010-10-08 18:00:43 -06:00
runningnak3d 26d0598b9a Core/WorldPacket: Only activate GOs if in GM mode and not make them sparkle.
Got reports of blindness in GM mode.

--HG--
branch : trunk
2010-10-08 17:48:44 -06:00
Shauren e0b876d78b Fixed CRLF in SpellMgr.cpp
--HG--
branch : trunk
2010-10-10 11:09:16 +02:00
click 29bddfa50c Core/Pets: Initialize pet level properly (stupid mistake), and set loaded XP after initialization is completed.
--HG--
branch : trunk
2010-10-10 05:50:40 +02:00
click 91b48b33dc Core/Pets: Initialize petlevel before synchronizing with owner
--HG--
branch : trunk
2010-10-10 04:23:08 +02:00
click f358de5437 Core/Spells: Fix Hunters Mark and allow additional damage talents to provide benefits - patch by Dr.Tenma
Fixes issue 2674.
Fixes issue 2792.

--HG--
branch : trunk
2010-10-10 01:22:47 +02:00
click 0509a780c8 Core/Entities: Ensure that pets retain their XP-points when dismissed in any form or way (outrunning/riding/mounting/flying)
Also clean up the logic a bit - pet stats initialization initializes hp/mana/powers on pets, while they should only be initialized/changed on pet call/creation.
Fixes issues 4284

--HG--
branch : trunk
2010-10-10 01:03:21 +02:00
Supabad 64ccaa6c08 More missing boss scripts texts by Aokromes
--HG--
branch : trunk
2010-10-09 22:37:14 +02:00
Shauren 909897657f Core/Scripts: Fixed DefaultTargetSelector aura check, patch by bytewarrior
Closes issue #4375.

--HG--
branch : trunk
2010-10-09 20:14:22 +02:00
Shauren 063e89d07d Core/Guild: Fixed crash when unstacking items in guild bank
Closes issue #4360.

--HG--
branch : trunk
2010-10-09 18:07:27 +02:00
Shauren 91a97c7b83 DB-Schema/World/creature: Added possibility to override npcflag, unit_flags, dynamicflags in creature table
Core/Player: Fixed bad query in previous revision

--HG--
branch : trunk
2010-10-09 17:52:00 +02:00
Shauren 324de6fb4c Core: Added some anti-WPE filter checks to prevent putting non-empty bags into other bags/gbank/mail/auction, original patch from mythcore
Core: Changed inventory saving - will no longer abort operation at single item fail

Closes issue #1994.

--HG--
branch : trunk
2010-10-09 17:36:53 +02:00
Shauren a20dd32de0 Core/Trade: Fixed crash in WorldSession::moveItems, thx Derex for pointing it out
Closes issue #4216.

--HG--
branch : trunk
2010-10-09 17:33:19 +02:00
Shauren 9a47bc96a1 Scripts/Icecrown Citadel: Added Rotface script
Scripts/Icecrown Citadel: Corrected death speech for Stinky and Festergut
Scripts/Icecrown Citadel: Fixed Boned! achievement conditions

--HG--
branch : trunk
2010-10-09 16:50:03 +02:00
Spp aae2f3b48e Core/Dungeon Finder: Partial revert "cfad2a99ac" (remove use of Luck of the draw and Dungeon Deserter Spells)
Note: Will be readed later after some functions remake

--HG--
branch : trunk
2010-10-09 14:56:51 +02:00
QAston f8a4312701 Core/ScriptSystem: Add compile time type check of function assigned to hooks -
prevents incorrect function calls. Since this rev you have to put
PrepareAuraScript(<yourscriptclassnamehere>) at the beginning of every aura
script.

--HG--
branch : trunk
2010-10-08 22:33:21 +02:00
click ce712adda2 Buildsystem: Clean up the revision.h target generation
- rename src/revision.h folder to src/genrev
- ensure BUILDDIR/revision.h file is cleared/removed before generation (deleted/recreated during buildmode-changes)
Note: This needs further testing, so please give feedback.

--HG--
branch : trunk
rename : src/revision.h/CMakeLists.txt => src/genrev/CMakeLists.txt
2010-10-08 22:11:47 +02:00
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 3339e6345e really fix sql this time... ty svetilo12 for the notice
--HG--
branch : trunk
rename : sql/updates/10182_world_spell_script_names.sql => sql/updates/10183_world_spell_script_names.sql
2010-10-08 18:37:59 +02:00
Supabad 8dbdd388c9 fix sql from previous commit
--HG--
branch : trunk
rename : sql/updates/10181_world_script_texts.sql => sql/updates/10182_world_script_texts.sql
rename : sql/updates/10181_world_spell_script_names.sql => sql/updates/10182_world_spell_script_names.sql
2010-10-08 18:26:37 +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 6e86977b16 Buildsystem: Fix minor typo
--HG--
branch : trunk
2010-10-07 22:37:13 +02:00
click 8832254c6d Buildsystem: Clean up uninstall-target files a bit
--HG--
branch : trunk
2010-10-07 21:34:13 +02:00
click 2873844809 Core/Authserver: Remove CRLF warnings for authserver.rc
--HG--
branch : trunk
2010-10-07 20:09:22 +02:00
click 0ff3d8905e Buildsystem: Move uninstall-target for UNIX and OSX platforms
--HG--
branch : trunk
rename : cmake/platform/unix/cmake_uninstall.in.cmake => cmake/platform/cmake_uninstall.in.cmake
2010-10-07 20:05:46 +02:00
Xanadu c17bfb8b44 Scripts: Added some missing script texts for bosses. By Aokromes.
--HG--
branch : trunk
2010-10-07 16:52:49 +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 0e832f806a Doc: Add template headers for new/old sourcefiles (header-standard)
--HG--
branch : trunk
2010-10-07 14:57:47 +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
Spp 40f063de1c DB: Fix typo in world base file
Patch by Antihrist
Closses issue 4331

--HG--
branch : trunk
2010-10-07 11:40:12 +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
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 729e618baa Buildsystem: Generate revision.h additionally during initial cmake run, also fixes displaying revision during run
--HG--
branch : trunk
2010-10-03 16:55:24 +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 [email protected] for pointing the typo

--HG--
branch : trunk
2010-10-02 05:40:33 +02: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
click 62b853e8ed BuildSystem: Fix missing variable parameter encapsulation for _BUILD_DIRECTIVE (gcc/xcode)
--HG--
branch : trunk
2010-09-30 13:04:46 +02:00
click 5ec21b3e60 BuildSystem: Adjust revision-ID/Hash detections slightly so that it
returns the correct variables into revision.h depending on wether we
have a .hg dir, .hg_archival.txt file, or are simply strip-copied
somewhere.

--HG--
branch : trunk
2010-09-30 11:10:46 +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 91502154f1 BuildSystem: Add another revision.h setup "test-clause" (in case someone doesn't have a .hg dir or .hg_archival.txt)
- Set revision-ID to 0, and revision-hash to "Unknown archive", if an id/hash can not be properly detected.
  This should never happen unless the user has -deliberately deleted- the .hg directory and/or the .hg_archival.txt,
  or does not have the hg command in their command-path

--HG--
branch : trunk
2010-09-30 01:44:09 +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 dcbe4026c3 Core/Spells: * Any offensive mage spell hit will now drop Fingers of Frost charge.
* Nature's Grace will proc only from non-periodic magic spell crits.

--HG--
branch : trunk
2010-09-29 03:33:09 +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