Commit Graph

  • 7ff698b505 Fix SQL errors in world_script_texts. Trazom62 2010-03-13 18:28:19 +01:00
  • f56d65dc2a Fix display of item enchantments in mailbox Machiavelli 2010-03-13 17:22:42 +01:00
  • f8c5b9a4a7 ** Cleanup in ObjectAccessor/HashMapHolder: * Correctly lock the HashMapHolder on access. * Use ObjectAccessor wrappers (GetPlayers, GetCreatures, GetGameObjects) instead of raw HashMapHolder<Type>::GetContainer. * General code style cleanup. XTZGZoReX 2010-03-13 16:17:25 +01:00
  • 76afec204d Yet another crash fix due to invalid cast. Fixes issue #1079. Trazom62 2010-03-13 12:51:37 +01:00
  • 75a63297ca Fix ScriptedAI::SelectUnit to support SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST. Remove duplicate select target function CreatureEventAI::SelectUnit. Trazom62 2010-03-13 12:15:32 +01:00
  • 4c9a9a02b0 Fix crash in boss_svala script + some cleanup. Fixes issue #880. Trazom62 2010-03-13 11:48:43 +01:00
  • eb96718b5f Add missing file in previous commit. Spp 2010-03-13 07:12:20 +01:00
  • ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB. wtlk arenas disabled by default. Spp 2010-03-13 00:47:24 +01:00
  • e1a8e1b2c9 Fix compile after 7548. Also reorder the columns of account onlinelist command Spp 2010-03-12 20:43:46 +01:00
  • cb72277769 Fix a typo in a SQL. Anubisss 2010-03-12 19:28:48 +01:00
  • 673ab0019c Some Ticket text formating changes to help addons to parse data Linked issue 466 Spp 2010-03-12 19:20:11 +01:00
  • 2cac9671ca Add map and zone to account onlinelist command. Closes issue 466 Spp 2010-03-12 18:55:41 +01:00
  • d2a3f9670f Move vehicle accesories to DB. Credit to Malcrom and Manuel for the idea and original patch Spp 2010-03-12 18:19:50 +01:00
  • 19b646cdff Typo (sorry) Machiavelli 2010-03-12 14:28:43 +01:00
  • b085d8eadc Fix faulty debug logging and a crash caused by improper typecasting. Fixes issue #1068 Machiavelli 2010-03-12 14:25:43 +01:00
  • b23a85e810 Correct faction of Titan Relic in SOTA. author: maxdestroyer raczman 2010-03-12 11:53:30 +01:00
  • 9f81a8ba5c Fixed crash on player kill and cleaned up the code a bit. Closes issue 1062. Closes issue 1064. Xanadu 2010-03-12 05:46:32 +01:00
  • 8210a97e73 Fix achievement title check at startup. Trazom62 2010-03-11 23:25:04 +01:00
  • 856d41a7b5 Fix Val'anyr, Hammer of Ancient Kings. Thanks sombre88. Fixe issue #910. Trazom62 2010-03-11 23:18:05 +01:00
  • 8947cfd41c Fix crash in getFactionTemplateEntry. Fixe issues #1050. Trazom62 2010-03-11 23:12:44 +01:00
  • ed8c5ef6ff Implement group loot for chest having GroupLootRules (go type=3, data15=1). Implement round robin loot. Implement round robin for underthreshold items (group loot and need befor greed). Fix "all players pass" bug on creature. Add SMSG_LOOT_LIST message to indicate looter (round robin or master). And some other minor loot bugs. Trazom62 2010-03-11 22:55:02 +01:00
  • d9f257a18c Allow spellid_x fields in item_template to be signed integers. Thanks to Svannon and RedSonja for testing. Machiavelli 2010-03-11 21:40:42 +01:00
  • e1542df90c Convert some C style casts to new functions thenecromancer 2010-03-11 20:51:31 +01:00
  • 02a9cd6a43 Improvements in boss_four_horsemen script. _manuel_ 2010-03-11 16:42:40 -03:00
  • 01ee5399a7 Remove some Debug logs nobody needed anymore they've also contained wrong typecast function, therfore this'll fix issue 1054 thenecromancer 2010-03-11 19:57:23 +01:00
  • d2dfe54916 Merge Xanadu 2010-03-11 16:56:07 +01:00
  • ebee705452 Fixed SCRIPT_COMMAND_ORIENTATION, orientation needs to be float. Credit to Malcrom. Xanadu 2010-03-11 16:54:25 +01:00
  • d8db56ec48 Add report unknown packets in the error log and close this packets. n0n4m3 2010-03-11 15:09:51 +03:00
  • 4c7e599802 Fixed ACTION_T_COMBAT_MOVEMENT preventing waypoint movement in OOC state. Xanadu 2010-03-11 01:56:47 +01:00
  • d8520c04e8 * Add 2 unknown target flags. XTZGZoReX 2010-03-10 20:24:04 +01:00
  • bb38d246f4 Minor code style cleanup Machiavelli 2010-03-10 16:24:48 +01:00
  • 35e1a1eda8 Use "REPLACE INTO" instead of "DELETE" + "INSERT INTO" in Item::SaveToDB call to fix a cause of items randomly disappearing (issue 925). Note: due to the hierarchy of the function calls, it's not possible to use DB transactions in this function. Machiavelli 2010-03-10 16:16:29 +01:00
  • d8fdf47c17 Overlooked ObjectMgr changes to reflect group table structure updates. Fixes issue #1046 Machiavelli 2010-03-10 16:00:17 +01:00
  • c603afb23e * Another update of AiReaction. XTZGZoReX 2010-03-10 11:26:57 +01:00
  • 103a61a358 Fix debug msg in Unit::SetCharmedBy Spp 2010-03-10 09:01:17 +01:00
  • b957b2736b Fix crash in group loading. Spp 2010-03-10 08:58:22 +01:00
  • 7fd1789109 Totem* casts. raczman 2010-03-10 07:58:11 +01:00
  • ac270db251 Removed forgotten nonexistent colums from a query. Thank Aokromes for pointing a finger on it Xanadu 2010-03-10 04:42:59 +01:00
  • 0038b2be0e * Add GUID logging in Unit::SetCharmedBy. XTZGZoReX 2010-03-10 02:41:16 +01:00
  • 54df245bb2 * Update AiReaction enum. XTZGZoReX 2010-03-10 02:02:24 +01:00
  • 41cf8c173e Fix quest reward money showing up as experience reward in quest reward offering dialogue. Fixes issue #829 Machiavelli 2010-03-09 22:37:07 +01:00
  • cf0a646cc0 Fix removal of action buttons by removing some redundant code. Machiavelli 2010-03-09 22:07:43 +01:00
  • 9df357f5d9 Fix enchant items in trade window. Original patch by Kierkegaard closes issue #985 Spp 2010-03-09 21:11:54 +01:00
  • 6c725aa530 One overlooked redundant piece of code related to previous commit removed. Machiavelli 2010-03-09 21:10:34 +01:00
  • 24ab54f213 Small update to the group/party system. - Fixes raid assistant privileges, Fixes issue #248 - Proper designation for Main tank and Main assistant roles - Remove 2 redundant columns in DB, namely groups.mainTank and groups.mainAssist. These are now defined by the value of group_member.memberFlags Machiavelli 2010-03-09 20:33:59 +01:00
  • e5eaa46a7f Removed not needed #include AuthSocket. n0n4m3 2010-03-09 19:01:45 +03:00
  • 5411468f5d Removed unused function bool AuthSocket::IsLag, also small code cleanup. n0n4m3 2010-03-09 18:53:22 +03:00
  • 269728b9ae Implement ACE netcode for realm server. Original author derex. n0n4m3 2010-03-09 18:01:42 +03:00
  • 04e7a5bd39 Cleanup and applying code style to some Database files. n0n4m3 2010-03-09 15:45:34 +03:00
  • bd7ca7fdf3 Fix an incorrect say_text index in Razorfen Kraul. By Aokromes Spp 2010-03-09 13:27:25 +01:00
  • 25b0be95aa Typo in server shutdown command. Original author VladimirMangos Closes issue #57 Spp 2010-03-09 13:13:20 +01:00
  • cef249ff2c Add level restrictions to some commands: say, yell, emote, whisper, channel use, trade, auction, mail, tickets By azazel. Closes issue #598 Spp 2010-03-09 12:58:48 +01:00
  • 8034a6c48e Rename 'Hostil' to 'Hostile' Credits to NoFantasy (Mangos) Closes issue #411 Spp 2010-03-09 11:11:10 +01:00
  • c716c0e5e5 Optimize vmaps extraction. Thanks to Splinter <Splinter@getmangos.com> Closes issue #857 Spp 2010-03-09 10:41:42 +01:00
  • 6f4be37051 Limit ChatHandler::HandleModifyHPCommand to players. Closes issue #1031 Spp 2010-03-09 10:40:42 +01:00
  • a4513c2559 Fix line endings. p0wer 2010-03-08 21:19:52 -06:00
  • ca033148c9 Backed out commit 3cb8647899, values are in dbcs, if you have issues with the spell try to show us the debug lines. _manuel_ 2010-03-08 23:17:26 -03:00
  • 3847e3be42 fix my typo in a4f4c51dca, could not detect it earlier Сloses #1029 silver1ce 2010-03-08 23:40:46 +02:00
  • 2cc15aee31 Fix crash in AuraEffect::HandleShapeshiftBoosts Add check to Spell::EffectSanctuary before casting (ensuring all appearances of "(Player *)" (whitespace incl.) are correct) thenecromancer 2010-03-08 17:20:25 +01:00
  • 887583bf09 Support for quest Doing your Duty by Malcrom. Thanks to Supabad. _manuel_ 2010-03-08 11:07:47 -03:00
  • f63ee4050c fix my typo thanks to KingPin for pointing the problem silver1ce 2010-03-07 21:36:39 +02:00
  • 07f3b91426 Some Creature* casts moved to new ToCreature. Added const Creature* ToCreature() raczman 2010-03-07 18:30:53 +01:00
  • 9a8f10fa30 avoid send movement packet at death twice, cleanup silver1ce 2010-03-07 18:17:37 +02:00
  • 91b8ee104e Added new type-safe cast functions. This, when properly used, should get rid of most memory corruption issues, currently, casting types C-style with no checks leads to some abstract crashing. Functionality is same as with dynamic_cast<>, but with no RTTI check - so when casting into invalid type you will receive NULL, and most probably crash. At the same time, i took the liberty to convert most Player* casts to ToPlayer(). Still needs crapload of casts being moved to new facility. raczman 2010-03-07 15:20:19 +01:00
  • aeebe57dc0 Remove 94567c94e6, instead don't check range/facing when finishing instant cast spells thenecromancer 2010-03-07 14:32:53 +01:00
  • 34bc948f37 *Format BattleGroundSA.cpp *Check if game is still in progress before awarding teams *Resurrect and refresh players at round end thenecromancer 2010-03-07 14:16:55 +01:00
  • 0c11fcee1b check creature's base stats table in more proper way it should show more missing data silver1ce 2010-03-07 03:45:22 +02:00
  • efb123f4f7 prevent stack overflow caused by MoveInLineOfSight calls should close #995 issue silver1ce 2010-03-06 18:18:32 +02:00
  • a135d9e6c7 * Fix typo in opcode name. XTZGZoReX 2010-03-06 14:28:11 +01:00
  • 7e99e2f9cc Send movement packet on creature/player death (expected for animation display, don't ask me why) Don't bother in case of flying creatures, as there's already something sent thenecromancer 2010-03-06 13:14:51 +01:00
  • 1a4c7c34fe Fix SoTA draw game by Gyullo. _manuel_ 2010-03-05 14:43:19 -03:00
  • 9dd9096d57 Fix a typo in trinitycore.conf.dist added in rev 8529262de6. Closes #887 Spp 2010-03-05 12:42:03 +01:00
  • 4b5a3f41ab Fix Shadow Affinity. Patch by Ouden. Fixes issue #988. p0wer 2010-03-04 17:49:10 -06:00
  • 7afa2ad651 Once again change values for BattleGroundSA honor reward at end. Sorry for misreading, it is a multiplier not the total honor. p0wer 2010-03-03 17:51:51 -06:00
  • 94b1feb5fb Fix command .go ticket. Will properly work now rather then show syntax error. Fixes issue #465. p0wer 2010-03-02 21:49:23 -06:00
  • 2278f6ac45 * Add change to characters.sql from last commit Brian 2010-03-02 20:21:17 -07:00
  • c9488f5ebe * Fix blob conversion SQL to allow for proper value for watchedFaction Brian 2010-03-02 20:17:51 -07:00
  • c89ccd6149 Move initialization of m_GMticketid to avoid random numbers being assigned if gm ticket table is empty. Thanks Ayane. Closes issue #883. p0wer 2010-03-02 21:00:33 -06:00
  • 9bb97dd51e If stealth-only spell fails, shouldn't remove you from stealth. Fix by lol584. Closes issue #99. p0wer 2010-03-02 20:54:27 -06:00
  • 7f5a4feba7 Fix values for honor gain after SotA end. Someone slap me, because I cannot get things right on the first time, ever. :P p0wer 2010-03-02 20:48:40 -06:00
  • 8f74403b0d Missed change from last commit. These variables aren't needed. p0wer 2010-03-02 20:40:36 -06:00
  • 8ae9b39689 Add correct values for honor gain after SotA. Also, fix issues with compiling with the recent patch. p0wer 2010-03-02 20:37:49 -06:00
  • f748ea34e3 changes in creature base stats storage * speedup stats searching * no more default stat generation for each class-level pair, there is only one default stat * CreatureBaseStats does not contain level and class silver1ce 2010-03-03 04:32:47 +02:00
  • 9e63454b63 store unit's level in uint8 format TODO: may be change db format too silver1ce 2010-03-03 02:48:31 +02:00
  • ab51061318 add creature expansion check silver1ce 2010-03-03 03:29:03 +02:00
  • f4a4a6bfc2 Merge. >< p0wer 2010-03-02 19:45:32 -06:00
  • 2942a19592 Some SA fixes by gyullo. Also added formating fix for BattleGroundSA::EventPlayerUsedGO. p0wer 2010-03-02 19:44:54 -06:00
  • 74ccd57597 * Move some values out of the data blob in the characters table * (honor, kills, title, currencies, watched faction, drunken-status, health and power) * Original Author Hunuza - thank you * Ported to Trinity by RammboNr5 - thank you * Tested by Aokromes - thank you * Closes Issue #911 Brian 2010-03-02 10:12:47 -07:00
  • d3e09cb65f * merge Brian 2010-03-02 10:00:40 -07:00
  • dff5bdedac skip ai reaction at self relocation i had to add it earlier silver1ce 2010-03-03 02:02:38 +02:00
  • 29666451f3 * Add support for sending quest completion text * Original patch by NoFantasy - thank you * Ported to Trinity by seirgy - thank you * Closes issue #873 Brian 2010-03-02 09:59:59 -07:00
  • 0f4855d8f3 Fix possible crash in .gobject info. p0wer 2010-03-02 17:44:59 -06:00
  • fbe0f4ea2b Improve .gobject info to not use SQL query anymore. Thanks to silverice for suggesting. p0wer 2010-03-02 17:40:26 -06:00
  • 70e77a796d Fixed import errors on recent sql update files... Added forgotten updates to world.sql... Added missing lines at the end of some sql files... Better format by adding DELETE FROM before any INSERT INTO update... teacher 2010-03-02 15:42:46 +01:00
  • 81f6779102 Add command similar to pinfo but for gameobjects. Displays Entry, Type, DisplayId, and Name. Created in response to issue #768. p0wer 2010-03-01 19:28:21 -06:00
  • 22d7ceaabb Implemented script for npcs 32369,32371,32372. By Malcrom. _manuel_ 2010-03-01 21:39:07 -03:00
  • 57f1b2524a Execute should only apply damage based on rage up to 30. Thanks 19Maxx83. Fixes issue #953. p0wer 2010-03-01 17:57:14 -06:00
  • 5448abd9f9 Implemented error message for go_tele_to_dalaran_crystal. By Malcrom. _manuel_ 2010-03-01 20:35:13 -03:00
  • 3bfcc197cf Fixed: Gothik Waves in 25m version should not be the same that 10m, used DBM and tested. By Gyullo. _manuel_ 2010-03-01 20:11:32 -03:00
  • a40dad1f11 Fixed Eye for an Eye by Gyullo. _manuel_ 2010-03-01 19:51:48 -03:00