Commit Graph
100 Commits
Author SHA1 Message Date
QAston 2789b30d19 *Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones.
--HG--
branch : trunk
2010-08-04 19:44:34 +02:00
QAston 96eb7c513f *Some more research about spell target flags - thanks to Zor for info.
--HG--
branch : trunk
2010-08-04 19:16:44 +02:00
Shauren 362ae2d4c6 Fixed pet talents: Guard Dog and Silverback
Removed pre-3.3.0 code for Improved Cower

Closes issue #3198.

--HG--
branch : trunk
2010-08-04 17:49:23 +02:00
QAston 6353e7dd8c *Update movement enums - thanks to Zor for info.
*Add functions for position data streaming.

--HG--
branch : trunk
2010-08-04 14:39:45 +02:00
Shauren 850868c8a3 Fixed issues with taking items from mail
Closes issue #3263.

--HG--
branch : trunk
2010-08-04 14:31:47 +02:00
Shauren 1058d7b37d Fixed timer displaying for timed quests
--HG--
branch : trunk
2010-08-04 13:17:33 +02:00
Shauren 705de07e7e Fixed Carrion Feeder pet talent
Removed useless code for Wolverine Bite

--HG--
branch : trunk
2010-08-04 12:12:58 +02:00
XTZGZoReX dc6c3f96b1 * Add operator -= to HookList.
--HG--
branch : trunk
2010-08-04 11:55:40 +02:00
Shauren 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

Simplified BoA check for mail sending
Stackable items are no longer refundable
Removed useless code that always set ITEM_FIELD_FLAGS equal to proto flags
Unlocking items (lockpicking) is now blizzlike

--HG--
branch : trunk
2010-08-04 10:34:30 +02:00
QAston 846aa12260 *Fix crashy implementation of aura type 305.
--HG--
branch : trunk
2010-08-04 08:21:58 +02:00
XTZGZoReX a0b5921bfa * (Very) minor cleanups.
--HG--
branch : trunk
2010-08-04 00:24:04 +02:00
click 33829ed45e Clean up some crap - remove generated config.h (old junk) and also requirements for that in Error.h
--HG--
branch : trunk
2010-08-03 22:51:27 +02:00
John Holiver c4c0f5734e Really fix Sartharion adds loot farming this time.
--HG--
branch : trunk
2010-08-03 17:27:53 -03:00
Shauren b70790693d This should fix crashes introduced in revision 4e75fea59c6c (9138)
--HG--
branch : trunk
2010-08-03 21:38:49 +02:00
John Holiver feebd3a24a Fix a urand limit for Battleground Weights.
--HG--
branch : trunk
2010-08-03 14:39:18 -03:00
Shauren 682ebafdc0 Removed useless code setting gameobject flag locked with each use of gameobject type 22
--HG--
branch : trunk
2010-08-03 17:00:02 +02:00
click 049865129a Fix build
--HG--
branch : trunk
2010-08-03 13:18:13 +02:00
Shauren 4e624a1a8d Fixed Wolverine Bite damage (pet talent)
--HG--
branch : trunk
2010-08-03 12:31:51 +02:00
Shauren ee147d6402 Compile fix
--HG--
branch : trunk
2010-08-03 11:31:23 +02:00
Shauren 109bcb0927 Fixed Heart of the Phoenix pet spell
--HG--
branch : trunk
2010-08-03 10:47:38 +02:00
QAston e7ee828fe1 *Update spell_bonus_data for Garrote - by svetilo12.
*Fix build.

--HG--
branch : trunk
2010-08-03 06:36:25 +02:00
QAston 12c339f421 *Add missing Bestial wrath and The Beast Withing immunities after client change. Original patch by Visagalis.
*Little typo from prev rev.

--HG--
branch : trunk
2010-08-03 06:16:59 +02:00
QAston c5a9d3b463 *Add m_duringRemoveFromWorld lock to prevent adding single target auras during or after remove from world process.
--HG--
branch : trunk
2010-08-03 06:11:03 +02:00
silinoron 14827321bf Add support for CreatureAI::DamageDealt used in a Zul'Aman script. Thanks joshwhedon.
--HG--
branch : trunk
2010-08-02 14:18:30 -07:00
silinoron e798097ae3 Move a couple of warrior spell dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-08-02 13:18:45 -07:00
QAston 891df4eccb *Drop m_intTargetFlags, correctly send TARGET_FLAG_SOURCE_LOCATION and TARGET_FLAG_DEST_LOCATION - fixes many spell visuals.
--HG--
branch : trunk
2010-08-02 20:05:22 +02:00
Shauren 03caa8550f Fixed typo (and a crash) - damn copypasting from one line above
--HG--
branch : trunk
2010-08-02 18:25:44 +02:00
QAston 18dd177308 *Search for aura caster in our out of world in Aura::UnregisterSingleTarget().
--HG--
branch : trunk
2010-08-02 18:05:07 +02:00
teacher 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.

--HG--
branch : trunk
2010-08-02 17:56:59 +02:00
QAston ff575b7002 *Fixes in spell targets packet reading and writing.
--HG--
branch : trunk
2010-08-02 17:55:15 +02:00
Shauren 46c1a4640d Groups are now stored by low guid in map
Creatures and gameobjects also store looting group by low guid instead of full guid

--HG--
branch : trunk
2010-08-02 17:28:47 +02:00
Shauren 21db4757a9 Move CharacterDatabaseCleaner to Tools in VS project
--HG--
branch : trunk
2010-08-02 15:43:59 +02:00
Shauren b76ceca24f Updated .pdump commands
Deleted (but kept in db) characters cannot be dumped

--HG--
branch : trunk
2010-08-02 15:14:47 +02:00
silinoron 0cdeafc2eb Comment out body of AddSC_example_spell_scripts() to get rid of a loading error.
--HG--
branch : trunk
2010-08-01 17:16:31 -07:00
XTZGZoReX fe39bcaab8 * I'm a firm believer that if you told a computer to make a variable 'unsigned unsigned' it would blow up.
--HG--
branch : trunk
2010-08-01 21:41:37 +02:00
QAston c243f60eae *Fix import of 9120_world_spell_proc_event.sql when using some weird tools - by taliesin.tc.
--HG--
branch : trunk
2010-08-01 03:39:43 +02:00
QAston d5e33bf4ba *Use spell_ranks table in spell scripts to not duplicate data.
--HG--
branch : trunk
2010-08-01 03:23:14 +02:00
QAston 4f3093f5e5 *Disable spellpower/ap bonus for flametongue - by Visagalis.
--HG--
branch : trunk
2010-08-01 01:54:06 +02:00
QAston 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

--HG--
branch : trunk
2010-08-01 01:22:13 +02:00
QAston 9cc4a9a6da *Fix Sniper Training refresh - by liszt.mbox.
--HG--
branch : trunk
2010-07-31 23:50:52 +02:00
QAston 73b481073d *Fix talent Will of the NEcropolis
*Backout unintentional change from ra299f0b248.

--HG--
branch : trunk
2010-07-31 23:39:03 +02:00
QAston e0af5f9220 *Fix Glyph of Salvation - by DrTenma.
--HG--
branch : trunk
2010-07-31 20:51:53 +02:00
QAston fdc36b9d89 *Fix periodic damage of Unholy Blight - Fixes issue 1152.
--HG--
branch : trunk
2010-07-31 20:31:40 +02:00
QAston d4e1828f57 *Update ppm chance for Unbridled Wrath - by insider42.
--HG--
branch : trunk
2010-07-31 20:18:52 +02:00
QAston c26c128ba6 *Add data from r4bf7778333 to world_database.sql
*Add 22 sec internal cooldown to Lock and Load - by servet.

--HG--
branch : trunk
2010-07-31 20:11:07 +02:00
silinoron 9d93ebc8b7 Move SPELLFAMILY_PALADIN dummy spell effects for Holy Shock, Blessing of Faith, and Judgement of Command to spell scripts.
--HG--
branch : trunk
2010-07-31 10:46:33 -07:00
Liberate 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.

--HG--
branch : trunk
2010-07-31 18:16:12 +02:00
Liberate 8044051682 *Fixes Necrosis and Blood-Caked Blade. They now only proc from melee auto-attacks. Fix by kerekeszoltan90.
Fixes issue #3184

--HG--
branch : trunk
2010-07-31 17:49:47 +02:00
Liberate 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.
--HG--
branch : trunk
2010-07-31 17:35:29 +02:00
click 0be9e71f85 Buildsystem/CMake: Fix a minor "need sleep, i am tired"-error (typos ftw)
--HG--
branch : trunk
2010-07-31 16:16:55 +02:00
thenecromancer 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.

--HG--
branch : trunk
2010-07-31 13:55:23 +02:00
thenecromancer bdf20fa420 Fix exploit with Shiv giving 100% chance to apply any enchant on offhand items
--HG--
branch : trunk
2010-07-31 13:49:13 +02:00
thenecromancer 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)

--HG--
branch : trunk
2010-07-31 13:45:00 +02:00
thenecromancer 06caa4a945 Typo in some function usage
--HG--
branch : trunk
2010-07-31 13:40:32 +02:00
Shauren ab83f72d10 Fixed mysql syntax errors caused by using wrong delimiter, thanks BlackCat0110
--HG--
branch : trunk
2010-07-31 11:06:21 +02:00
Shauren 2a371bb224 Hopefully the last fix for revision 3849fdebbcc7 (9090) - use proper field to pull random properties
--HG--
branch : trunk
2010-07-31 10:17:49 +02:00
click fd03b78fe6 Core/SQL: Fix character_database structure-creation - thanks to some number-thingie@qq
Closes issue 3181

--HG--
branch : trunk
2010-07-31 08:58:46 +02:00
silinoron 0f99c2feb6 Some forgotten changes.
--HG--
branch : trunk
2010-07-30 22:04:01 -07:00
silinoron 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

--HG--
branch : trunk
2010-07-30 21:54:46 -07:00
click b3bca2743e Core/SQL: Add commentfield in battleground_template
Support-data found on TDB : http://forum.trinitycore.org/forum/122-core-related-db-content/

--HG--
branch : trunk
2010-07-31 06:22:40 +02:00
click 60b119e0ca Buildsystem/CMake: Revert changes from r0fa0512527 and use the proper checks (fix logic-error in buildfile)
--HG--
branch : trunk
2010-07-31 05:36:05 +02:00
click 7e4235ac08 Core/AuctionHouse: Fix CMSG_AUCTION_LIST_ITEMS reading (pending further investigation)
--HG--
branch : trunk
2010-07-31 04:31:21 +02:00
Xanadu ae384ea8c7 Fixed a bug in CONDITION_SOURCE_TYPE_ITEM_REQUIRED_TARGET conditions loading checks.
--HG--
branch : trunk
2010-07-31 04:12:30 +02:00
click c8d8e4cb6b Buildsystem/CMake : Adjust CMake policy to allow reusing logical targetnames
Closes issue 3167

--HG--
branch : trunk
2010-07-31 04:08:25 +02:00
Xanadu cf4d89990e Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded.
--HG--
branch : trunk
2010-07-31 03:23:14 +02:00
click c298bdb662 Remove duplicate "Error:" from some outError messages...
--HG--
branch : trunk
2010-07-31 03:12:51 +02:00
QAston 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.

--HG--
branch : trunk
2010-07-31 01:41:32 +02:00
Shauren 1ab415cc06 Fixed naming of SQL files
--HG--
branch : trunk
rename : sql/updates/9081_access_requirement.sql => sql/updates/9081_world_access_requirement.sql
rename : sql/updates/9081_areatrigger_teleport.sql => sql/updates/9081_world_areatrigger_teleport.sql
2010-07-30 21:15:19 +02:00
QAston 204834d33d *Change typecasts to use build in functions/macros in scripts to prevent possible access violation.
*Remove no longer needed hack from netherspite script.

--HG--
branch : trunk
2010-07-30 21:16:15 +02:00
QAston 48b360097c *use ASSERT macro instead of regular assert for better output.
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00
Shauren 3dc29732b7 Fixed a very silly mistake at item loading
--HG--
branch : trunk
2010-07-30 17:54:01 +02:00
Shauren 35ce512af8 This should fix mysql syntax errors some people were getting with 9090_characters_item_instance.sql
--HG--
branch : trunk
2010-07-30 17:50:21 +02:00
Shauren 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

--HG--
branch : trunk
2010-07-30 17:36:28 +02:00
Shauren 350864de80 Fixed saving new items to database, thx GMKretol for spotting the typo
--HG--
branch : trunk
2010-07-30 16:01:43 +02:00
QAston d666ba26c1 *Thread safe player searcher in scripts.
--HG--
branch : trunk
2010-07-30 15:51:07 +02:00
Shauren 9bda35c7df Killed the last blob field (corpse)
--HG--
branch : trunk
2010-07-30 15:15:07 +02:00
Shauren 6624da055a Typo in SQL name
--HG--
branch : trunk
rename : sql/updates/9090_item_instance.sql => sql/updates/9090_characters_item_instance.sql
2010-07-30 13:22:31 +02:00
Shauren 77fc91bde8 Deleted data blob in item_instance
Fixed issues with displaying sockets/enchants/durability on heroic items

--HG--
branch : trunk
2010-07-30 13:15:31 +02:00
Xanadu c227065fc0 Minor fixes, translation and coding style changes of creature_template check function.
--HG--
branch : trunk
2010-07-30 06:47:35 +02:00
Xanadu 3565bbccf3 Fixed NPCs not offering quests with warlock or druid in SkillOrClassMask to these classes.
--HG--
branch : trunk
2010-07-30 06:22:55 +02:00
Xanadu 1e5ce69d19 Merge
--HG--
branch : trunk
2010-07-30 03:43:09 +02:00
QAston 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.

--HG--
branch : trunk
2010-07-30 03:07:34 +02:00
Xanadu 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.

--HG--
branch : trunk
2010-07-30 01:51:33 +02:00
click cad437d7f0 Whops, a little too deletehappy there...
--HG--
branch : trunk
2010-07-30 00:45:47 +02:00
click 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)

--HG--
branch : trunk
2010-07-29 21:08:16 +02:00
QAston c44b601ac7 *Allow some spell effects to target units not in caster's map - fixes SPELL_EFFECT_SUMMON_PLAYER
--HG--
branch : trunk
2010-07-29 19:48:40 +02:00
Shauren ade1bbdd62 Remade access_requirement table, now each difficulty mode for each instance has its own entry (for future Dungeon Finder development)
Added completed achievement as new requirement type
Removed obsolete access_id from areatrigger_teleport table
Implemented automatic downscaling of raid difficulty when requested mode does not exist
Changed dungeon_difficulty in characters table to instance_mode_mask saving both dungeon and raid difficulty in form (dungeon diff | raid diff << 4)

--HG--
branch : trunk
2010-07-29 18:11:41 +02:00
Xanadu dfe5ae36d3 Created separate project file for scripts in order to properly utilize their own PCH and thus speed up compile. Sorry for making the IDE more cluttered.
--HG--
branch : trunk
2010-07-29 17:38:24 +02:00
click b118ab2356 remove ANSI escape codes from auth/worldserver error-output since it doesn't work on MS-based OS'es *sighs*
--HG--
branch : trunk
2010-07-29 17:15:03 +02:00
Rat 9f2b225c89 add VC90/*/ to hg ignore (hides gsoap from commit list)
--HG--
branch : trunk
2010-07-29 16:25:53 +02:00
Shauren f3c9767bcf Modified announce command to be more blizzlike
--HG--
branch : trunk
2010-07-29 15:29:49 +02:00
click 969bf213b8 Fix windows-build and change some warnings if configuration-files can not be read properly
- Add proper warning about missing [authserver] -tag in authserver configuration file if not found.
- Add proper warning about missing [worldserver] -tag in worldserver configuration file if not found.
Thanks to Qaston for finding the redefininition of strdup!

--HG--
branch : trunk
2010-07-29 09:00:55 +02:00
click 3296a944e7 Convert to using ACE for reading configurationfiles, and remove dependency on dotconfpp configuration library and related files
(patch by astellar - and a thankyou to vladimir for being a russian teddybear)

--HG--
branch : trunk
2010-07-29 01:22:45 +02:00
Shauren 1b382e5858 Fix a typo in 9043_world_spell_scripts.sql and fix some horrible sql style in other files
--HG--
branch : trunk
2010-07-28 22:32:52 +02:00
silinoron a9b9915744 Properly send SMSG_GROUP_INVITE even when the invite fails because the user is already in a group.
--HG--
branch : trunk
2010-07-28 12:20:42 -07:00
John Holiver 783fe4574e Implements Roxi Ramrocket, finally Engineers will be able to buy Choppers materials. Credits to BroodWyrm. Fixes #2979.
--HG--
branch : trunk
2010-07-28 16:21:45 -03:00
click 140bc313d2 branchmerge - urgh!
--HG--
branch : trunk
2010-07-28 19:40:37 +02:00
click c595eb8ae9 First part of petAI logic cleanup : Hunter PetAI change: Ignore attacking CC'ed targets unless explicitly asked for by player
(thanks to QAston, Shauren, Liberate for the discussions and codehelp to sort this out properly)

--HG--
branch : trunk
2010-07-28 19:39:56 +02:00
John Holiver f7a65d6e83 Fix Sartharion adds loot farming.
--HG--
branch : trunk
2010-07-28 12:58:45 -03:00
Liberate 311e8ddf66 Merge
--HG--
branch : trunk
2010-07-28 13:48:35 +02:00