Commit Graph

5149 Commits

Author SHA1 Message Date
Anubisss 82ae128317 *Fix a problem that freeze the server in boss Eck the Ferocious' script. Maybe this fix a crash.
--HG--
branch : trunk
2009-09-27 18:02:57 +02:00
Anubisss 23d7fa65e8 *Fix a crash in boss Svala's script.
--HG--
branch : trunk
2009-09-27 15:16:18 +02:00
maximius f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
Chaz Brown a635bdd0cc * Fix Player getting stuck after teleport, etc. due to high number of achievements - patch by Trazom
http://www.trinitycore.org/forum/project.php?issueid=4329&page=4#note34721

--HG--
branch : trunk
2009-09-27 02:13:56 -04:00
maximius 371c6fd371 *Gundrak: Eck the Ferocious & Gal'Darah, by Tartalo
*Implement talent Lava Flows (ranks 1-3), by win32

--HG--
branch : trunk
2009-09-26 22:13:08 -07:00
maximius 342b071d47 *Instead of checking getVictim() to determine whether or not to regen health, check if the threat list is empty
*Fix some incorrect/missing scriptname assignments, thanks Drahy

--HG--
branch : trunk
2009-09-26 21:55:47 -07:00
maximius 07084713d1 *Some better checks.. don't want to try and store a Unit* in a bool!
--HG--
branch : trunk
2009-09-26 17:16:17 -07:00
maximius f8155b4f95 *Should fix a crash, thanks Drahy
--HG--
branch : trunk
2009-09-26 17:08:37 -07:00
maximius b528d14e73 *Tried to combine a little too much code here I think :P
--HG--
branch : trunk
2009-09-26 16:56:35 -07:00
maximius c66005ea06 *Should fix Linux build, thanks Drahy
--HG--
branch : trunk
2009-09-26 16:52:54 -07:00
maximius 7396b641ae *Gundrak: GO Handling & Slad Ran script by Tartalo
*Cleanup, and don't consider creatures to be in combat if they have no victim, or if their victim is a GM.

--HG--
branch : trunk
2009-09-26 16:01:30 -07:00
maximius ff3f556423 *Missed condition, thanks Zor :)
--HG--
branch : trunk
2009-09-26 13:00:40 -07:00
maximius 9dfaa02895 *Remove some redundant code, and relocate some illogical code.
--HG--
branch : trunk
2009-09-26 12:54:12 -07:00
maximius 3416a6543d *Wintergrasp: Tenacity fixes by Spp
*Better Windows signal handling for services, by defacer
*Always hide triggers for players, by ogeraisi

--HG--
branch : trunk
2009-09-26 12:41:46 -07:00
maximius 59586af421 *More logical to cause the damage -after- the fall, not before, lol.
--HG--
branch : trunk
2009-09-26 12:28:48 -07:00
maximius ff9a2f6ba1 *Extend and comment the Player::FallGround function, it can now cause damage if required.
--HG--
branch : trunk
2009-09-26 12:26:02 -07:00
maximius e2017fcf5d *Anonymous enums are bad :(
--HG--
branch : trunk
2009-09-26 02:27:10 -07:00
maximius f8a6434fc0 *Replace a ton of switches with RAND(), and overload RAND() to support up to 16 parameters.
*Add a safety check to prevent knocking players off of transports, just in case they die while on one.
*Fix a couple incorrect spell defines.

--HG--
branch : trunk
2009-09-26 02:09:26 -07:00
maximius 2853aa1cd1 *Grobbulus - in Inject event, tank is not a target for this spell, by Gyullo
*Gundrak - AI for the boss Moorabi, by Manuel
*Improvements to player death handling (they will now fall to the ground).. also attempted to improve creature death handling the same way.

--HG--
branch : trunk
2009-09-25 19:20:04 -07:00
Chaz Brown 0febe02227 Fix HandleNpcAddCommand with bad creature ID - patch by SPP
--HG--
branch : trunk
2009-09-25 17:31:37 +02:00
Chaz Brown c01172b0c0 * Fix CLI commands crashing server
* Some code cleanups (if( to if (, etc.)

--HG--
branch : trunk
2009-09-25 00:53:07 -04:00
spp@influenza 0d6da14ded Wintergrasp: Cosmetic changes + player leave combat when wartime ends
--HG--
branch : trunk
2009-09-24 12:44:49 +02:00
Chaz Brown 135888af84 * Hopefully, MTMaps will only be enabled in release, and not in debug modes (This was causing debug builds to not run under windows)
* Fixed a bug in AHBot where auctions being removed were sometimes seen as the wrong faction, leading to problems with replacing them with new auctions.
* Added loopbreaker back in, just in case...

--HG--
branch : trunk
2009-09-24 17:34:29 -04:00
maximius a1141b4a8b *struct, not class (thanks Paradox)
--HG--
branch : trunk
2009-09-24 14:27:20 -07:00
Anubisss 4783ea7d24 *Fix possible crashes.
--HG--
branch : trunk
2009-09-24 23:11:01 +02:00
maximius 53783d0012 *Oops, enum type redefinition is bad!
--HG--
branch : trunk
2009-09-24 11:51:02 -07:00
maximius c3e795e7dd *Add a new modelid function..
*Attempt to fix some Linux compile issues..

--HG--
branch : trunk
2009-09-24 11:26:27 -07:00
maximius 8ccf471bcb *Force creatures to choose a new, random model on spawn/respawn
*Change the damage formula to include weapon min/max damage.. previous method did not work properly at all.

--HG--
branch : trunk
2009-09-23 22:09:20 -07:00
maximius 906b00465a *add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
2009-09-23 20:19:21 -07:00
maximius 8102372a67 *Krik'thir the Gatewatcher partial script by Manuel and Gyullo
*Ahn'Kahet: Fixes for Prince Taldaram & code Achievement by Tartalo

--HG--
branch : trunk
2009-09-23 19:50:02 -07:00
maximius 3fce346a52 *New damage formula, Hogger will no longer dominate your level 20 characters!
--HG--
branch : trunk
2009-09-23 19:10:46 -07:00
maximius a96c704f46 *quest 12231 - The Bear God's Offspring, by Destalker
*SD2 enum escort faction, patch by manuel
*Extend the Chathandler to TrinityScript, by Hawthorne

--HG--
branch : trunk
2009-09-23 13:24:06 -07:00
maximius 36a2633f5d *[Fix] fly in Northend without Cold Weather Flying if summoned, by Spp
--HG--
branch : trunk
2009-09-23 00:45:47 -07:00
Chaz Brown 8d154eb55f A few more tweaks for Linux
--HG--
branch : trunk
2009-09-23 00:15:32 -04:00
Chaz Brown 2204c5418c Fix some Linux build problems
--HG--
branch : trunk
2009-09-23 00:05:52 -04:00
maximius d79957e5c3 *Send channeling start/update packet, converted by Stryker, original by pasdVn
--HG--
branch : trunk
2009-09-22 18:19:31 -07:00
maximius cdfb402122 *Hacky fix to Grounding Totem by Themris (better than no fix at all, and very difficult to fix properly)
--HG--
branch : trunk
2009-09-22 18:13:59 -07:00
maximius 3a980db8d1 *Utgarde Keep: Ingvar The Plunderer; event fix, by Taliesin
*Shattered Halls: Warchief Kargath Bladefist; event fix, by Taliesin

--HG--
branch : trunk
2009-09-22 18:08:20 -07:00
Chaz Brown 7aa91dd81b * AHBot rewritten to cause less lag spikes when checking for bids and when adding new auctions.
* AH Deposit function rewritten to generate deposits closer to official.
* AH Mail system rewritten to fix some bugs.
* MULTI_THREAD_MAP enabled by default (I have no idea why this was commented out before)
* CLIENT_VER added for allowing parts of the code to be enabled/disabled depending on the client version supported.
  Only used in AHBot for now.
* Various code cleanups.

--HG--
branch : trunk
2009-09-22 20:40:34 -04:00
maximius a9086ea15a *Another regen tweak, by Taliesin.
--HG--
branch : trunk
2009-09-22 16:18:01 -07:00
maximius b3f3a82e5f *Fix Unit::m_regenTimer so creatures regen health properly, by MrSmite
*Partial Utgarde Pinnacle instance & boss scripts, rewritten by Tartalo, original by ckegg
*Fix a bug where pets would engage new attackers while approaching the target their owner sent them to attack, by MrSmite

--HG--
branch : trunk
2009-09-22 16:14:37 -07:00
maximius c339f2df7b *Force non-dead mobs that are either: out of combat, or polymorphed, to regenerate at each update, thanks Gyullo
--HG--
branch : trunk
2009-09-21 20:50:05 -07:00
Kudlaty d3c402fa18 Fix problems with no stack limit.
--HG--
branch : trunk
2009-09-22 01:52:16 +02:00
maximius 9e5c8db01f *[8508] Not assign boolean value to integer variable, expecting to always be 0. Also renaming member variables. Author: NoFantasy
*[8516] Implement spell 53271. Author: Shendor
*[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos
Thanks to: Stryker
*[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor
*Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii.

--HG--
branch : trunk
2009-09-21 12:31:36 -07:00
Kudlaty b4cd005f03 Reapply patch about changing modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction.
--HG--
branch : trunk
2009-09-21 07:52:16 +02:00
Kudlaty 45e2f9c002 * Add two flags for items with no stack limit
* Added proper checking of faction based on seller for items with RequiredReputaionFaction=0
* This will allow 100% proper WDB data to be used
Thx to Malcrom and Brian

--HG--
branch : trunk
2009-09-21 05:52:58 +02:00
Kudlaty 96cbf2f75b Fix compile
--HG--
branch : trunk
2009-09-21 04:40:54 +02:00
maximius 771341992f *Ahn'Khalet: Partial Herald Volazj script, by Tartalo
*Check for null pointers in SelectTargetHelper, thanks to Spp
*Remove rank aura from last battle (possibly there due to crash), by Spp

--HG--
branch : trunk
2009-09-20 19:07:53 -07:00
maximius 6c90f1f89a *Ahn'Khalet: GO handling & Prince Taldaram scripting by Tartalo & tlexii
*Cleanup, remove all DB-specific data that needs review from 5700_world.sql -- TDB topic here: http://bit.ly/POdro

--HG--
branch : trunk
2009-09-20 16:42:35 -07:00
Anubisss 43e61c2e27 *Remove some not needed casts or used correct casts.
--HG--
branch : trunk
2009-09-20 19:58:06 +02:00