jackpoz
c06dc7d37a
Core/NetworkIO: Adjust more packet throttling values
...
Adjust some more packet throttling values.
Revert b35f831f2b since it's no longer needed.
Modify the AntiDoS log to specify in a more readable way which opcode triggered the system and how many packets have been received.
2014-05-25 20:14:59 +02:00
Sebastian Valle Herrera
1a48967cdf
Merge pull request #12130 from Trisjdc/go_collision_2
...
Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOs
Closes #6303
Closes #7628
2014-05-25 11:12:06 -05:00
Shauren
d6414bd9a5
Merge pull request #12131 from Trisjdc/resting
...
Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE or AREA_FLAG_REST_ZONE_HORDE
2014-05-25 16:17:58 +02:00
Trisjdc
fd753a6105
Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE or AREA_FLAG_REST_ZONE_HORDE
2014-05-25 15:05:15 +01:00
jackpoz
2f0f8f8018
Core/NetworkIO: Adjust packet throttling values
...
Adjust packet throttling values to avoid false positive. In case you are experiencing random kicks change the PacketSpoof.Policy setting in worldserver configs and report which packets are triggering the anti-dos system.
2014-05-25 15:26:49 +02:00
Trisjdc
0ce6824a86
Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOs
2014-05-25 11:35:51 +01:00
jackpoz
01b33a6772
Merge pull request #12084 from Trisjdc/pet_combat_2
...
Core/Spells: Players with active pets count as if they were players in combat against spells with SPELL_ATTR1_CANT_TARGET_IN_COMBAT
2014-05-25 11:25:04 +02:00
jackpoz
1f78ff541a
Merge pull request #12120 from Trisjdc/aura_exploit
...
Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon swapping
2014-05-25 00:32:37 +02:00
jackpoz
a4ba54fbdb
Core/NetworkIO: Improve packet spam solution
...
Implement an improved packet Anti-DoS by counting how many times the same opcode has been sent in the last second and applying the policy specified in the configs if the amount of packets exceeds a reasonable amount.
Credits to the original author who decided to share this with TrinityCore team.
2014-05-24 22:34:06 +02:00
Trisjdc
51b782a91e
Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon swapping
2014-05-24 19:01:05 +01:00
jackpoz
f091713086
Core/Misc: Fix typo
...
Fix typos about the word "Resurrect"
2014-05-24 18:25:53 +02:00
Discover-
8f42dd3fab
Merge pull request #12111 from MitchesD/commands
...
Scripts/Commands: added option to show InhabitType in .npc info command
2014-05-24 00:45:06 +02:00
MitchesD
007e903753
Scripts/Commands: added option to show InhabitType in .npc info command
2014-05-23 20:51:22 +02:00
Discover-
80daaf8d43
Core/SAI: SMART_EVENT_IC_LOS is now called when movement in LOS was made while the creature was in combat
2014-05-23 17:11:37 +02:00
Warpten
fa31b161cc
Merge pull request #12102 from Trisjdc/achievements
...
Core/Achievements: Fixed ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS in case killed creature has a loot recipient (Credit would be granted to loot recipient rather than killing blow lander)
2014-05-22 20:04:27 +02:00
Trisjdc
4d3156e0b8
Core/Achievements: Fix ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS
2014-05-21 15:10:15 +01:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00
jackpoz
d36ecbf4a3
Merge pull request #12076 from Trisjdc/even_more_sai
...
Core/SAI: Clear UNIT_STATE_EVADE immediately if we're about to follow a target on EnterEvadeMode
2014-05-19 22:00:48 +02:00
jackpoz
0166d9bf89
Merge pull request #12083 from Trisjdc/pet_combat
...
Core/PetAI: Pet's owner should NOT enter combat when the pet attacks/enters combat
2014-05-19 21:44:15 +02:00
jackpoz
35d5e63258
Merge pull request #12018 from Foereaper/master
...
Core/Misc: Fixed SendAddonMessage issue.
2014-05-19 21:33:08 +02:00
Shauren
b83cff2a85
Core/Vehicles: Set proper power type using PowerDisplay.dbc
...
Original commit by Xfurry - cmangos/mangos-wotlk/bef8c99cc07c96d4e2f45e0ff6bc107068555ffb
2014-05-19 15:42:51 +02:00
Shauren
b41de6cb38
Core/Misc: Removed remnants of old db threading model
2014-05-19 14:48:10 +02:00
jackpoz
a83c315771
Core/Calendar: Fix warning
...
Fix warning added b6048f89f7 about signed/unsigned comparison mismatch
2014-05-18 14:41:11 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Trisjdc
c273f5368a
Core/Spells: Players with active pets count as if they were players in combat against spells with SPELL_ATTR1_CANT_TARGET_IN_COMBAT
2014-05-18 11:36:12 +01:00
Trisjdc
8aee9dd948
Core/PetAI: Pet's owner should NOT enter combat when the pet attacks/enters combat
2014-05-18 11:00:48 +01:00
Sebastian Valle Herrera
b70edf7bca
Merge pull request #12071 from Praetonus/warnings
...
Fix various warnings.
2014-05-17 18:40:23 -05:00
Sebastian Valle Herrera
d76da63a5a
Merge pull request #12070 from Trisjdc/more_sai
...
Core/SAI: Prevent nullifying damage, because of player damage requirements
2014-05-17 18:37:50 -05:00
jackpoz
c200d2c8cc
Core/Warden: Fix crash
...
Fix crash with empty CMSG_WARDEN_DATA packets
2014-05-18 00:29:00 +02:00
Shauren
8eeec647d1
Fixed build without pch
2014-05-17 21:35:39 +02:00
jackpoz
b6048f89f7
Core/Calendar: Align max amount of Players to be invited to Client limits
...
Limit the max amount of Players to be invited to a Calendar event to 100, same limit as the one in the Client
2014-05-17 21:22:28 +02:00
Shauren
a62f95e4c2
Core/Calendar: Use single database transaction for adding multiple invites when creating new event
2014-05-17 21:02:01 +02:00
joschiwald
1dbc943297
Core/GameObjects: fixed instant reset of gameobjects after activation
2014-05-17 20:05:43 +02:00
Trisjdc
9bad26fc88
Core/SAI: Clear UNIT_STATE_EVADE immediately if we're about to follow a target on EnterEvadeMode (MoveFollow does not clear evade)
2014-05-16 19:46:02 +01:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Trisjdc
50336af1c7
Core/SAI: Prevent nullifying damage, because of player damage requirements
2014-05-15 17:05:02 +01:00
Trisjdc
c85710e148
Core/Spells: Fix Cheat Death formula
2014-05-15 17:02:14 +01:00
jackpoz
9d760098a5
Core/Misc: Fix crash in ticket creation
...
Fix a crash happening with malicious CMSG_GMTICKET_CREATE packets.
2014-05-14 22:07:20 +02:00
jackpoz
32386be8e7
Merge pull request #12021 from Trisjdc/spell_target_dest
...
Core/Spells: Replace MovePosition by MovePositionToFirstCollision in spell dest target handling.
2014-05-13 21:02:07 +02:00
jackpoz
db2593f41d
Core/Arena: Fix exploit in arena team
...
Fix exploit that allowed anyone to add a target Player to any arena team.
2014-05-12 22:40:55 +02:00
jackpoz
b17e3246fe
Core/Misc: Fix static analysis issues
...
Fix uninitialized values spotted by coverity.
Remove unused "dynamic analysis" code, use Valgrind or another dynamic analysis tool instead if needed.
2014-05-12 21:18:59 +02:00
Discover-
da50b92cdf
Merge pull request #12050 from Trisjdc/u_liek_fish_questionmark
...
Core/Spells: Fix fishing on areas with liquid data but no valid height
2014-05-12 06:34:52 +02:00
Trisjdc
11f6eb91c0
Core/Spells: Fix fishing on areas with liquid data but no valid height
2014-05-11 14:43:12 +01:00
Gacko
39410b35a4
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2014-05-11 12:37:29 +02:00
Gacko
dabbe38022
Core/GameObject: Set trap type 0 back to GO_READY after activation.
...
Otherwise it would be activated again on every update. My fault, moving the activation code to GO_ACTIVATED skips the cooldown check.
Closes #12047
2014-05-11 12:35:40 +02:00
Kinzcool
392e045bda
DB: Changed WDBVerified startdard to VerifiedBuild
2014-05-11 03:15:31 -04:00
MitchesD
8e7cf15dd1
Scripts/HallsOfReflection: Major changes
...
* corrections to Intro Event (Falric, Marwyn etc.)
* fixed issues with Frostsworn General
* improved the whole Wrath of the Lich King event
* implemented outro gunship
* optimalization code and cleanup and fixed some typos
* Big thanks to @joschiwald, he is author too ;-)
2014-05-10 21:37:33 +02:00
Discover-
71795bf977
Core/Trade: It's no longer possible to fake the amount of gold put into the trade window. It's only visual but still an exploit, allowing scamming.
2014-05-09 17:58:04 +02:00
Trisjdc
106c54cf25
Core/CreatureAI: Implement CreatureAI::TalkToMap for all your map-wide talking needs. Could also replace Battleground::SendChatMessage
2014-05-09 10:19:44 +01:00
Trisjdc
0c0dc2fdb9
Core/Players: Fix haste rating formulas. They're supposed to be the addition, not the multiplication of all available bonuses
...
- This change matches client formulas
2014-05-08 13:42:55 +01:00