Commit Graph

61 Commits

Author SHA1 Message Date
Anubisss
96ffb827ae *Better names for var Modelid.
--HG--
branch : trunk
2009-04-16 00:11:48 +02:00
raczman
a712170758 Creature respawn linking, idea by Rat, wrote by Iskander, blessed by raczman.
--HG--
branch : trunk
2009-04-14 14:33:48 +02:00
raczman
1e77ccd935 Change container type for guilds to Map.
Use const_iterator in case nothing is modified in loop.
author: bladex.

--HG--
branch : trunk
2009-04-12 12:57:06 +02:00
megamage
7c33373289 *Merge more contents from SD2. By nofantasy. Also backport some content from TC2.
--HG--
branch : trunk
2009-03-13 17:14:02 -06:00
KingPin
ae70787843 Extend the spell_disabled table to have a seperate flag for pet spells from player spells, Patch by Koani
--HG--
branch : trunk
2009-03-07 07:47:02 -05:00
Paradox
7b47d509e3 New AHBot plus AuctionHouse changes
--HG--
branch : trunk
2009-03-06 17:47:11 -06:00
Blaymoira
fd2fd00c14 *Implement access_requirement table - by Iskander
- now check the requirements on teleport not only on areatrigger use
- moved some columns from instance_template and areatrigger_teleport to access_requirement table

--HG--
branch : trunk
2009-03-05 21:02:33 +01:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
Paradox
260e11bc01 More tabs2spaces
--HG--
branch : trunk
2009-02-12 09:23:56 -05:00
KingPin
f385747164 Add newline at end of file.
--HG--
branch : trunk
2009-02-09 14:28:01 -05:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
2aff5260ea *Allow scripts to override SQL and DBC data.
--HG--
branch : trunk
2009-02-05 15:38:24 -06:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
Blaymoira
ca342a8815 *Implemented requires_heroic_quest_done in areatrigger_teleport - by Anubisss
--HG--
branch : trunk
2009-01-11 16:47:44 +01:00
TrullyONE
f9c739139d *Transport events implemented. Need DB support for travelmasters. New script command 18: SCRIPT_COMMAND_PLAYSOUND.
--HG--
branch : trunk
2009-01-03 07:26:39 +02: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
65ef38963d *The last merge from Mangos TBC. Update to Mangos v0.12.
--HG--
branch : trunk
2008-12-22 10:59:38 -06:00
megamage
400f7b8596 *Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.
--HG--
branch : trunk
2008-12-19 16:05:13 -06:00
megamage
b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage
ebf6469fb4 *Merge to solve EOL issue.
--HG--
branch : trunk
2008-12-09 23:06:16 -06:00
MeanMachine@MeanMachine-PC
cc0838459a Featuring a rewritten waypoint movement with more options, optimised code and revamped ingame waypoint control. To convert entries from the old tables manually, please use the PHP script provided at http://www.trinitycore.org/forum/project.php?issueid=830
--HG--
branch : trunk
2008-12-10 06:34:35 +02: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
megamage
d36672cd7e *Update spell range calculation. Original patch by QAston.
--HG--
branch : trunk
2008-12-04 23:00:35 -06:00
megamage
1328b1259b *Add CONDITION_INSTANCE_DATA for dynamic loot of instance such as Zul'aman and AV battleground.
*Script update for Zul'aman.

--HG--
branch : trunk
2008-12-02 18:12:39 -06:00
KingPin
daae039062 fixed loading error on DB table db_script_stringintroduced in previous merge with mangos.
--HG--
branch : trunk
2008-11-30 17:14:32 -05:00
megamage
bb1ee8a004 *Update to Mangos 6867. Source: Mangos.
*Big changes:
*[6858] Prevent cheating with ignore waiting in login queue.
*[6863] Arena team related clean ups and adding parts of w12x's arena patch.
*Some Config changes and guild changes.

--HG--
branch : trunk
2008-11-30 12:47:26 -06:00
megamage
e26beb36c2 *Update to Mangos 6856. Source: Mangos.
--HG--
branch : trunk
2008-11-28 11:38:28 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -06:00
megamage
52f2e35d65 *Fix a bug that GetScriptId returns incorrect id when the scriptname does not exist in db. Thank peldor for pointing out the mistake.
--HG--
branch : trunk
2008-11-24 19:41:39 -06:00
megamage
f29f2e6333 *Update to Mangos 6842. Source: Mangos.
--HG--
branch : trunk
2008-11-22 09:51:35 -06:00
megamage
1e997b95cc Re-commit 262 due to EOL issues. (no difference from 262)
--HG--
branch : trunk
2008-11-20 16:16:57 -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
KingPin
09a0d1122a [svn] * Improve some arena team related DB access
* Cache GM tickets on server startup.
* Remove unused src/game/HateMatrix.h and references.
* Better check client inventory pos data received in some client packets to
skip invalid cases

--HG--
branch : trunk
2008-11-10 09:04:23 -06:00
KingPin
8d331f2b10 [svn] * Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source.
* Better check client inventory pos data received in some client packets to skip invalid cases.
* Removed some unnecessary database queries.
* Make guid lookup for adding ignore async.
* Added two parameter versions of the AsyncQuery function
* Make queries for adding friends async. - Hunuza
* Replace some PQuery() calls with more simple Query() - Hunuza
* Mark spell as executed instead of deleteable to solve crash.
*** Source mangos.

**Its a big commit. so test with care... or without care.... whatever floats your boat.

--HG--
branch : trunk
2008-11-05 20:10:19 -06:00
KingPin
62ed044d08 [svn] *** Source Mangos ***
*Load npc_options at server startup, use cached data at creature gossip menu init.
* Also new .reload table command added
*Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded
* Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client.
* Fixed crash at .pinfo command use from console.
* Fixed windows ad.exe build
*Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.

** Small code changes to make things compliant with above changes.
** Another rev with big changes so test away.

--HG--
branch : trunk
2008-11-05 09:22:56 -06:00
KingPin
d5beb2bbe9 [svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.

TEST REV so be careful of creepy crawly bugs!

--HG--
branch : trunk
2008-11-02 16:53:46 -06:00
megamage
1dad2c855c [svn] Disable combat_reach spams.
Fix holy nova. Patch provided by Disassembler.

--HG--
branch : trunk
2008-11-01 18:52:59 -05:00
megamage
37d0fdd0cd [svn] Check creature combat reach when loading db. This should fix the bug that finding random contact point causes crash.
--HG--
branch : trunk
2008-11-01 16:53:16 -05:00
megamage
7ea14f94f1 [svn] Merge from mangos.
Wed Oct 29 15:06:00 034b8a34a9
Mon Oct 27 14:36:42 fa072d1510

--HG--
branch : trunk
2008-10-29 18:06:01 -05:00
w12x
dd97776501 [svn] * Fixed startup error flood if creature model id is 0
* Fixed totems using proper model ids broken after recent change
* Set pet grid activity state to that of caster upon summoning
* Fix a possible crash in ObjectAccessor
note to self: don't commit anything without 3 days testing. ever. after this one ofc.

--HG--
branch : trunk
2008-10-27 15:28:04 -05:00
w12x
fc77e2d761 [svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead.
--HG--
branch : trunk
2008-10-27 11:48:45 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
w12x
4b384751be [svn] Fixed crashes in LoadQuests().
Removed TrinityCore Only project files.

--HG--
branch : trunk
2008-10-22 13:09:54 -05:00
KingPin
14598dd84f [svn] * Implement honor rewards from quests - Source Mangos
--HG--
branch : trunk
2008-10-22 07:02:05 -05:00
w12x
bde02d6829 [svn] Added sanity checks in loading player cache to prevent crashing upon corrupted player data.
--HG--
branch : trunk
2008-10-22 04:05:15 -05:00
KingPin
389a9e3cea [svn] * Use ObjectMgr/AccountMgr functions rather than DB queries. Source mangos
--HG--
branch : trunk
2008-10-21 19:07:16 -05:00
KingPin
ed94fdb8bc [svn] * Added some player info cache to the core. Thanx to Rognar for patch, visaglis for testing and bugging me to add it.
--HG--
branch : trunk
2008-10-21 12:43:24 -05:00
w12x
5e1c19e4d9 [svn] Implement a new table (spell_disabled) to allow disabling some spells for players and / or creatures. To disable a spell for a players and pets, set 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker.
--HG--
branch : trunk
2008-10-21 03:58:38 -05:00