Commit Graph

9191 Commits

Author SHA1 Message Date
Liberate
c0df111bb0 Fixes an exploit to get 65k spell power.
Fixes issue #3212

--HG--
branch : trunk
2010-08-06 13:00:16 +02:00
Shauren
7cae47210e Added ScriptName to transports table for script system rewrite
--HG--
branch : trunk
2010-08-06 12:13:13 +02:00
XTZGZoReX
9cfef5c39f * Minor correction to world_database.sql.
--HG--
branch : trunk
2010-08-06 12:02:07 +02:00
azazel
eb5fb3664b * Add NULL-pointer check to CharmInfo destructor. Closes issue #3287.
* Remove references to AuctionHouseBot files from win project.

--HG--
branch : trunk
2010-08-06 15:50:12 +06:00
azazel
4fb3098d18 * Add NULL-pointer check to CharmInfo destructor. Closes issue #3287.
* Remove references to AuctionHouseBot files from win project.

--HG--
branch : trunk
2010-08-06 12:28:37 +06:00
click
1565fe4ff4 Adjust maximum sizes of some healthcalculations over to utilize 64-bit uint
--HG--
branch : trunk
2010-08-06 05:11:28 +02:00
click
9a21459c9d Forgot two removals in previous commit
--HG--
branch : trunk
2010-08-06 04:29:40 +02:00
click
f5d57f05f7 Remove AuctionHouseBot-functionality from core (some cleanups may be required)
--HG--
branch : trunk
2010-08-06 04:22:07 +02:00
click
0caaa3e478 Revert changes done in r0074e32c2f and r4d86e4199a - fixes buildissues ( if()+reinterpret_cast is faster than dynamic_casts btw )
--HG--
branch : trunk
2010-08-06 03:00:39 +02:00
silinoron
71ef21de21 Add helper Player::GetAverageItemLevel() function for future use in Dungeon Finder and vehicle scaling.
--HG--
branch : trunk
2010-08-05 14:18:33 -07:00
azazel
309970936c Remove phasing when player enters/leaves instance (by 2010phenix)
Closes issue #3279

--HG--
branch : trunk
2010-08-06 00:24:11 +06:00
azazel
f9a51dc214 * Corpse related cleanup (author: Hunuza)
* Avoid saving of the corpse in arenas (author: VladimirMangos)

--HG--
branch : trunk
2010-08-06 00:15:29 +06:00
Shauren
4773aad26b Make use of new ToItem() casts
--HG--
branch : trunk
2010-08-05 18:43:30 +02:00
Shauren
c94046b065 Make typecasting methods *really* safe and get rid of redundant typeId/Typemask checks, thanks Zor and Machiavelli for help
--HG--
branch : trunk
2010-08-05 17:01:25 +02:00
Shauren
30194bdd61 Add forgotten proc flags in revision ed3790455dfd (9166)
--HG--
branch : trunk
2010-08-05 18:28:23 +02:00
azazel
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)

Changes need testing. Please post bugs on our tracker.

--HG--
branch : trunk
2010-08-05 22:08:07 +06:00
Shauren
a042b972ed Fixed pet talents amount exploit
Closes issue #3273.

--HG--
branch : trunk
2010-08-05 11:33:54 +02:00
QAston
e659c3faf3 *Update CMSG_USE_ITEM opcode to fit new clientCastFlag handling.
--HG--
branch : trunk
2010-08-04 22:52:35 +02:00
azazel
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.

--HG--
branch : trunk
2010-08-05 00:55:10 +06:00
QAston
96fa91034f Missing part of r7dd45a0182 :(
--HG--
branch : trunk
2010-08-04 20:34:08 +02:00
QAston
bc8c74475e *Fix a crash in Aura::UnregisterSingleTarget.
--HG--
branch : trunk
2010-08-04 20:03:33 +02:00
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
azazel
40e16bbbdb Add gender field to SMSG_WHO packet (author: MaS0n)
Fix compile error

--HG--
branch : trunk
2010-08-04 22:12:43 +06: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