1bd37790b5
Added SetAggressive calls to steam tonk and tonk mine scripts.
gvcoman2008-11-21 19:12:44 -05:00
b2ba78e57a
*script for quest Recharging the Batteries. By Anubisss. *script for quest The Road to Falcon Watch. By neo0608.
megamage2008-11-21 17:29:05 -06:00
11c55ba0a1
*Do not convert Map* to InstanceMap* when calling Map::SendToPlayers() to see if it can fix the bug that the function does not work. (If it can, it will be really wierd)
megamage2008-11-21 16:36:29 -06:00
e9d6f1b23a
*Move object update from objectaccessor to map *Move activeobject list from objectaccessor to map *Open grid for all active creatures (previously only for possessed ones)
megamage2008-11-21 15:41:18 -06:00
71707df1de
*Let creature search nearby target before enter evade mode *Add function canStartAttack to reduce code in MoveInLineOfSight *Fix a bug that cancelling bind sight auras may crash the server
megamage2008-11-21 10:07:11 -06:00
5528b7c512
*Fix the bug that updatepacket is not sent to players. *TODO: move creature::update to map::update. This requires that move activeobjectlist to map.
megamage2008-11-20 20:28:17 -06:00
4495efa1ae
* Don't allow pets to attack in melee if owner is pacified. This applies for possessed "pets" as well. * Use proper spell ID in unsummoning possessed units on channeling interrupt. * Allow only once to init pet bar for CharmInfo * Export CharmInfo to be available to scripts * Allow to disable the melee attack command when initializing the pet action bar
gvcoman2008-11-20 20:27:04 -05:00
2c95ee4b31
*Add m_isAggressive. Only aggressive creatures will call AttackStart and MoveInLineOfSight. *Set melee dmg school for summoned creatures. *Fix some compiling errors.
megamage2008-11-20 18:54:50 -06:00
182c997573
*Re-commit some reverted patch: aura stacking check. By QAston.
megamage2008-11-20 18:13:10 -06:00
e5e6ff9f1b
Some missing changes. This should fix the bug that loading char causes crash. Please do not commit to the other tip (I do not know how to delete it).
megamage2008-11-20 17:40:13 -06:00
e55d536a14
Some missing changes. This should fix the bug that loading char causes crash.
megamage2008-11-20 17:18:23 -06:00
1e997b95cc
Re-commit 262 due to EOL issues. (no difference from 262)
megamage2008-11-20 16:16:57 -06:00
85d2816013
*DB script table stucture change. Source Mangos. Also fix some bugs. Hopefully this rev will make program usable again.
megamage2008-11-20 10:43:20 -06:00
8d09c298fd
*Merge with 258. Warning: this rev may be unstable!
megamage2008-11-18 19:43:03 -06:00
ea68727d27
*Merge from Mangos. Add MapReference. Author: hunuza. *Also re-commit the patches reverted in 255.
megamage2008-11-18 19:40:06 -06:00
9c980db394
Reverted rev. 250 changes, it caused problems on several distributions. Still need to figure out proper format specifier for all platforms.
w12x2008-11-18 23:29:56 +01:00
db6328e719
Backed out changeset 34515ac455ef
w12x2008-11-18 23:27:26 +01:00
df6a8e5f8e
Unsummon summon as possessed creatures on spell channeling interrupt.
gvcoman2008-11-18 15:52:52 -05:00
78f343397c
* Brought the default characters file up to the current rev.
[email protected]2008-11-18 11:28:22 +00:00
f3c48aa831
Backed out changeset 835660b317dc
KingPin2008-11-17 22:07:21 -06:00
ba0ef6ffc5
Backed out changeset 8fba4a7e4268
KingPin2008-11-17 22:07:07 -06:00
18dff69c55
*Merge from Mangos *[6833] More correct aura cancel for channeled spells. By VladimirMangos. *[6820] Cleanup spell proc event code. Avoid send same information by 2 ways to function. By VladimirMangos.
megamage2008-11-17 19:39:24 -06:00
474dc08c46
*Update aura stacking check. By QAston. *Update pet autocast check. By qubix.
megamage2008-11-17 17:59:33 -06:00
868c2ef175
* Implemented new summon possessed summon type for spell 49352. * Unsummon all summon possessed units on summoning aura cancel.
gvcoman2008-11-17 18:57:16 -05:00
4cd86b2ed5
Added TARGET_UNIT_AREA_SCRIPT target to the list of target types using custom targets defined in spell_script_target.
gvcoman2008-11-17 18:47:24 -05:00
363e526baa
Fixed I64FMTD define for non-microsoft compilers. This should fix phased events state not being saved on some systems.
w12x2008-11-17 23:39:24 +01:00
c95cb1003a
*Do not let CC spells interrupt themselves.
megamage2008-11-16 17:42:29 -06:00
3c866d5529
[svn] * Fixed a SQL issue that was causing game events to not be saved * FROM_UNIXTIME doesn't allow '' inside the () * This should solve the issue of jumping from phase 1 -> 2 -> 3 -> 4 without completing the objectives * This should also tick a LOT of players off if their servers are running with the stock TDB blizz values :P (low pop servers at least).
runningnak3d2008-11-16 02:28:44 -06:00
44291639b3
[svn] * Small fix to trinitycore.conf.dist * In the comments for Trinity Script, removed old DB connection info * What was the ScriptDev2 DB is now part of the World DB, so those settings are used.
runningnak3d2008-11-15 23:22:11 -06:00
7d3997f7d6
[svn] *Update Kalecgos script. *Correctly select aura triggered spell target. *Fix some scripts, should be pGOHello = & *Fix a bug that some channel spells cannot be interrupted. *Fix a bug that not-selectable creature cannot be hit by target_entry spells. *If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it.
megamage2008-11-15 15:09:22 -06:00
8df6868fac
[svn] DynamicObject should only be visible for caster if it is not in distance. However, I do not think this will fix the bug that dynamic object update freezes the server.
megamage2008-11-15 11:56:59 -06:00
9ff33852b7
[svn] Fix the bug that next melee spells and auto shoot do not work.
megamage2008-11-15 10:21:37 -06:00
88aac8195f
[svn] * minor cleanup in Level3.cpp
KingPin2008-11-15 07:14:03 -06:00
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
gvcoman2008-11-14 20:40:35 -06:00
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
visagalis2008-11-14 17:50:48 -06:00
053b671cb5
[svn] Add UNIT_STAT_CASTING, and use it to update attack timer as test.
megamage2008-11-14 17:42:00 -06:00
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
visagalis2008-11-14 17:03:03 -06:00
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.
visagalis2008-11-14 16:28:45 -06:00
eefcc9026b
[svn] Remove a hack to try to fix "pet attack self" bug. Warning: this change may bring some unexpected bug.
megamage2008-11-14 14:43:54 -06:00
05a3da754e
[svn] Let caster face target after casting shadowstep.
megamage2008-11-14 14:25:20 -06:00
f6c1a7a93d
[svn] Some update on channeled spells.
megamage2008-11-14 14:19:23 -06:00
53a7b53e7a
[svn] * Fixed SchoolMask for Twin Blades of Azzinoth (Spell 41434) * Thanks Anubiss
runningnak3d2008-11-14 11:46:44 -06:00
2c3130d415
[svn] * Merged SD2 Rev. 706 & 707 - Added: Pathaleon the Calculator script. Also added a Mechanar Instance script. - Added: Fixed and improved version of High King Maulgar. (Timers, Spells, Adds...) - Fixed: Nethermancer Sepethrea encounter. Spawning Adds, timers, spells... - Fixed: Lot of timers and spells like for: Doomlord Kazzak, Doomwalker, Gruul, and more.
slg2008-11-13 17:12:54 -06:00
55d58ea878
[svn] Fix blink. Bug: can blink through door. Author: GodsdoG. Fix blessed recovery and martyrdom. Patch provided by Gomez. setActive for Akama shade to see if this can fix the bug that it cannot find channeler.
megamage2008-11-12 23:06:51 -06:00
379bc3682c
[svn] Fix a bug that players cannot hear others talking. Provide script support for type 10 gameobject. Add some missing script sql.
megamage2008-11-12 16:21:08 -06:00
e3a9de2d84
[svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL.
megamage2008-11-12 10:36:13 -06:00
f40b573a45
[svn] Update IsNoStackSpellDueToSpell. This should fix the bug that some talent spell auras cannot stack. Patch provided by QAston.
megamage2008-11-12 10:22:56 -06:00
953aa51ea9
[svn] Fix a typo that makes pet cannot autocast. Thank Elron for pointing out the mistake.
megamage2008-11-12 10:01:57 -06:00
62e2949370
[svn] Fix a typo. This solve the bug that sap and other spells cannot be removed by damage. The original author of AURA_INTERRUPT_FLAG_UNATTACKABLE is kamir86. Sorry for not mentioning that in rev 221.
megamage2008-11-12 09:28:38 -06:00
ad217ed2f4
[svn] * more fixes for hash/unordered map. source mangos.
KingPin2008-11-12 06:41:30 -06:00
897a989080
[svn] Fix some aura_interrupt_flags.
megamage2008-11-11 20:50:03 -06:00
26d2b9f138
[svn] Fix a bug that tame beast may crash server.
megamage2008-11-11 17:59:56 -06:00
d06130f88c
[svn] Fix some aura_interrupt_flag to correctly remove auras. Add interrupt_flag_unattackable. Source: mangos forum. Adapted by F636y623. Add function CombatStart().
megamage2008-11-11 17:49:51 -06:00
b9c7086f05
[svn] Added player latency reading to Characters DB. Patch by Biglad.
KingPin2008-11-11 14:01:02 -06:00
655d86275b
[svn] Disable the follow and stay commands on charmed units or pets that have aura Bind Sight.
gvcoman2008-11-10 22:51:37 -06:00
99044f7005
[svn] * Fixed tickethamdeling stuff. * ArenaDb access,ticketcache, Client inventory position data cleanup from Mangos.
KingPin2008-11-10 11:01:48 -06:00
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
KingPin2008-11-10 09:04:23 -06:00
09280b0091
[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
KingPin2008-11-10 06:53:00 -06:00
f2250030cd
[svn] Fix pet spells: only AOE and enemy target spells are autocastable. Script for quest: First Trial. Original patch by Bufu (SD2), adapted by Patro.
megamage2008-11-09 23:54:02 -06:00
a04ad26b9e
[svn] Add Druid swift flight form quest scripts. Patch provided by Blaymoria. Update tempest keep scripts. Patch provided by Blaymoria.
megamage2008-11-09 15:17:38 -06:00
ee02a2fc84
[svn] Send AttackStart package when update visibility. Update DoMeleeAttackIfReady to support dual wield. Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model. Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable. Add NullCreatureAI for trinityscript. Fix channeler's soul transfer. Some update of black temple scripts.
megamage2008-11-09 14:54:13 -06:00
2c83fc42fc
[svn] Fix a bug that event_ai mobs do not attack or cast.
megamage2008-11-09 10:00:15 -06:00
30ecce57b2
[svn] Duplicate SystemConfig.h to fix linux build. This is a hack. Hope someone will find the correct in future.
megamage2008-11-08 23:48:00 -06:00
c014d6667c
[svn] * Disabled the move and stay commands while pet is possessed * Make pet come back to its owner after possession ends if it's not currently in combat * Allow the possessed unit to properly change attack targets * Also remove charm effects from charmed target on owner aura cancel
gvcoman2008-11-08 23:32:15 -06:00
35a284df7e
[svn] Fix build in Linux. Patch provided by SyRiOCoP.
megamage2008-11-08 17:55:48 -06:00
78647da51d
[svn] Fixed charmer or possessor not being entered in the threat lists of creatures who are being attacked by the charmed or possessed unit.
gvcoman2008-11-08 17:46:34 -06:00
e94ec9fa71
[svn] Merge from mangos: Do not check LOS for triggered spells. Fri Nov 07 16:08:30 apoc Fix reset combopoints on miss/parry/immune and etc. Sat Nov 08 14:53:03 DiSlord
megamage2008-11-08 17:43:22 -06:00
bc0164355f
[svn] Fix: DOT and HOT only proc effects when hit, but not on every tick (I know there is a proc flag patch, but this is a very quick fix). Change the structure of customattrmap. Use bit flag instead of uint32 for every attribute.
megamage2008-11-08 11:26:44 -06:00
4f59e96806
[svn] One more attempt to fix build in Linux (somebody helps me, I do not even have a Linux).
megamage2008-11-08 09:19:26 -06:00
1c1517030b
[svn] Do not break stealth when spell is not successfully casted (e.g. out of range).
megamage2008-11-08 09:11:18 -06:00
7b23225006
[svn] Disable LOS check in canSeeOrDetect. It has been proved that CPU cannot sustain so much calculation.
megamage2008-11-08 09:03:56 -06:00
e18c771553
[svn] Possession: * Fixed player not having PvP flag on remove * Fixed pet resetting its aggro on remove * Fixed pet bar resetting on remove (?) * Added dummy handler for NOT_ACTIVE_MOVER, display message only in debug logging mode
gvcoman2008-11-07 16:49:42 -06:00
46bb829582
[svn] Merge define.h from mangos. Hope this will solve the lag problem.
megamage2008-11-07 13:46:47 -06:00
fd3fcb4612
[svn] Remove isVisible function. Check stealth and invisible in canAttack(); Use new remove aura by interrupt flag function.
megamage2008-11-07 09:36:46 -06:00
fdff7330d2
[svn] Fix ritual of summoning.
megamage2008-11-06 17:16:33 -06:00
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.
megamage2008-11-06 16:51:46 -06:00
43eabaff1b
[svn] Fix a typo in canSeeOrDetect().
megamage2008-11-06 16:34:54 -06:00