Commit Graph
1596 Commits
Author SHA1 Message Date
Venugh cecaab7948 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore into mmaps 2012-04-11 06:39:23 +02:00
Subv a998e9e58a Collision/GameObjects: Corrected a possible logic fail
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-10 20:12:13 -05:00
Subv 6c5cabcf8b Battlegrounds/WSG: Fixed door LoS in Warsong Gulch
Closes #6147
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-10 20:06:40 -05:00
Shocker b4341413e5 Merge pull request #5648 from Elron103/pull-requests
Core/Misc: Add a validity check for coordinates, prevents possible crashes with invalid coordinates
2012-04-10 17:15:24 -07:00
click a470a5ad93 Fix a typo in previous commit 2012-04-10 02:11:27 +02:00
click 5d7d635b9e Core: Add proper log output in Player::Create functions, warning admins about possible hackers during character creation 2012-04-10 02:06:10 +02:00
Venugh 8452fd0dbd fixed errors. 2012-04-09 17:05:32 +02:00
Venugh c3a049df82 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore into mmaps 2012-04-09 15:16:20 +02:00
Venugh d6bddc1c94 Core/Mmaps:
* implemented loading part.
2012-04-09 15:11:39 +02:00
kaelima 5f52cb0d8c Core/Spell: fix crash from 268401029e 2012-04-09 13:39:52 +02:00
kaelima 3bbabb1400 Core/Spell: Fix crash when blinking on transports in instancable maps
Closes #789
2012-04-09 03:02:45 +02:00
kaelima 49e24e2dfb Core/Cleanup:
Mostly if(.. -> if (.. and for(.. -> for (..
but also some miscellaneous cleanup
2012-04-08 23:59:52 +02:00
Subv 268401029e Core/Spells: Implemented SPELL_ATTR4_IGNORE_RESISTANCES.
Closes #919

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-08 15:15:06 -05:00
Machiavelli bc96df1aae Core/Shared: Move container functions to shared project under Trinity::Container namespace. Also implement RandomResizeList which takes a predicate function as parameter.
Core/ScriptedAI: Extend SummonList::DoAction to take a predicate function as parameter and allow specifying a maximum number of units to be selected.
2012-04-08 17:40:05 +02:00
Machiavelli e636531da3 Core/Movement: Fix pushback issues and client freeze. 2012-04-08 17:03:44 +02:00
Shocker cce6424337 Merge pull request #6001 from Tasssadar/master
Code style: Give field pointers in Player::DeleteFromDB() more appropriate name
2012-04-07 19:14:48 -07:00
kaelima a5a123197b Core/Item: Fix possible exploit stacking critical strike when switching weapons during disarm. Closes #3532 2012-04-08 03:12:40 +02:00
Subv f17b990f68 Core/Spells: Fixed rogue T10 2P and 4P bonuses
Closes #422

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-07 16:58:56 -05:00
Nay 945566e84e Scripts/SM: Fix dead anymation of Fairbanks
Patch by DennisRassmann (25/10/2010)
Closes #4998
2012-04-07 22:29:19 +01:00
kaelima cadf311ac6 Core/Players: Reward XP to dead players inside battlegrounds
(29/05/2010)
2012-04-07 21:42:49 +01:00
Subv e94a5dd16f Core/Visibility: Pets should be always visible for group mates.
Patch by zarocks
Closes #55
2012-04-07 13:31:53 -05:00
MrSmite b843688fa8 PeAI update
* Better handle target selection for defensive pets. Adds triggers for when owner is damaged or begins attacking something.

* Defensive pets no longer run off as soon as a mob aggros the owner but rather at first damage to owner or owner first attack

* Pets on stay will continue to attack unless target unreachable
2012-04-06 12:26:45 -04:00
Shauren b5dc7bc45b Core/SmartScript: Fixed crashes with stored target lists
Closes #5786
2012-04-05 22:13:20 +02:00
Subv 3d6da262dc Core/Spells: Blade Barrier should not proc from autoattacks
Closes #6028

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-04 20:51:49 -05:00
Vojtěch Boček cea3930610 Core: Give field pointers in Player::DeleteFromDB() more appropriate name 2012-04-04 19:07:22 +03:00
click 0447ddacef Core: Fix a crash in Player::DeleteFromDB due to loading wrong fields 2012-04-04 17:42:45 +02:00
click 98fcadae46 Core: Fix Group::SetGroupMemberFlag and Pet::resetTalentsForAllPetsOf prepared statement parameters (thanks Saring) 2012-04-04 01:23:09 +02:00
click 9074102702 Core: Fix Item::SaveRefundDataToDB prepared statement parameters 2012-04-04 00:29:22 +02:00
Nay b7f7e3118c Core/DBLayer: More type fixes
Thanks to Vasago for the help in spotting the errors
Thanks to Subv as well (so he doesn't feel lonely)
2012-04-01 22:41:47 +01:00
click ad569ce649 Core: Only clear motionmaster flags if the respective entity exists in world.
Original patch by kewarr and Mrsmite, additional commenting by Machiavelli removing the pet-specific checks applied.
Fixes #5400.
2012-04-01 19:54:33 +02:00
Subv 8bd228179d Core/Spells: Fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT on several types of spell effects
closes #5961
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-01 11:02:44 -05:00
Nay 1bc99cd5af DB/Spawns: Fix previous commit (512aa8897b) 2012-04-01 14:55:19 +01:00
Nay 377c5ce36e Core/DBLayer: Fix another wrong type in mail related code 2012-04-01 03:09:01 +01:00
click 280f88db6b Merge pull request #5649 from Elron103/pull-requests2
Core/Movement: Fix random position finding near edges, avoid big z-coordinate differences
2012-03-30 18:14:58 -07:00
Shocker b292437989 Merge pull request #5933 from GyxTom/master
Core/Misc: Code style and remove unused define
2012-03-30 14:49:44 -07:00
Shauren 5843851559 Core/DBLayer: More prepared statement corrections 2012-03-29 23:22:10 +02:00
Kandera 4a0085ad2c Core/DBLayer: more type fixes 2012-03-29 12:21:38 -04:00
leak 5e58905aa0 Core/DBLayer: More types fixes 2012-03-29 17:43:23 +02:00
Nay 92d3548f0b Core/DBLayer: Even more types fixes... 2012-03-29 15:08:17 +01:00
Gyx 5b7493fc66 Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 14:43:34 +08:00
Gyx 360014856d Core/Game: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 13:42:04 +08:00
Shocker a08cb234c0 Merge pull request #5918 from GyxTom/master
Core/Misc: Various cleanups
2012-03-28 18:00:42 -07:00
click 6237ddac34 Partially revert a36a0a77ef.
Cleaning databases for old/deprecated and expired quests should never be a
developers choice specifically. This should be done by admins, not developers,
through the use of the already existing paramters found in the worldserver config :
CleanCharacterDB / PersistentCharacterCleanFlags

An adjustment to the respective questloader prepared statement has been done to
accomodate for the earlier change (by not loading such quests into memory at all).

Documentation for how this cleanup-procedures work already exists in the core :
doc/CharacterDBCleanup.txt.
2012-03-28 19:31:06 +02:00
Gyx 1544b208da Core/Game: Code style again.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-28 20:00:29 +08:00
Gyx 72cdcbfced Core/Game: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-28 19:11:50 +08:00
Machiavelli 91228d2711 Core/Player: Similarly initialize m_SeasonalQuestChanged
Fixes:

==8111== Conditional jump or move depends on uninitialised value(s)
==8111==    at 0xFB7C42: Player::_SaveSeasonalQuestStatus(Trinity::AutoPtr<Transaction, ACE_Thread_Mutex>&) (Player.cpp:19375)
==8111==    by 0xFB56BA: Player::SaveToDB(bool) (Player.cpp:18898)
2012-03-28 13:07:37 +03:00
Machiavelli c3db19b80b Core/Player: Initialize m_WeeklyQuestChanged
Fixes:

==8111== Conditional jump or move depends on uninitialised value(s)
==8111==    at 0xFB7AD2: Player::_SaveWeeklyQuestStatus(Trinity::AutoPtr<Transaction, ACE_Thread_Mutex>&) (Player.cpp:19352)
2012-03-28 13:06:02 +03:00
kaelima 820f45c424 Core/Protocol:
- Correct and rename response message from creating/updating a ticket
- Prevent some trailing data in CMSG_GMTICKET_CREATE and add comment on stuff missing from its structure.
- Random cleanup
2012-03-28 03:59:03 +02:00
Shauren 697fda7d27 Core/Players: Fixed copy paste mistake 2012-03-28 00:03:11 +02:00
Nay ead019b061 Core/DBLayer: Correct few more wrong read types (No. 3)
DB/World: Some consistency in the ints "length" field (not really a length)

From A to G world tables verified; missing all the others
2012-03-27 19:26:58 +01:00