Commit Graph

  • 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
  • 1bc842e0d7 Dungeon Finder: Add Consistency cleaner This is temporaly added to check if there are inconsistencies in dungeon finder. Will be removed after a period of time with no reports Spp 2010-08-14 02:05:05 +02:00
  • 8b057babf2 *Fix typo in r7dd45a018254, thanks to Shauren for narrowing the falling issue to that rev. QAston 2010-08-13 20:53:33 +02:00
  • e413f20069 Core/Chat: Fix some typos and non-converted #if-statements click 2010-08-13 18:02:59 +02:00
  • 3e29ae1ee8 Dungeon Finder: Add vote kick support Spp 2010-08-13 15:38:10 +02:00
  • 55705e91d4 Buildsystem: Modified genrev to properly generate build type string (Release/Debug etc.) Removed code that should not be there from previous revision Shauren 2010-08-13 13:53:33 +02:00
  • 30468a106f Moved battleground achievement scripted checks into scripts Call ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL updates in code Implemented achievements: Save the Day, Quick Cap, Warsong Expedience Shauren 2010-08-13 13:48:59 +02:00
  • 9bd2619425 Fixed memory leaks at guild unload/disband (author: porteyoplait) azazel 2010-08-13 17:39:43 +06:00
  • 0f378aac24 Dungeon Finder: Fix Teleport issues - Trying to leave the dungeon using the portal will teleport you back to the save point - If group is disbanded all people is teleported out Spp 2010-08-13 09:24:24 +02:00
  • 4558ac1d2a Fix typo in previous commit that broke Dungeon Finder Spp 2010-08-13 08:54:01 +02:00
  • 663bd9404a Dungeon Finder: Change ASSERT with returns wherever is possible. If it affects packets then make sure it fills the correct data. Spp 2010-08-13 08:06:04 +02:00
  • b98874fce0 Make access to ObjectMgr´s creature and gobject respawntime storage threadsafe. (TODO: Maybe this should be stored on map level instead) Fixes issue #3006 Fixes issue #3071 Machiavelli 2010-08-13 01:16:50 +02:00
  • 91eed572af externals/libmpq: sync with upstream repository [r309] - thanks to ge0rg! click 2010-08-13 00:00:59 +02:00
  • 999bae68a4 Add null check to prevent a crash. Spp 2010-08-12 20:31:49 +02:00
  • 03a0bcad09 Buildsystem/Windows: Set preload.cmake and related function as examples, and not actively used - Sets the default CMAKE_INSTALL_PREFIX to <programfiles location>/<projectname> on Windows click 2010-08-12 19:13:15 +02:00
  • 76bbd66d76 SQL: Rename SQL-file from [9332] to reflect the db it belongs to click 2010-08-12 18:57:02 +02:00
  • ed08bedc6e * Modify PlayerScript::OnChat hook. Now it takes one optional parameter of type void *. Value of this parameter depends on chat type. * Modify chat and emote hook in PlayerScript to take Player parameter insted on WorldSession (this is player script, isn't it?) * Move calls of OnChat hooks after validation of parameters and before actual call to chat methods. It's more logical because otherwise it will be necessary to repeat validation inside hooks. * Make use of new PlayeScript hooks. Move chat logging logic into separate script. * Add one path to scripts CMakeLists to make ChatLogScript happy. azazel 2010-08-12 22:33:45 +06:00
  • f9997b7eb3 *Typofix - thanks Paradox for spotting QAston 2010-08-12 18:13:11 +02:00
  • f8eed4da58 Add checks to prevent some player stats from overflowing thus making such exploits as 65k SP impossible. This change affects such stats as spell power, feral AP, mana regen and health regen. azazel 2010-08-12 22:07:56 +06:00
  • a630f78c98 *Remove transports from world on MapManager delete - thanks to click for help. QAston 2010-08-12 18:06:40 +02:00
  • 087b273ad3 Added possibility to start timed achievements with already lost time (will be used in battlegrounds) Shauren 2010-08-12 13:38:31 +02:00
  • ce5cf139f7 Buildsystem: compile libmpq only with TOOLS Shauren 2010-08-12 13:35:00 +02:00
  • 898d57f09b Minor sql cleanup, no need to re-apply anything. teacher 2010-08-12 09:22:54 +02:00
  • c6b4309f1e * Unsummon pet if direct control spell expire out of visibility range from owner (base on VladimirMangos changes) * Move repeating code to separate method azazel 2010-08-12 12:14:32 +06:00