Commit Graph

  • 562e3955a9 Core/Logging: Change some spell log output to debug level instead of error level. Author svetilo12 Fixes issue #3793 Machiavelli 2010-09-25 17:53:20 +02:00
  • 6b65e886f2 Core/Chat: Use universal language for party leader too when allowing twoside groups Shocker 2010-09-25 18:50:36 +03:00
  • fec6143f42 Core/SocialMgr: Do not load recently deleted (but existant) characters to social (friend/ignore) lists. Fixes issue #3870 Fixes issue #3610 Machiavelli 2010-09-25 17:34:26 +02:00
  • 6bb5823836 Core/Player: Fix achievements loading from DB Machiavelli 2010-09-25 17:10:00 +02:00
  • a312a667cb Core/Player: Correctly send social list to player on login. Fixes display of number of online friends in the icon on the chat pane. Fixes issue #3807. Machiavelli 2010-09-25 17:08:55 +02:00
  • 5aaef4601a Buildsystem: Reinstate the revision.h target (as always outdated target, will be regenerated on each run) Fixes issue 4054 click 2010-09-25 16:42:55 +02:00
  • dfeb41f7d9 Core/Items: Readded enchantment loading fix Shauren 2010-09-25 15:45:52 +02:00
  • 57df06c7f5 Core/Spells: Fixed power burn effects showing mana restored to caster Shauren 2010-09-25 15:03:48 +02:00
  • 311ae331ad Core/InstanceSaveMgr: Statically define ResetTimeDelay as class member instead of redefining it in different functions Machiavelli 2010-09-25 14:47:24 +02:00
  • 24e24020d1 Core/Players: This should fix crashes related to trading soulbound items Shauren 2010-09-25 14:12:50 +02:00
  • a24b84e6f7 Core/Commands: Fix a crash in .account onlinelist Fixes issue #4176 Machiavelli 2010-09-25 13:58:29 +02:00
  • 477b30a1ad Core/DBLayer: Fix a memory leak in Field class, properly clear buffer before repopulating it. Fixes many issues (from wrong subnames on NPCs to absent GO/Creature spawns) Thanks to Rat for helping find the issue Machiavelli 2010-09-25 13:12:12 +02:00
  • 0fa7d24637 BuildSystem: Use correct variable-name for the SQL-installation Closes issue 4163 click 2010-09-25 08:06:58 +02:00
  • 62946f9ef6 Core/DBLayer: - Rewrite KeepAlive method for DatabaseWorkerPool. Use mysql_ping instead of explicit select queries, and also schedule KeepAlives for asynchronous threads. NOTE: While the function is implemented and previous keepalive calls were transformed, it´s possible the keepalive call will need to be placed in several other locations in the code. Please leave feedback on whether or not this fixes your timeout issues. Machiavelli 2010-09-25 01:05:24 +02:00
  • 154d11acc0 Core/DBLayer: - Fix another pesky linux specific compile error. (Thanks to Derex/Aokromes) - Fix a typo in an assertion. (Thanks to Derex/Aokromes) - Add proper zero termination in SetStructuredValue to get rid of memory issues that arose in the last few commits. - Fix a crash caused by vsprintf´ing std::string in SystemMgr::LoadVersion() Machiavelli 2010-09-25 01:02:40 +02:00
  • 09aeff1027 Core/DBLayer: Return proper connection handle from DatabaseWorkerPool<T>::GetConnection Updates issue #4062 Updates issue #4058 Machiavelli 2010-09-24 22:41:24 +02:00
  • e3bf89b6f7 Core/DBLayer: - Fix memory leak introduced in previous rev - Fix linux compile, thanks to Playon for reporting Machiavelli 2010-09-24 22:36:35 +02:00
  • 3c6dc32030 Core/DBLayer: - Rewrite Field class to be able to store both binary prepared statement data and data from adhoc query resultsets - Buffer the data of prepared statements using ResultSet and Field classes and let go of mysql c api structures after PreparedResultSet constructor. Fixes a race condition and thus a possible crash/data corruption (issue pointed out to Derex, basic suggestion by raczman) - Conform PreparedResultSet and ResultSet to the same design standards, and using Field class as data buffer class for both * NOTE: This means the fetching methods are uniform again, using ¨Field* fields = result->Fetch();¨ and access to elements trough fields[x]. * NOTE: for access to the correct row in prepared statements, ¨Field* fields = result->Fetch();¨ must ALWAYS be called inside the do { }while(result->NextRow()) loop. * NOTE: This means that Field::GetString() returns std::string object and Field::GetCString() returns const char* pointer. Machiavelli 2010-09-24 22:16:21 +02:00
  • b46b498141 Core/ConditionMgr: revert CONDITION_GUID, can not be coded in current system without huge rewrites Rat 2010-09-24 19:55:44 +02:00
  • d2af10618f Core/ConditionMgr: added placeholder for CONDITION_GUID renamed targetOverride to invoker removed targetOverride code (had no use) Rat 2010-09-24 18:16:29 +02:00
  • b8cc05f747 Core/Opcodes: Re-enable error log for received opcodes marked as not allowed Spp 2010-09-24 15:08:52 +02:00
  • 9b56aadde1 Core/Opcodes: Add unhandled status, by balrok Spp 2010-09-24 14:41:07 +02:00
  • 4a4d5fefae Core/Spells: Fixed damage boost part of Elemental Oath Shauren 2010-09-23 22:35:05 +02:00
  • 8a9f931184 Scripts/Icecrown Citadel: Fixed coldflame damage Shauren 2010-09-22 19:17:24 +02:00
  • eae0e5c822 Scripts/DB_Scripts: massive cleanup of SCRIPT_COMMAND_* related staff * add union into ScriptInfo structure (thanks NoFantasy for the idea); * move scripts methods from Map.cpp to new file MapScripts.cpp; * remove magic numbers and introduce eScriptFlags enumeration. azazel 2010-09-22 18:13:57 +06:00
  • 562a8c272d Core/Items: Corrected logic in Item::CanBeTraded, fixes mailing and guild banks Shauren 2010-09-22 11:19:34 +02:00
  • 9ca1efa1e2 Core/Item: This ought to fix the crashes introduced in r2969543fa5 silinoron 2010-09-21 19:56:33 -07:00
  • b21490357b Core/Object: Add an assert in Object::RemoveFlag to help explain the crash introduced in r2969543fa565b71242cb471e0e85f39203f2bce9 The crash is NOT fixed yet. silinoron 2010-09-21 19:26:59 -07:00
  • 8b5369ff3f Core/ConditionMgr: only send special error msg if condition failed Rat 2010-09-21 23:30:37 +02:00
  • d8ddf38453 Core/Items: Implemented trading soulbound loot items Core/DBLayer: Converted more more player-related queries into prepared statements Core/Items: Fixed loading of enchantments Shauren 2010-09-21 21:55:16 +02:00
  • 5eb0fd80ac Scripts/Spells: move implementation of some spells into scripts. * 41337 Aura of Anger * 46394 Burn (Brutallus) * 53302 Sniper Training * 45472 Parachute * 66118 Leeching Swarm * 51685 Prey on the Weak * 20911 Blessing of Sanctuary * 25899 Greater Blessing of Sanctuary Scripts/Spells: remove several spells implementations from core to table (requires DB data) * 31231 Cheat Death * 51662 Hunger for Blood azazel 2010-09-21 23:59:45 +06:00
  • 38be7aab55 Core/Player: Fixed client crashes at login (issue introduced in revision 1c33354f20) Shauren 2010-09-21 16:16:58 +02:00
  • 8ef673eda8 Core/Dungeon Finder: Check if system is enabled in some functions before doing anything else Spp 2010-09-21 10:16:54 +02:00
  • 7a3fd2e9bf Core/: Fix warnings Spp 2010-09-21 10:11:25 +02:00
  • 63aa6e44fb Core/Scripts: Small, insignificant cleanups Shocker 2010-09-21 04:57:08 +03:00
  • eaadad5dfd Core/Arenas: * Fix handling of Arena.ArenaStartPersonalRating * Correct some typos for some arena configs in default world configuration file Shocker 2010-09-21 04:10:01 +03:00
  • 5ffaf0d84b Core/Commands: Implement command for adding (completing) achievements Shocker 2010-09-21 03:51:14 +03:00
  • 7b3d573a16 Adding "Stable" tag for r33dc0784b31f (9916), was tested thoroughly on a 1000+ realm and seems very stable Shocker 2010-09-21 01:00:35 +03:00
  • 8e6ba6e7c9 Core/ConditionMgr: small cleanup, small fix Rat 2010-09-20 22:11:55 +02:00
  • cf93313316 Scripts/DB_Scripts: enable DB scripts to use CHAT_MSG_RAID_BOSS_WHISPER (42) as chat type Rat 2010-09-20 21:58:14 +02:00
  • f69c252f1d Buildsystem/Compilers: Adjust buildfiles slightly: - Set SSE2 compile-flags only when used on 32-bit platforms (only used on x86 platforms, as x64 / Itanium has this as a standard) - Clean up/merge some of the 64-bit/32-bit compiler options - Clean up use of the PLATFORM variable (now sets PLATFORM 32 or PLATFORM 64, shaving off the CMAKE_SIZEOF_VOID_P test slightly) click 2010-09-20 20:58:57 +02:00
  • ce2d4e9a20 Core/DBLayer: Correctly print relevant mysql prepared statement creation error to give the end-user an idea of what exactly went wrong (missing SQL updates are the culprit of creation failure 99% of the time) Machiavelli 2010-09-20 20:53:32 +02:00
  • a509976369 Core/DBLayer: Converted player login queries into prepared statements Core/DBLayer: Added missing implementation for SQLQueryHolder::SetPreparedQuery Shauren 2010-09-20 18:20:40 +02:00
  • cd40ab6776 Core/Dungeon Finder: Change all debug msgs to error. Spp 2010-09-20 14:55:01 +02:00
  • 33dc6b9d5f Core/Dungeon Finder: Multiple changes - Code Style - Explicit removal of the proposal if player leaves the queue (do not waits to ::Update) - Force to leave LFG system if group/player is joining and its already in - Change some debug msgs and fix some typos (error --> debug) - Offer to continue: Remove duplicate checks - Move body functions from .h to .cpp - Revert 11e39d620d and check if group recently joined by comparing joinTimes Spp 2010-09-20 14:06:21 +02:00
  • 822421f625 Core: Fix some warnings: - enumeration value ‘X’ not handled in switch - unused parameter 'X' Spp 2010-09-20 13:52:11 +02:00
  • 2fb80e4a86 Core/ConditionMgr: You can now hide/show the quest marks with conditions (! ?) note: check only runs at quest giver query! Using together with CONDITION_SOURCE_TYPE_QUEST_ACCEPT you can totally hide quests Rat 2010-09-20 10:19:20 +02:00
  • 1d6d11d367 Core/CharHandler: Correction on SQL-statement - fixes logincrashes when testing for banned characters click 2010-09-20 03:37:49 +02:00
  • 76e47fd795 Core/Unit: Cleanup; mostly purging a ton of dead code. TODO: Move packet stuff out of Unit into packet handlers... silinoron 2010-09-19 17:08:14 -07:00
  • 524a584345 Core/Quests: Implemented new flags to QuestFlags enum. _manuel_ 2010-09-19 21:03:07 -03:00
  • 171fcfa963 Core/Unit: Do not allow game masters to be damaged. silinoron 2010-09-19 16:48:15 -07:00
  • 7070ab49fe Contrib: make the GDB macro start logging a little bit earlier to catch the important bits click 2010-09-19 19:52:12 +02:00
  • 5de3183180 Core/ConditionMgr: You can now add conditions to QuestAccept (at CanTakeQuest check) Rat 2010-09-19 19:49:23 +02:00
  • c4ed3430cf Core/Players: Better check for weekly quests in RewardQuest function. _manuel_ 2010-09-19 13:24:21 -03:00
  • 58dafd94e2 BuildSystem/Platforms: Move platform-specific settings into respective directories, consistent with what is done with compilers. BuildSystem/GCC: Add some additional parameters when using SFMT click 2010-09-19 18:17:53 +02:00
  • 54212cf387 Contrib: Add example GDB backtrace generator script and a small readme on how to use it - Note: DO read the README file before using. (Allows for semi-automated crashreporting on GDB/*nix-based platforms with proper information included). click 2010-09-19 18:11:03 +02:00
  • 907203fdd9 Core/DBLayer: Shuffle an #include-statement around (initialize mysql connections before working on the rest) - Fixes nonPCH-builds. click 2010-09-19 17:53:45 +02:00
  • 188165b7bf Core/ObjectMgr: Fix another possible crash in guild loading. This should be the last of them. Machiavelli 2010-09-19 17:37:59 +02:00
  • 50f1e70151 Tagged revision 149aa1131e53 as 10000 Shauren 2010-09-19 17:03:20 +02:00
  • 97aeb251b8 Core/Players: Added support for single character bans Core/Commands: Renamed .ban character to .ban playeraccount (.ban character will ban only the player, not account) Shauren 2010-09-19 17:02:14 +02:00
  • 639a906664 Core/Pets: Fixed range check for water elemental Freeze Shauren 2010-09-19 17:02:08 +02:00
  • 2983dab1cb Core/Spells: Spell's damage should not interrupt auras applied by the same spell (fixes Frost Nova and water elemental Freeze), patch by dr.tenma Shauren 2010-09-19 17:02:05 +02:00
  • 21c85a155c Core/ObjectMgr: - Fix a startup crash in guild loading when loading from the guild subtables with an invalid guild ID. - Abort loading guild subtables if no entries were found in guild table - Code style cleanup in affected functions Fixes issue #4095 Machiavelli 2010-09-19 15:41:26 +02:00
  • 019103cb5a Core/DBLayer: Correct size for storing MYSQL_TYPE_FLOAT Machiavelli 2010-09-19 15:28:35 +02:00
  • 22571e9443 Core/DBLayer: - Allow storing floats in prepared statements explicitly (previously would be casted to double) - Add GetBool ¨wrapper/hack¨ to PreparedResultset class. Machiavelli 2010-09-19 15:25:50 +02:00
  • b50c931d6e Core/DBLayer: Move QueryHolder and BasicStatement operations to their own file and remove SQLOperation.cpp from revision control Machiavelli 2010-09-19 12:36:48 +02:00
  • 0982719f5f Core/DBLayer: - Declare the datatypes used to determine transaction element data (prepared statement/adhoc query string) on a generic level in SQLOperation.h - Implement variable SQL element data for SQLQueryHolder class so it can execute both prepared statements and adhoc queries - Make MySQLConnection::Query for adhoc queries return pointer to type instead of an autopointer, the autopointer is now applied on higher level code just like the function for querying prepared statements Machiavelli 2010-09-19 12:16:29 +02:00
  • a25ef43223 Core/DBLayer,ObjectMgr: ´linkedGuid´ parameter WORLD_REP_CRELINKED_RESPAWN should be uint32 Machiavelli 2010-09-19 10:53:20 +02:00
  • 12acb7dd8f Core/DBLayer: Fix syntax of some recently added prepared statements that might have caused statement creation failure on certain platforms Machiavelli 2010-09-19 10:40:10 +02:00
  • 27dd112c97 Core/DBLayer: Add an assert to trace down when a prepared statement creation has failed (99% it will be because of a bad query) - to prevent crashes at a later stage Machiavelli 2010-09-19 10:36:48 +02:00
  • 65a50ed3a2 Core/DBLayer: Some more prepared statements in ObjectMgr. Core/ObjectMgr: Some additional cleanup. silinoron 2010-09-18 19:49:17 -07:00
  • 383af00e2b Core/Spells: Allow a priest's Mana Burn to break fear. Patch by dr.tenma. Fixes issue #3985 silinoron 2010-09-18 19:26:34 -07:00
  • 48b29e6019 Scripts/Eastern Kingdoms/Scarlet Enclave: Fix some display issues. Patch by Ramor. Fixes issue #2503 silinoron 2010-09-18 19:23:13 -07:00
  • 1e127eef73 Core/DBLayer: Change some regular statements to prepared statements. Patch by thyros82@gmx.de. Fixes issue #3774 silinoron 2010-09-18 19:21:03 -07:00
  • 52282986e1 Core/Movement: Some cleanup in MovementHandler.cpp. silinoron 2010-09-18 19:08:18 -07:00
  • 40cbb494fa Core/Spells: Ebon Plaguebringer can now stack for different casters as of patch 3.1 Shocker 2010-09-19 04:10:35 +03:00
  • d297d8d637 Core/Spells: Force of Nature should scale with spell power, fixes issue 2618 Shocker 2010-09-19 04:04:28 +03:00
  • 6bad14d5a2 Core: Revert async query handling in the guild loading code to remove coding style issues. Also fixes the compiling on Linux. linencloth 2010-09-19 01:31:39 +02:00
  • 33babfa2d2 Core: Optimize guild loading linencloth 2010-09-18 21:24:05 +02:00
  • bf3abefd6a BuildSystem: Fix another typo *sighs* click 2010-09-18 22:16:35 +02:00
  • b15ceaf830 Fix typo in previous commit :P click 2010-09-18 20:02:25 +02:00
  • e88879b24d BuildSystem/Tools: Modify vmap3assembler linkflags to link Carbon framework on OSX. Fixes issue 4048. click 2010-09-18 19:45:24 +02:00
  • ef9cb8000b Scripts/Spelsl: improve 24751 Trick or Treat spell and implement 24750 Trick spell. azazel 2010-09-18 22:50:43 +06:00
  • b93cca2a8d Buildsystem: Don't build gsoap/sockets libraries unless building servers. Fixes issue 4049. click 2010-09-18 18:47:49 +02:00
  • ae13e7354a Core/DBLayer: Fix a typo. Author: 41782992@qq.com Fixes issue 4071. linencloth 2010-09-18 15:34:01 +02:00
  • 0c9aa48d91 Core/PetAI: Fix an infinite loop linencloth 2010-09-18 14:20:08 +02:00
  • 5fa7722b94 Core/Spells: Fixes certain spells that could pierce immunity auras while they shouldn't. Fixes issue #3264 Fixes issue #3471 Fixes issue #3992 Liberate 2010-09-18 12:42:17 +02:00
  • d036f7726e Core/PetAI: Implement a more correct way of findng if your pet's target has Crowd Control on it. Stuns like Hammer of Justice will not make your pet stop attacking anymore. Pet's will only stop attacking if the Crowd Control is casted by the owner of the pet. Fixes issue #4037 Liberate 2010-09-18 12:33:16 +02:00
  • 49dc1e55de Core/Utils: Fix a crash in vutf8printf. Author: Vladimir Machiavelli 2010-09-18 11:29:09 +02:00
  • 6ba1aec80c Core/Pools: Converted quest-related pool queries into prepared statements Shauren 2010-09-17 21:01:58 +02:00
  • 726e5cf466 Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for enabling/disabling SQL-query logging click 2010-09-17 20:36:29 +02:00
  • 19a76020bc Core: more cleanup at locale handling. Also fixes some problems mainly with non English languages. linencloth 2010-09-17 19:55:54 +02:00
  • 8622446ab9 Core/Creature: Despawn skinned creatures. Fixes issue 4047. linencloth 2010-09-17 15:16:26 +02:00
  • 7708e2ea06 Core/Creature: Reset loot recipient group on respawn. Fixes issue 4051. linencloth 2010-09-17 15:10:10 +02:00
  • 164d6cce65 Core: Better tracking of quest POI loading (progress bar) Shauren 2010-09-17 14:58:30 +02:00
  • 137cfa4f77 Authserver: Fixed crash when accounts limited to ip tried to login and fixes compile on gcc 4.5, thx Kondziu for pointing it out Shauren 2010-09-17 13:52:46 +02:00
  • dd1521aa55 Scripts/Spell: implement script effect of spell 24751 Trick or Treat (specially for Malcrom) azazel 2010-09-17 14:24:25 +06:00
  • d8a854d6e0 Core: Cleanup locale handling. It also fixes the recent problem of strange strings. linencloth 2010-09-17 07:04:29 +02:00
  • 5de48a67c6 Core: Optimize quest POI points loading linencloth 2010-09-17 04:25:00 +02:00
  • f12a61f9f4 Core/Map: Log grid loading only if the grid was not already active linencloth 2010-09-17 04:15:42 +02:00