Commit Graph

2468 Commits

Author SHA1 Message Date
Trista
d1853f693b Scripts/Eye of Eternity: Remove some flags, fix some timers and some misc
* Starting timers were a bit slower
* Destroy platform proper timing for drake casting mount spell to player (trigger)
* Remove IMMUNITY_PC flag after Iris is triggered (thx to Expecto) and readd it on evade
* Remove NOT_SELECTABLE flag since shouldn't be present at starting event
* Fix misc of id of Static Field added to LOS attributes
2013-03-01 16:25:58 +02:00
Trista
4f40dad714 Scripts/Eye of Eternity: Surge of Power (25 man)
* I have no idea how these breaks were removed, but it was breaking the whole mechanic.
* Also fix some slight chance for fail of transitioning p II -> p III
* Surge of Power (25 man) still needs to get fixed some weird facing and warnings aren't always sent for some reason
2013-03-01 09:33:52 +02:00
Vincent_Michael
6343a28030 Core: Whitespace cleanup 2013-02-28 18:29:43 +01:00
Trista
6801314881 Scripts/Eye of Eternity: Rewrite most of it.
Closes: #1133,  #8212, #1150, #5003, #6794

* More stuff will be done, a lot to clean maybe, as of raiding it's good to go now pretty much*.
* Big thx to Shauren, Horn, manuel, Machiavelli, Nay, Krofna and rest who helped.
2013-02-28 18:44:07 +02:00
Spp
480c6cf4dd Core/RBAC: Add .reload rbac command and prevent possible crash if rbac_permissions has wrong data 2013-02-27 03:30:53 +01:00
Shauren
6ccad9adc4 Scripts/Blackwing Lair: Fixed crash happening with Shadows of Ebonroc 2013-02-26 22:20:15 +01:00
Shauren
af4ac778d7 Core/Quests: Implemented quest flag forcing the player to be flagged for PvP as long as the quest is in his log. 2013-02-26 17:14:13 +01:00
Nay
b00f6a981e Merge pull request #9295 from horn/summons
Script/Commands: Make creature_summon_groups table reloadable.
2013-02-25 17:17:53 -08:00
Vincent_Michael
447b23c3bb Core: Whitespace cleanup 2013-02-25 19:54:41 +01:00
Spp
367d3ccc4f Core/RBAC: Create new permissions 'Use staff badge in chat' and 'Check if should appear in .gm ingame command' 2013-02-25 15:48:18 +01:00
Spp
cb0456fedc Core/RBAC: Create new permissions 'Instant .save', 'Allow params with .unstuck', 'Full HP after resurrect' 2013-02-25 15:48:18 +01:00
Spp
e6087b5563 Core/RBAC: Create new permission 'Be assigned ticket' 2013-02-25 15:48:18 +01:00
Spp
1638092f18 Core/RBAC: Create 'Skip instance required bosses check' permission 2013-02-25 15:48:18 +01:00
Spp
15343d9bb0 Core/RBAC: Remove unnecessary header includes from other header files 2013-02-25 15:48:17 +01:00
horn
c34f1aebe6 Script/Commands: Make creature_summon_groups table reloadable. 2013-02-24 23:50:08 +01:00
Gacko
cb99c1d16a Script/Quest: The Lonesome Watcher (12877)
Closes: #9185
See: http://www.youtube.com/watch?v=ylZRMu9CIMw
2013-02-24 19:42:21 +01:00
Shauren
06257d1034 Core/Movement: Do not attempt to pathfind for stop/turn movement 2013-02-24 14:48:03 +01:00
Nay
4540a1d24b Merge pull request #9168 from Kirkhammett/Ebonroc_Bwl
Npc/Core: Was using Onyxia's Wing Buffet spell which can 1 shot lowbies...
2013-02-19 15:11:27 -08:00
Shauren
5b414bb813 Core/Scripts: Removed useless const modifier on method parameters accepting primitive types passed by value 2013-02-19 17:35:27 +01:00
Nay
03f97f75ec Core/Startup: Write current and expected maps version when there's a version mismatch 2013-02-19 01:16:24 +00:00
Nay
e7dbb4296c Scripts/Spells: Fix Winter Veil PX-238
Ref #9238
Thanks @joschiwald
2013-02-18 22:15:58 +00:00
Nay
028c72a9f2 Core/NPCs: Refactor equipments
- creature_template.equipment_id deleted
- creature_equip_template.entry == creature_template.entry
- id field added to creature_equip_template -> PK(entry, id)
- id field in creature_equip_template starts at 1
- creature.equipment_id references id of creature_equip_template
- creature.equipment_id = 0 means no equipment at all (default 1)
- creature.equipment_id = -1 means pick a random equipment from creature_equip_template
- add equipment info to .npc info command

While table creature_equip_template got bigger in size, this system is easier to mantain and allows creatures to have a random template from a group of equipments
2013-02-18 12:24:18 +00:00
Shauren
e49aaab6f6 Scripts/Icecrown Citadel: Improvements to Shadowmourne quest line 2013-02-17 02:10:08 +01:00
Vincent_Michael
166a2092fd Scripts/BWL: Fix build no. 2 2013-02-16 18:15:32 +01:00
Nay
f95ce01b15 Scripts/BWL: Fix build 2013-02-16 17:12:10 +00:00
Nay
a614dd775c Say NO to whitespace 2013-02-16 17:04:44 +00:00
Gigatotem
2e08db9ce9 Scripts/BWL: Fix typo in recent commit. 2013-02-16 16:56:06 +00:00
Gigatotem
920cd0e923 Scripts/Blackwing Lair: Broodlord Lashlayer clean-up. 2013-02-16 16:42:17 +00:00
Machiavelli
8bbcc2f37c Merge pull request #9214 from Aokromes/master
Scripts/Ulduar: Kologarn's gate should be open while in combat
2013-02-16 01:08:58 -08:00
w1sht0l1v3
1ce1ec0775 Scripts/TheStormPeaks: Cosmetic changes. 2013-02-15 16:36:01 +02:00
w1sht0l1v3
7d881a0739 Scripts/TheStormPeaks: Cold Hearted quest update.
Fix a crash.Thx @DDuarte.
Closes #8865
Move waypoint data from script  to DB table.
2013-02-15 15:51:18 +02:00
WishToDie
45363b8216 Scripts/Gundrak: Drakkari Colossus
Drakkari Colossus should not move when in freeze phase.
2013-02-14 22:54:06 +02:00
Aokromes
b38fc89db3 Scripts/Ulduar: Kologarn's gate should be open while in combat
Source: personal experience and http://youtu.be/JcOiyNaKDlg?t=18s
2013-02-14 09:48:46 +01:00
Shauren
d926ad63c0 Core/Spells: Fixed charge effects with non-explicit targets 2013-02-13 20:21:26 +01:00
Kirkhammett
f7944aaedf Fixup for last commits. 2013-02-12 14:59:44 +01:00
Shauren
20cd6cfc61 Scripts/Icecrown Citadel: Fixed possible crash for Necrotic Plague (if cast outside of ICC)
Closes #9188
2013-02-12 12:39:48 +01:00
zwerg
e5e970baec Core/Spells: Fix cooldown problems for Val'anyr, Hammer of Ancient Kings
Closes #9162
2013-02-09 23:19:18 +01:00
Gacko
a7eef6a598 Script/Quest: Kodo Roundup
Closes #943
2013-02-09 16:24:31 +01:00
thomas33
82c31e50bb typo 2013-02-07 16:10:10 +01:00
Vincent_Michael
5b45a87da5 Core: More clean up whitespace 2013-02-07 00:24:00 +01:00
click
75994b3dd3 Core: Clean up whitespace, and remove a silly warning in boss_lurker_below.cpp 2013-02-07 00:19:19 +01:00
m7nu3l
f9654d52e0 Core/AI: Removed Scripted_NoMovementAI which has become obsolete. Use ScriptedAI::SetCombatMovement(false); to get the same functionality. 2013-02-04 19:18:48 -03:00
w1sht0l1v3
1e8bf1aad1 DB/Misc: Fix achievement Flirt With Disaster. 2013-02-04 23:39:04 +02:00
Spp
61979f8591 Scripts/Player: Add OnMapChanged to PlayerScripts (after map changed)
Core/Dungeon Finder: Use OnMapChanged script to cast/remove Luck of the draw
- Also move code to force party update to LfgPlayerScript
- Remove some obsolete Lfg code after recent commits
2013-02-04 16:52:43 +01:00
Aokromes
6d8a69d640 Merge pull request #9099 from Bezo/mutenew
Add Mute reason and mute by to the db so you can get this info from the ...
2013-02-04 06:55:26 -08:00
Spp
683de1d624 Core/RBAC: Add SQL to remove bad data from account_access, otherwise other sqls will fail due to use of FOREIGN KEYS
- Also add missing files from previous commit
2013-02-04 09:39:01 +01:00
Spp
b980aff83e Core: Implement Role based Access Control
- This system will give more control of actions an account can perform.

System defines:
- Permissions to perform some action
- Roles: a set of permissions that have some relation
- Groups: a set of roles that have some relation

Operations:
- Grant: Assign and allow
- Deny: Assign and do not allow
- Revoke: Remove

Precedence to know if something can be done: Grant, Deny. That means, if you are granted some action by a role but you have denied the permission, the action can not be done.

Some Rules:
- Groups can only have roles
- Roles can only have permissions
- An account can be assigned granted and denied roles. Permissions inherited from roles are granted if roles is granted and denied if roles is denied
- An account can be assigned granted and denied permissions
- An account can have multiple groups, roles and permissions
- An account can not have same role granted and denied at same time
- An acconnt can not have same permission granted and denied at same time
- Id 0 can not be used to define a group, role or permission

Added some permissions as a sample of use (Instant Logout, Skip Queue, Join BGs, Join DF) and some permissions as a workaround to commands till command system is modified to use RBAC
2013-02-04 09:04:33 +01:00
Spp
ec5d16db8a Core/Dungeon Finder: Declare some functions private as those are not used outside LFGMgr. Also do not expose LFGDungeonData outside LFGMgr 2013-02-04 06:43:03 +01:00
Spp
f743424f63 Core/Dungeon Finder: Corrections to previous commit
- player::inRandomLfgDungeon was supposed to return if current player map and difficulty are the ones player applied for
2013-02-04 05:50:52 +01:00
Spp
9bdfc87774 Core/Dungeon Finder: Use lfg namespace to encapsulate all LFG classes, structs and enums 2013-02-04 04:43:50 +01:00