Commit Graph

343 Commits

Author SHA1 Message Date
click fdd8d2f3cc Move around and do some changes to homebinding, thanks to Vladimir
* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper

--HG--
branch : trunk
2010-04-18 23:20:07 +02:00
n0n4m3 8abcca0a06 Another fix quest flags, Implement support weekly quests cooldowns(Original patch by GriffonHeart), also code cleanups.
--HG--
branch : trunk
2010-04-15 08:26:30 +04:00
n0n4m3 e3e5ca6227 Drop not needed table 'item_text', add new column 'text' in table 'item_instance'. Original patch by Vladimir.
--HG--
branch : trunk
2010-04-14 12:43:42 +04:00
n0n4m3 4f051752bd Fix quest flags, restore work many quests broken after client switch on 3.3.3a. Patch by Shauren.
--HG--
branch : trunk
2010-04-14 07:25:53 +04:00
Spp 7cd1f436be Fix compile warning in ObjectMgr::AddSpellToTrainer
--HG--
branch : trunk
2010-04-13 11:49:09 +02:00
Brian 1427f76a8c * Set Trinity referenced trainer start entry to 200000
* Removed unneeded bar loading code for trainers

--HG--
branch : trunk
2010-04-12 07:26:22 -06:00
Spp 65c3e979e2 Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
2010-04-11 20:20:38 +02:00
n0n4m3 be95faff23 Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG--
branch : trunk
2010-04-11 11:16:42 +04:00
Spp 4635fbc020 Code Style (game + scripts only):
"!=" --> " != " (when needed)
"  !=" --> " !="
"!=  " --> "!= "

--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp 46f0674e23 Code Style (game + scripts only):
">=" --> " >= " (when needed)
"  >=" --> " >="
">=  " --> ">= "
"<=" --> " <= " (when needed)
"  <=" --> " <="
"<=  " --> "<= "
" ==" --> " =="
"==  " --> "== "

--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp 2454c290b8 Code Style (game + scripts only):
"==" --> " == " (when needed)

--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp 49d05ba9aa Code style (game + scripts only):
"( " --> "("
" )" --> ")"

--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp d19e127080 Code style (game + scripts only):
"if(" --> "if ("

--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp 2e127f7a30 Code style (game + scripts only):
"while(" --> "while ("

--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp 182e9a20b1 Code style (game + scripts only):
"for(" --> "for ("

--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
Spp f490ad5ac2 Code Style: tab to spaces
--HG--
branch : trunk
2010-04-07 17:24:07 +02:00
Brian 96cc2b1d48 * Backed out changeset 44ff24439269
* We will implement this in a generic way using the conditions system

--HG--
branch : trunk
2010-04-05 14:42:40 -06:00
malcromdev@gmail.com> ce1280627d Add option maxPercentHealth to item_required_target to allow setting health percentage a target must be at before item use on item_required_target is allowed. This will allow better scripting of quest item use on some creatures.
--HG--
branch : trunk
2010-04-05 02:05:26 -02:30
Anubisss ce8cc85dfa Make a function(ToTempSummon()) which can convert Creature to TempSummon with a C++ cast(reinterpret_cast) and with a type check(isSummon()).
This function is like ToPlayer(), ToTotem(), etc.

This commit is like ede831bdd6f0cff481acc33f269fa7f8c78befd4 / r7496:
http://code.google.com/p/trinitycore/source/detail?r=ede831bdd6f0cff481acc33f269fa7f8c78befd4
As a result, this commit has the advantages and the "disadvantages" too, like r7496.

Please try to be polite if this commit causes some crashes.

--HG--
branch : trunk
2010-03-27 16:08:14 +01:00
Machiavelli b9927ca559 Implement usage of RewardArenaPoints field in quest_template
--HG--
branch : trunk
2010-03-27 15:10:26 +01:00
silverice 5f60483033 cleanups in vehicle accessories storage
transfer accesory list by pointer, make it constant

--HG--
branch : trunk
2010-03-25 04:09:26 +02:00
Brian 66a890ca0f * Allow the use of referenced trainer / vendor data.
* This will reduce the size of the trainer / vendor tables a LOT.
* Current tables will continue to work as/is until the refs can be made.
* Huge thanks to XTElite1
* Credits for patch to Cycrow

--HG--
branch : trunk
2010-03-24 18:27:09 -06:00
Xanadu cfc094040f Added support for maximum allowed player level for quests. By Gyullo.
--HG--
branch : trunk
2010-03-23 16:10:18 +01:00
Machiavelli f7ffd77123 Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the resolution for some client crashes.
--HG--
branch : trunk
2010-03-20 21:26:29 +01:00
Xanadu 48d7ae707d Fixed players not being able to resurrect after core crash.
--HG--
branch : trunk
2010-03-17 20:34:02 +01:00
Xanadu f9566e08ac Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.
--HG--
branch : trunk
2010-03-15 04:37:28 +01: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 ace353d088 * merge
--HG--
branch : trunk
2010-03-14 16:32:04 -06: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
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 d8fdf47c17 Overlooked ObjectMgr changes to reflect group table structure updates. Fixes issue #1046
--HG--
branch : trunk
2010-03-10 16:00:17 +01:00
Spp b957b2736b Fix crash in group loading.
--HG--
branch : trunk
2010-03-10 08:58:22 +01:00
Xanadu ac270db251 Removed forgotten nonexistent colums from a query. Thank Aokromes for pointing a finger on it
--HG--
branch : trunk
2010-03-10 04:42:59 +01:00
silver1ce f63ee4050c fix my typo
thanks to KingPin for pointing the problem

--HG--
branch : trunk
2010-03-07 21:36:39 +02:00
silver1ce 0c11fcee1b check creature's base stats table in more proper way
it should show more missing data

--HG--
branch : trunk
2010-03-07 03:45:22 +02:00
p0wer c89ccd6149 Move initialization of m_GMticketid to avoid random numbers being assigned if gm ticket table is empty.
Thanks Ayane. Closes issue #883.

--HG--
branch : trunk
2010-03-02 21:00:33 -06:00
silver1ce 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

--HG--
branch : trunk
2010-03-03 04:32:47 +02:00
silver1ce 9e63454b63 store unit's level in uint8 format
TODO: may be change db format too

--HG--
branch : trunk
2010-03-03 02:48:31 +02:00
silver1ce ab51061318 add creature expansion check
--HG--
branch : trunk
2010-03-03 03:29:03 +02:00
Brian 29666451f3 * Add support for sending quest completion text
* Original patch by NoFantasy - thank you
* Ported to Trinity by seirgy - thank you
* Closes issue #873

--HG--
branch : trunk
2010-03-02 09:59:59 -07:00
Tartalo c76cb0ce7c Add new flagged column to access_requirement to set instances opened/closed.
This way is possible to open a raid on 10man mode while the rest of modes are closed (for example).
Ingame commands to open/close instances coming soon ;)

--HG--
branch : trunk
2010-02-25 16:26:03 +01:00
p0wer 98b72c5299 Through DB you can now disable password changing by non-gm's simply by changing m_public to 0. Make channels public by default.
--HG--
branch : trunk
2010-02-23 21:09:55 -06:00
p0wer 50e878acba Fix typo in core bootup where it incorrectly displays an error message and returns false. Having the Max vendor items is acceptable.
--HG--
branch : trunk
2010-02-23 20:30:31 -06:00
Brian b19e793032 * CRLF to LF
--HG--
branch : trunk
2010-02-18 16:54:45 -07:00
Darkrabbit b0042f7056 * Optimized guild and arena team loading at startup
--HG--
branch : trunk
2010-02-18 02:42:59 +01:00
Brian a95dd226e4 * Properly display missing vehicle IDs on startup
--HG--
branch : trunk
2010-02-18 02:07:20 -07:00
Brian bea79b0711 * Add error checking for vehicle IDs that are in creature_template but don't
* exist in Vehicle.dbc. This *WILL* cause the client to freeze / hang.
* Look on TDB in the "Core related DB content" forum for a query to clean
* these up.
* Thanks to MaXiMiUS for the slap in the face :)

--HG--
branch : trunk
2010-02-17 00:51:19 -07:00
Brian 8930098acb * Add support for CONDITION_QUEST_NONE (14) as a loot condition and gossip
* condition. If set the player must never have taken or completed the quest
* listed in value1

--HG--
branch : trunk
2010-02-16 21:21:52 -07:00
n0n4m3 bcd4a48328 Removed stupid/not needed file Spellid.h.
--HG--
branch : trunk
2010-02-15 18:23:39 +01:00