Commit Graph

  • def4643896 Core/Spells: correctly fix the issue with dispel over time auras. thx shauren kandera 2012-03-27 14:46:19 -03:00
  • 38deaa5dba Core/Players: Fixed saving glyphs to database Shauren 2012-03-27 19:00:41 +02:00
  • c1ba5c8587 Arenas/Ring of Valor: fire lines should only be lit when the arena battle begins. Warpten 2012-03-26 22:07:22 +02:00
  • e40eb4bfbc Core/DBLayer: Correct few more wrong read types (No. 2) Nay 2012-03-27 15:47:40 +01:00
  • 13757731b7 Merge pull request #5811 from Elron103/pull-requests3 click 2012-03-27 07:08:03 -07:00
  • 0550f1dc05 Core/Spells: fix the issue with dispel auras. (thx warpten) closes #5902 Kandera 2012-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 Machiavelli 2012-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) Machiavelli 2012-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. Machiavelli 2012-03-27 11:49:16 +02:00
  • 13e071195d Core/Groups: Remove redundant check in WorldSession::HandleLootRoll Shocker 2012-03-27 02:52:47 +03:00
  • 6afaed4a02 Core: Remove the MersenneTwiser-library (SFMT is now considered stable enough for full deployment) click 2012-03-27 02:27:12 +02:00
  • a92820b51c Core/DBLayer: Correct few more wrong read types (No. 1) Nay 2012-03-27 00:43:56 +01:00
  • 8f365de4b2 Core/DBLayer: Fix creature and spell_rank loading Nay 2012-03-26 21:06:11 +01:00
  • 613d5368a5 Core/Spells: and another mistake from the misdirection fix >.> kandera 2012-03-26 15:15:06 -03:00
  • 8d7f184ee6 DB/Auth: Update auth_database.sql with recent changes Nay 2012-03-26 18:23:05 +01:00
  • 89f31f3cba Core/DBLayer: Typo from prev. commit leak 2012-03-26 19:05:51 +02:00
  • 830a7fb08b Core/DBLayer: Restore pet loading leak 2012-03-26 18:57:55 +02:00
  • 522dfa8e0c Core/Spells: one more miss from misdirection fix Kandera 2012-03-26 12:24:11 -04:00
  • 02a8388b8e Core/Spells: Added sql for misdirection fix (thx dasio) Kandera 2012-03-26 12:22:55 -04:00
  • da540d5584 Core/Spells: Fix Necrotic Touch proc closes #538 Kandera 2012-03-26 12:05:27 -04:00
  • 7b357a5028 Core/Spells: Fix Misdirection (thx to elron) closes #5869, #4343 Kandera 2012-03-26 11:37:03 -04:00
  • b1ca1ee5ec Core/DBLayer: Convert PAppend() queries to prepared statements No.4 NOTE: leak 2012-03-26 15:46:54 +02:00
  • f18946a72e DB/Creature Template: Some updates, mostly HoverHeight and InhabitType. Thanks to KingPin for re-parsing ~5GB of sniffs. Machiavelli 2012-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. Machiavelli 2012-03-26 13:33:47 +02:00
  • 70ee37f3b4 Core/DB Layer: Fix a memory leak for synchronously executed prepared statements. Machiavelli 2012-03-26 08:58:21 +02:00
  • 43048afc7e Core/DB Layer: Fix a memory leak. Machiavelli 2012-03-26 01:49:41 +02:00
  • 19f821d00a Auth/Realmlist: Make use of RealmFlags and rename color to flag (core- and dbwise) kaelima 2012-03-26 05:14:10 +02:00
  • c38bf4498a Fix compile and fix a possible crash for mob_kiljaeden_controller kaelima 2012-03-26 03:12:56 +02:00
  • 786c226b74 Core/CombatLog: kaelima 2012-03-26 02:15:40 +02:00
  • fab1944ae4 Core/Spells: Don't remove summoned gameobjects for non-channeled spells when spell cast was canceled Shocker 2012-03-26 03:02:05 +03:00
  • 3f61bd0a26 Core/DB Layer: Make SQLTransaction AutoPtr thread safe (valgrind caught a race condition) Machiavelli 2012-03-26 02:56:43 +03:00
  • 48dc9313b9 Core/Misc: Fix logic for owner check in Unit::RemoveGameObject Shocker 2012-03-26 02:50:08 +03:00
  • 9ec61089be Core/Player: Fixed accessing possibly deallocated memory Shauren 2012-03-25 22:24:11 +02:00
  • 107a6f2c4b DB/Auth: Update auth_database.sql with recent changes Nay 2012-03-25 21:15:22 +01:00
  • ffbee169f4 Core/DBLayer: Restore pinfo ban info output leak 2012-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 Machiavelli 2012-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 Shauren 2012-03-25 20:55:06 +02:00
  • eb1af30399 Core/DBLayer: Convert PAppend() queries to prepared statements No.3 leak 2012-03-25 20:19:48 +02:00
  • 04099402cd Core/Players: Use correct size in variables Subv 2012-03-25 13:05:13 -05:00
  • 19747fb95e Core/DBLayer: Use correct Get method in some DB fields Subv 2012-03-25 12:59:18 -05:00
  • 71c02fb54d Core/DBLayer: Convert PAppend() queries to prepared statements No.2 leak 2012-03-25 18:32:00 +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! click 2012-03-25 17:14:08 +02:00
  • 4e6fce1112 Core/DBLayer: Typo on query conversion leak 2012-03-25 16:34:09 +02:00
  • c6cbe4c77c Core/DBLayer: Convert PAppend() queries to prepared statements No.1 leak 2012-03-25 16:22:24 +02:00
  • 56fac5e1af Memory: Get rid of some memory leaks, converted FormationMgr back to singleton Subv 2012-03-25 09:25:28 -05:00
  • eda06321b9 Update src/server/shared/Database/Field.h Machiavelli 2012-03-25 14:11:24 +03: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. Machiavelli 2012-03-25 14:10:06 +03:00
  • 2ba4c5fa68 Core/TicketMgr: Remove a memory leak in RemoveTicket. Spotted by Subv Machiavelli 2012-03-25 13:09:43 +03:00
  • f5a9206b0e Core: Remove an annoying memoryleak in OutdoorPVPMgr (Patch by Raczman) click 2012-03-25 04:20:53 +02:00
  • bdf6cf5146 Protocol/Opcodes: More opcodes Subv 2012-03-24 19:16:07 -05:00
  • bff41739bc Protocol/Opcodes: Adjusted a bit the size of SMSG_INSPECT_TALENT Subv 2012-03-24 19:05:12 -05:00
  • ac2629f5e7 Protocol/Opcodes: More opcodes Fixed structure of SMSG_INSPECT_TALENT Subv 2012-03-24 18:52:57 -05:00
  • e37a4e5fe2 Merge pull request #5870 from Elron103/pull-requests5 leak 2012-03-24 16:14:21 -07:00
  • 192d7d735d Core/DBLayer: Few more type corrections Nay 2012-03-24 23:05:00 +00:00
  • 61691d7698 Core/DBLayer: Restore pinfo timestamp output (Prepared statment results don't deliver TIMESTAMP as string) leak 2012-03-25 00:00:16 +01:00
  • cbcd4e6afb Core: Fix .pinfo handling of player level and securitylevel after recent cleanups (and clean up my last commit) click 2012-03-24 22:59:23 +01:00
  • eb3305932c Core/DB layer: Change functionality in previous memoryleak-fix (Patch by raczman) click 2012-03-24 22:34:33 +01:00
  • 0eb3ffca41 Core/DB Layer: Fix a memory leak. Author: raczman (yes, you read correctly) Machiavelli 2012-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 Shocker 2012-03-24 20:21:17 +02:00
  • e64d1d43dd Core: Add proper cleanup at exit for smart script waypoints and instance encounters Shauren 2012-03-24 18:42:35 +01:00
  • 7daf69f20c Core: Fix warnings Elron103 2012-03-24 18:25:24 +01:00
  • a306c00d43 Core/LFGMgr: Added missing changes from previous commit Shauren 2012-03-24 18:01:39 +01:00
  • 64701c51dc Core/LFGScript: Split LFG script class to prevent crash caused by deallocating the same memory twice Shauren 2012-03-24 17:53:33 +01:00
  • 47a597d406 Core/DBLayer: Query should actually be available on both sync and async mysql connections leak 2012-03-24 17:31:31 +01:00
  • 78e8de5913 Core/Scripts: Fixed script unloading Shauren 2012-03-24 17:09:42 +01:00
  • c058e6740b DB/Loot: Add some Missing loot, thx Helias for spotting and initial work ZxBiohazardZx 2012-03-24 16:58:07 +01:00
  • 5f9ca3b998 Core/DBLayer: C/P fix leak 2012-03-24 16:48:59 +01:00
  • c8bf09d504 Core/DBLayer: Match field type reads in core with data types in db for prepared statements Shauren 2012-03-24 16:44:01 +01:00
  • cd52a9aacf Core: I herd you like semicolon.. leak 2012-03-24 15:54:45 +01:00
  • 09dcee9867 Core: Fix warnings properly leak 2012-03-24 15:50:18 +01:00
  • 3d0063abee Core: Fix warnings leak 2012-03-24 15:37:54 +01:00
  • bdbc1312c3 Core: Remove some silly pramga-section warnings click 2012-03-24 15:05:23 +01:00
  • cddf1dcf03 Core/DBLayer: Prepare statement on the right connection leak 2012-03-24 14:54:24 +01:00
  • dc4a0ec089 Merge pull request #5865 from Elron103/pull-requests4 Shauren 2012-03-24 05:52:35 -07:00
  • 25c13de8b3 Core/Auras: Corrected check relying on a not yet initialized variable Shauren 2012-03-24 13:43:28 +01:00
  • 7eb473d0b8 Core/Spells: Fix loading order and apply custom spell flags correctly Elron103 2012-03-24 13:34:19 +01:00
  • 7c4b2f17bf DB/Loot: Update Loot for first 4 bosses in Ulduar ZxBiohazardZx 2012-03-24 12:55:44 +01:00
  • 58caee1595 Merge pull request #5858 from w1sht0l1v3/AK Machiavelli 2012-03-24 04:31:11 -07:00
  • dae82111b7 Scripts/Ahn'kahet/Prince Taldaram: w1sht0l1v3 2012-03-24 13:24:24 +02:00
  • 5a73149565 Core/DBLayer: Fix a typo in a field type/size - npc_vendor Closes #5863 Nay 2012-03-24 04:05:37 +00:00
  • ecbe34cdd2 Core/Warden: Fix warning leak 2012-03-24 01:56:40 +01:00
  • 12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements leak 2012-03-24 01:25:08 +01:00
  • cd65b39860 Protocol/Opcodes: More opcodes Subv 2012-03-23 18:24:22 -05:00
  • f231d73fe4 Protocol/Opcodes: Added 1 more opcodes Subv 2012-03-23 17:28:17 -05:00
  • 6e75c15850 Core/Achievements: Updated structure of SMSG_ALL_ACHIEVEMENT_DATA Shauren 2012-03-23 22:45:44 +01:00
  • 8e96b86715 Correct codestyle from previous commit kandera 2012-03-23 13:11:32 -03:00
  • af48083d86 Core/Spells: Fix improved unholy presence removal. Kandera 2012-03-23 09:54:34 -04:00
  • 01c997c60f Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart Kandera 2012-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/Download Spp 2012-03-23 05:35:32 +01:00
  • b95d148dbe Protocol/Opcodes: Added a few more opcodes Subv 2012-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 Shauren 2012-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; ShinDarth 2012-03-22 21:50:13 +00:00
  • a2818cc442 Merge pull request #5837 from w1sht0l1v3/AK Machiavelli 2012-03-22 12:11:19 -07:00
  • ee305cbb26 Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting. w1sht0l1v3 2012-03-22 12:54:31 +02:00
  • ac4536327f Core/SAI: Allow using SMART_TARGET_ACTION_INVOKER with SMART_ACTION_MOVE_TO_POS Subv 2012-03-21 19:37:21 -05:00
  • d521d75fae Merge pull request #5825 from w1sht0l1v3/ToCr Machiavelli 2012-03-21 13:25:42 -07:00
  • e8c3cb1c10 Scripts/ToCr/Val'kyr Twins: Fix orb targeting. w1sht0l1v3 2012-03-21 22:17:34 +02:00
  • e4ee3788e7 Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being interrupted by other spells. Machiavelli 2012-03-21 12:42:45 +01:00
  • 6d9dbefe94 Core/Units: Fix issues with threat management on phase changes Elron103 2012-03-20 18:27:25 +01:00
  • ec3d3782ce DB/Gossip: Quel'Danas gossips Closes #5803 Malcrom 2012-03-20 15:22:26 -02:30