Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
spp@influenza 0d6da14ded Wintergrasp: Cosmetic changes + player leave combat when wartime ends
--HG--
branch : trunk
2009-09-24 12:44:49 +02: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
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
maximius 50d519b65b *Judgement of Wisdom PPM based, not 100%. By Drevi.
--HG--
branch : trunk
2009-09-22 18:02:03 -07: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 80efe383fb *Fix a modelid issue in world_spell_full
--HG--
branch : trunk
2009-09-21 21:22:03 -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
maximius ea2da8c758 *Fix a modelid issue in world_scripts_full, thanks Demonx
--HG--
branch : trunk
2009-09-21 17:23:56 -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
maximius f093c18ca1 *Remove some bad SQL data, thanks MrSmite
--HG--
branch : trunk
2009-09-20 23:25: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 6eb97366a7 *Update file THANKS.
--HG--
branch : trunk
2009-09-20 14:26:43 +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
maximius 22869c7a47 *Add ScriptName to GO 185919 and 185921, thanks WarHead
--HG--
branch : trunk
2009-09-19 15:44:22 -07:00
maximius 599d0fa65b *quest: "Long Forgotten Memories"
*quest: "A Pawn on the Eternal Board"
*World Event: AQ-War Effort
*quest: "Eranikus, Tyrant of the Dream"
*Sunken temple -> "Snake Puzzle event"
*duskwood boss "Twilight Corrupter" for quest: "The Nightmare's Corruption"
*All by kb_z, please tell me if I missed anything, and somebody please review the SQL.. a LOT Of stuff in this needs to go to TDB!

--HG--
branch : trunk
2009-09-19 15:14:05 -07:00
maximius d3ba9eea44 *Missed changes! ><
--HG--
branch : trunk
2009-09-19 12:50:58 -07:00
maximius 799c5da00a *Quest - Taken by the scourge by BlackOne
*Quest - The Warsong Farms by Thraxx
*Gameobject Script - Fel Crystalforge & Bash'ir Crystalforge by johnholiver

--HG--
branch : trunk
2009-09-19 12:48:17 -07:00
maximius 7566630206 *Missed change
--HG--
branch : trunk
2009-09-19 12:25:26 -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
maximius 0d9d400e79 *Typos! Fun!
--HG--
branch : trunk
2009-09-18 03:28:12 -07:00
maximius e9fb57651d *Fix a fairly nasty typo I only just noticed..
--HG--
branch : trunk
2009-09-18 03:05:59 -07:00
maximius c08b38aa14 *Add NPC 16111 to script npc_training_dummy (this creature is not supposed to move around and kill things, it should behave like a normal target dummy)
--HG--
branch : trunk
2009-09-17 18:05:01 -07:00
Kudlaty 4309605dae Fix typo in wintergrasp. Patch by Gyullo
--HG--
branch : trunk
2009-09-18 00:54:45 +02:00
Rat 9f96e6ce81 *fix Kael'thas (TK) summoning double phoenix, broken by an sd2 merge
--HG--
branch : trunk
2009-09-17 23:12:26 +02:00
Machiavelli b897584203 Update to Gluth script; lower the distance required between zombie chow and Gluth before Gluth consumes it for a more blizzlike experience
--HG--
branch : trunk
2009-09-17 15:28:34 +02:00
maximius fb2e263be7 *Escort Quest The Totem of Kar'dash from SD2, thanks manuel
--HG--
branch : trunk
2009-09-17 01:45:36 -07: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
maximius 42e5eb6d35 *[Ingvar The Plunderer] Fix Animation of Undead Part by Gyullo
--HG--
branch : trunk
2009-09-16 12:45:20 -07:00
maximius e5abaf569f *Little changes in borean_tundra.cpp by manuel
--HG--
branch : trunk
2009-09-16 12:38:17 -07:00
maximius 2c4c296599 *Correctly update world_spell_full.sql with missed update from 5006_world.sql
--HG--
branch : trunk
2009-09-16 12:33:21 -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
maximius 0174dd5aff *Fix pets not selecting next target bug, by MrSmite
--HG--
branch : trunk
2009-09-15 13:43:09 -07:00
maximius 6cb428318a *Merge..
--HG--
branch : trunk
2009-09-14 16:50:01 -07: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