Commit Graph
9379 Commits
Author SHA1 Message Date
Machiavelli c47b8a89c1 Fix issue with .save or .saveall where either the core would freeze, or items would not be saved to the DB properly.
Fixes issue #381
Fixes issue #477

--HG--
branch : trunk
2010-03-15 14:03:13 +01:00
Machiavelli ce51f24ff3 Change field crc in characters.addons to int(32) to support proper values.
--HG--
branch : trunk
2010-03-15 13:24:45 +01:00
Brian 8268adc932 * Added support for only displaying items from vendors for the team the
* player is on. Faction field in item_template is actually team, and will
* be renamed in a later patch.
* 1 == Horde / 2 == Alliance
* Thanks Aokromes for helping research / test

--HG--
branch : trunk
2010-03-15 06:19:27 -06:00
Xanadu f9566e08ac Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.
--HG--
branch : trunk
2010-03-15 04:37:28 +01:00
Xanadu 8cc3d2ad7f Fixed Drain Soul and Shadowburn Soul Shard on target death. Closes issue 1058.
--HG--
branch : trunk
2010-03-15 02:59:21 +01:00
Trazom62 1845a9588d Fix lootable check in Player::isAllowedToLoot.
--HG--
branch : trunk
2010-03-15 00:21:37 +01:00
Rat c8fd37a9dc *small tweaks to Utgarde keep bosses
--HG--
branch : trunk
2010-03-14 23:44:27 +01:00
Brian 50b59401dc * Was this really needed?
--HG--
branch : trunk
2010-03-14 16:36:53 -06:00
Brian 85b0798d75 * merge
--HG--
branch : trunk
2010-03-14 16:35:52 -06:00
Brian 920137f1ba * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:35:38 -06:00
Brian 71b7300348 * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to only push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:34:55 -06:00
Brian 0f0cb79f0b * merge
--HG--
branch : trunk
2010-03-14 16:33:04 -06:00
Brian ace353d088 * merge
--HG--
branch : trunk
2010-03-14 16:32:04 -06:00
Brian 9aa96aaf9b * Fix potential import error for vehicle_accessory table
* Thanks Riccardo

--HG--
branch : trunk
2010-03-14 16:31:47 -06:00
Spp f1696c42c9 Send SMSG_DESTRUCTIBLE_BUILDING_DAMAGE when a destructible building takes damage
Thanks to Opterman for the packet structure.

--HG--
branch : trunk
2010-03-14 21:10:21 +01:00
Brian 8ba7885cc8 * Added CONDITION_CLASS / CONDITION_RACE / CONDITION_ACHIEVEMENT for
* gossip / loot conditions

--HG--
branch : trunk
2010-03-14 11:45:34 -06:00
Trazom62 8d51d23cc5 Fix Master's call. Thanks Gyullo.
Fixes issue #1059.

--HG--
branch : trunk
2010-03-14 13:46:15 +01:00
Trazom62 6fdaf225f3 Fix creature tapped and lootable dynamic flags => fix creature not lootable.
Fixes issue #1067.

--HG--
branch : trunk
2010-03-14 00:22:53 +01:00
teacher 274268a686 Random sql cleanup.
--HG--
branch : trunk
2010-03-13 20:51:59 +01:00
Trazom62 7ff698b505 Fix SQL errors in world_script_texts.
--HG--
branch : trunk
2010-03-13 18:28:19 +01:00
Machiavelli f56d65dc2a Fix display of item enchantments in mailbox
--HG--
branch : trunk
2010-03-13 17:22:42 +01:00
XTZGZoReX 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.

--HG--
branch : trunk
2010-03-13 16:17:25 +01:00
Trazom62 76afec204d Yet another crash fix due to invalid cast.
Fixes issue #1079.

--HG--
branch : trunk
2010-03-13 12:51:37 +01:00
Trazom62 75a63297ca Fix ScriptedAI::SelectUnit to support SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
Remove duplicate select target function CreatureEventAI::SelectUnit.

--HG--
branch : trunk
2010-03-13 12:15:32 +01:00
Trazom62 4c9a9a02b0 Fix crash in boss_svala script + some cleanup.
Fixes issue #880.

--HG--
branch : trunk
2010-03-13 11:48:43 +01:00
Spp eb96718b5f Add missing file in previous commit.
--HG--
branch : trunk
2010-03-13 07:12:20 +01:00
Spp ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default.

- Player will continue to see all bgs using UI, but won't be able to join disabled bg's
- Gossip menu not shown for disabled Bgs/arenas
- Id 6 disabled = all arenas disabled.
- Only id 6 arena enabled = Gossip shown but unable to join any arena

--HG--
branch : trunk
2010-03-13 00:47:24 +01:00
Spp e1a8e1b2c9 Fix compile after 7548.
Also reorder the columns of account onlinelist command

--HG--
branch : trunk
2010-03-12 20:43:46 +01:00
Anubisss cb72277769 Fix a typo in a SQL.
--HG--
branch : trunk
2010-03-12 19:28:48 +01:00
Spp 673ab0019c Some Ticket text formating changes to help addons to parse data
Linked issue 466

--HG--
branch : trunk
2010-03-12 19:20:11 +01:00
Spp 2cac9671ca Add map and zone to account onlinelist command.
Closes issue 466

--HG--
branch : trunk
2010-03-12 18:55:41 +01:00
Spp d2a3f9670f Move vehicle accesories to DB.
Credit to Malcrom and Manuel for the idea and original patch

--HG--
branch : trunk
2010-03-12 18:19:50 +01:00
Machiavelli 19b646cdff Typo (sorry)
--HG--
branch : trunk
2010-03-12 14:28:43 +01:00
Machiavelli b085d8eadc Fix faulty debug logging and a crash caused by improper typecasting. Fixes issue #1068
--HG--
branch : trunk
2010-03-12 14:25:43 +01:00
raczman b23a85e810 Correct faction of Titan Relic in SOTA.
author: maxdestroyer

--HG--
branch : trunk
2010-03-12 11:53:30 +01:00
Xanadu 9f81a8ba5c Fixed crash on player kill and cleaned up the code a bit. Closes issue 1062. Closes issue 1064.
--HG--
branch : trunk
2010-03-12 05:46:32 +01:00
Trazom62 8210a97e73 Fix achievement title check at startup.
--HG--
branch : trunk
2010-03-11 23:25:04 +01:00
Trazom62 856d41a7b5 Fix Val'anyr, Hammer of Ancient Kings. Thanks sombre88.
Fixe issue #910.

--HG--
branch : trunk
2010-03-11 23:18:05 +01:00
Trazom62 8947cfd41c Fix crash in getFactionTemplateEntry.
Fixe issues #1050.

--HG--
branch : trunk
2010-03-11 23:12:44 +01:00
Trazom62 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.

Fixes issue #167.
Fixes issue #247.

--HG--
branch : trunk
2010-03-11 22:55:02 +01:00
Machiavelli d9f257a18c Allow spellid_x fields in item_template to be signed integers. Thanks to Svannon and RedSonja for testing.
--HG--
branch : trunk
2010-03-11 21:40:42 +01:00
thenecromancer e1542df90c Convert some C style casts to new functions
--HG--
branch : trunk
2010-03-11 20:51:31 +01:00
_manuel_ 02a9cd6a43 Improvements in boss_four_horsemen script.
--HG--
branch : trunk
2010-03-11 16:42:40 -03:00
thenecromancer 01ee5399a7 Remove some Debug logs nobody needed anymore
they've also contained wrong typecast function, therfore this'll fix issue 1054

--HG--
branch : trunk
2010-03-11 19:57:23 +01:00
Xanadu d2dfe54916 Merge
--HG--
branch : trunk
2010-03-11 16:56:07 +01:00
Xanadu ebee705452 Fixed SCRIPT_COMMAND_ORIENTATION, orientation needs to be float. Credit to Malcrom.
--HG--
branch : trunk
2010-03-11 16:54:25 +01:00
n0n4m3 d8db56ec48 Add report unknown packets in the error log and close this packets.
--HG--
branch : trunk
2010-03-11 15:09:51 +03:00
Xanadu 4c7e599802 Fixed ACTION_T_COMBAT_MOVEMENT preventing waypoint movement in OOC state.
--HG--
branch : trunk
2010-03-11 01:56:47 +01:00
XTZGZoReX d8520c04e8 * Add 2 unknown target flags.
--HG--
branch : trunk
2010-03-10 20:24:04 +01:00
Machiavelli bb38d246f4 Minor code style cleanup
--HG--
branch : trunk
2010-03-10 16:24:48 +01:00