Commit Graph

19470 Commits

Author SHA1 Message Date
Shocker
be07a7d481 Core/Spells: Fix SPELL_AURA_MOD_POWER_COST_SCHOOL and SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT 2013-02-06 22:27:53 +02:00
Warpten
6a0b7950a7 Core/Spells: Fixed Molten Core's proc. 2013-02-06 00:30:40 +01:00
Spp
f7c7f0f0f6 Merge branch 'master' into 4.3.4
Conflicts:
	src/server/scripts/Kalimdor/zone_durotar.cpp
2013-02-05 09:57:14 +01:00
Spp
fedc26a115 Typo fix 2013-02-05 09:26:52 +01:00
Spp
f210ab0d47 Core/RBAC: Allow custom security levels for commands. (Before this change any command with seclevel > 3 had the same permissions than player commands)
Note: This is still a workaround till command system is moved to RBAC
2013-02-05 09:11:56 +01:00
Subv
c4d3b83191 Implemented use of graveyard_orientation - You can test it by clicking on "Return to Graveyard" button 2013-02-04 22:38:20 -05:00
Kinzcool
630ad4b0b5 DB/Creature: Updated Unseen template 2013-02-04 20:03:04 -05: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
Vincent_Michael
7f2a1ece62 Fix merge fail (fucking saving button -.-) 2013-02-04 22:17:23 +01:00
Vincent_Michael
12c8cdc26c Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	sql/base/auth_database.sql
	sql/base/characters_database.sql
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/LFGHandler.cpp
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSession.h
	src/server/game/Server/WorldSocket.cpp
	src/server/game/World/World.cpp
	src/server/scripts/Spells/spell_generic.cpp
2013-02-04 22:14:56 +01:00
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
67f686106d Fix compile without PCH 2013-02-04 10:10:15 +01: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
Manuel Carrasco
db9b087550 Merge pull request #9142 from m7nu3l/patch-4
Core/MovementGenerator: Now MovementInform event is called at the truly end of Finalize function. Thanks Trista
2013-02-03 23:50:15 -08:00
m7nu3l
c7c3ae648c Core/MovementGenerator: Now MovementInform event is called at the truly end of Finalize function.
Thanks to Trista.
2013-02-04 04:44:44 -03: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
Kinzcool
1537de5b39 Renamed game_graveyard_orientation to graveyard_orientation 2013-02-03 23:11:52 -05:00
Kinzcool
1a92b11ae3 Created table for a future (soon) use of graveyards orientations -- work based on WorldSafeLocs.dbc 2013-02-03 23:02:47 -05: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
Spp
f753c989f2 Core/Dungeon Finder: Simplify Spell Luck of the draw code
Core/Dungeon Finder: Partial recode of "group list" using existing Lfg functions
2013-02-04 04:43:49 +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
Vincent_Michael
66dfcd2b43 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Movement/Spline/MovementPacketBuilder.cpp
2013-02-03 23:11:48 +01:00
Manuel Carrasco
0d1e199e1f Merge pull request #9131 from m7nu3l/patch-3
Core/AI: Implemented functionality for _isCombatMovementAllowed in ScriptedAI, only when AttackStart is called.
2013-02-03 11:12:50 -08:00
m7nu3l
124b5ed6e7 Core/AI: Implemented functionality for _isCombatMovementAllowed in ScriptedAI, only when AttackStart is called. 2013-02-03 14:46:17 -03:00
Shauren
118c1d8c2c Merge pull request #9134 from Krogonos/master
Inconsistent file naming convention
2013-02-03 07:50:32 -08:00
Krogonos
cfaabe50cf Fixed a few file names to improve searching.
Signed-off-by: Krogonos <bryan.mayer26@yahoo.com>
2013-02-03 09:12:03 -06:00
Shauren
ccc1936660 Core/Loot: Items in generated loot will now be split in multiple stacks if their count exceeds max stack size defined in item_template 2013-02-03 15:36:29 +01:00
Gacko
193a0d5f15 Fix engrish in doc 2013-02-03 15:22:23 +01:00
Shauren
fe1aa11e08 Core/Debugging: Made WheatyExceptionReport::_GetWindowsVersion code more readable and added check for Windows Server 2012 2013-02-03 15:04:12 +01:00
Nay
7eb3c36dba Merge pull request #9132 from Regigicas/crashlog
Update WheatyExceptionReport to printf Windows 8
2013-02-03 05:52:26 -08:00
Shauren
b346459ca8 Core: Warning fixes 2013-02-03 14:11:59 +01:00
Regigicas
6d29a62b78 Update WheatyExceptionReport to print Windows 8 2013-02-03 14:08:29 +01:00
Gacko
54924f18af Core/EventMap: Internal changes and doxygen doc
See http://www.trinitycore.org/f/topic/7003-doxygen-documentation-and-hacks for details and examples.
Thanks to @Shauren for several hints.
2013-02-03 12:31:47 +01:00
Shauren
07442f932c Core/Object: Fixed a mistake in update mask building - fields marked with UF_FLAG_PARTY_MEMBER should be sent to the entire raid, not only one subgroup 2013-02-03 12:23:28 +01:00
Shauren
653557d335 Core/Objects: Some optimizations to object updatemask building 2013-02-03 12:16:10 +01:00
Shauren
a216ef2ca0 And a build fix. Nothing new... move along 2013-02-03 11:05:42 +01:00
Shauren
a8054311ca Core/AI: Reverted 2df1908c29 - sometimes it is better to copy some code to make its purpose clearer (ReactorAI is an AI class used for neutral creatures, it makes no sense to inherit AggresorAI, which is used for aggressive creatures) 2013-02-03 10:49:31 +01:00
Aokromes
045bd8b9f1 Merge pull request #9129 from m7nu3l/patch-2
Core/AI: Inherited AggressorAI, so the wheel is not reinvented.
2013-02-02 21:38:47 -08:00
m7nu3l
2df1908c29 Core/AI: Inherited AggressorAI, so the wheel is not reinvented. 2013-02-03 02:25:58 -03:00