Commit Graph
100 Commits
Author SHA1 Message Date
Machiavelli 41cf8c173e Fix quest reward money showing up as experience reward in quest reward offering dialogue. Fixes issue #829
--HG--
branch : trunk
2010-03-09 22:37:07 +01:00
Machiavelli cf0a646cc0 Fix removal of action buttons by removing some redundant code.
--HG--
branch : trunk
2010-03-09 22:07:43 +01:00
Spp 9df357f5d9 Fix enchant items in trade window.
Original patch by Kierkegaard
closes issue #985

--HG--
branch : trunk
2010-03-09 21:11:54 +01:00
Machiavelli 6c725aa530 One overlooked redundant piece of code related to previous commit removed.
--HG--
branch : trunk
2010-03-09 21:10:34 +01:00
Machiavelli 24ab54f213 Small update to the group/party system.
- Fixes raid assistant privileges, Fixes issue #248
- Proper designation for Main tank and Main assistant roles
- Remove 2 redundant columns in DB, namely groups.mainTank and groups.mainAssist. These are now defined by the value of group_member.memberFlags

--HG--
branch : trunk
2010-03-09 20:33:59 +01:00
n0n4m3 e5eaa46a7f Removed not needed #include AuthSocket.
--HG--
branch : trunk
2010-03-09 19:01:45 +03:00
n0n4m3 5411468f5d Removed unused function bool AuthSocket::IsLag, also small code cleanup.
--HG--
branch : trunk
2010-03-09 18:53:22 +03:00
n0n4m3 269728b9ae Implement ACE netcode for realm server. Original author derex.
--HG--
branch : trunk
2010-03-09 18:01:42 +03:00
n0n4m3 04e7a5bd39 Cleanup and applying code style to some Database files.
--HG--
branch : trunk
2010-03-09 15:45:34 +03:00
Spp bd7ca7fdf3 Fix an incorrect say_text index in Razorfen Kraul.
By Aokromes

--HG--
branch : trunk
2010-03-09 13:27:25 +01:00
Spp 25b0be95aa Typo in server shutdown command.
Original author VladimirMangos
Closes issue #57

--HG--
branch : trunk
2010-03-09 13:13:20 +01:00
Spp cef249ff2c Add level restrictions to some commands:
say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
2010-03-09 12:58:48 +01:00
Spp 8034a6c48e Rename 'Hostil' to 'Hostile'
Credits to NoFantasy (Mangos)
Closes issue #411

--HG--
branch : trunk
2010-03-09 11:11:10 +01:00
Spp c716c0e5e5 Optimize vmaps extraction.
Thanks to Splinter <[email protected]>
Closes issue #857

--HG--
branch : trunk
2010-03-09 10:41:42 +01:00
Spp 6f4be37051 Limit ChatHandler::HandleModifyHPCommand to players. Closes issue #1031
--HG--
branch : trunk
2010-03-09 10:40:42 +01:00
p0wer a4513c2559 Fix line endings.
--HG--
branch : trunk
2010-03-08 21:19:52 -06:00
silver1ce 3847e3be42 fix my typo in a4f4c51dca,
could not detect it earlier
Сloses #1029

--HG--
branch : trunk
2010-03-08 23:40:46 +02:00
thenecromancer 2cc15aee31 Fix crash in AuraEffect::HandleShapeshiftBoosts
Add check to Spell::EffectSanctuary before casting
(ensuring all appearances of "(Player *)" (whitespace incl.) are correct)

--HG--
branch : trunk
2010-03-08 17:20:25 +01:00
silver1ce f63ee4050c fix my typo
thanks to KingPin for pointing the problem

--HG--
branch : trunk
2010-03-07 21:36:39 +02:00
raczman 07f3b91426 Some Creature* casts moved to new ToCreature.
Added const Creature* ToCreature()

--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
silver1ce 9a8f10fa30 avoid send movement packet at death twice, cleanup
--HG--
branch : trunk
2010-03-07 18:17:37 +02:00
raczman 91b8ee104e Added new type-safe cast functions.
This, when properly used, should get rid of most memory corruption issues,
currently, casting types C-style with no checks leads to some abstract crashing.
Functionality is same as with dynamic_cast<>, but with no RTTI check - so when
casting into invalid type you will receive NULL, and most probably crash.
At the same time, i took the liberty to convert most Player* casts to ToPlayer().
Still needs crapload of casts being moved to new facility.

--HG--
branch : trunk
2010-03-07 15:20:19 +01:00
thenecromancer aeebe57dc0 Remove 94567c94e6, instead don't check range/facing when finishing instant cast spells
--HG--
branch : trunk
2010-03-07 14:32:53 +01:00
thenecromancer 34bc948f37 *Format BattleGroundSA.cpp
*Check if game is still in progress before awarding teams
*Resurrect and refresh players at round end

--HG--
branch : trunk
2010-03-07 14:16:55 +01:00
silver1ce 0c11fcee1b check creature's base stats table in more proper way
it should show more missing data

--HG--
branch : trunk
2010-03-07 03:45:22 +02:00
silver1ce efb123f4f7 prevent stack overflow caused by MoveInLineOfSight calls
should close #995 issue

--HG--
branch : trunk
2010-03-06 18:18:32 +02:00
XTZGZoReX a135d9e6c7 * Fix typo in opcode name.
--HG--
branch : trunk
2010-03-06 14:28:11 +01:00
thenecromancer 7e99e2f9cc Send movement packet on creature/player death (expected for animation display, don't ask me why)
Don't bother in case of flying creatures, as there's already something sent

--HG--
branch : trunk
2010-03-06 13:14:51 +01:00
Spp 9dd9096d57 Fix a typo in trinitycore.conf.dist added in rev 8529262de6.
Closes #887

--HG--
branch : trunk
2010-03-05 12:42:03 +01:00
p0wer 4b5a3f41ab Fix Shadow Affinity. Patch by Ouden. Fixes issue #988.
--HG--
branch : trunk
2010-03-04 17:49:10 -06:00
p0wer 7afa2ad651 Once again change values for BattleGroundSA honor reward at end. Sorry for misreading, it is a multiplier not the total honor.
--HG--
branch : trunk
2010-03-03 17:51:51 -06:00
p0wer 94b1feb5fb Fix command .go ticket. Will properly work now rather then show syntax error. Fixes issue #465.
--HG--
branch : trunk
2010-03-02 21:49:23 -06:00
p0wer c89ccd6149 Move initialization of m_GMticketid to avoid random numbers being assigned if gm ticket table is empty.
Thanks Ayane. Closes issue #883.

--HG--
branch : trunk
2010-03-02 21:00:33 -06:00
p0wer 9bb97dd51e If stealth-only spell fails, shouldn't remove you from stealth. Fix by lol584. Closes issue #99.
--HG--
branch : trunk
2010-03-02 20:54:27 -06:00
p0wer 7f5a4feba7 Fix values for honor gain after SotA end. Someone slap me, because I cannot get things right on the first time, ever. :P
--HG--
branch : trunk
2010-03-02 20:48:40 -06:00
p0wer 8f74403b0d Missed change from last commit. These variables aren't needed.
--HG--
branch : trunk
2010-03-02 20:40:36 -06:00
p0wer 8ae9b39689 Add correct values for honor gain after SotA. Also, fix issues with compiling with the recent patch.
--HG--
branch : trunk
2010-03-02 20:37:49 -06:00
silver1ce f748ea34e3 changes in creature base stats storage
* speedup stats searching
  * no more default stat generation for each class-level pair, there is only one default stat
  * CreatureBaseStats does not contain level and class

--HG--
branch : trunk
2010-03-03 04:32:47 +02:00
silver1ce 9e63454b63 store unit's level in uint8 format
TODO: may be change db format too

--HG--
branch : trunk
2010-03-03 02:48:31 +02:00
silver1ce ab51061318 add creature expansion check
--HG--
branch : trunk
2010-03-03 03:29:03 +02:00
p0wer f4a4a6bfc2 Merge. ><
--HG--
branch : trunk
2010-03-02 19:45:32 -06:00
p0wer 2942a19592 Some SA fixes by gyullo.
Also added formating fix for BattleGroundSA::EventPlayerUsedGO.

--HG--
branch : trunk
2010-03-02 19:44:54 -06:00
silver1ce dff5bdedac skip ai reaction at self relocation
i had to add it earlier

--HG--
branch : trunk
2010-03-03 02:02:38 +02:00
p0wer 0f4855d8f3 Fix possible crash in .gobject info.
--HG--
branch : trunk
2010-03-02 17:44:59 -06:00
p0wer fbe0f4ea2b Improve .gobject info to not use SQL query anymore. Thanks to silverice for suggesting.
--HG--
branch : trunk
2010-03-02 17:40:26 -06:00
teacher 70e77a796d Fixed import errors on recent sql update files...
Added forgotten updates to world.sql...
Added missing lines at the end of some sql files...
Better format by adding DELETE FROM before any INSERT INTO update...

--HG--
branch : trunk
2010-03-02 15:42:46 +01:00
p0wer 81f6779102 Add command similar to pinfo but for gameobjects.
Displays Entry, Type, DisplayId, and Name.
Created in response to issue #768.

--HG--
branch : trunk
2010-03-01 19:28:21 -06:00
p0wer 57f1b2524a Execute should only apply damage based on rage up to 30. Thanks 19Maxx83. Fixes issue #953.
--HG--
branch : trunk
2010-03-01 17:57:14 -06:00
Rat 006390ffa0 *fix weapon enchants procing in feral forms, closes issue #23
--HG--
branch : trunk
2010-03-01 21:06:24 +01:00
Trazom62 80b531a413 Fix infinite loop.
Fixes issue #945.

--HG--
branch : trunk
2010-03-01 20:30:52 +01:00
XTZGZoReX 2383c5b79e * Fix SMSG_TRANSFER_ABORTED. Don't modify packet structures unless you actually verify them...
--HG--
branch : trunk
2010-02-28 19:08:40 +01:00
XTZGZoReX ac48523b14 * Fix *nix build. By reno.
--HG--
branch : trunk
2010-02-27 22:16:36 +01:00
p0wer 1ceda14d54 Change the conditional statement for Merciless Combat so it correctly applies extra damage when required. Fixes #860.
--HG--
branch : trunk
2010-02-28 14:46:15 -06:00
Trazom62 4c16bff8e6 Fix mana set to 0 when mob dies. Thanks Malcrom.
--HG--
branch : trunk
2010-02-28 21:34:31 +01:00
Trazom62 3ffeb5f5dd Fix initialization of UnitMovementFlag from InhabitType.
--HG--
branch : trunk
2010-02-28 20:30:20 +01:00
Trazom62 fe3fa59839 Fix Increases damage taken by %. Thanks moriquendu.
Fixes issue #929.

--HG--
branch : trunk
2010-02-28 20:27:08 +01:00
Trazom62 eeae1f4571 Fix crash in Prince Taldaram script.
Fixes issue #884.

--HG--
branch : trunk
2010-02-28 12:02:13 +01:00
Trazom62 6e52fc3f7f fix compile on linux.
--HG--
branch : trunk
2010-02-27 18:11:43 +01:00
silver1ce 6ed27c17a2 trying to fix comple on *nixes
--HG--
branch : trunk
2010-02-27 18:28:17 +02:00
Trazom62 6fdb1bfb4f Fix Script Stratholme.
- fix doors opening/closing when encounters are completed or during instance reload.

--HG--
branch : trunk
2010-02-27 16:54:32 +01:00
Trazom62 6146c33732 Fix Script Naxxramas/Kel Thusad. Thanks Ille.
Fixes issue 650.
Fixes issue 659.
Fixes issue 809. Thanks PrinceCreed.

script changes
- added spawnpoints and spawn creatures in corners
	* they react defensive, otherwise they assist the minions
kelthuzad spawns
- added functionality to area trigger
	* fight begins when player enters green circle
- added functionality to kelthuzad trigger
	* trigger is activated when player enters green circle
	* trigger disappears after 5s
- added functionality to window portals
	* at 45% portals open to let guardians in
- chained can be 3 at once
- added spells to chained
	* for every class two spells
- changed timers on enter combat
- set combat reach to 2 for guardians
- Fix emote when enter combat and when enter phase 2.

NOTE: some db updates may still be necessary to have better locations of portals and EventAI updates.
For more info, see sql in attachment of #659 and http://trinitydatabase.org/index.php?/topic/14304-boss-naxxramas-kelthuzad on tdb forum.

--HG--
branch : trunk
2010-02-27 16:41:44 +01:00
Trazom62 d9056adc8a refactor UnitAI::SelectTarget to allow having a predicate function (1st step).
--HG--
branch : trunk
2010-02-27 16:29:58 +01:00
silver1ce e010310c6d removed redundant linking
--HG--
branch : trunk
2010-02-27 15:51:26 +02:00
silver1ce fcaa318fb3 Update visibility system
*visibility updates and ai relocations processed simultaneously for each grid
  *these operations now are not synchronized for different grids
  *some changes into structure of visibility notifiers

--HG--
branch : trunk
2010-02-27 15:25:14 +02:00
XTZGZoReX 1815d19b85 * Update SpellCastResult enum for 3.3.2.
--HG--
branch : trunk
2010-02-26 13:07:07 +01:00
Trazom62 1ce8d641f4 Fix Crash in Unit::GetVehicleCreatureBase. Thanks proof1337.
Fixes issue #821.

--HG--
branch : trunk
2010-02-25 19:15:35 +01:00
Tartalo c76cb0ce7c Add new flagged column to access_requirement to set instances opened/closed.
This way is possible to open a raid on 10man mode while the rest of modes are closed (for example).
Ingame commands to open/close instances coming soon ;)

--HG--
branch : trunk
2010-02-25 16:26:03 +01:00
p0wer 8c06fe676f Fix typo in previous commit. Remove more lines now that the PSendSysMessage isn't calling the uneccesary name.
--HG--
branch : trunk
2010-02-24 21:34:24 -06:00
p0wer ba51f553fc Add command for administrators to change channel publicity ingame rather than having to manually manipulate the database.
--HG--
branch : trunk
2010-02-24 21:30:00 -06:00
p0wer fc2264bf89 Remove uneccesary addition for PSendSysMessage call in Channel when changing password without correct powers. No %s in the Trinity String.
--HG--
branch : trunk
2010-02-24 21:12:08 -06:00
Trazom62 3bbee4172a Fix crash during BattleGround::EndBattleGround().
Fixes issue #885.

+ init FirstFlagCaptureTeam at bg reset.

--HG--
branch : trunk
2010-02-25 00:26:47 +01:00
QAston 1e7f50b3f6 *Shadow Mark target requirement - by PrinceCreed
*Spiritual attunemennt heal amount fix - by beberlescaraber

--HG--
branch : trunk
2010-02-24 21:38:51 +01:00
Trazom62 dc6652de5c Ask confirmation when changing hearth location. Thanks MrSmite.
Fixes issue #135.

--HG--
branch : trunk
2010-02-24 19:28:50 +01:00
Trazom62 768844ec21 Fix instance reset depending on difficulty. With help of Gyullo.
--HG--
branch : trunk
2010-02-24 18:58:39 +01:00
Trazom62 bdbafc9496 Remove naxxramas areatrigger check to get to frostwyrm wing (no longer needed in 3.3.2).
Fixes issue #874.
Thanks Gyullo for original patch.

Still need db support for the teleport back from frostwyrm wing.

--HG--
branch : trunk
2010-02-24 18:49:59 +01:00
Tartalo 7971e3b8c1 Icecrown, Argent Tournament: Support for quests 14096 & 14142
You've Really Done It This Time Kul
Needs db support to work properly (missing spawn + faction changes)

--HG--
branch : trunk
2010-02-24 16:51:15 +01:00
Tartalo 2ae4291442 Borean Tundra: Support for quest 11653
Hah... You're Not So Big Now!

--HG--
branch : trunk
2010-02-24 16:20:01 +01:00
p0wer b598127ebf Compile fix for past commits. Seems I'm a bit rusty. :P
--HG--
branch : trunk
2010-02-23 21:59:36 -06:00
p0wer ee40f67b6f Missed changes from last commit. Sorry bout that.
--HG--
branch : trunk
2010-02-23 21:18:09 -06:00
p0wer 98b72c5299 Through DB you can now disable password changing by non-gm's simply by changing m_public to 0. Make channels public by default.
--HG--
branch : trunk
2010-02-23 21:09:55 -06:00
p0wer 50e878acba Fix typo in core bootup where it incorrectly displays an error message and returns false. Having the Max vendor items is acceptable.
--HG--
branch : trunk
2010-02-23 20:30:31 -06:00
QAston dda62c5b5a *Fish feast code update after client switch
--HG--
branch : trunk
2010-02-23 23:43:11 +01:00
Tartalo 002a0500f9 Merge
--HG--
branch : trunk
2010-02-23 23:50:34 +01:00
Tartalo eb83fe7306 Fix spell 51912
--HG--
branch : trunk
2010-02-23 23:48:50 +01:00
Tartalo 0ef408bcf5 Fix spell 45668
--HG--
branch : trunk
2010-02-23 23:48:07 +01:00
Tartalo 53222c5875 Forgotten files on r49ad8ed43cb640034086c71478884520c5714601
--HG--
branch : trunk
2010-02-23 21:24:27 +01:00
Tartalo 6363cffa36 Durotar: Support for quest 5441, by Supabad
Lazy Peons

--HG--
branch : trunk
2010-02-23 21:21:01 +01:00
Tartalo a7e26930c9 Durotar: Add zone script file
--HG--
branch : trunk
2010-02-23 21:09:38 +01:00
Tartalo 30b352340c Add forgotten SQL from last week commits to world_scripts_full.sql
--HG--
branch : trunk
2010-02-23 20:38:43 +01:00
Tartalo 9c41f9497f word_scripts_full.sql cleanup
--HG--
branch : trunk
2010-02-23 20:37:28 +01:00
Tartalo 6c2ebfc8e4 Howling Fiord: Support for Quest 11255
Prisoners of Wyrmskull

--HG--
branch : trunk
2010-02-23 20:36:56 +01:00
Tartalo a518114f56 Make objmgr accessible from scripting system
--HG--
branch : trunk
2010-02-23 20:26:49 +01:00
Anubisss deec58c8bd Properly show the ArenaTeam's name in arena join and leave.
Moreover, this fixes a crash in join/leave.
Fixes issue #875.
Fixes issue #878.

These things happened when Arena.QueueAnnouncer.Enable = 1 in your config.

--HG--
branch : trunk
2010-02-23 18:18:00 +01:00
QAston abd9ce7ad1 *Battle shout and Commanding Shout can stack with each other when cast by different casters.
--HG--
branch : trunk
2010-02-23 00:13:15 +01:00
Tartalo c6bdcb6b7c Dump characters to separate files config option, by azazel.kon
Resolves #744

--HG--
branch : trunk
2010-02-23 00:05:10 +01:00
teacher a2381b9863 Added recent sql updates to world.sql and full files...
--HG--
branch : trunk
2010-02-22 20:03:30 +01:00
QAston 69aedc666d *Remove no longer needed hack after trigger target fixes.
--HG--
branch : trunk
2010-02-22 17:09:48 +01:00
Anubisss 1c3bbdcce8 Minor optimization in PlayerDumpReader::LoadDump().
--HG--
branch : trunk
2010-02-21 22:59:50 +01:00
QAston c46c831094 *CRLF:(
--HG--
branch : trunk
2010-02-20 23:59:05 +01:00
QAston 6323d7dc33 *(awe)some changes to triggering spell/aura effects:
*do not use original caster for trigger spell/trigger spell with value effects
 *correct caster selection for force cast/trigger spell/trigger spell with value spell effects

--HG--
branch : trunk
2010-02-20 23:57:54 +01:00