Anubisss
d9de0874ae
Use ToTotem() in a case.
...
--HG--
branch : trunk
2010-03-27 16:21:37 +01:00
Anubisss
ce8cc85dfa
Make a function(ToTempSummon()) which can convert Creature to TempSummon with a C++ cast(reinterpret_cast) and with a type check(isSummon()).
...
This function is like ToPlayer(), ToTotem(), etc.
This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496:
http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4
As a result, this commit has the advantages and the "disadvantages" too, like r7496.
Please try to be polite if this commit causes some crashes.
--HG--
branch : trunk
2010-03-27 16:08:14 +01:00
Machiavelli
b9927ca559
Implement usage of RewardArenaPoints field in quest_template
...
--HG--
branch : trunk
2010-03-27 15:10:26 +01:00
Machiavelli
9ce6094dce
Partial implementation of instance system patch by scarymovie87, fix max players check in instance. Cause of error was a pointer of class Player was casted to class InstanceMap. Refs issue #1323
...
--HG--
branch : trunk
2010-03-27 15:09:26 +01:00
Trazom62
099ef2a9b6
Fix InstanceData::DoCompleteAchievement (and crash in AchievementMgr::CompletedAchievement).
...
Remove support of no longer existing achievement "The Party is Over". Thanks JuliuSZS.
Fixes issue #1318 .
--HG--
branch : trunk
2010-03-27 13:45:39 +01:00
_manuel_
2cb7a31512
Corrected script for Glyph of Feral Spirit, aura must be checked on Owner not Pet. By Gyullo.
...
--HG--
branch : trunk
2010-03-26 22:19:03 -03:00
_manuel_
2796f08297
Support for spell Disarm Trap.
...
--HG--
branch : trunk
2010-03-26 22:04:38 -03:00
Xanadu
180651d95e
A visually better way to handle Avenger Wrath blocking of immunity shields.
...
--HG--
branch : trunk
2010-03-26 22:21:33 +01:00
Brian
ec72846da4
* Check for incorrect settings for AHbot
...
* Patch by click
--HG--
branch : trunk
2010-03-26 13:07:24 -06:00
Spp
cd372966af
* Add support to save and load worldstates.
...
will be mainly used by outdoorPvP system
* Update next arena auto distribute points time to custom worldstate
--HG--
branch : trunk
2010-03-26 16:48:33 +01:00
Xanadu
d0c10d44b8
Merge
...
--HG--
branch : trunk
2010-03-25 17:09:45 +01:00
Xanadu
20de79f6ba
Fixed Forbearance. Also self-cast LoH will now correctly prevent Avenging Wrath for 30 s. Closes issue #1270 . Thanks to _manuel_ for research.
...
--HG--
branch : trunk
2010-03-25 17:09:05 +01:00
silverice
5f60483033
cleanups in vehicle accessories storage
...
transfer accesory list by pointer, make it constant
--HG--
branch : trunk
2010-03-25 04:09:26 +02:00
Brian
66a890ca0f
* Allow the use of referenced trainer / vendor data.
...
* This will reduce the size of the trainer / vendor tables a LOT.
* Current tables will continue to work as/is until the refs can be made.
* Huge thanks to XTElite1
* Credits for patch to Cycrow
--HG--
branch : trunk
2010-03-24 18:27:09 -06:00
Xanadu
2f17cff295
Cleaned and tidied-up the mechanic immunity handler
...
--HG--
branch : trunk
2010-03-24 20:35:04 +01:00
n0n4m3
5fe2454b24
Fix one WPE exploit.
...
When apply more 6 gems, and after player logout, server crash, also apply code style and cleanup.
--HG--
branch : trunk
2010-03-23 14:38:31 -05:00
Trazom62
1e9de7dbd7
Implement Four-Horsemen achievements (requires DB Data).
...
Fixes issue #1107 .
--HG--
branch : trunk
2010-03-23 19:15:17 +01:00
Xanadu
cfc094040f
Added support for maximum allowed player level for quests. By Gyullo.
...
--HG--
branch : trunk
2010-03-23 16:10:18 +01:00
Trazom62
e018c4cc7b
Implemented new achievement criteria data:
...
* ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPED_ITEM_LVL (item level and item quality).
Implemented achievement criteria:
* ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM
* ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM
Update ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM implementation. Requires DB update to use new criteria data.
Thanks VladimirMangos.
--HG--
branch : trunk
2010-03-22 18:32:38 +01:00
XTZGZoReX
f6e516d819
* Fix CRLF.
...
--HG--
branch : trunk
2010-03-22 17:47:38 +01:00
silverice
d4c3620557
restore work of IsInMap check
...
--HG--
branch : trunk
2010-03-22 18:46:48 +02:00
Trazom62
4478ccf6c4
Add script VoA/Koralon and Toravon. Thanks WarHead.
...
Fixes issue #1231 .
--HG--
branch : trunk
2010-03-22 15:33:44 +01:00
Trazom62
248286c08d
Fix Crash in XT-002 (Gravity Bomb proc). Fixes issue #734 .
...
Fix compilation warning.
Fix typo in Freya soundid.
--HG--
branch : trunk
2010-03-22 14:07:08 +01:00
_manuel_
e34a7d3134
Merge
...
--HG--
branch : trunk
2010-03-21 15:22:40 -03:00
Machiavelli
a4e98f50d0
Fix mounts in Arena's/BGs
...
--HG--
branch : trunk
2010-03-21 19:12:04 +01:00
_manuel_
fae77f2621
Add additional field for storage of speed_run rate of creature
...
This allow independent rate of walk vs run speed. Existing field renamed to explicit speed_walk.
Note that default database rate for run is a result of the most common value seen, 8.0/7.0
Author: NoFantasy.
--HG--
branch : trunk
2010-03-21 14:57:49 -03:00
Machiavelli
fe30fc8bf2
Securer check for instance template for previous commit
...
--HG--
branch : trunk
2010-03-21 18:17:20 +01:00
Machiavelli
48051d1cd6
Add support field 'allowMount' to instance_template table (see http://trinitydatabase.org/index.php?/topic/14994-7656-instance-template/ ), this will define whether or not mounting is allowed in an instance, instead of defining it hard coded in the core.
...
--HG--
branch : trunk
2010-03-21 17:34:25 +01:00
Machiavelli
19b84fd889
Missing part of previous commit. Thanks HG for being so coöperative.
...
--HG--
branch : trunk
2010-03-21 16:51:03 +01:00
Machiavelli
13024dee64
- More changes to the item handling system to prevent an item still being listed in a player's refundable storage
...
- Remove an assert in _SaveInventory(). Instead, I added an error log and manual removal. Please post these error logs should they occur
- In _LoadInventory, also check for player_guid when loading refund data
--HG--
branch : trunk
2010-03-21 16:50:04 +01:00
Xanadu
74a2957af5
Don't proc KILLED for the victim twice when attacker's pet lands the killing blow.
...
--HG--
branch : trunk
2010-03-21 16:23:50 +01:00
Xanadu
d01d4498ed
Don't set 'Created by...' for soul shards, it looks silly.
...
--HG--
branch : trunk
2010-03-21 16:15:58 +01:00
Xanadu
91260d8409
Implemented Glyph of Drain Soul. Partly based on thenecromancer's code.
...
--HG--
branch : trunk
2010-03-21 16:03:38 +01:00
Tartalo
36b2b5a1bc
The Nexus, The Oculus: Boss drakos support, register needed scripts
...
This scripts are pushed for testing purposes, so is not recommended
opening it for production enviroments. any feedback is welcome :)
Fixes issue #449 .
--HG--
branch : trunk
2010-03-21 15:28:37 +01:00
Trazom62
5bada89128
Fix compilation error in previous commit.
...
--HG--
branch : trunk
2010-03-21 10:52:50 +01:00
Machiavelli
4a406751af
Add some more function calls to remove refund referenced from player's m_refundableItems, preventing the triggering of an assert in _saveInventory.
...
--HG--
branch : trunk
2010-03-21 02:53:51 +01:00
silverice
dac3af89ec
revert Fix Object::IsInMap to check instanceId
...
if pointers differens, maps can't be same
--HG--
branch : trunk
2010-03-21 01:24:25 +02:00
Machiavelli
a0fd280a34
Memory optimization by making m_refundableItems a std::set<uint64>. Also fix a crash caused by invalid iterator in Player::_SaveInventory(). This should fix the last of the item save related crashes.
...
--HG--
branch : trunk
2010-03-20 21:49:01 +01:00
Machiavelli
f7ffd77123
Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the resolution for some client crashes.
...
--HG--
branch : trunk
2010-03-20 21:26:29 +01:00
Xanadu
830062779e
Improved the kill proc slightly.
...
--HG--
branch : trunk
2010-03-20 18:49:50 +01:00
Machiavelli
b651b592ef
Fix arena point calculation. If the configured arena season is >= 5, teams below 1500 rating should get a fixed amount of points, equal to the amount of points a person with 1500 rating would get.
...
--HG--
branch : trunk
2010-03-20 17:51:23 +01:00
Machiavelli
d21f0c3ce8
Make sure a to be traded item ends up in the item update queue for the correct player.
...
--HG--
branch : trunk
2010-03-20 16:42:22 +01:00
Machiavelli
a0d8b0be48
Item system update
...
- Set ITEM_FIELD_CREATE_PLAYED_TIME to 0 in Item::Create, should fix crash described in issue 1199
- Change some function calls so on Player::_saveInventory the core doesn't have to check for existance of item anymore when iterating over m_refundableItems. The loop will now only update played time, removal of items from this set is done in other functions.
- Cleanup in affected functions.
--HG--
branch : trunk
2010-03-20 16:26:16 +01:00
Trazom62
feeb3f564c
Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
...
--HG--
branch : trunk
2010-03-20 13:02:34 +01:00
Xanadu
34fb5df569
Fixed KILL proc to occur for the unit that lands the killing blow, not for the loot recipient.
...
--HG--
branch : trunk
2010-03-20 04:18:08 +01:00
Trazom62
7a8dff70ed
Fix Object::IsInMap to check instanceId.
...
Fig group loot distance checks to also check map instanceId.
Fixes issue #1172 .
--HG--
branch : trunk
2010-03-19 22:28:00 +01:00
Machiavelli
3ae5a4094e
Implement instance script for Zul'Farrak and prevent Gahz'Rilla from being summoned multiple times.
...
--HG--
branch : trunk
2010-03-19 21:38:07 +01:00
Machiavelli
0c6368bd39
Fix hunter pet talent reset feature.
...
Thanks to Xanadu and nalimleinad for aiding research.
--HG--
branch : trunk
2010-03-19 20:20:42 +01:00
XTZGZoReX
2b55eb2efe
* Fix a typo that broke guild creation times...
...
--HG--
branch : trunk
2010-03-19 18:27:53 +01:00
XTZGZoReX
bb99135e40
* Minor cleanups/comments in regards to SMSG_GUILD_INFO.
...
--HG--
branch : trunk
2010-03-19 17:24:23 +01:00