Commit Graph

51 Commits

Author SHA1 Message Date
megamage
eb5a7b02ee *Merge with Trinity 783.
--HG--
branch : trunk
2009-01-04 16:17:46 -06:00
Blaymoira
c9f0d4292a *Cleaned up database queries - by XTZGZoReX
--HG--
branch : trunk
2009-01-04 17:20:23 +01:00
megamage
67ed3e2c39 *Mangos [7016] Avoid table areatrigger_teleport double reload at .reload all command. By NeatElves.
--HG--
branch : trunk
2009-01-03 20:07:24 -06:00
megamage
9438625a19 [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields. By VladimirMangos.
--HG--
branch : trunk
2009-01-03 11:06:51 -06:00
megamage
b70c57bbd6 *Mangos [7013] Rename recently added function for consistent with already existed. Use it for old cases. By VladimirMangos.
--HG--
branch : trunk
2009-01-03 11:01:33 -06:00
megamage
e2ee47fb35 *Update to Mangos 6963.
--HG--
branch : trunk
2008-12-28 12:10:31 -06:00
megamage
3bbf8d6be8 HG 698.
--HG--
branch : trunk
2008-12-28 10:52:24 -06:00
Blaymoira
f20e4be2e9 *Rewrited HandleAccountSetGmLevelCommand - by Machiavelli
--HG--
branch : trunk
2008-12-28 09:53:23 +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
Blaymoira
8668244a6d *Missed a row change and added missing sql
--HG--
branch : trunk
2008-12-22 22:05:04 +01:00
Blaymoira
5ca3aacaaf * Various functions to broadcast output to GMs only - Patch by Machiavelli
--HG--
branch : trunk
2008-12-22 21:56:16 +01:00
QAston
e11dbbd62d *Remove 'first_spell' and 'rank' columns from table spell_chain
*Separate req_spell and spell_chain data to save some memory
*Use spell_chain data generated from dbc instead of sql

--HG--
branch : trunk
2008-12-22 02:11:11 +01: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
shadowu@mail.bg
32a9420289 *Small typo fixes. After this update leader's GUIDS in CreatureGroups must be added also as group member GUIDS.
--HG--
branch : trunk
2008-12-17 20:30:36 +02:00
QAston
42d52c1e17 *Use prev_spell data calculated on startup instead of sql column.
*Changed map structure of req spell.
*Added precalculated data for next spell in rank and last one.
*Removed duplicated rank entries for some spells and used req_spell column instead.
*Allow required spell to have required spell.

--HG--
branch : trunk
2008-12-14 23:01:02 +01:00
megamage
8b4f5b6290 *Allow GM .die "locked-hp" creatures.
--HG--
branch : trunk
2008-12-13 11:03:29 -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
d36672cd7e *Update spell range calculation. Original patch by QAston.
--HG--
branch : trunk
2008-12-04 23:00:35 -06:00
megamage
813b750b01 *Set player combat reach from 1.5 to 0.4.
--HG--
branch : trunk
2008-11-27 12:00:46 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -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
5eda9b1ec7 [svn] * Partly reverted 242 changes. To fix compile error.
--HG--
branch : trunk
2008-11-15 07:37:41 -06:00
KingPin
88aac8195f [svn] * minor cleanup in Level3.cpp
--HG--
branch : trunk
2008-11-15 07:14:03 -06:00
gvcoman
5deef1bb59 [svn] * Reimplemented packet/update forwarding in more generic way
* Implemented far sight spells (Far Sight, Eagle Eye, etc) at unlimited range and properly forward packets
* Implemented bind vision spells (Mind Vision, etc) to forward packets at unlimited distance
* Implemented Sentry Totem (both vision switching/forwarding and alerting)
* Other misc possession fixes
* Added .bindsight and .unbindsight commands

Please test out the above spells (including Mind Control) and report any issues on the forums.

--HG--
branch : trunk
2008-11-14 20:40:35 -06:00
visagalis
3085e66b96 [svn] *** Source: MaNGOS ***
* Fixed english spelling in src/game/WorldSocket.h/cpp. Author: Derex
* [240_world.sql] Create new command .senditems and remove from moderator level command .sendmail possibility send items. Author: Vladimir
* Added new command: .sendmoney player "subject" "message" money - Sends a mail with money to a player. Author: fredi
* Correctly apply taken damage debufs/bonuses in cases non-physical melee damage. Author: Frankir
* Fix a crash in add friend/ignore callback. (check if player still logged in). Author: Hunuza
* Better args checking in .sendmoney command. Author: Vladimir

--HG--
branch : trunk
2008-11-14 17:50:48 -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
megamage
73d1b07a91 [svn] Fix some typos.
--HG--
branch : trunk
2008-11-10 17:19:35 -06:00
megamage
2a328220bf [svn] Merge from mangos:
b44eac552a0f9d4f298398d4cb07d2cd1462ad41 Use .respawn only for selected creature (if any) Tue Oct 28 08:34:35 2008
91988e44158fe5a7611d34612bc192aa7988de06 Fixed crash at using .account set gmlevel with wrong args.

--HG--
branch : trunk
2008-11-06 16:51:46 -06:00
KingPin
5746d0e98d [svn] * Avoid access to bag item prototype for getting bag size, use related item
update field instead as more fast source. source mangos.
* Further reduce of DB access in guild handlers.
* Multi-locale DBC extracting  - source Foks

*** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits..

--HG--
branch : trunk
2008-11-06 08:20:26 -06:00
gvcoman
44bdb135f4 [svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

--HG--
branch : trunk
2008-11-05 20:51:05 -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
84624aa7c4 [svn] * minor fix
* Add missed part of 176

--HG--
branch : trunk
2008-11-05 09:59:56 -06:00
KingPin
89c9756b77 [svn] added commands : pet create, tp, learn, unlearn. gobject activate and playall. thanx to dythzer.
--HG--
branch : trunk
2008-11-04 13:32:08 -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
KingPin
ce2d63e4ae [svn] * Added npc follow, waterwalk, repairitems commands. Patch by dythzer
* Prevent adding more than 5 people to raid - Apoc
* fixed typo from one of our previous commits.
* Fixed two strings in core, thanx to warhead for patch.

--HG--
branch : trunk
2008-10-29 17:09:32 -05:00
KingPin
a0f843a3eb [svn] * Merge CLI Commands with regular commands and give them level4 access. sec_console. Source mangos - thanks to ogeraisi for the amalgamated patch.
* Redid/Fixed/Added some lang strings.
* As usual remember this is a trunk rev so stability only guaranteed on northern countries of Mars and western parts of Pluto. No warranties outside the solar system, sorry :( . Check with your local government or dictator on regulations regarding export.

--HG--
branch : trunk
2008-10-26 13:32:42 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -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
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
KingPin
cdb7fd43ee [svn] * Minor code fixes
* Move account related functions from ObjectMgr to AccountMgr and drop duplicate functions - source mangos
* recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos
* added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos

--HG--
branch : trunk
2008-10-20 12:59:45 -05:00
KingPin
d936f1bbd8 [svn] * Added freeze/unfreeze/listfreeze commands patch by toilet1 (I swear I didnt make up the name)
* Fixed a couple of spelling errors in TC conf file

--HG--
branch : trunk
2008-10-19 11:42:21 -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
Seline
63af34886b [svn] * Send ShutdownMsg to console using outstring_log.
* Prevent Client Crashes when MOVEMENTFLAG_ONTRANSPORT and MOVEMENTFLAG_SPLINE2 is set on creatures.
* Implement four new SEC_ADMINISTRATOR commands:
    - Group (.group [leader]/[disband]/[remove]) commands.
    - GameObject State (.gobject state <guid> <state>) command.

--HG--
branch : trunk
2008-10-12 18:26:26 -05:00
XTZGZoReX
a4ceeacb51 [svn] * Changed: .respawn now respawns only single creature if selected. <3 Seline.
* Added: .nameannounce command. Includes name of announcer.

--HG--
branch : trunk
2008-10-12 14:43:55 -05:00
Neo2003
95b91afbab [svn] * svn:eol-style native set on all files that need it
--HG--
branch : trunk
2008-10-11 14:16:25 -05:00
w12x
6f0c3469a6 [svn] -enabled instantiated battlegrounds
-enabled arena matches
-rewritten battleground queuing to support joining as group
-removed queue announcements

--HG--
branch : trunk
2008-10-05 08:48:32 -05:00
Neo2003
5651828bf7 [svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript logo
* Version updated to 0.2.6721.676

--HG--
branch : trunk
rename : 6700-670 => 6721-676
2008-10-04 06:17:19 -05:00