def4643896
Core/Spells: correctly fix the issue with dispel over time auras. thx shauren
kandera2012-03-27 14:46:19 -03:00
38deaa5dba
Core/Players: Fixed saving glyphs to database
Shauren2012-03-27 19:00:41 +02:00
c1ba5c8587
Arenas/Ring of Valor: fire lines should only be lit when the arena battle begins.
Warpten2012-03-26 22:07:22 +02:00
e40eb4bfbc
Core/DBLayer: Correct few more wrong read types (No. 2)
Nay2012-03-27 15:47:40 +01:00
13757731b7
Merge pull request #5811 from Elron103/pull-requests3
click2012-03-27 07:08:03 -07:00
0550f1dc05
Core/Spells: fix the issue with dispel auras. (thx warpten) closes#5902Kandera2012-03-27 08:42:54 -04:00
79a782f143
Core/Misc: Make World::m_stopEvent thread-safe. Note that the 'virtual' keyword in C/C++ is pretty useless for multithreading
Machiavelli2012-03-27 12:27:22 +02:00
1ee7196ec0
Core/DB Layer: Fix helgrind errors on some concurrent access to resultset auto pointers. Example: ==8753== Possible data race during read of size 8 at 0x2e803e60 by thread #8 ==8753== at 0xDD0FFC: PreparedResultSet::operator[](unsigned int) const (QueryResult.h:83) ==8753== by 0x131D82D: WorldSession::HandleCharEnum(Trinity::AutoPtr<PreparedResultSet, ACE_Null_Mutex>) (CharacterHandler.cpp:217) ==8753== by 0x118F8C3: WorldSession::ProcessQueryCallbacks() (WorldSession.cpp:1087) {..} ==8753== Address 0x2e803e60 is 0 bytes inside a block of size 16 alloc'd ==8753== at 0x4C28B75: operator new(unsigned long) (vg_replace_malloc.c:261) ==8753== by 0x137D515: __gnu_cxx::new_allocator<Field*>::allocate(unsigned long, void const*) (new_allocator.h:92) ==8753== by 0x137D378: std::_Vector_base<Field*, std::allocator<Field*> >::_M_allocate(unsigned long) (in /home/aokromes/bin/bin/worldserver) ==8753== by 0x137CEC6: std::vector<Field*, std::allocator<Field*> >::_M_fill_insert(__gnu_cxx::__normal_iterator<Field**, std::vector<Field*, std::allocator<Field*> > >, unsigned long, Field* const&) (vector.tcc:416) ==8753== by 0x137CB27: std::vector<Field*, std::allocator<Field*> >::insert(__gnu_cxx::__normal_iterator<Field**, std::vector<Field*, std::allocator<Field*> > >, unsigned long, Field* const&) (stl_vector.h:944) ==8753== by 0x137C964: std::vector<Field*, std::allocator<Field*> >::resize(unsigned long, Field*) (stl_vector.h:632) ==8753== by 0x137BFCA: PreparedResultSet::PreparedResultSet(st_mysql_stmt*, st_mysql_res*, unsigned long, unsigned int) (QueryResult.cpp:98) ==8753== by 0x137A12B: MySQLConnection::Query(PreparedStatement*) (MySQLConnection.cpp:493) ==8753== by 0x137F663: PreparedStatementTask::Execute() (PreparedStatement.cpp:412)
Machiavelli2012-03-27 13:33:02 +03:00
88d81d27cf
Core/DB Layer: - Fix "Thread #1 unlocked a not-locked lock at 0x6D56E90" helgrind error (thanks to Aokromes for logs). Cause was unlocking MySQL connection on shutdown, but concurrent access at this point is not required.
Machiavelli2012-03-27 11:49:16 +02:00
13e071195d
Core/Groups: Remove redundant check in WorldSession::HandleLootRoll
Shocker2012-03-27 02:52:47 +03:00
6afaed4a02
Core: Remove the MersenneTwiser-library (SFMT is now considered stable enough for full deployment)
click2012-03-27 02:27:12 +02:00
a92820b51c
Core/DBLayer: Correct few more wrong read types (No. 1)
Nay2012-03-27 00:43:56 +01:00
8f365de4b2
Core/DBLayer: Fix creature and spell_rank loading
Nay2012-03-26 21:06:11 +01:00
613d5368a5
Core/Spells: and another mistake from the misdirection fix >.>
kandera2012-03-26 15:15:06 -03:00
8d7f184ee6
DB/Auth: Update auth_database.sql with recent changes
Nay2012-03-26 18:23:05 +01:00
89f31f3cba
Core/DBLayer: Typo from prev. commit
leak2012-03-26 19:05:51 +02:00
830a7fb08b
Core/DBLayer: Restore pet loading
leak2012-03-26 18:57:55 +02:00
522dfa8e0c
Core/Spells: one more miss from misdirection fix
Kandera2012-03-26 12:24:11 -04:00
f18946a72e
DB/Creature Template: Some updates, mostly HoverHeight and InhabitType. Thanks to KingPin for re-parsing ~5GB of sniffs.
Machiavelli2012-03-26 15:38:52 +02:00
e960016dc4
Partial revert of "Core/DB Layer: Fix a memory leak.", mysql library related stuff. Original memory leak fix is still in place.
Machiavelli2012-03-26 13:33:47 +02:00
70ee37f3b4
Core/DB Layer: Fix a memory leak for synchronously executed prepared statements.
Machiavelli2012-03-26 08:58:21 +02:00
107a6f2c4b
DB/Auth: Update auth_database.sql with recent changes
Nay2012-03-25 21:15:22 +01:00
ffbee169f4
Core/DBLayer: Restore pinfo ban info output
leak2012-03-25 21:22:53 +02:00
fa1d3f305b
Core/Misc: Implement Trinity::Auto_Ptr. Ditches ACE_Refcounted_AutoPtr (we strongly suspect it does NOT clean up the underlying pointer properly). Underlying type is now ACE_Strong_Bound_Ptr
Machiavelli2012-03-25 21:21:23 +02:00
44a474f1e3
Core/AchievementMgr: We heard you like uninitialized variables so... we initialized them for you so you can hate us
Shauren2012-03-25 20:55:06 +02:00
e2a92d4bbc
Buildsystem/CMake: Add the ability to avoid linking the core with jemalloc on linux through using the -DNOJEM parameter. WARNING: This is a developer flag only, and as such NOT documented elsewhere - we need this for valgrind and related tools. Again : YOU HAVE BEEN WARNED! DO NOT USE THIS FLAG UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
click2012-03-25 17:14:08 +02:00
4e6fce1112
Core/DBLayer: Typo on query conversion
leak2012-03-25 16:34:09 +02:00
87176c84d3
Core/DBLayer: Refine field type checks in Field::GetXXX methods. Should give us logs of wrong GetXXX calls for a certain type without having to dig trough valgrind logs.
Machiavelli2012-03-25 14:10:06 +03:00
2ba4c5fa68
Core/TicketMgr: Remove a memory leak in RemoveTicket. Spotted by Subv
Machiavelli2012-03-25 13:09:43 +03:00
f5a9206b0e
Core: Remove an annoying memoryleak in OutdoorPVPMgr (Patch by Raczman)
click2012-03-25 04:20:53 +02:00
bdf6cf5146
Protocol/Opcodes: More opcodes
Subv2012-03-24 19:16:07 -05:00
bff41739bc
Protocol/Opcodes: Adjusted a bit the size of SMSG_INSPECT_TALENT
Subv2012-03-24 19:05:12 -05:00
ac2629f5e7
Protocol/Opcodes: More opcodes Fixed structure of SMSG_INSPECT_TALENT
Subv2012-03-24 18:52:57 -05:00
e37a4e5fe2
Merge pull request #5870 from Elron103/pull-requests5
leak2012-03-24 16:14:21 -07:00
192d7d735d
Core/DBLayer: Few more type corrections
Nay2012-03-24 23:05:00 +00:00
cbcd4e6afb
Core: Fix .pinfo handling of player level and securitylevel after recent cleanups (and clean up my last commit)
click2012-03-24 22:59:23 +01:00
eb3305932c
Core/DB layer: Change functionality in previous memoryleak-fix (Patch by raczman)
click2012-03-24 22:34:33 +01:00
0eb3ffca41
Core/DB Layer: Fix a memory leak. Author: raczman (yes, you read correctly)
Machiavelli2012-03-24 19:24:36 +01:00
4c16421cde
Core/Spells: Fix periodic aura log for SPELL_AURA_PERIODIC_HEAL and SPELL_AURA_OBS_MOD_HEALTH when there is heal absorption
Shocker2012-03-24 20:21:17 +02:00
e64d1d43dd
Core: Add proper cleanup at exit for smart script waypoints and instance encounters
Shauren2012-03-24 18:42:35 +01:00
01c997c60f
Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart
Kandera2012-03-23 08:27:27 -04:00
0fe4580fe0
Core/Commands: Add support for ip2nation database lookups when using .pinfo command. This will (when a full database exists) allow for seeing (approximately) which country a player might be from when doing .pinfo <player> Note: External data required for this patch to work correctly can be found at http://www.ip2nation.com/ip2nation/DownloadSpp2012-03-23 05:35:32 +01:00
b95d148dbe
Protocol/Opcodes: Added a few more opcodes
Subv2012-03-22 19:34:23 -05:00
479c0976ab
Core/Creatures: Properly initialize m_zoneScript when it depends on zone id (OutdoorPvP/Battlefield) and fixed z offset for hovering creatures at creation
Shauren2012-03-23 00:48:32 +01:00
011a73e3e5
DB/Conditions: 39152 should only be lootable if you have at least 390 skills in First Aid;
ShinDarth2012-03-22 21:50:13 +00:00
e4ee3788e7
Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being interrupted by other spells.
Machiavelli2012-03-21 12:42:45 +01:00
6d9dbefe94
Core/Units: Fix issues with threat management on phase changes
Elron1032012-03-20 18:27:25 +01:00