Commit Graph

44 Commits

Author SHA1 Message Date
maximius
93f3d27440 *Also include grouped items in the check added in 3e8840284b77.
--HG--
branch : trunk
2009-11-04 19:17:15 -08:00
maximius
c15a8e201b *Never add the same loot item twice.
--HG--
branch : trunk
2009-11-04 19:14:10 -08:00
maximius
d2b869d4e2 *Should fix the reversed groupid-lootmode issue.
*Cleanup, and convert npc_innkeeper.cpp back to ANSI from UTF-8 (was causing *nix compile issues apparently)

--HG--
branch : trunk
2009-10-28 18:25:36 -07:00
maximius
98e546a804 *Minor cleanup.
--HG--
branch : trunk
2009-10-28 17:50:33 -07:00
maximius
f4d76b8216 *Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support.
--HG--
branch : trunk
2009-10-28 16:31:19 -07:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
megamage
90b55ff7b1 [8424] Added support for strict chatmessage validation Author: arrai
--HG--
branch : trunk
2009-08-27 19:57:35 -05:00
megamage
e152ff8ec5 [8183] Some gameobject despanw related fixes Author: VladimirMangos
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use.
    * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers.
    * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped)

--HG--
branch : trunk
2009-07-16 12:06:07 +08:00
megamage
d9ec2d2196 [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

    The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

    It's recommended to backup your character database before applying this patch.

--HG--
branch : trunk
2009-06-27 17:39:51 -05:00
QAston
f558a785fc [8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes.

* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without
template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with
  itemtype==0

Note: required DB support in `spell_loot_termplate` Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 14:44:16 +02:00
megamage
a7794b6a52 [7939] Fixed check in LoadLootTemplates_Spell. Author: XTZGZoReX
--HG--
branch : trunk
2009-06-02 17:42:59 -05:00
megamage
0652c95126 [7892] Update spell_loot_template entry description in error output for better fit to current table use. Author: VladimirMangos
--HG--
branch : trunk
2009-05-26 16:10:42 -05:00
megamage
6d6a4a7856 [7864] Use x.0f float constant format. Author: NoFantasy
--HG--
branch : trunk
2009-05-21 10:52:35 -05:00
megamage
a2b12f3ae8 [7732] Fixed compile warnings. Author: AlexDereka
--HG--
branch : trunk
2009-04-29 00:31:33 -05:00
megamage
de11b9e901 [7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
2009-04-29 00:26:07 -05:00
megamage
cb8b3fe5db [7607] Improvements in support some generic achievement classes Author: VladimirMangos
* Implement support achievements with refAchievement field != 0, that have criterias stored in achievement refAchievement.
    * Implement support achievement complete req. with specific count of completed critirias.
    * Avoid full achievement list scan at search achievement associated with criteria.

--HG--
branch : trunk
2009-04-03 16:36:20 -06:00
megamage
941e5b9dbd [7532] Avoid warnings at use size_t with printf fromat strings. Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 17:38:14 -06:00
XTZGZoReX
9fe43fa9c0 * Implementing database logging:
** LogTime and LogColors config options removed due to incompatibility.
** Old file logging still available.
** Totally redone the Log class.
** Config options added: EnableLogDB, DBLogLevel, LogDB.Char, LogDB.RA, LogDB.GM -- remember to update config file.
** SQL updates attached.

--HG--
branch : trunk
2009-03-19 21:13:52 +01:00
megamage
f63c07e669 [7398] Now really really fix error message Author: VladimirMangos
--HG--
branch : trunk
2009-03-07 10:43:27 -06:00
megamage
4f6c96b98c [7394] Check loot_template.maxcount for max allowed value (255) and make better report for this case. Author: VladimirMangos
Also optimize strcture LootStoreItem that let use 4 byte for loot template element in memory instead 5 bytes.
    But limit group id to 127 max value. Check this at loading.

--HG--
branch : trunk
2009-03-06 19:39:42 -06:00
megamage
6f595b3038 [7387] Check maxcount >= min count for item (not reference) record in loot templates DB tables.. Author: VladimirMangos
--HG--
branch : trunk
2009-03-06 15:23:25 -06:00
megamage
14a3f5f923 [7344] Ignore drop rate multipliers in loot groups. Author: Velorien
For grouped loot use rates create problems with impossibility loot some items including quest items.

--HG--
branch : trunk
2009-02-27 12:24:09 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
2bd90deeed [7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot. Author: VladimirMangos
Use this function in more cases and simplify and fix some related code.

--HG--
branch : trunk
2009-02-08 21:54:13 -06:00
megamage
11b9bd42f7 Fixes and cleanups in loot code. Author: VladimirMangos
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
    * Simplify LootView code.

--HG--
branch : trunk
2009-02-08 21:45:31 -06:00
Muhaha
358d1bb14e Now correct patch version: Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos
--HG--
branch : trunk
2009-02-06 11:25:04 +01:00
megamage
036c6eb742 Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos
--HG--
branch : trunk
2009-02-05 23:02:07 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
d79d9f044e [7212] Fixed check possibility quest drop present in loot template for player in case groupped loot. By VladimirMangos.
--HG--
branch : trunk
2009-02-01 16:30:14 -06:00
megamage
4230318f96 *Update to Mangos 7136.
--HG--
branch : trunk
2009-01-21 16:18:57 -06:00
megamage
3deefb9f00 *Update to Trinity 759.
--HG--
branch : trunk
2009-01-02 10:35:19 -06:00
Blaymoira
72449b06a7 *Not consider loot multiplier for grouped loot - by Brats
--HG--
branch : trunk
2009-01-02 12:26:35 +01:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
megamage
ce643187f0 *Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member.
*Skip 6885 because of performance concern.

--HG--
branch : trunk
2008-12-08 16:34:03 -06:00
visagalis
bfa9e75161 [svn] *** Source: MaNGOS ***
* Implement localization of creature/gameobject name that say/yell. Author: evilstar (rewrited by: Vladimir)
* Fix auth login queue. Author: Derex
* Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Author: mobel/simak
* Fixed some format arg type/value pairs. Other warnings. Author: Vladimir
* [238_world.sql] Allow have team dependent graveyards at entrance map for instances. Author: Vladimir

NOTE:
Entrance map graveyards selected by same way as local (by distance from entrance) Until DB support will work in old way base at current DB data.

--HG--
branch : trunk
2008-11-14 17:03:03 -06:00
visagalis
d1e759479b [svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

--HG--
branch : trunk
2008-11-14 16:28:45 -06:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00