Commit Graph

5166 Commits

Author SHA1 Message Date
maximius
d5d56bc62b *Whoops, typo (creature_template_addon, not creature_addon)
--HG--
branch : trunk
2009-09-29 20:40:40 -07:00
maximius
1b168c6c9f *Add some error output for improper moveflags on flying creatures.
--HG--
branch : trunk
2009-09-29 20:39:25 -07:00
Chaz Brown
f9d62c1b33 * Add a few more tables to pdump
--HG--
branch : trunk
2009-09-29 21:44:38 -04:00
maximius
4b79217bef *Passive targets under attack by players are not ideal targets for hostile creatures, so avoid them.
--HG--
branch : trunk
2009-09-29 15:13:46 -07:00
maximius
21f08bff8e *Fix a crash in boss_svala.cpp + fix build
--HG--
branch : trunk
2009-09-29 01:36:01 -07:00
maximius
aa5e2d3b28 *The enemy of my enemy is my friend.
*Correct some reversed parameter ordering (team and vehId were swapped)

--HG--
branch : trunk
2009-09-29 01:16:08 -07:00
maximius
0a9addd224 *Attempt to fix a crash, and sanitize some input.
--HG--
branch : trunk
2009-09-28 15:48:03 -07:00
Chaz Brown
daa9b62ec7 * Add three tables to player dump: character_account_data, character_glyphs and character_talent
* If the player has not selected any talents at all, you will see a SQL error, but, the dump will work just fine.

--HG--
branch : trunk
2009-09-28 01:14:21 -04:00
maximius
77e5c0362e *Add ".account addon" command, now players can change their account's expansion.
--HG--
branch : trunk
2009-09-27 21:23:06 -07:00
maximius
7d60e2fb18 *Fixes for Slad'ran, Eck the Ferocious and Moorabi by Tartalo
--HG--
branch : trunk
2009-09-27 20:16:10 -07:00
maximius
339c2896b2 *Make sure the target actually has a victim, otherwise checking hostility is pointless.
--HG--
branch : trunk
2009-09-27 19:22:42 -07:00
maximius
15dbc456bb *If our target of choice is attacking a player, only attack our target if we are friendly towards that player.
*Only regenerate quickly if polymorphed.

--HG--
branch : trunk
2009-09-27 19:11:52 -07:00
maximius
10231efc0f *Revert 5675/43c0c883c44d back to 4821/9d0967884f0b way (seems to work properly now), thanks Gyullo
--HG--
branch : trunk
2009-09-27 15:52:17 -07:00
maximius
01be5d1860 *Do not regenerate the health of controlled or charmed creatures instantly out of combat
--HG--
branch : trunk
2009-09-27 15:48:30 -07:00
maximius
fd55684873 *Better method for choosing a random model on respawn (should no longer show opposite faction models)
*Attempt to make it so creatures: don't help players or units controlled or owned by players; and don't help if the unit is fleeing from the enemy player

--HG--
branch : trunk
2009-09-27 15:14:25 -07:00
Chaz Brown
49e315931d Merge
--HG--
branch : trunk
2009-09-27 17:29:22 -04:00
Chaz Brown
f9a9bbed7b Backed out changeset 5da05b39c3eb
Causes crashes on Linux.

--HG--
branch : trunk
2009-09-27 17:28:57 -04:00
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