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
dr.skull
760018647d
Set Spirit Wolf attack speed at 1.5s (enhancement shaman spell Feral Spirit)
...
Update Spirit Wolf Attack Power when shaman Attack power change
Signed-off-by: dr.skull <dr.skull@centrum.sk >
2013-02-11 15:53:33 +01:00
Nay
db0b81e8e7
Core/RealmSocket: Remove a not required #ifndef MSG_NOSIGNAL / #define MSG_NOSIGNAL 0
...
Somewhere in ACE overloads of send(), flags are default'ed to 0 if not provided
2013-02-11 03:33:02 +00:00
Nay
42e660e2a2
Core/Sockets: Always try to send MSG_NOSIGNAL in peer().send()
...
Fixes RASocket::authenticate crash
"MSG_NOSIGNAL:
If you send() to a remote host which is no longer recv()ing, you'll typically get the signal SIGPIPE. Adding this flag prevents that signal from being raised."
Closes #5040
Thanks to @derex for the hint
2013-02-11 02:59:37 +00:00
Shocker
a0cb102538
Merge branch '4.3.4' of https://github.com/TrinityCore/TrinityCore into 4.3.4
2013-02-10 20:21:18 +02:00
Shocker
82f7b337b2
Core/Opcodes: Prevent invalid memory access with custom opcodes
2013-02-10 20:20:36 +02:00
Shauren
38eb090e9a
Core/Objects: Rewritten UpdateMask class to perform bit operations faster at the cost of higher memory use and moved building the mask for packet to a separate method.
...
Closes #9127
2013-02-09 23:59:09 +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
Nay
984e1feadf
Merge remote-tracking branch 'origin/master' into 4.3.4
...
Conflicts:
src/server/game/Server/WorldSocket.cpp
2013-02-09 20:33:30 +00:00
Shauren
985de41421
Core/SAI: Rewrite SmartAI::RemoveAuras in a safer way
2013-02-09 17:57:27 +01:00
Gacko
a7eef6a598
Script/Quest: Kodo Roundup
...
Closes #943
2013-02-09 16:24:31 +01:00
Phantons
e072ba4f56
Core/Spells: Allow script only one effect with OnObjectTargetSelect or ObjectAreaTargetSelectHandler hooks when target, radius and conditions are the same.
2013-02-09 00:50:22 +01:00
Nay
f902362ad1
Core/DBLayer: Avoid a crash when calling mysql_get_server_version if connection was not open
2013-02-08 23:06:25 +00:00
Nay
c4d285828a
Merge pull request #9166 from thomas33/typo
...
Core/Scripts: Coding style
2013-02-08 10:07:05 -08:00
Shauren
97e876209e
Core/Players: Fixed crash when mute expired while player was ingame
2013-02-08 18:18:26 +01:00
Shauren
d6c0afa71c
Core/AI: Fixed merge error
2013-02-08 14:15:24 +01:00
Shauren
b6e56e42ea
Core/Auth: Reverted part of fb43a92cc2 - session key is still needed after logging in to be able to switch realms
2013-02-08 01:03:56 +01:00
Shauren
fb43a92cc2
Core/Accounts: sessionkey field in account table is only a temporary storage to pass data from authserver to worldserver and should only be used as such. Clearing sessionkey from database after a successful login to prevent possible exploits.
2013-02-07 16:15:23 +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
Vincent_Michael
943c866da9
Core: Whitespace cleanup
2013-02-07 00:02:22 +01:00
Shauren
fdffb3ebd0
Core: Fixed some compile warnings
2013-02-06 22:18:41 +01:00
Vincent_Michael
1fbc25766f
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
2013-02-06 21:49:12 +01:00
Shocker
443ea12827
Fix build
2013-02-06 22:42:37 +02:00
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
Nay
0b3170c228
Core/Player: Fix a query that was wrongly deleting items
...
CHAR_DEL_ITEM_INSTANCE deletes by item guid but in Player::DeleteFromDB the guid being used was player's guid.
That means that if player with guid 100 was deleted, the item with guid 100 would also be deleted. This item could or could not belong to the player.
Closes #8883
Closes #9136
Thanks to @vlad852 for finding the issue
2013-02-06 13:17:21 +00:00
Gacko
745eb9732e
Core/Spell: Consider disables for LOS check
2013-02-05 19:39:51 +01:00
click
ede65fb60c
Core/Remote: Adjust logentries to accomodate separation of info- vs debug-output, using Info-level as default unless it's REAL debugoutput
2013-02-05 15:45:18 +01:00
Spp
dd0658e675
Warning fix
2013-02-05 11:12:00 +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
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
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
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
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
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
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