Commit Graph

  • 6501948dc8 Buildsystem/Core: Adjust filenames to their correct case click 2010-08-20 02:10:08 +02:00
  • c75ab7fd28 Dungeon Finder: Add a check to avoid rolechecks with no dungeon (Only happen with groups loaded from DB) This fixes a crash in UpdateProposal. Spp 2010-08-20 01:27:05 +02:00
  • cf3c9b4ed6 merge silinoron 2010-08-19 16:13:42 -07:00
  • ac59ff802b Switch to using SIMD-oriented Fast Mersenne Twister for random number generation. In testing, reduced random number generation time by a factor of 8-10. Drops support for processors older than Pentium 4. Drop Mersenne Twister library; use a C++ SFMT library. silinoron 2010-08-19 16:13:10 -07:00
  • ccd1e66e56 Core/Scripts: Onyxia movement before phase 2 John Holiver 2010-08-19 17:50:38 -03:00
  • 21cf500cb1 Core/Scripts: Fix build - AND DON'T USE SPACES IN FOLDERNAMES PLEASEKTHX! click 2010-08-19 20:47:32 +02:00
  • d58e19385f Fix combustion crits with area of effect spells - patch by moriquendu. silinoron 2010-08-19 10:37:20 -07:00
  • 5a237a8ea9 Add missing holiday id <-> BG id definition for AB (by Quriq14) azazel 2010-08-19 22:24:22 +06:00
  • 717aac1663 Merge Machiavelli 2010-08-19 16:43:50 +02:00
  • 17d0382cd4 Fix a crash in transaction commands. Fixes issue #3495 Machiavelli 2010-08-19 16:41:43 +02:00
  • a693f49bd1 Vehicles: Prohibit entering vehicle in combat only if it is a multi-passenger mount Scripts/Icecrown Citadel: Changed Bone Spike id and remove teleport z+3 hack, its a vehicle, thx wowgargamel Scripts/Icecrown Citadel: Fixed typo in variable name, thx Paradox Scripts/Icecrown Citadel: Added warning emote for Bone Storm Shauren 2010-08-19 16:40:47 +02:00
  • 46438f9f92 - Call mysql_thread_end() for every deleted MySQLConnection instance, should fix the ¨Error in my_thread_global_end(): X threads didn't exit¨ issue. (Thanks to Aokromes for testing) - Add some debug info to help trace down the other causes of the shutdown crash. Machiavelli 2010-08-19 16:35:52 +02:00
  • 7d915911f9 Properly end mysql connections and libraries on exit. Machiavelli 2010-08-19 15:47:29 +02:00
  • 7bac588be2 Solve one of the few culprits that cause authserver and worldserver to exit improperly after the recent database layer changes. Machiavelli 2010-08-19 15:37:53 +02:00
  • 30bcf8c659 Scripts/Spell: extend SpellScript class: add target aura accessors and functions which prevent various effects of the spell from being executed. Check out SpellScript.h for details QAston 2010-08-19 14:31:31 +02:00
  • d4605c5f7f Fix (in theory) bug (already tapped error) for spells with banish mechanics (Banish, Cyclone). Closes issue #1945. Closes issue #2402. azazel 2010-08-19 16:20:06 +06:00
  • 72e13547d0 Config: Cosmetic changes in worldserver.conf file Spp 2010-08-19 10:55:11 +02:00
  • cd7dac2957 Scripting: Skadi the Ruthless can now be removed from his drake with 3 harpoon strikes changed on patch 3.3.2 thanks to aokromes for pointing the change Supabad 2010-08-19 10:56:49 +02:00
  • 9b13fa8688 Fix typo in SQL (yet again, now with correct spell id) azazel 2010-08-19 11:27:30 +06:00
  • 888a13fb15 Fix typo in SQL azazel 2010-08-19 09:54:27 +06:00
  • 3932fc8c83 - Fix Linux build (huge thanks to Aokromes for testing as always) - Some work towards resolving the crash on shutdown by implementing a shutdown task Machiavelli 2010-08-19 00:13:09 +02:00
  • fb9c6c96c7 Dungeon Finder: Some optimizations to find algorithm * Select first match as valid (Before it was storing all possible and later selecting one) * Add some checks to make sure no unnecessary calcs are done Spp 2010-08-18 22:50:04 +02:00
  • eebb36ba58 Dungeon Finder: Fix a possible crash in UpdateProposal Spp 2010-08-18 22:32:11 +02:00
  • d47b9851cd This should fix linux build - please confirm. Machiavelli 2010-08-18 21:25:42 +02:00
  • 95f0d56077 Core/Scripts: Fix even more scriptbugs from convertion (thanks to Kierkegaard) click 2010-08-18 20:35:29 +02:00
  • 8bf208c0fd Core/Spells: SPELL_ATTR_CU_IGNORE_ARMOR to Impale(65919) several difficulties John Holiver 2010-08-18 15:21:24 -03:00
  • d845a903b1 DBLayer: - Use ACE_Future and ACE_Future_Set for async SQL queries with callback * Callbacks will now be executed from the thread and object that scheduled the request, instead of the world runnable thread (and thus are no longer dependent on the 50ms forced sleep time). * This design gets rid of a potential DOS loophole in the resultqueue system - unique requests will be cancelled when re-requested. - Drop now redundant SQLQueryTask, SQLResultQueue, SQLResultQueueTask operations. - Drop now redundant CharacterHandler class - Change static callback functions in WorldSession to normal functions. Machiavelli 2010-08-18 19:48:51 +02:00
  • 2ffe785765 Core/Spells: add SPELL_ATTR_CU_IGNORE_ARMOR to the avalible custom attribute list, make some spells use the attribute. Research made with JohnHoliver and Shauren QAston 2010-08-18 19:26:07 +02:00
  • b8a613647f Core/ObjectMgr: Prevent vehicleid from having an incorrect value when reloaded with .reload creature_template. enjoi 2010-08-18 15:49:51 +01:00
  • 71a5320eda Scripts: Added script for Lord Marrowgar Added base script for Icecrown Citadel instance Shauren 2010-08-18 17:19:47 +02:00
  • cb70376c6e *Backout radaaba37a4. Brings back command table caching. Thanks to Machiavelli for spotting the issue. QAston 2010-08-18 15:06:28 +02:00
  • 5e78e222c1 Core/Spells: Implement TARGET_DEST_CHANNEL_CASTER(106) and TARGET_GAMEOBJECT_AREA_PATH(108). Rename TARGET_UNIT_CHANNEL to TARGET_UNIT_CHANNEL_TARGET, TARGET_DEST_CHANNEL to TARGET_DEST_CHANNEL_TARGET QAston 2010-08-18 15:04:00 +02:00
  • 9d45f29593 Making sure CreaturesAddon are re-loaded after creature evade (by NoFantasy). azazel 2010-08-18 18:10:42 +06:00
  • 694ab45bc7 Add missing header. Now project should compile without PCH as well azazel 2010-08-18 14:09:48 +06:00
  • e20a541494 Core/Vehicles: Players cannot enter a vehicle when in combat. Fixes issue 1966. enjoi 2010-08-18 06:51:59 +01:00
  • c0f3a7f9ef Core/spells: move 20425 Guarded by the Light spell from Warlock spells to Paladin spells. azazel 2010-08-18 12:26:17 +06:00
  • 7d8146f989 Buildsystem/Core: Adjust header locations in CMake for collisions and shared + clean up includes from re26dbe6981 This sorts out issues with non-PCH compiles on supported platforms. click 2010-08-18 07:17:04 +02:00
  • 774eb840e9 Properly return command table every time it is called, rather then just the first time. Fixes the issue with .command showing the wrong information. Fixes issue 3459. enjoi 2010-08-18 04:50:22 +01:00
  • d6fe4b23e9 Add support for recruit-a-friend XP and reputation multipliers. More research needs to be done to implement summoning and granting levels. silinoron 2010-08-17 19:18:09 -07:00
  • 8c4c5aef8b Buildsystem/Core: Add new includepath for collision library after changes - fixes linux-build click 2010-08-18 03:40:14 +02:00
  • 6818c8b0ba Remove redundant files that I overlooked in my previous commit. Machiavelli 2010-08-18 02:39:24 +02:00
  • ae97cfeae4 Remove a double placed line in authserver.conf.dist Machiavelli 2010-08-18 02:36:41 +02:00
  • 87218eadcd * HIGHLY EXPERIMENTAL - USE AT OWN RISK * Database Layer: - Implement connection pooling: Instead of 1 delay thread per database, you can configure between 1 and 32 worker threads that have a seperate thread in the core and have a seperate connection to the MySQL server (based on raczman/Albator´s database layer for Trinitycore3) - Implement a configurable thread bundle for synchroneous requests from seperate core threads (see worldserver.conf.dist for more info) - Every mapupdate thread now has its seperate MySQL connection to the world and characters database - Drop inconsistent PExecuteLog function - query logging will be implemented CONSISTENTLY later - Drop current prepared statement interface - this will be done *properly* later - You´ll need to update your worldserver.conf and authserver.conf - You´re recommended to make a backup of your databases before using this. * HIGHLY EXPERIMENTAL - USE AT OWN RISK * * HIGHLY EXPERIMENTAL - USE AT OWN RISK * etc. Machiavelli 2010-08-18 02:25:52 +02:00
  • 1ab2bd6d58 Dungeon Finder: Update wait time after a successful proposal Spp 2010-08-18 00:30:17 +02:00
  • 7a13043af4 Dungeon Finder: Properly remove from current and new queues after a proposal was found (Better fix than b70906fded) Spp 2010-08-18 00:32:11 +02:00
  • a4af5d5567 Buildsystem/Windows: Enable multihreaded compiling on MSVC > version 7 (report issues if any) - thanks to Leak for the heads up click 2010-08-18 00:32:31 +02:00
  • 66fcd52106 Add more methods to SpellScript. Spells cleanup: move spells from the core to scripts. azazel 2010-08-18 00:20:23 +06:00
  • 0284ed4cfe *Core/Spells: Implement TARGET_UNIT_SUMMONER *Rename TARGET_UNIT_MINIPET to TARGET_UNIT_TARGET_PUPPET. QAston 2010-08-17 20:19:06 +02:00
  • 67e7786ccc Core/SQL: Correction on SQL-file, make sure the SQL is properly formatted with a ; in the end. click 2010-08-17 16:04:50 +02:00
  • c23bb8c58d Dungeon Finder: Add null check log to track an error (Will only appear after a server crash with Lfg groups) Spp 2010-08-17 13:36:09 +02:00
  • 54b4345481 Dungeon Finder: Fix proposals when joining the queue as LfgGroup with 5 members. Success was never possible This fixes a inconsistency and a possible deadloop Spp 2010-08-17 13:18:18 +02:00
  • 0c7f37dab3 Dungeon Finder: Properly remove a player/group from queue after a proposal is formed This should fix some of the inconsistencies Spp 2010-08-17 11:38:30 +02:00
  • 6009ac3f45 Dungeon Finder: Simplify 'Offer to continue' checks and allow to join non-random dungeon after a random one is assigned Spp 2010-08-17 11:26:31 +02:00
  • 46d06a859b Dungeon Finder: Drop use of config value CONFIG_INSTANCE_IGNORE_LEVEL Spp 2010-08-17 10:24:52 +02:00
  • 407f39cbac Yay for typos... click 2010-08-17 12:09:45 +02:00
  • 3695accf50 Core: Add support for reloading gossip_scripts + add missing SQL for earlier inserted commands (gossip_menu and gossip_menu_option) Thanks to Kaelima Fixes issue 2433 click 2010-08-17 11:49:53 +02:00
  • 26386d1e20 Core: Use enum-size for CONFIG_START_ALL_EXPLORED (was hardcoded to 64, not using the proper size of the enum PLAYER_EXPLORED_ZONES_SIZE) Fixes issue 2726 click 2010-08-17 11:27:47 +02:00
  • feb71c4b7d Core/Scripts: Fix some typos in a few scripts - thanks to Kierkegaard Fixes issue 3443 Comment 3446 test if has been sorted now click 2010-08-17 10:44:41 +02:00
  • 05795303f4 FIxes sql syntax on previous commit. Of course, if you don't save the file before committing...yet again two revs for one update, and I have had coffee! teacher 2010-08-17 09:39:18 +02:00
  • 5345d82e65 Proper insert statement for 9421_world_command.sql (also help description needs an update). Re-import it if you already have imported it a first time. Added recent sql update to full. teacher 2010-08-17 09:34:59 +02:00
  • c0c9350eeb Send the right data when trying to log in with the wrong password. Thanks VladimirMangos. silinoron 2010-08-16 19:28:50 -07:00
  • 58b6090efd Rename .goname to .appear, .namego to .summon, and .groupgo to .groupsummon. Also do some cleanup in Level1.cpp. Fixes issue #3451 silinoron 2010-08-16 18:21:22 -07:00
  • a32c30d76f Some minor updates to documentation, particularly script documentation. silinoron 2010-08-16 17:38:25 -07:00
  • c8d9448887 Deleted documentation for the now-defunct AHBot. silinoron 2010-08-16 17:27:27 -07:00
  • e5b00f9b10 Buildsystem: Use "industry standard" foldernames on dpendencies + move/rename ace-folder (for future upgrades/changes). This does not break anything, it has been tested with compile etc. click 2010-08-17 02:14:20 +02:00
  • d8b2a31f70 Core: Fix minor bug with max skills value not being properly updated in the database when a player has been leveled up while offline - Thanks to Hyriuu Fixes issue 3374 click 2010-08-17 00:35:12 +02:00
  • fe90b1c974 Core/Gossip: stop log spam of unknown gossip option for quest givers. Brian 2010-08-16 14:46:51 -06:00
  • 3569130b27 Core: Use std::max instead of just max() in WheatyExceptionreport - fixes MS-platform build-issues click 2010-08-16 13:27:09 +02:00
  • 0fad74e44a Cleanup in CreatureEventAI code (based on changes by SilverIce and VladimirMangos) azazel 2010-08-16 17:07:02 +06:00
  • 40e641cc1c It might actually help you all to have the PCH-files as well... click 2010-08-16 12:19:52 +02:00
  • 105e4e16cc Buildsystem: Add PCH-support for targets shared, collision, authserver and worldserver (your mileage may vary, feedback needed) - The active configuration for these to be active is GAMEPCH, so don't expect turbospeed if not enabled. click 2010-08-16 12:14:10 +02:00
  • 29c2520506 Core/external : Reinstate ACE 5.8.1 (tested and building) click 2010-08-16 11:23:20 +02:00
  • b4bef54b7a Fix Windows-build (YES, IT COMPILES!) - partial revert of revision a9386a2655 - Use minihack on ACE to avoid using config.h on Windows platforms - Put include-locations for ACE in AFTER everything else (for later use) An insane thanks to paradox for being patient with testing changes and swapouts click 2010-08-16 09:51:37 +02:00
  • ced7262646 Use PCH to compile Ace - speeds up ace compilation Thanks click silinoron 2010-08-15 13:22:57 -07:00
  • 05e6147621 merge silinoron 2010-08-15 13:21:26 -07:00
  • 4d5296299b Backed out changeset: 6b66f86b01e4 Should fix windows compile. Blame me and click (but mostly click) silinoron 2010-08-15 13:21:05 -07:00
  • e1fe290b21 Typo Machiavelli 2010-08-15 20:13:35 +02:00
  • bbe5b58c37 Missing changes from 9372 (454971d2c6b1) Thanks to Derex for spotting. Machiavelli 2010-08-15 20:12:13 +02:00
  • e8d03e55ca Fix a crash related to concurrent access to config file by different threads. Machiavelli 2010-08-15 16:55:44 +02:00
  • 96144752be Return proper default quest status from ScriptMgr::GetDialogStatus if a creature/gameobject script was present but GetDialogStatus was not overridden. This should fix problems with creature/gameobject quest givers not giving appropriate quest (update)s Machiavelli 2010-08-15 14:00:51 +02:00
  • e3b8a5923d Core/externals: Update ACE to 5.8.1 (should fix issues with disconnects happening on servers compiled under VS2010) Update issue 3411 Status: NeedsFeedback click 2010-08-15 00:28:14 +02:00
  • f3b93df6b7 Clear player scripts and guild scripts on ScriptMgr deletion. silinoron 2010-08-14 12:44:54 -07:00
  • 791a45768f Add in a forgotten change from ra5af596979e4 . silinoron 2010-08-14 12:42:05 -07:00
  • 916c7f09f8 Buildsystem/Linux: Deprecate and remove use of FindTermcap.cmake - it was only used as a solution for older CentOS versions Core/Genrevision: Move defines from SystemConfig.h file into into revision.h (might need a rename now?) and delete it. This should remove the infamous "rebuild all of game plzkthx"-symptom when upgrading to newer revisions. click 2010-08-14 21:28:00 +02:00
  • 8d0a058411 Add a GuildScript class with a handful of hooks. silinoron 2010-08-14 12:17:05 -07:00
  • d1d7c64c43 Typo in my previous commit that broke (again, sigh!) Dungeon Finder. Spp 2010-08-14 21:06:38 +02:00
  • 9e2d863894 Dungeon Finder: Move cleaner to a new separate function as it's a teporal add. * Add new check before adding group to new queue (will avoid having a group multiple times queued) Spp 2010-08-14 19:30:15 +02:00
  • 2528e6e764 Fix typo in previous commit click 2010-08-14 18:06:32 +02:00
  • d86a0e5060 Core: Remove some useless defines (handled in the configfiles) click 2010-08-14 17:02:11 +02:00
  • a32f0e7e9d Dungeon Finder: Add minor optimization to FindNewGroups Spp 2010-08-14 15:04:52 +02:00
  • 8be278dfae Dungeon Finder: Remove players from queue when accept to join a group This fixes players being multiple times in queue Spp 2010-08-14 15:00:04 +02:00
  • d201cdd72c Fix ConditionScript, AreatriggerScript and AuctionHouseScript hook functions. Machiavelli 2010-08-14 11:00:13 +02:00
  • 075a4525d7 This should be the last of the malfunctioning AI scripts, thanks to click for the list Machiavelli 2010-08-14 10:28:45 +02:00
  • 362a1eed51 Buildsystem/Windows: Add environment-based directories to MySQL search-paths click 2010-08-14 08:39:44 +02:00
  • 3cf6af1779 Also fix npc_scarlet_miner Machiavelli 2010-08-14 05:51:29 +02:00
  • cc351c7f1c Fix script (and crash in) npc_scarlet_miner_cart Machiavelli 2010-08-14 05:47:51 +02:00
  • ff726c2792 Dungeon Finder: Add config value to Enable/Disable Dungeon Finder Spp 2010-08-14 03:25:43 +02:00
  • f12b51c218 Dungeon Finder: Mark obsolete kick as failed (missing code from ce404e62b3) Spp 2010-08-14 02:21:07 +02:00
  • 1d77667ff7 Dungeon Finder: Fix a typo that made all people being removed from queue when someone didn't accept Spp 2010-08-14 02:08:00 +02:00
  • e52886130f Dungeon Finder: Fix an error that was preventing a group from exit queue Spp 2010-08-14 02:05:49 +02:00