Commit Graph
7664 Commits
Author SHA1 Message Date
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
_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
_manuel_ 887583bf09 Support for quest Doing your Duty by Malcrom. Thanks to Supabad.
--HG--
branch : trunk
2010-03-08 11:07:47 -03: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
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
Brian 2278f6ac45 * Add change to characters.sql from last commit
--HG--
branch : trunk
2010-03-02 20:21:17 -07:00
Brian c9488f5ebe * Fix blob conversion SQL to allow for proper value for watchedFaction
--HG--
branch : trunk
2010-03-02 20:17:51 -07: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
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
_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