Shocker
c2a2a4f713
Merge pull request #3872 from Bootz/master
...
Codestyle clean-up
2011-11-09 02:31:18 -08:00
megamage
462a2b9876
Change more ace_guard to trinity_guard
2011-11-08 10:48:49 -05:00
kaelima
8ba790ef35
Core/Creature: Prevent Spirit Guides (bg spirit healers) to be seen by alive players.
2011-11-07 18:18:59 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
megamage
495ef10b0d
Change ObjectAccessor to an ACE_Null_Mutex singleton, since its members have been protected by individual locks.
...
Also make some of its member functions static.
2011-11-07 09:44:09 -05:00
kaelima
b5cb41b4ea
Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask.
2011-11-07 07:16:31 +01:00
tobmaps
ae600a0ea2
BG/Isle of Conquest: Fix bug with immediate respawn of Glaive Thrower
2011-11-07 06:09:16 +07:00
Machiavelli
92d32ab7f5
Merge pull request #3833 from Fredi/listitem
...
Core/Commands: Fix SQL typo in 'list item' command
2011-11-05 03:52:28 -07:00
tobmaps
8fd7720318
Core/Misc: Rename Spell::CalcCastTime to Spell::GetCastTime as it does not calculate anything
2011-11-05 05:33:52 +07:00
tobmaps
935527eebe
Core/Spells: Use dbc flag to check if channeled spell can be interrupted
...
Closes #2292
2011-11-05 05:21:37 +07:00
Fredi
18183d494c
Core/Commands: Fix SQL typo in 'list item' command
2011-11-04 10:05:27 -02:00
Yelvann
75edf63341
Revert commit ab023e8 (Add GM tag to gms in Who)
...
Closes #3783
2011-11-03 18:10:11 +01:00
tobmaps
37abe2528c
Core/Spells: Remove not needed check added in 9229b878f2
2011-11-03 17:08:30 +07:00
tobmaps
68601bb286
Core/Spells: Use correct dbc flag to check if spell can be interrupted
2011-11-03 16:53:29 +07:00
megamage
809694408a
Change ObjectAccessor::i_corpseLock to ACE_RW_Thread_Mutex.
...
Remove unecessary guard in ObjectAccessor::Update.
2011-11-02 09:39:37 -04:00
tobmaps
9229b878f2
Core/Spells: Fix Runic Healing/Mana Injector bonus for engineers
2011-11-02 19:23:59 +07:00
tobmaps
c0c6000a44
Core/Misc: Fix spelling typo
2011-11-02 19:13:51 +07:00
Machiavelli
d3a7ac5d7d
Merge pull request #3766 from Pesthuf/JumpFix
...
Core/Units: Don't send StartTravel with MoveJump. Fixes client display of jumping eff
2011-11-01 03:51:34 -07:00
megamage
e3fa04823d
Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire the lock.
2011-10-31 17:25:12 -04:00
Pesthuf
04ad9b8bed
Don't send StartTravel with MoveJump. Fixes client display of jumping effects.
2011-10-31 20:10:06 +01:00
megamage
1b8d9ec7b4
Clean up summon/remove gameobject code.
2011-10-31 10:46:39 -04:00
megamage
dfeb4a746b
Fix a crash caused by spell with CAST_FLAG_RUNE_LIST casted by a creature mover. Thanks to Vasago.
2011-10-31 09:56:04 -04:00
kaelima
bfdceaf07e
Core/SmartAI: Initialized player pointer before use
...
Should fix #3757
2011-10-31 13:35:06 +01:00
kaelima
3d4d147196
Core/SmartAI:
...
- Drop useless actions SMART_ACTION_ENTER_VEHICLE, SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
(Vehicles are aura-driven, just remove or add the proper aura to achieve the same as these actions did)
- Fixed possible crash in SMART_ACTION_SEND_GOSSIP_MENU
- Areatriggers should not be triggered by dead players
2011-10-31 02:01:17 +01:00
kaelima
e16e18da23
Core/Spells: Added safe-checks for places where caster/victim can be null.
...
And some random cleanup
2011-10-31 01:54:44 +01:00
kaelima
d5ece59acd
Core/Spells: Fixed possible crash for Decimation
...
Closes #3750
2011-10-30 23:52:38 +01:00
Nay
0b51b4ef0a
Core/SAI: SMART_ACTION_TALK, if our action target is a player, use its guid as whisperGuid (used in whispers and in text $vars)
2011-10-30 14:26:49 +00:00
Nay
f17879d423
Core/SAI: Add input validation (params) to certain target types and update target comments
2011-10-30 13:12:39 +00:00
kaelima
526ada47e1
BG/Isle of Conquest:
...
- Fix seaforium bombs.
- Add flag pole for Refinery
- Some cleanup
Also correct a typo in 0083290322
2011-10-29 15:16:13 +01:00
kaelima
0083290322
Core/Player: Fix gaining fishing skill of wielding fishing pole in offhand
...
Closes #3717
2011-10-29 15:07:08 +01:00
Nay
c19a6c7e31
Core/Loading: Drop the field script_version from the table version.
...
It serves no purpose (and one step closer to remove EAI from the core/db)
2011-10-28 23:00:00 +01:00
draco
96c63fdf90
Change magic numbers for EffectRadiusIndex into enum with actual effect radius
2011-10-27 21:30:23 +02:00
kaelima
f958fdf246
Core/SmartAI: Add actions SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
...
Fix maxdist for SMART_TARGET_CLOSEST_PLAYER.
2011-10-25 23:50:00 +01:00
kaelima
6ca1487c48
Core/SmartAI: Fix target type SMART_TARGET_CLOSEST_PLAYER
2011-10-25 21:43:24 +01:00
kaelima
199bcf1a88
Core/SmartAI: Allow SMART_ACTION_FOLLOW to take 0 values for dist and angle - will set them to their "default" following values.
2011-10-25 19:08:21 +01:00
kaelima
f2000f3fb5
Core/Misc: Some minor cleanups
...
Fixed SQL added in prev commit.
2011-10-24 23:33:17 +01:00
kaelima
3a3af64f68
Core/SmartAI:
...
- Fixed some issues with SMART_ACTION_SET_FLY (#1073 )
- Fixed allowing 0 as input for SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST (#2680 )
- Some cleanup
2011-10-24 23:21:34 +01:00
megamage
0ac431f52d
Fix a crash caused by spell 49065. Close #3646 .
2011-10-24 16:54:52 -04:00
Shocker
10bca6c268
Merge pull request #3596 from ille/master
...
use effectMask to calculate mechanicMask in ModSpellDuration
Closes #1599
2011-10-24 10:43:47 -07:00
Shocker
ce034bd544
Core/SmartAI: Delay spell cast events (SMART_ACTION_CAST) when another spell is already being casted.
...
Idea by ET
2011-10-23 21:34:50 +03:00
Nay
fec3db6e5d
Core/SAI: Fix event phases when phase > 2
...
Again, phase ids != phase masks
2011-10-23 17:50:31 +01:00
Nay
5f58965fad
Tiny typo on previous commit.
2011-10-23 13:01:04 +01:00
Geekotron
c2125ece3b
Core/SAI: Add SMART_ACTION_SEND_GOSSIP_MENU.
...
It allows the scripter to change the gossip (and gossip menu option) of a creature with SAI
Param1 = `gossip_menu`.`entry`
Param2 = `gossip_menu_option`.`id`
2011-10-23 12:59:08 +01:00
Machiavelli
70c2f9e796
Merge pull request #3575 from bytewarrior/master
...
Core/Mechanic: Fixed wrong target level at resist chance calculation.
2011-10-23 04:22:18 -07:00
Machiavelli
3a713eef7e
Merge pull request #3587 from Fredi/check
...
Core/Commands: Added security check in .damage
2011-10-23 04:16:53 -07:00
Elron103
84a6417a4e
Core/Quests: Fix pooling system causing wrong questrelations
...
Closes #3101 (probably few others)
2011-10-23 12:11:38 +01:00
megamage
91f56c181c
More cleanup of grid system.
2011-10-22 10:01:29 -04:00
megamage
80a18b9e56
Some cleanup of grid system.
2011-10-22 09:36:05 -04:00
megamage
c9c5c2a355
Use read/write thread mx guard instead of general guard for HashMapHolder.
2011-10-21 17:29:09 -04:00