Commit Graph
5568 Commits
Author SHA1 Message Date
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
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 6f4be37051 Limit ChatHandler::HandleModifyHPCommand to players. Closes issue #1031
--HG--
branch : trunk
2010-03-09 10:40:42 +01:00
_manuel_ ca033148c9 Backed out commit 3cb8647899, values are in dbcs, if you have issues with the spell try to show us the debug lines.
--HG--
branch : trunk
2010-03-08 23:17:26 -03: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
_manuel_ 1a4c7c34fe Fix SoTA draw game by Gyullo.
--HG--
branch : trunk
2010-03-05 14:43:19 -03: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
Brian 74ccd57597 * Move some values out of the data blob in the characters table
* (honor, kills, title, currencies, watched faction, drunken-status, health and power)
* Original Author Hunuza - thank you
* Ported to Trinity by RammboNr5 - thank you
* Tested by Aokromes - thank you
* Closes Issue #911

--HG--
branch : trunk
2010-03-02 10:12:47 -07:00
Brian d3e09cb65f * merge
--HG--
branch : trunk
2010-03-02 10:00:40 -07: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
Brian 29666451f3 * Add support for sending quest completion text
* Original patch by NoFantasy - thank you
* Ported to Trinity by seirgy - thank you
* Closes issue #873

--HG--
branch : trunk
2010-03-02 09:59:59 -07: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
_manuel_ 22d7ceaabb Implemented script for npcs 32369,32371,32372. By Malcrom.
For a full fix apply http://trinitydatabase.org/index.php?/topic/14699-fix-transitus-shield-invisible-bunny-positions-violet-stand/

--HG--
branch : trunk
2010-03-01 21:39:07 -03: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
_manuel_ a40dad1f11 Fixed Eye for an Eye by Gyullo.
--HG--
branch : trunk
2010-03-01 19:51:48 -03:00
_manuel_ 661a8be9a5 Implemented SCRIPT_COMMAND_ORIENTATION.
--HG--
branch : trunk
2010-03-01 19:40:05 -03:00
Rat 006390ffa0 *fix weapon enchants procing in feral forms, closes issue #23
--HG--
branch : trunk
2010-03-01 21:06:24 +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