Commit Graph

5140 Commits

Author SHA1 Message Date
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
Anubisss
77328defee *Fix some possible crashes.
--HG--
branch : trunk
2009-09-20 15:33:34 +02:00
Anubisss
3d99ea0111 *Add missing end-tags for vcproj.
--HG--
branch : trunk
2009-09-20 14:49:17 +02:00
Anubisss
b0ee3c52ae *Fix a typo. This fix the compile error. I hope haven't got errors in WIN.
--HG--
branch : trunk
2009-09-20 14:01:39 +02:00
Anubisss
701240610c *Fix a typo. Patch by Thyros.
--HG--
branch : trunk
2009-09-20 13:55:34 +02:00
Anubisss
95b63b3182 *Add missing files for CMake/VCproj and ScriptLoader.
*Fix a possible crash.

--HG--
branch : trunk
2009-09-20 13:53:01 +02:00
Anubisss
3912aafe03 *Fix 2 possible crashes.
--HG--
branch : trunk
2009-09-20 13:01:06 +02:00
maximius
c538c2c55d *Fix some typos, by Darkshines
*More Fix About NPC dont regenerate HP, by Gyullo

--HG--
branch : trunk
2009-09-20 02:01:04 -07:00
maximius
6c46fc09b0 *Cleanup + Fix Linux build by WarHead
--HG--
branch : trunk
2009-09-19 16:21:10 -07:00
maximius
ec054272e1 *GO - Southfury Moonstone script, from SD2, patch by manuel
*Fix Auctionhouse CPU usage during item expire check, by MrSmite

--HG--
branch : trunk
2009-09-19 16:01:08 -07:00