Commit Graph

5789 Commits

Author SHA1 Message Date
maximius
1539ca3605 *Too many parameters.
--HG--
branch : trunk
2009-09-30 03:35:34 -07:00
maximius
f0d5924891 *Cleanup, add two new functions, attempt to fix arena point flushing for offline players.
--HG--
branch : trunk
2009-09-30 03:29:08 -07:00
maximius
693251497a *Friends shouldn't fight friends, even if that means you have to watch your friends kill each other.
--HG--
branch : trunk
2009-09-29 22:05:49 -07:00
maximius
09bb578d86 *Cleanup and attempt to fix some crashes.
--HG--
branch : trunk
2009-09-29 20:59:32 -07:00
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
2c14426c76 *Cleanup some scriptname assignments that got a bit messed up in previous commits
--HG--
branch : trunk
2009-09-27 15:55:39 -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
Chaz Brown
de45e93689 Fix CRLF in 5755 sql
--HG--
branch : trunk
2009-09-27 00:38:16 -04: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