Commit Graph

  • 0caaa3e478 Revert changes done in r0074e32c2f and r4d86e4199a - fixes buildissues ( if()+reinterpret_cast is faster than dynamic_casts btw ) click 2010-08-06 03:00:39 +02:00
  • 71ef21de21 Add helper Player::GetAverageItemLevel() function for future use in Dungeon Finder and vehicle scaling. silinoron 2010-08-05 14:18:33 -07:00
  • 309970936c Remove phasing when player enters/leaves instance (by 2010phenix) Closes issue #3279 azazel 2010-08-06 00:24:11 +06:00
  • f9a51dc214 * Corpse related cleanup (author: Hunuza) * Avoid saving of the corpse in arenas (author: VladimirMangos) azazel 2010-08-06 00:15:29 +06:00
  • 4773aad26b Make use of new ToItem() casts Shauren 2010-08-05 18:43:30 +02:00
  • c94046b065 Make typecasting methods *really* safe and get rid of redundant typeId/Typemask checks, thanks Zor and Machiavelli for help Shauren 2010-08-05 17:01:25 +02:00
  • 30194bdd61 Add forgotten proc flags in revision ed3790455dfd (9166) Shauren 2010-08-05 18:28:23 +02:00
  • 885fc368fd * Implement item limit category (based on changes by VladimirMangos) * Additional check for HandleAutoBankItemOpcode (thanks to VladimitMangos) * Properly show empty vendor list for empty item list (author: a1ien) * More stricted checks for store operations (thanks to VladimirMangos) * Prevent autostoring of not empty bags (thanks to L1ghtGu4rd) azazel 2010-08-05 22:08:07 +06:00
  • a042b972ed Fixed pet talents amount exploit Closes issue #3273. Shauren 2010-08-05 11:33:54 +02:00
  • e659c3faf3 *Update CMSG_USE_ITEM opcode to fit new clientCastFlag handling. QAston 2010-08-04 22:52:35 +02:00
  • f3eab91102 * Convert SCRIPT_COMMAND_* defines to enum. Make comments for values up-to-date. * Cleanup ScriptsProcess method. Move repeating parts of code to inline helper methods. * Improve SCRIPT_COMMAND_CAST_SPELL command. You can specify triggered attribute when datalong2 = 4 by making dataint negative. * Improve SCRIPT_COMMAND_KILL command. Now, if source is not a creature, it tries to use target object instead. azazel 2010-08-05 00:55:10 +06:00
  • 96fa91034f Missing part of r7dd45a0182 :( QAston 2010-08-04 20:34:08 +02:00
  • bc8c74475e *Fix a crash in Aura::UnregisterSingleTarget. QAston 2010-08-04 20:03:33 +02:00
  • 2789b30d19 *Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones. QAston 2010-08-04 19:44:34 +02:00
  • 96eb7c513f *Some more research about spell target flags - thanks to Zor for info. QAston 2010-08-04 19:16:44 +02:00
  • 40e16bbbdb Add gender field to SMSG_WHO packet (author: MaS0n) Fix compile error azazel 2010-08-04 22:12:43 +06:00
  • 362ae2d4c6 Fixed pet talents: Guard Dog and Silverback Removed pre-3.3.0 code for Improved Cower Shauren 2010-08-04 17:49:23 +02:00
  • 6353e7dd8c *Update movement enums - thanks to Zor for info. *Add functions for position data streaming. QAston 2010-08-04 14:39:45 +02:00
  • 850868c8a3 Fixed issues with taking items from mail Closes issue #3263. Shauren 2010-08-04 14:31:47 +02:00
  • 1058d7b37d Fixed timer displaying for timed quests Shauren 2010-08-04 13:17:33 +02:00
  • 705de07e7e Fixed Carrion Feeder pet talent Removed useless code for Wolverine Bite Shauren 2010-08-04 12:12:58 +02:00
  • dc6c3f96b1 * Add operator -= to HookList. XTZGZoReX 2010-08-04 11:55:40 +02:00
  • b7d34dcb53 Cleaned up item flags: separated item proto flags and item field flags Implemented use of: ITEM_PROTO_FLAG_PROSPECTABLE and ITEM_PROTO_FLAG_MILLABLE now checked instead of bag family mask ITEM_PROTO_FLAG_SMART_LOOT for profession recipes, player has to have skillline and not know the recipe ITEM_PROTO_FLAG_OPENABLE item has to have it set to use item_loot_template ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA if this is set item can never be used in arena ITEM_FLAG_UNLOCKED marks unlocked items Shauren 2010-08-04 10:34:30 +02:00
  • 846aa12260 *Fix crashy implementation of aura type 305. QAston 2010-08-04 08:21:58 +02:00
  • a0b5921bfa * (Very) minor cleanups. XTZGZoReX 2010-08-04 00:24:04 +02:00
  • 33829ed45e Clean up some crap - remove generated config.h (old junk) and also requirements for that in Error.h click 2010-08-03 22:51:27 +02:00
  • c4c0f5734e Really fix Sartharion adds loot farming this time. John Holiver 2010-08-03 17:27:53 -03:00
  • b70790693d This should fix crashes introduced in revision 4e75fea59c6c (9138) Shauren 2010-08-03 21:38:49 +02:00
  • feebd3a24a Fix a urand limit for Battleground Weights. John Holiver 2010-08-03 14:39:18 -03:00
  • 682ebafdc0 Removed useless code setting gameobject flag locked with each use of gameobject type 22 Shauren 2010-08-03 17:00:02 +02:00
  • 049865129a Fix build click 2010-08-03 13:18:13 +02:00
  • 4e624a1a8d Fixed Wolverine Bite damage (pet talent) Shauren 2010-08-03 12:31:51 +02:00
  • ee147d6402 Compile fix Shauren 2010-08-03 11:31:23 +02:00
  • 109bcb0927 Fixed Heart of the Phoenix pet spell Shauren 2010-08-03 10:47:38 +02:00
  • e7ee828fe1 *Update spell_bonus_data for Garrote - by svetilo12. *Fix build. QAston 2010-08-03 06:36:25 +02:00
  • 12c339f421 *Add missing Bestial wrath and The Beast Withing immunities after client change. Original patch by Visagalis. *Little typo from prev rev. QAston 2010-08-03 06:16:59 +02:00
  • c5a9d3b463 *Add m_duringRemoveFromWorld lock to prevent adding single target auras during or after remove from world process. QAston 2010-08-03 06:11:03 +02:00
  • 14827321bf Add support for CreatureAI::DamageDealt used in a Zul'Aman script. Thanks joshwhedon. silinoron 2010-08-02 14:18:30 -07:00
  • e798097ae3 Move a couple of warrior spell dummy effect handlers to spell scripts. silinoron 2010-08-02 13:18:45 -07:00
  • 891df4eccb *Drop m_intTargetFlags, correctly send TARGET_FLAG_SOURCE_LOCATION and TARGET_FLAG_DEST_LOCATION - fixes many spell visuals. QAston 2010-08-02 20:05:22 +02:00
  • 03caa8550f Fixed typo (and a crash) - damn copypasting from one line above Shauren 2010-08-02 18:25:44 +02:00
  • 18dd177308 *Search for aura caster in our out of world in Aura::UnregisterSingleTarget(). QAston 2010-08-02 18:05:07 +02:00
  • 027ca9b62a Moved spell_script_names data from world_scripts_full.sql to world_database.sql, it is to be kept here from now on. Added missing data to fulls. Some cosmetic fixes to a couple of sql update files. No need to re-apply any sql file for this commit. teacher 2010-08-02 17:56:59 +02:00
  • ff575b7002 *Fixes in spell targets packet reading and writing. QAston 2010-08-02 17:55:15 +02:00
  • 46c1a4640d Groups are now stored by low guid in map Creatures and gameobjects also store looting group by low guid instead of full guid Shauren 2010-08-02 17:28:47 +02:00
  • 21db4757a9 Move CharacterDatabaseCleaner to Tools in VS project Shauren 2010-08-02 15:43:59 +02:00
  • b76ceca24f Updated .pdump commands Deleted (but kept in db) characters cannot be dumped Shauren 2010-08-02 15:14:47 +02:00
  • b2b9ed4a32 Add selection weights to BG and Arenas. Will determine the selected BG/Arena chosen using random BG/Arenas from the enabled list. Spp 2010-08-02 13:22:05 +02:00
  • 0cdeafc2eb Comment out body of AddSC_example_spell_scripts() to get rid of a loading error. silinoron 2010-08-01 17:16:31 -07:00
  • fe39bcaab8 * I'm a firm believer that if you told a computer to make a variable 'unsigned unsigned' it would blow up. XTZGZoReX 2010-08-01 21:41:37 +02:00
  • c243f60eae *Fix import of 9120_world_spell_proc_event.sql when using some weird tools - by taliesin.tc. QAston 2010-08-01 03:39:43 +02:00
  • d5e33bf4ba *Use spell_ranks table in spell scripts to not duplicate data. QAston 2010-08-01 03:23:14 +02:00
  • 4f3093f5e5 *Disable spellpower/ap bonus for flametongue - by Visagalis. QAston 2010-08-01 01:54:06 +02:00
  • 2212eb604d *Add helpers for checking auras present on unit by type and spell affect mask *Add linked SPELL_AURA_PERIODIC_HASTE to shadowform spell - by dr.tenma QAston 2010-08-01 01:22:13 +02:00
  • 9cc4a9a6da *Fix Sniper Training refresh - by liszt.mbox. QAston 2010-07-31 23:50:52 +02:00
  • 73b481073d *Fix talent Will of the NEcropolis *Backout unintentional change from ra299f0b248. QAston 2010-07-31 23:39:03 +02:00
  • e0af5f9220 *Fix Glyph of Salvation - by DrTenma. QAston 2010-07-31 20:51:53 +02:00
  • fdc36b9d89 *Fix periodic damage of Unholy Blight - Fixes issue 1152. QAston 2010-07-31 20:31:40 +02:00
  • d4e1828f57 *Update ppm chance for Unbridled Wrath - by insider42. QAston 2010-07-31 20:18:52 +02:00
  • c26c128ba6 *Add data from r4bf7778333 to world_database.sql *Add 22 sec internal cooldown to Lock and Load - by servet. QAston 2010-07-31 20:11:07 +02:00
  • 9d93ebc8b7 Move SPELLFAMILY_PALADIN dummy spell effects for Holy Shock, Blessing of Faith, and Judgement of Command to spell scripts. silinoron 2010-07-31 10:46:33 -07:00
  • c49ac64d94 Forgot to add a DELETE query at the last revision. I just told devs to check their sql, and then I make a mistake of my own. Ah well, I'm just one of the lousy devs as well. Liberate 2010-07-31 18:16:12 +02:00
  • 8044051682 *Fixes Necrosis and Blood-Caked Blade. They now only proc from melee auto-attacks. Fix by kerekeszoltan90. Fixes issue #3184 Liberate 2010-07-31 17:49:47 +02:00
  • d7e2f338c2 Fixes many sql errors in the sql/scripts/ directory. Please devs don't just copy-paste the sql from the updates directory into these sql files. This might cause errors. Liberate 2010-07-31 17:35:29 +02:00
  • 0be9e71f85 Buildsystem/CMake: Fix a minor "need sleep, i am tired"-error (typos ftw) click 2010-07-31 16:16:55 +02:00
  • 270367abfc Prevent players from gaining rest state in hostile capital zones. Fix a bug where PvP status never resets when not moving to another zone. Reset PvP status at Taxi node end/worldport when moving into friendly territory. thenecromancer 2010-07-31 13:55:23 +02:00
  • bdf20fa420 Fix exploit with Shiv giving 100% chance to apply any enchant on offhand items thenecromancer 2010-07-31 13:49:13 +02:00
  • 99efabdbd3 Remove crude check in proc system preventing charges drop in proc system for absorbs. To preserve effect, code must be placed for charge handler to skip procs with 0 damage. This code is preventing procs that should happen (like Savage Defense, or CCs) thenecromancer 2010-07-31 13:45:00 +02:00
  • 06caa4a945 Typo in some function usage thenecromancer 2010-07-31 13:40:32 +02:00
  • ab83f72d10 Fixed mysql syntax errors caused by using wrong delimiter, thanks BlackCat0110 Shauren 2010-07-31 11:06:21 +02:00
  • 2a371bb224 Hopefully the last fix for revision 3849fdebbcc7 (9090) - use proper field to pull random properties Shauren 2010-07-31 10:17:49 +02:00
  • fd03b78fe6 Core/SQL: Fix character_database structure-creation - thanks to some number-thingie@qq Closes issue 3181 click 2010-07-31 08:58:46 +02:00
  • 0f99c2feb6 Some forgotten changes. silinoron 2010-07-30 22:04:01 -07:00
  • 71b1c781e3 Add basic support for NPCs on transports; DB data required. Currently no support for combat while the transport is in motion. Based on a patch by Socolin. Fixes issue #168 silinoron 2010-07-30 21:54:46 -07:00
  • b3bca2743e Core/SQL: Add commentfield in battleground_template Support-data found on TDB : http://forum.trinitycore.org/forum/122-core-related-db-content/ click 2010-07-31 06:22:40 +02:00
  • 60b119e0ca Buildsystem/CMake: Revert changes from r0fa0512527 and use the proper checks (fix logic-error in buildfile) click 2010-07-31 05:36:05 +02:00
  • 7e4235ac08 Core/AuctionHouse: Fix CMSG_AUCTION_LIST_ITEMS reading (pending further investigation) click 2010-07-31 04:31:21 +02:00
  • ae384ea8c7 Fixed a bug in CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET conditions loading checks. Xanadu 2010-07-31 04:12:30 +02:00
  • c8d8e4cb6b Buildsystem/CMake : Adjust CMake policy to allow reusing logical targetnames Closes issue 3167 click 2010-07-31 04:08:25 +02:00
  • cf4d89990e Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded. Xanadu 2010-07-31 03:23:14 +02:00
  • c298bdb662 Remove duplicate "Error:" from some outError messages... click 2010-07-31 03:12:51 +02:00
  • e5881d9590 *Cleanup in single target auras (thanks to JuliuSZS some useable debug info) *Add ToInstanceMap() and ToMapInstanced() typecast functions and CAST_INST macro to use in scripts. QAston 2010-07-31 01:41:32 +02:00
  • 1ab415cc06 Fixed naming of SQL files Shauren 2010-07-30 21:15:19 +02:00
  • 204834d33d *Change typecasts to use build in functions/macros in scripts to prevent possible access violation. *Remove no longer needed hack from netherspite script. QAston 2010-07-30 21:16:15 +02:00
  • 48b360097c *use ASSERT macro instead of regular assert for better output. QAston 2010-07-30 20:04:28 +02:00
  • 3dc29732b7 Fixed a very silly mistake at item loading Shauren 2010-07-30 17:54:01 +02:00
  • 35ce512af8 This should fix mysql syntax errors some people were getting with 9090_characters_item_instance.sql Shauren 2010-07-30 17:50:21 +02:00
  • ab95e5a6dc Fixed remaining bank/bag issues added in r9090 Added temporary hack to item creation to prevent new items from bugging (heroic+sockets issue), this will be removed after my work on item flags is done Shauren 2010-07-30 17:36:28 +02:00
  • 350864de80 Fixed saving new items to database, thx GMKretol for spotting the typo Shauren 2010-07-30 16:01:43 +02:00
  • d666ba26c1 *Thread safe player searcher in scripts. QAston 2010-07-30 15:51:07 +02:00
  • 9bda35c7df Killed the last blob field (corpse) Shauren 2010-07-30 15:15:07 +02:00
  • 6624da055a Typo in SQL name Shauren 2010-07-30 13:22:31 +02:00
  • 77fc91bde8 Deleted data blob in item_instance Fixed issues with displaying sockets/enchants/durability on heroic items Shauren 2010-07-30 13:15:31 +02:00
  • c227065fc0 Minor fixes, translation and coding style changes of creature_template check function. Xanadu 2010-07-30 06:47:35 +02:00
  • 3565bbccf3 Fixed NPCs not offering quests with warlock or druid in SkillOrClassMask to these classes. Xanadu 2010-07-30 06:22:55 +02:00
  • 1e5ce69d19 Merge Xanadu 2010-07-30 03:43:09 +02:00
  • 272e954a70 *Lock on RemoveAllAuras till all auras and applications are removed with all linked events they may cause. *Add assertion after error log, just in case you've missed it. QAston 2010-07-30 03:07:34 +02:00
  • eb852f5bbd * Added the option to specify target entry in conditions table for spells with AoE GO targets. * A few examples where this is desirable are posted on the forum. Xanadu 2010-07-30 01:51:33 +02:00
  • cad437d7f0 Whops, a little too deletehappy there... click 2010-07-30 00:45:47 +02:00
  • f213f2c7d9 Buildsystem/CMake: Include core/script headerfiles in generated MSVC-projects. - Still "work in progress", as in missing filters and MSVC folder layouts. - external libraries not fully "headerified" (not really required) click 2010-07-29 21:08:16 +02:00