Commit Graph

  • 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
  • c7b48c1ca9 Add PlayerScript hooks: * OnMoneyChanged * OnGiveXP * OnReputationChange * OnChat * OnEmote * OnTextEmote silinoron 2010-08-11 22:53:31 -07:00
  • ce29cfa7f7 Fixed linker errors caused by my foolishness. silinoron 2010-08-11 21:24:09 -07:00
  • 0963cb3aea Implement a PlayerScript class with a handful of new hooks: * OnPVPKill * OnCreatureKill * OnPlayerKilledByCreature * OnPlayerLevelChanged * OnPlayerFreeTalentPointsChanged * OnPlayerTalentsReset * More hooks may be added in the future silinoron 2010-08-11 19:52:58 -07:00
  • bd1f9ceaf9 Fix Emalon + adds AI initialization Machiavelli 2010-08-12 03:38:34 +02:00
  • 0d73f6cc7e BuildSystem/OSX: Utilize system-installed crypto.dylib - should help a little bit more on OSX-compiles click 2010-08-12 03:18:37 +02:00
  • a7c3ac2e19 Buildsystem/Windows: Adjust the installation-parameters for ACE to install only the compiled runtime binary (.dll-file), not .lib-files etc (Thanks to paradox for the heads up) click 2010-08-12 01:46:47 +02:00
  • eec9212ee4 Dungeon Finder: Fix bad dungeon selection being show at offer continue rolechecks Spp 2010-08-12 00:02:15 +02:00
  • 5b1b713aa6 Dungeon Finder: Fix rolechecks. All checks with less that 5 players were being rejected Spp 2010-08-12 00:06:53 +02:00
  • 293ed49eaa Buildsystem: Ensure that we're on a Windows-platform if attempting to load Windows-specific includefiles (Why the hoot can't Microsoft use the same things as the rest of the world, and stick to standards!?) click 2010-08-11 22:26:39 +02:00
  • 113d05b9d5 Buildsystem/Windows: Adjust includepaths slightly for extractortools to work properly with VC9 click 2010-08-11 22:08:12 +02:00
  • 5a2b6cc0fb This is why we need to be consistent in the code, so we can find and replace globally without having to check out every individual file. Fixes build. Machiavelli 2010-08-11 22:07:01 +02:00
  • d5270f9e0d Globally find & replace InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap) -> InstanceScript* GetInstanceScript(InstanceMap* pMap) const, this makes sure instance scripts get initialized properly and prevents crashes in scripts. NOTE: this either breaks or fixes crlf, have no time to check now. Machiavelli 2010-08-11 21:52:44 +02:00
  • f630c5ad71 Buildsystem/Windows: Make VS9.0 shut up when compiling libmpq under windows (Why can't MS include standard headers in reasonable locations!) click 2010-08-11 21:39:19 +02:00
  • 79cf28383e Add missing file from previous commit click 2010-08-11 21:06:21 +02:00
  • 780ed1b01c Buildsystem: Clean up build-process on all platforms - Windows: Use CMAKE_INSTALL_PREFIX as a 'final install' directory (thanks to paradox for the preload-handling) (New target INSTALL, -not- included as part of ALL_BUILD (must be specifically run for installation to start) - All: Build libmpq library (used for tools) - All: Build extractiontools with hardlinked mpq-library (no need to install it anymore) - All: Move jemalloc from being harddefined to using a CMake string (fixes issue 3378) (thanks to tru.bazoozoo for the idea, alternative added) click 2010-08-11 20:55:14 +02:00
  • f482bb1cd5 Dungeon Finder: Fix proposal window dungeon display Spp 2010-08-11 17:31:34 +02:00
  • fab120c87c externals/libmpq: sync with upstram provider (r308) click 2010-08-11 17:07:56 +02:00
  • 24031cd6b9 Buildsystem: Removed unused MemoryLeaks files Buildsystem/Windows: WheatyExceptionReport is now build in worldserver and authserver instead of shared (fixes crash reports not being generated) Shauren 2010-08-11 16:59:36 +02:00
  • c53bec73f1 Dungeon Finder: Use DisableMgr and dungeon Saves in dungeon lock list Spp 2010-08-11 16:17:05 +02:00
  • 41534a1324 Dungeon Finder: Add proposals, find group algorithm and teleport support Spp 2010-08-11 15:55:27 +02:00
  • f9468e7e5d Dungeon Finder: Add LFG support to groups Spp 2010-08-11 15:20:20 +02:00
  • 23c4b1be25 Dungeon Finder: minor improvements and code clean-ups - Initialize all packet size properly - Updated all function documentation - Add placeholders to all LFG opcodes - Use lowguids wherever is possible Spp 2010-08-11 13:25:14 +02:00
  • ac4df5204b Dungeon Finder: Improve Join and UpdateRoles and move queue to main class Spp 2010-08-11 12:44:49 +02:00
  • 4b62042b28 Dungeon Finder: Make player internal Lfg data private and some minor cleanups Spp 2010-08-11 11:54:03 +02:00
  • 2638d24926 Dungeon Finder: redo CheckGroupRoles, sometimes it was accepting wrong roles as valid Spp 2010-08-11 11:27:36 +02:00
  • 3002300e71 Backed out changeset 2f79fd19c2c5 - needs some more thought, sorry - I promise it will work better once I got it sorted properly! click 2010-08-10 23:11:40 +02:00
  • 29e152f42b Buildsystem/Windows: Use CMAKE_INSTALL_PREFIX as result-dir for output (Thanks to Paradox) (Suggested change for genrevisions default path retained to avoid breaking earlier builds, and it's not really a "server binary") Fixes issue 3366 click 2010-08-10 22:40:34 +02:00
  • fc45c6db07 Added internal cooldown for the following (both heroic and normal versions): Althor's Abacus Corpse Tongue Coin Dislodged Foreign Object Phylactery of the Nameless Lich Whispering Fanged Skull Ashen Verdict rings Shauren 2010-08-10 20:40:37 +02:00
  • 36d1405b52 Fixed bug allowing players to enter instance even if selected difficulty was disabled Added map id to log when player tries to enter disabled map Shauren 2010-08-10 19:40:35 +02:00
  • 4f9ec558f4 Buildsystem/Linux: Remove -DCENTOS flag and enforce linking with ncurses in case of older revisions of CentOS (thanks to QAston and vaska94/kingwee) Closes issue 2908 click 2010-08-10 19:15:50 +02:00
  • b29e64bd1f BuildSystem: Removed old, unused option Shauren 2010-08-10 15:25:50 +02:00
  • 88965d9419 Fixed honor points and arena points displaying in currency tab Currencies lost (spent all in vendor) are not removed from known currencies tab, they now display 0 count Shauren 2010-08-10 13:26:07 +02:00
  • 719f770a56 *Fix typo in 9240 sql file *Fix typo in my previous commit Spp 2010-08-10 10:00:57 +02:00
  • edf9fe17d2 Fix typo in world_scripts_full. Spp 2010-08-10 09:35:03 +02:00
  • 231a1bfe45 Small fix for the Flame Tsunami DoT debuff. It isnt perfect yet, correct factions for Lava Blaze and Flame Tsunami NPCs are needed to remove hack. * SQL needed John Holiver 2010-08-09 19:05:53 -03:00
  • 58a219b4b6 BuildSystem/Windows: "compress" setting compiler flags into one statement Shauren 2010-08-09 23:54:22 +02:00
  • a8303b38e6 Merge click 2010-08-09 23:17:02 +02:00
  • 816acb11a4 BuilSystem: Clean up some small but annoying things from my earlier commits: - return to using default CMake buildconfiguration (release, relwithdebinfo, debug, minsizerel Note: These are not yet populated as buildmodes : relwithdebinfo / minsizerel (will be created later) - change it so that genrev creates revision.h properly (after genrev has been compiled successfully) - split scripts/game PCH creation depending on which part a user wants to compile (default on) (thanks shauren) click 2010-08-09 23:14:16 +02:00
  • cecb8117d5 Aaand, finally, scripting is working. Thanks to Derex for helping with debugging/suggestions. XTZGZoReX 2010-08-09 16:07:03 -05:00
  • 5709c8be0d achievement_criteria_data data type 11 is now handled by core team (as its purpose is scriptname only) Reimporting of SQL is not needed Shauren 2010-08-09 22:08:03 +02:00
  • 4b5c9552cb BuildSystem/Windows: Add RelWithDebInfo configuration-type (reverts previous commit for fixups with RelWithDebInfo buildtype) + Stuff revision.h in under genrev project (yay, another project removed from projectlist) click 2010-08-09 21:36:03 +02:00
  • 79dcd5859a BuildSystem/Windows: Force creating debug information in Release build if DEBUG is selected in cmake Shauren 2010-08-09 19:19:02 +02:00
  • c132b5d08d Fixed script name for announcer in Trial of the Champion Shauren 2010-08-09 20:56:40 +02:00
  • 3d48c480ce Fix: append a .c_str() on a variable in Spell.cpp (no more grumpy compilers) - Thanks to StormByte for the heads up Fixes issue 3343 click 2010-08-09 20:20:55 +02:00
  • 8c49f2bc0d Buildsystem: Copy configuration-file over to binaries-directory on MSVC after successfully compiling authserver/worldserver). (Default .dist extensions for the filenames are used to not overwrite possible changes from earlier runs or compilations). click 2010-08-09 20:18:31 +02:00
  • 70fc93da7b * Get rid of virtual function calls completely, seeing as they weren't necessary. Thanks to Ge0rG and Derex for enlightening me about this..... * Also add map ID for EoE instance script (thanks Silinoron). XTZGZoReX 2010-08-09 19:53:21 +02:00
  • a094d3e281 Properly initialize instance scripts with the appropriate map id to avoid loadup errors. silinoron 2010-08-09 10:37:28 -07:00
  • 1f52153410 Backed out changeset f751065ec933 Spell rep rate was already implemented by QAston Brian 2010-08-09 11:33:31 -06:00
  • f5399618d9 Implement reputation rates and aura effects for Spell::EffectReputation() (thanks Lynx3d) azazel 2010-08-09 23:22:31 +06:00
  • 5643dee52f Avoid explicit client max level use for selction of bg/arena bracket. This allows to use brackets like 85-89 existing for some maps (if server allows levels more than 80) (thanks VladimirMangos) azazel 2010-08-09 23:09:36 +06:00
  • 464c0c1611 * Process GAMEOBJECT_TYPE_FISHINGHOLE in normal way as for other GO's (thanks NoFantasy) * Improve process for Use() of GAMEOBJECT_TYPE_SUMMONING_RITUAL (thanks NoFantasy) azazel 2010-08-09 22:50:30 +06:00
  • 45bb540b02 Added tag 335a-stable for changeset be74b1c64536 Brian 2010-08-09 09:54:52 -06:00
  • 72d27a34fd Clean up some doubledefined ScriptPCH.h includes click 2010-08-09 16:24:13 +02:00
  • 099b66a899 * Fixed issue in OutdoorPvPMgr::LoadTemplates. (Note to self: don't take the address of a temporary, damnit) XTZGZoReX 2010-08-09 14:58:50 +02:00
  • 4688d5ab27 * Fix genrev not being found under Linux * Thanks woron Brian 2010-08-09 05:01:05 -06:00
  • a038772b3e * Remove Player::SetSession (obsolete and dangerous function). * Speed up map script searches (avoid redundant loops). * Fix linking errors for ScriptObject::RegisterSelf. XTZGZoReX 2010-08-09 11:07:23 +02:00
  • 4392b95703 Fixed scriptName check in achievement_criteria_data loader Shauren 2010-08-09 10:56:59 +02:00
  • 6729518dbb Buildsytem/All: Clean up main CMakeLists.txt a tad bit - Move genrevision subproject into own folder to avoid clutter (less junk) - Make options a bit more understandable (for CMake GUI) - Arrange CMakeLists.txt actions into subsections so it's easier to understand click 2010-08-09 05:22:58 +02:00
  • fa8a826656 *(More) correct implementation of SPELL_EFFECT_PULL_TOWARDS_DEST(145) QAston 2010-08-09 02:31:42 +02:00
  • abd261b1a1 Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart - should fix the "linking scripts" failure (not tested) click 2010-08-09 01:52:26 +02:00
  • 910864c856 *Missing ScriptName column in achievement_criteria_data loader. QAston 2010-08-09 00:12:54 +02:00
  • ede953500b Fixed line endings in 9237_world_outdoorpvp_template.sql Remove no longer existing scripts from ScriptLoader Shauren 2010-08-08 22:57:07 +02:00
  • ebc0821e88 set correct script in class instance the eye, remove line endings in g3dlite\g3d\ray.h Supabad 2010-08-08 22:49:20 +02:00
  • d75011c4a8 * Fix SQL errors, again thanks to Machiavelli. XTZGZoReX 2010-08-08 22:05:28 +02:00
  • 93bca275aa * Fix possible crash, thanks to Machiavelli for spotting it. XTZGZoReX 2010-08-08 22:02:11 +02:00
  • 936e641b84 Fix. XTZGZoReX 2010-08-08 14:37:58 -05:00
  • db75157d74 Fixed icons for windows Shauren 2010-08-08 21:04:56 +02:00
  • e15d1c37f4 Add a compileflag for authserver/worldserver/scripts that allows GCC-users to catch (if any) a few bugs that are otherwise (normally) optimized away. + Adjust .hgignore slightly (remove lock on MSVC-projects, we have none) + Properly upload the corrected version of the whitespace-script (sigh...) click 2010-08-08 21:02:56 +02:00
  • e5c797cef6 * Fix remaining errors in scripts project * Remove now obsolete ScriptedInstance.h file azazel 2010-08-09 00:56:10 +06:00
  • b3b7ffdfeb [FIX] Intravenous Healing Potion. Thanks Gyullo. John Holiver 2010-08-08 15:59:17 -03:00
  • 617a56ba29 *Implement spell casting on transports (no more out of range error, etc) *Add MO transports to ObjectAccessor storage *Add functions Position::RelocateOffset and Position::GetPositionOffsetTo to help offset manipulations - BIG thanks to azazelkon for creating formulas! *Add function to output debug info for MovementInfo and SpellCastTargets *Throw ByteBufferException on incorrect packGUID read *Add rfinish function to finish bytebuffer read. QAston 2010-08-08 20:32:14 +02:00
  • 48c4d4551c Fix. XTZGZoReX 2010-08-08 13:06:17 -05:00
  • 39ab39f6cb Source code for the scripts converter. NOTE: It is pretty straighforward and ugly, so make sure you check all the changes it does. :P azazel 2010-08-09 00:01:35 +06:00
  • 1f80c7b3c0 Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly click 2010-08-08 19:45:53 +02:00
  • 31160bcfce Buildsystem/Windows: Minor adjustment to use the correct "environment"-variable in both VS2008 and VS2010 click 2010-08-08 19:11:57 +02:00
  • 590199d8e1 * Rename InstanceData to InstanceScript * Rename *mgr to their new names in scripts project * Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker. azazel 2010-08-08 22:54:58 +06:00
  • 8a69e50d6a Buildsystem/Windows: Put all finished products (compiled executables and external DLLs) in BUILDDIR/bin/<builddtype>/ (Some cleanups will be done to this later, this is just POC for developers) click 2010-08-08 18:34:35 +02:00