Commit Graph
100 Commits
Author SHA1 Message Date
click 969bf213b8 Fix windows-build and change some warnings if configuration-files can not be read properly
- Add proper warning about missing [authserver] -tag in authserver configuration file if not found.
- Add proper warning about missing [worldserver] -tag in worldserver configuration file if not found.
Thanks to Qaston for finding the redefininition of strdup!

--HG--
branch : trunk
2010-07-29 09:00:55 +02:00
click 3296a944e7 Convert to using ACE for reading configurationfiles, and remove dependency on dotconfpp configuration library and related files
(patch by astellar - and a thankyou to vladimir for being a russian teddybear)

--HG--
branch : trunk
2010-07-29 01:22:45 +02:00
Shauren 1b382e5858 Fix a typo in 9043_world_spell_scripts.sql and fix some horrible sql style in other files
--HG--
branch : trunk
2010-07-28 22:32:52 +02:00
silinoron a9b9915744 Properly send SMSG_GROUP_INVITE even when the invite fails because the user is already in a group.
--HG--
branch : trunk
2010-07-28 12:20:42 -07:00
John Holiver 783fe4574e Implements Roxi Ramrocket, finally Engineers will be able to buy Choppers materials. Credits to BroodWyrm. Fixes #2979.
--HG--
branch : trunk
2010-07-28 16:21:45 -03:00
click 140bc313d2 branchmerge - urgh!
--HG--
branch : trunk
2010-07-28 19:40:37 +02:00
click c595eb8ae9 First part of petAI logic cleanup : Hunter PetAI change: Ignore attacking CC'ed targets unless explicitly asked for by player
(thanks to QAston, Shauren, Liberate for the discussions and codehelp to sort this out properly)

--HG--
branch : trunk
2010-07-28 19:39:56 +02:00
John Holiver f7a65d6e83 Fix Sartharion adds loot farming.
--HG--
branch : trunk
2010-07-28 12:58:45 -03:00
Liberate 311e8ddf66 Merge
--HG--
branch : trunk
2010-07-28 13:48:35 +02:00
Liberate f5e3943e54 Makes Auto-accepted quests show up the way they should. They should work perfectly again now.
--HG--
branch : trunk
2010-07-28 13:47:32 +02:00
Liberate 78c3db174c Fixes a typo and a stupid mistake made by me, making demolishers in sota respawn on the location where they died.
--HG--
branch : trunk
2010-07-28 13:10:43 +02:00
Shauren 0fbb3af7a3 Typo fix for previous revision
--HG--
branch : trunk
2010-07-28 13:00:30 +02:00
Shauren 045bf5163b Fixed spellpower coef for Lifebloom final heal
--HG--
branch : trunk
2010-07-28 12:57:00 +02:00
Shauren 0137a8c193 Add better crash dump output for windows
--HG--
branch : trunk
2010-07-28 12:51:04 +02:00
Shauren 69a567b90e Fixed loading checks for SCRIPT_COMMAND_CAST_SPELL
--HG--
branch : trunk
2010-07-28 10:33:14 +02:00
silinoron c173e84f25 Move dummy effect handlers for all SPELLFAMILY_HUNTER dummy effect handlers but Scatter Shot to spell scripts.
--HG--
branch : trunk
2010-07-27 22:12:50 -07:00
silinoron e7e49c56cf Cleanup the mage spell scripts, and move SPELLFAMILY_PRIEST and SPELLFAMILY_ROGUE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-27 21:12:40 -07:00
QAston 86576de982 *Remove assert from opcode handler - to prevent remote crashing the server.
--HG--
branch : trunk
2010-07-28 01:39:37 +02:00
Liberate ac01c9796b SotA Fixes:
*When 10 min are over in the first round, the ship does appear in the second round
*Defender's Portals
*Seaforium Charges spawned
*Graveyards not recappable by the defenders
Thanks to beberlescaraber for some pieces of the code and the exact locations.
Fixes issue #2665
Fixes issue #2585
Fixes issue #2638
Fixes issue #2781

--HG--
branch : trunk
2010-07-28 01:34:01 +02:00
Liberate 4476247f10 Makes mechanicals immune to heals other than those specifically targeting mechanicals. had to bribe quite some Gnomes and Goblins to make this happen.
--HG--
branch : trunk
2010-07-28 01:26:18 +02:00
QAston e232c0e235 *Cleanup in ObjectAccessor - this should fix some crashes
--HG--
branch : trunk
2010-07-28 00:08:21 +02:00
Shauren 51400a4e15 Moved few dummy spell handlers to database
--HG--
branch : trunk
2010-07-27 19:32:21 +02:00
Shauren 4ea385ec50 Small fix for previous revision
--HG--
branch : trunk
2010-07-27 19:28:02 +02:00
Shauren de2f63bcfb Added possibility to cast spells with triggered flag using SCRIPT_COMMAND_CAST_SPELL, original patch by Az@zel
Fixed SCRIPT_COMMAND_CAST_SPELL for casting on creatures with selected entry

--HG--
branch : trunk
2010-07-27 19:18:44 +02:00
Shauren 0849044f6f No need to compile the same file 3 times, once in shared will do.
--HG--
branch : trunk
2010-07-27 17:29:53 +02:00
Shauren 9967b82f35 Fix for incorrect reputation rewards for certain factions with rep spillover
--HG--
branch : trunk
2010-07-27 17:28:36 +02:00
click e5b7f6ad01 Add option for search distance to getHeight() functions and make Creature::FallGround() use VMaps properly. (Fix by Lynx3d)
This finally prevents flying creatures from falling to infinity (basically instantly diappearing) in several instances, aswell
as prevent creatures from falling inside larger solid object around the world.

--HG--
branch : trunk
2010-07-27 17:29:33 +02:00
silinoron dbd76ef9ed Fix a typo in cmakelists and add spell_script_names to world_scripts_full.
--HG--
branch : trunk
2010-07-26 22:54:07 -07:00
click bfc6dec072 Cut away DO_*-parts from buildsystem and specific files checking for it.
--HG--
branch : trunk
2010-07-27 05:40:21 +02:00
click 2b9275424e Fix non-PCH build
--HG--
branch : trunk
2010-07-27 04:31:27 +02:00
silinoron 297b7aac1b Move SPELLFAMILY_MAGE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-26 19:05:20 -07:00
QAston fb1727abb1 *Make Potent Pheromones dispel auras for which it provides immunity.
*Remove not needed attribute modification for Light's Beacon.

--HG--
branch : trunk
2010-07-27 02:36:27 +02:00
QAston dd8d6701b8 *Implement RepRewardRate for spells.
--HG--
branch : trunk
2010-07-27 02:25:22 +02:00
silinoron 3ea0f411d3 merge
--HG--
branch : trunk
2010-07-26 15:40:40 -07:00
silinoron 5977a76d96 Move spell scripts from src/server/scripts/World to src/server/scripts/Spells
--HG--
branch : trunk
rename : src/server/scripts/World/spell_dk.cpp => src/server/scripts/Spells/spell_dk.cpp
rename : src/server/scripts/World/spell_druid.cpp => src/server/scripts/Spells/spell_druid.cpp
rename : src/server/scripts/World/spell_generic.cpp => src/server/scripts/Spells/spell_generic.cpp
rename : src/server/scripts/World/spell_hunter.cpp => src/server/scripts/Spells/spell_hunter.cpp
rename : src/server/scripts/World/spell_mage.cpp => src/server/scripts/Spells/spell_mage.cpp
rename : src/server/scripts/World/spell_paladin.cpp => src/server/scripts/Spells/spell_paladin.cpp
rename : src/server/scripts/World/spell_priest.cpp => src/server/scripts/Spells/spell_priest.cpp
rename : src/server/scripts/World/spell_rogue.cpp => src/server/scripts/Spells/spell_rogue.cpp
rename : src/server/scripts/World/spell_shaman.cpp => src/server/scripts/Spells/spell_shaman.cpp
rename : src/server/scripts/World/spell_warlock.cpp => src/server/scripts/Spells/spell_warlock.cpp
rename : src/server/scripts/World/spell_warrior.cpp => src/server/scripts/Spells/spell_warrior.cpp
2010-07-26 15:40:08 -07:00
silinoron b69fa7ba25 Players should be able to join the GuildRecruitment channel even if they are currently in a guild.
--HG--
branch : trunk
2010-07-26 14:19:33 -07:00
QAston 8e7f30eb61 *Add debug log to trac reason of a crash in Spell::DoAllEffectOnTarget.
--HG--
branch : trunk
2010-07-26 22:57:25 +02:00
Shauren 4fb256254c Fixed bug in Player::Satisfy that allowed to sometimes bypass instance requirements
Fixed DisableMgr incorrectly blocking entry into maps when only one mode was disabled

--HG--
branch : trunk
2010-07-26 22:25:03 +02:00
QAston 31820f0340 *Typofix - forgotten assigment in 00dc724412 - fixes weapon usage.
--HG--
branch : trunk
2010-07-26 19:54:32 +02:00
QAston fc4087cd98 *Resurrection sickness and similar debuffs are no longer dispelable.
--HG--
branch : trunk
2010-07-26 19:27:28 +02:00
QAston 66d8255625 *Set angle of cone based targets to 90 degrees - by akadabeer.
--HG--
branch : trunk
2010-07-26 16:27:34 +02:00
QAston 7b87ab4de7 *Add more Player::CanUseAttackType checks in places where item bonuses are applied.
--HG--
branch : trunk
2010-07-26 16:08:55 +02:00
Shauren f3e97bfaae Fixed ticking of periodic auras when m_periodicTimer for some reason became negative
--HG--
branch : trunk
2010-07-26 14:27:22 +02:00
Shauren 5404d61e01 Line endings
--HG--
branch : trunk
2010-07-26 14:26:53 +02:00
Supabad dbacf82a95 Update Zul Farrak, add pyramid event. thanks to totoro requires db support
--HG--
branch : trunk
2010-07-26 11:08:44 +02:00
QAston cce34d4950 *Fix crashes in boss_kiljaeden script.
--HG--
branch : trunk
2010-07-25 21:50:13 +02:00
click 33e079489b Set flag for offhand melee spells to allow proper triggering of weapon-specific effects (fix by Lynx3d)
--HG--
branch : trunk
2010-07-25 17:06:12 +02:00
QAston fce1f5b014 *Extend API of SpellScript by Dest and Damage/Heal setters and getters.
*Make some SpellScript function names shorter.

--HG--
branch : trunk
2010-07-25 16:23:57 +02:00
QAston 7308c112bb *Add some more comments to SpellScript methods
*Remove forgotten error log

--HG--
branch : trunk
2010-07-25 02:05:12 +02:00
QAston cdd56dc2b6 *Really fix *nix build. Thanks to Visagalis for testing.
--HG--
branch : trunk
2010-07-25 00:36:32 +02:00
QAston 0df91a8f9e *Remove accidently added file and fix build on some *nix configurations.
--HG--
branch : trunk
2010-07-24 23:58:23 +02:00
QAston 2352fc7cdf *Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.
*Add hook for handling spell effects in new scripting system.

--HG--
branch : trunk
2010-07-24 22:41:42 +02:00
Shauren 687cd83bdd Fixed Thrill of the Hunt not restoring mana when Explosive Shot crits
Closes issue #2221.

--HG--
branch : trunk
2010-07-24 22:14:23 +02:00
Shauren 32ceff1267 Modified spell_scripts table, it is now possible to add different scripts for each spell effect
Allow SPELL_EFFECT_DUMMY spells to use spell_scripts

--HG--
branch : trunk
2010-07-24 21:51:25 +02:00
click 8c76ea2f7c Ensure that Scatter Shot does not share diminishing returns with other spells
Closes issue 3013

--HG--
branch : trunk
2010-07-24 07:19:59 +02:00
Xanadu fead3738ac Fixed trauma/mangle stacking. Fixes issue #1460.
--HG--
branch : trunk
2010-07-24 05:51:19 +02:00
click 8df1dba022 Fix: Do not ignore CD for Hunter-based triggered spells (and thanks to QAston for the spell-lesson)
Fixes 1155

--HG--
branch : trunk
2010-07-24 05:12:36 +02:00
click 2a3df94bca Allow the full raidgroup to uses meetingstones, not just a single subgroup (blizzlike) - thanks to Silinoron!
--HG--
branch : trunk
2010-07-24 04:50:35 +02:00
click ad1ad4f220 Fix charactercleaning of talents
+ apply some codestyling and new headers

--HG--
branch : trunk
2010-07-24 04:16:23 +02:00
XTZGZoReX f5c1bbbd33 Fix naming in config files.
--HG--
branch : trunk
2010-07-23 22:01:19 +02:00
click 854464242d Fix wrong spell_bonus_data entry for Priests : Mind Flay (15407) - thanks to n4rk0 and filip.havlicek
Closes issue 2351

--HG--
branch : trunk
2010-07-23 21:58:13 +02:00
Shauren 6d6c82de64 Build is fixed NOW
... guess you cant trust VS to do all things 100% properly

--HG--
branch : trunk
2010-07-23 21:20:15 +02:00
Shauren 8c42a26045 Proper fix for windows build
--HG--
branch : trunk
2010-07-23 21:16:04 +02:00
teacher 79e1918e4d Moved old sql files to /3.3.35a_old subdir.
--HG--
branch : trunk
2010-07-23 14:00:25 +02:00
Shauren ca9a8ac134 This should not have been commited
--HG--
branch : trunk
2010-07-23 13:36:39 +02:00
Shauren 0f71347d58 Fixed windows project files - added SOAP
Added project file for SOAP
Applied Trinity coding standards to TCSoap files

--HG--
branch : trunk
2010-07-23 11:27:04 +02:00
click 3f9ea75bfa Add SOAP-implementation (based on Benjys patch and adapted for latest core by xk1)
--HG--
branch : trunk
2010-07-23 09:26:23 +02:00
click 1c97876bcd Remove defunct handling of RemoteAccess console on/off (it's handled in config)
--HG--
branch : trunk
2010-07-23 08:09:50 +02:00
click 50a07882d9 [mq]: soap
--HG--
branch : trunk
2010-07-23 06:57:12 +02:00
Shauren 903a3cbe76 Shaman totem models are now different depending on race
--HG--
branch : trunk
2010-07-22 17:31:27 +02:00
click 31956e06b8 Add missing CheckStableMaster() functions for SPELL_AURA_OPEN_STABLE-implementation
- casting Call Stabled Pet opens stable-window, with proper updating

--HG--
branch : trunk
2010-07-22 14:32:48 +02:00
Shauren a23f4a0f45 sigh, i did the same compile error mistake
--HG--
branch : trunk
2010-07-22 13:02:47 +02:00
Shauren f03d5a874b Add proper check to EffectQuestComplete preventing completion of quest if we already did that
--HG--
branch : trunk
2010-07-22 13:01:33 +02:00
QAston 34b75bca95 *Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.
--HG--
branch : trunk
2010-07-22 12:56:32 +02:00
QAston 002e6e1029 *Remove not needed dummy effect handler for spell 28006 - by azazel_kon
*Add CanCompleteQuest in Spell::EffectQuestComplete - thanks to azazel_kon for research.
*Fixes issue #3011

--HG--
branch : trunk
2010-07-22 12:48:11 +02:00
QAston 13a2a1afc6 *Fix amount calculation for spell effect with EffectDieSides set to 0.
--HG--
branch : trunk
2010-07-22 12:21:11 +02:00
teacher 50e459b5c5 Proper name for my previous sql update. Sorry for wasting rev numbers.
--HG--
branch : trunk
2010-07-22 12:19:31 +02:00
Shauren cab2f7bad1 Fix new character delete system. Those queries were not supposed to be there.
patch by Az@zel

--HG--
branch : trunk
2010-07-22 12:16:47 +02:00
teacher fa771560a8 Added placeholder for serverside spell for future development.
--HG--
branch : trunk
2010-07-22 12:16:08 +02:00
teacher da84793023 Fixes import errors (updated insert statements to new table structures) to world_database.sql.
Some random Trinity standards in sql syntax.

--HG--
branch : trunk
2010-07-22 11:44:09 +02:00
QAston 543bba9949 *Implement SPELL_AURA_OPEN_STABLE(292) - original patch by Ceris, modified by VladimirMangos
*Improvements in error messaging for stable related opcodes - by VladimirMangos

--HG--
branch : trunk
2010-07-22 03:12:28 +02:00
Shauren 5995a8ec1d Change order of loading for disable system
--HG--
branch : trunk
2010-07-21 20:08:54 +02:00
click 4d09046d54 Modify pet leveling-logic slightly, making sure it'll pass up 5 FULL levels when tamed/unstabled
+ set XP to 0 if dropped DOWN to playerlevel (antihack with no excess XP allowed, thank you!)
Disclaimer: No pets were harmed (much) during these changes - no need to call PETA!

--HG--
branch : trunk
2010-07-21 17:24:51 +02:00
Shauren 88ab38e9c8 Fixed my own stupid mistake
--HG--
branch : trunk
2010-07-21 16:35:36 +02:00
Shauren 5689fb43c1 Removed leftovers in AccessRequirement
--HG--
branch : trunk
2010-07-21 15:55:16 +02:00
click 66adaf5825 Fix: Make stabled pets follow official regulations for levelling when taken out of stabled mode:
If the pet is more than five levels below the hunter, then as soon as it's removed from the stable it will level up to be exactly five levels below the hunter.

--HG--
branch : trunk
2010-07-21 15:49:47 +02:00
Shauren 04fd9ac4ce Don't allow cancelling passive auras by client
--HG--
branch : trunk
2010-07-21 14:48:44 +02:00
Shauren 14b6a68857 Added new spell disable flag - core will not check if that spell exists in dbc, used for blizz deprecated items/quests
Fixed loading of access_requirement

--HG--
branch : trunk
2010-07-21 15:17:29 +02:00
click 19ed86ef30 Fix compile under *nix when not using PCH
--HG--
branch : trunk
2010-07-21 15:06:05 +02:00
teacher 7ad325e90f Added forgotten changes to world_database.sql for disable system.
--HG--
branch : trunk
2010-07-21 13:30:26 +02:00
click f7cb0347e7 Update core defaults for vmap-enabling (missing in rc3fa907ec3)
--HG--
branch : trunk
2010-07-21 12:41:21 +02:00
click 48141a142f Remove possible memleak with lingering outdoor pvp capturepoints - patch by ge0rg
--HG--
branch : trunk
2010-07-21 12:39:51 +02:00
Shauren 6a539270ec Added global disable system and moved all disable fields/tables/configs into it
NOTE: instance disables were not converted for new system! if you had some then you need to fix that using new system

--HG--
branch : trunk
2010-07-21 12:14:23 +02:00
Xanadu 0bda7fd361 Enable VMaps by default.
--HG--
branch : trunk
2010-07-21 06:44:41 +02:00
QAston dd89c54c6e *Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
thenecromancer 1944cd17a1 Merge
--HG--
branch : trunk
2010-07-21 01:43:18 +02:00
thenecromancer 389f6084c9 Use unified code for adding remaining DoT damage to some talents.
--HG--
branch : trunk
2010-07-21 01:42:02 +02:00
click e4a008ca75 Branch merge
--HG--
branch : trunk
2010-07-21 01:35:57 +02:00
thenecromancer a94afe82ca Small improvement in spell mechanic check (do not include effect mechanic in mask when there's no associated effect)
Fixes issue #63

--HG--
branch : trunk
2010-07-21 01:30:25 +02:00
click 4484b75b8f Fix: Warlock Drain Soul effect - use correct spell for soulshard creation (fix by manisamja, thanks ogeraisi for testing)
Closes issue 1931

--HG--
branch : trunk
2010-07-21 01:28:39 +02:00