Commit Graph
9350 Commits
Author SHA1 Message Date
Machiavelli 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.

--HG--
branch : trunk
2010-08-11 22:07:01 +02:00
Machiavelli 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.

--HG--
branch : trunk
2010-08-11 21:52:44 +02:00
click f630c5ad71 Buildsystem/Windows: Make VS9.0 shut up when compiling libmpq under windows (Why can't MS include standard headers in reasonable locations!)
--HG--
branch : trunk
2010-08-11 21:39:19 +02:00
click 79cf28383e Add missing file from previous commit
--HG--
branch : trunk
2010-08-11 21:06:21 +02:00
click 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)

--HG--
branch : trunk
2010-08-11 20:55:14 +02:00
Spp f482bb1cd5 Dungeon Finder: Fix proposal window dungeon display
--HG--
branch : trunk
2010-08-11 17:31:34 +02:00
click fab120c87c externals/libmpq: sync with upstram provider (r308)
--HG--
branch : trunk
2010-08-11 17:07:56 +02:00
Shauren 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)

--HG--
branch : trunk
2010-08-11 16:59:36 +02:00
Spp c53bec73f1 Dungeon Finder: Use DisableMgr and dungeon Saves in dungeon lock list
--HG--
branch : trunk
2010-08-11 16:17:05 +02:00
Spp 41534a1324 Dungeon Finder: Add proposals, find group algorithm and teleport support
Note: Adds hability to find a group and be teleported to dungeon, but no rewards yet (WIP)

--HG--
branch : trunk
2010-08-11 15:55:27 +02:00
Spp f9468e7e5d Dungeon Finder: Add LFG support to groups
--HG--
branch : trunk
2010-08-11 15:20:20 +02:00
Spp 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

--HG--
branch : trunk
2010-08-11 13:25:14 +02:00
Spp ac4df5204b Dungeon Finder: Improve Join and UpdateRoles and move queue to main class
--HG--
branch : trunk
2010-08-11 12:44:49 +02:00
Spp 4b62042b28 Dungeon Finder: Make player internal Lfg data private and some minor cleanups
--HG--
branch : trunk
2010-08-11 11:54:03 +02:00
Spp 2638d24926 Dungeon Finder: redo CheckGroupRoles, sometimes it was accepting wrong roles as valid
--HG--
branch : trunk
2010-08-11 11:27:36 +02:00
click 3002300e71 Backed out changeset 2f79fd19c2c5 - needs some more thought, sorry - I promise it will work better once I got it sorted properly!
--HG--
branch : trunk
2010-08-10 23:11:40 +02:00
click 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

--HG--
branch : trunk
2010-08-10 22:40:34 +02:00
Shauren 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

--HG--
branch : trunk
2010-08-10 20:40:37 +02:00
Shauren 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

--HG--
branch : trunk
2010-08-10 19:40:35 +02:00
click 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

--HG--
branch : trunk
2010-08-10 19:15:50 +02:00
Shauren b29e64bd1f BuildSystem: Removed old, unused option
--HG--
branch : trunk
2010-08-10 15:25:50 +02:00
Shauren 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

--HG--
branch : trunk
2010-08-10 13:26:07 +02:00
Spp 719f770a56 *Fix typo in 9240 sql file
*Fix typo in my previous commit

Note to self: next time review the changes, not just C&P the delete from 9240*.sql

--HG--
branch : trunk
2010-08-10 10:00:57 +02:00
Spp edf9fe17d2 Fix typo in world_scripts_full.
Closes issue 3367

--HG--
branch : trunk
2010-08-10 09:35:03 +02:00
John Holiver 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

--HG--
branch : trunk
2010-08-09 19:05:53 -03:00
Shauren 58a219b4b6 BuildSystem/Windows: "compress" setting compiler flags into one statement
--HG--
branch : trunk
2010-08-09 23:54:22 +02:00
click a8303b38e6 Merge
--HG--
branch : trunk
2010-08-09 23:17:02 +02:00
click 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)

--HG--
branch : trunk
2010-08-09 23:14:16 +02:00
XTZGZoReX cecb8117d5 Aaand, finally, scripting is working. Thanks to Derex for helping with debugging/suggestions.
--HG--
branch : trunk
2010-08-09 16:07:03 -05:00
Shauren 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

--HG--
branch : trunk
2010-08-09 22:08:03 +02:00
click 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)

--HG--
branch : trunk
2010-08-09 21:36:03 +02:00
Shauren 79dcd5859a BuildSystem/Windows: Force creating debug information in Release build if DEBUG is selected in cmake
--HG--
branch : trunk
2010-08-09 19:19:02 +02:00
Shauren c132b5d08d Fixed script name for announcer in Trial of the Champion
--HG--
branch : trunk
2010-08-09 20:56:40 +02:00
click 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

--HG--
branch : trunk
2010-08-09 20:20:55 +02:00
click 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).

--HG--
branch : trunk
2010-08-09 20:18:31 +02:00
XTZGZoReX 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).

--HG--
branch : trunk
2010-08-09 19:53:21 +02:00
silinoron a094d3e281 Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
--HG--
branch : trunk
2010-08-09 10:37:28 -07:00
Brian 1f52153410 Backed out changeset f751065ec933
Spell rep rate was already implemented by QAston

--HG--
branch : trunk
2010-08-09 11:33:31 -06:00
azazel f5399618d9 Implement reputation rates and aura effects for Spell::EffectReputation() (thanks Lynx3d)
--HG--
branch : trunk
2010-08-09 23:22:31 +06:00
azazel 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)

--HG--
branch : trunk
2010-08-09 23:09:36 +06:00
azazel 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)

--HG--
branch : trunk
2010-08-09 22:50:30 +06:00
Brian 45bb540b02 Added tag 335a-stable for changeset be74b1c64536
--HG--
branch : trunk
2010-08-09 09:54:52 -06:00
click 72d27a34fd Clean up some doubledefined ScriptPCH.h includes
--HG--
branch : trunk
2010-08-09 16:24:13 +02:00
XTZGZoReX 099b66a899 * Fixed issue in OutdoorPvPMgr::LoadTemplates. (Note to self: don't take the address of a temporary, damnit)
--HG--
branch : trunk
2010-08-09 14:58:50 +02:00
Brian 4688d5ab27 * Fix genrev not being found under Linux
* Thanks woron

--HG--
branch : trunk
2010-08-09 05:01:05 -06:00
XTZGZoReX a038772b3e * Remove Player::SetSession (obsolete and dangerous function).
* Speed up map script searches (avoid redundant loops).
* Fix linking errors for ScriptObject::RegisterSelf.

--HG--
branch : trunk
extra : rebase_source : 2ba48fdab4e119c6de7fe64e47c5b8115fdac1b5
2010-08-09 11:07:23 +02:00
Shauren 4392b95703 Fixed scriptName check in achievement_criteria_data loader
--HG--
branch : trunk
2010-08-09 10:56:59 +02:00
click 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

--HG--
branch : trunk
2010-08-09 05:22:58 +02:00
QAston fa8a826656 *(More) correct implementation of SPELL_EFFECT_PULL_TOWARDS_DEST(145)
--HG--
branch : trunk
2010-08-09 02:31:42 +02:00
click 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)

--HG--
branch : trunk
2010-08-09 01:52:26 +02:00