Commit Graph

4963 Commits

Author SHA1 Message Date
Nay
8f6e9dc85c DB/Commands: Fix RBAC commands (remove an extra dot) 2013-02-04 20:25:18 +00:00
Nay
2a69143cec DB/Characters: Update sql/base/characters_database.sql 2013-02-04 16:22:43 +00:00
Nay
735419965c DB/Auth: Update sql/base/auth_database.sql 2013-02-04 16:08:45 +00:00
Spp
fb7a544d84 Correction to previous commit (Use proper way to delete from spell_script_names) 2013-02-04 17:04:40 +01: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
Gacko
30e1516387 Rename sql files of 760d62e934 2013-02-04 16:43:12 +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
w1sht0l1v3
ffb4c63fe3 DB/Misc: Add full script for Pilfering Perfume (A:24656 H:24541)
Closes #5205
2013-02-04 05:22:09 +02:00
Kinzcool
e0fca3454e DB/Creature Text: Corrected some texts & type fails -- more to come; Soon (TM) 2013-02-03 18:50:42 -05:00
w1sht0l1v3
0fbfe675ec DB/Misc: Add full script for Something Stinks (A:24655 H:24536)
Rename an sql file.
2013-02-04 01:26:45 +02:00
Nay
55fc0c58af DB/Schema: Change engine and collation of world.lfg_entrances
latin1 -> utf8_general_ci
InnoDB -> MyISAM
(defaults for all `world` DB tables)
2013-02-03 01:37:23 +00:00
Kinzcool
2976f94003 DB/WDB: Fixed some wrong WDBVerified; those templates IDs are way too high to have been took from retail 2013-02-01 21:35:37 -05:00
Shauren
817f5b3648 Scripts/Icecrown Citadel:
* Fixed Coldflame dealing double damage
* Targets hit by Bone Slice will now be immune to Bone Spike Graveyard
* Fixed healing players on Bone Spike

Closes #1091
Closes #4473
Closes #5854
Closes #7060
2013-02-01 18:06:51 +01:00
Zaphod
dc5e9c80fc DB/Loot: Fix Prismatic Black Diamond 2013-02-01 05:08:11 +00:00
Vincent_Michael
b539a9717b DB/Gameobject: Removed gameobject with bad wdb data 2013-02-01 00:46:32 +01:00
Bezo
83e3bf6d6d Remove \ No newline at end of file 2013-01-31 00:30:29 +02:00
Emo
2ffeaec443 DB/Auth: Fix typo in sql/base/auth_database.sql
ERROR 1136 (21S01) at line 216: Column count doesn't match value count at row 1
2013-01-30 14:51:40 +01:00
Bezo
760d62e934 Add Mute reason and mute by to the db so you can get this info from the db with the pinfo command when player get muted.
old LOGIN_UPD_MUTE_TIME change to LOGIN_UPD_MUTE_TIME_LOGIN due the use of it when character login to world.
2013-01-30 13:09:41 +02:00
Nay
0281497573 DB/Loot: Fix 9 drop chance in gameobject_template (7 quests should be fixed by this)
If a GO with flags 4 drops a quest item, ChanceOrQuestChance for that items needs to be negative

Query used to find the issue:
```
SELECT * FROM `gameobject_loot_template`
    WHERE (`item` IN (SELECT `questItem1` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem2` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem3` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem4` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem5` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem6` FROM `gameobject_template` WHERE (`flags` & 4) != 0)) AND
          `ChanceOrQuestChance` > 0;
```
2013-01-29 23:48:39 +00:00
FH3095
76910472d8 DB/Achievements: Fix Portal Jockey
Current Status: Portal Jockey(10) is rewarded from 10nh and 25nh, Portal Jockey(25) is rewarded from 10hc and 25hc.
Reason: Achievement-criteria 12971 is required for Portal Jockey(25), but checks for map-difficulty 2=10hc.
On the other side achievment-criteria 12979 is required for Portal Jockey(10), but checks for map-difficulty 1=25nh.

Closes #9081
Ref #6810
2013-01-29 15:02:54 +00:00
w1sht0l1v3
8183f70ae0 DB/Loot: Add Cache of the Ley-Guardian to heroic Oculus loot when RDF aura is present.
Closes #6927
2013-01-29 05:15:10 +02:00
Kinzcool
5040fd2558 DB/Gameobjects: Set proper state for ToCr doors and fixed looting of Venomhide Egg & Discarded Soul Crystal 2013-01-28 21:59:12 -05:00
Kinzcool
da080ac4e7 DB/Gameobjects: Added an another missing Gameobject 2013-01-27 13:10:14 -05:00
ZxBiohazardZx
2aa554db34 Typo: i will now go hang myself..... _ typo 2013-01-27 17:42:44 +01:00
ZxBiohazardZx
b9cb92cc88 Fix/Commit: push final file, not the workingcopy 2013-01-27 17:41:26 +01:00
Expecto
eba983c3a0 DB/Creature: Add spawns for Unseen in Duskwood (thanks Expecto for that)
DB/SAI: Add SAI for the Unseen's Aura (thx ZxBiohazardZx)
2013-01-27 17:37:20 +01:00
Shauren
6e80357f8e Core/Authserver: Added possibility to allow realm connections both from "world" and local networks. 2013-01-27 17:33:01 +01:00
Nay
3a6a02547c Update sql/updates/world/2013_01_26_07_world_gameobject_template.sql 2013-01-27 04:06:12 +00:00
Kinzcool
3de933bcb5 DB/Gameobject: Added a missing gameobject template 2013-01-26 22:09:09 -05:00
Kinzcool
10bd0adca1 DB/Creature: Fixed equipment of Elder Razormaw, he should no longer have a sword as arms 2013-01-26 21:41:28 -05:00
Gacko
3a07f4e17d DB: Fix import 2013-01-27 01:51:44 +01:00
Nay
1b551cc157 Scripts/Commands: Add guild info to .pinfo
Original patch by @secharles, modified

Closes #8946
2013-01-26 21:33:13 +00:00
ZxBiohazardZx
e591f886ff DB/Misc:
Add Rare Bosses to Dire Maul Closes #5882
Add SAI for Quest: No Mercy for the Captured Closes #568
Add Spawn for Sand Shark Closes #5925 (thx Mogale)
Fix underground Centaurs Closes #8498 (thx baric)
2013-01-26 22:12:04 +01:00
ZxBiohazardZx
1c95762849 DB/Loot: some modifications to Mithrill Bound Trunk
Closes #3801
2013-01-26 19:46:14 +01:00
Vincent_Michael
66e9b0c633 DB/Conditions: Add conditions for Bellowing Roar / Eruption 2013-01-26 19:22:47 +01:00
ZxBiohazardZx
1682a72d1a DB/Loot: add loot for Protectorate Treasure Cache and make sure you always get sometime out of it...
Closes #8589
2013-01-26 19:20:15 +01:00
dele
9ae8a1e7cb DB/Loot: add missing items to Coren Direbrew
Closes #7297
2013-01-26 18:58:15 +01:00
w1sht0l1v3
6acfa49065 Script/Commands: Implement command to list the members of a group/party. 2013-01-26 00:41:46 +02:00
Gacko
f3d0ea66be DB: Fix SAI broke by quest_end_script conversion
Closes #8995
2013-01-25 22:28:49 +01:00
Malcrom
dbb25deb5f DB/Stats: Correct a few creature_classlevelstats
Research done for 4.3.4 but still valid in 3.3.5
2013-01-25 14:54:56 +00:00
nelegalno
9ad8ac73a9 DB/Texts: Ensure that correct types are used in creature_text (42 texts should be corrected)
Closes #9055
2013-01-25 11:57:31 +00:00
Kirkhammett
b64ad98b0d DB/SAI: Fix quest Wrangle Some Aether Rays!
Closes #6176
Closes #8968
2013-01-24 16:53:28 +00:00
Vincent_Michael
f4de181db0 SQL: Rename SQL merged in PR 2013-01-23 20:29:40 +01:00
blub
a6f587a3b1 Merge pull request #9016 from joschiwald/spellscripts4
Core/Spell: convert more spells to SpellScripts
2013-01-23 11:19:39 -08:00
w1sht0l1v3
70490c8238 Script/Commands: Add command to join an existing group/party. 2013-01-23 20:58:01 +02:00
w1sht0l1v3
5e367c910a DB/Misc: Add back flight aura on Wyrmrest Defender.(probably deleted on last template_addon cleanup)
Correct a SAI line for Nerub'ar Broodkeeper.
2013-01-23 13:21:31 +02:00
joschiwald
af50ce6223 Core/Spell: convert more spells to SpellScripts 2013-01-22 23:36:51 +01:00
Vincent_Michael
db5d06afa9 DB/SAI: Fix more some db errors no.4 2013-01-22 20:16:56 +01:00