Commit Graph
4415 Commits
Author SHA1 Message Date
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 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
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 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
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
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 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
maximius 0cf75ef9ea *Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
*Judgement of Light PPM based, not 100%. By Drevi.
*Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo.
*Correct Wintergrasp Tenacity formulas, by Gyullo.
*A Spirit Guide Escort Quest, code from SD2, patch by manuel.
*TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.

--HG--
branch : trunk
2009-09-19 12:13:08 -07:00
maximius 18c9a4f510 *Indentation cleanup
--HG--
branch : trunk
2009-09-18 14:14:39 -07:00
maximius 333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <[email protected]>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
Kudlaty 4309605dae Fix typo in wintergrasp. Patch by Gyullo
--HG--
branch : trunk
2009-09-18 00:54:45 +02:00
maximius 5b8ee23e47 *Better fix to the waypoint mobs returning to spawn issue, thanks XTElite1
--HG--
branch : trunk
2009-09-17 01:26:54 -07:00
maximius 1be0e825ce *Backed out changeset f2d288ace33d
--HG--
branch : trunk
2009-09-17 01:07:22 -07:00
maximius 3e7c851aae *[FIX] New characters are flagged on non-PvP servers by XTElite1
--HG--
branch : trunk
2009-09-16 12:53:53 -07:00
root@trinity b07aba2513 * Changed the logging for missing spell_script_target / spell_script_position
* entries in DB to "debug" level.
* Set the default level for DBLogLevel in trinitycore.conf.dist to 2 "detail"

--HG--
branch : trunk
2009-09-16 13:16:42 -06:00
maximius 00409c67cf *Levelling Weapon Skill patch (Author: Menia), thanks Sorken :)
--HG--
branch : trunk
2009-09-15 20:03:58 -07:00
maximius 88d632d153 *Disable commit 4821 / 9d0967884f0b (caused some NPCs to not regenerate HP when they should), found by Gyullo and tested by Manuel
--HG--
branch : trunk
2009-09-15 19:47:18 -07:00
Chaz Brown 1870644bf7 [8500] Fixed long existed bug with vmaps unloading.
When order of coordinates has been updated for loading case, unloading part
escape fixing in past.

Patch By Jolan

--HG--
branch : trunk
2009-09-15 20:55:14 -04:00
maximius 0174dd5aff *Fix pets not selecting next target bug, by MrSmite
--HG--
branch : trunk
2009-09-15 13:43:09 -07:00
Chaz Brown d926d567b5 Fix Instance resets not occuring without restarting server, patch provided by Trazom
--HG--
branch : trunk
2009-09-15 16:32:28 -04:00
Chaz Brown c7cc007950 Add Server revision to realmd.uptime table
--HG--
branch : trunk
2009-09-15 01:09:36 -04:00
maximius 140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
maximius be63ad1016 *Partially merge MaNGOS [8483] by bobaz (was mostly already implemented)
--HG--
branch : trunk
2009-09-14 13:51:05 -07:00