Commit Graph

77 Commits

Author SHA1 Message Date
megamage
bd5ee9e49e Revert 293 since it still does not work in x64.
--HG--
branch : trunk
2008-11-22 15:15:59 -06:00
gvcoman
0632084857 * Added missing part of mangos merge on interrupt channeling on aura cancel
* Removed hacks attempting to do the above only for possessing or farsight spells
* Moved summon as possessed unsummoning into more general area in Spell::cancel
* Added SQL updates for steam tonk and tonk mine scripts

--HG--
branch : trunk
2008-11-21 21:00:45 -05:00
megamage
fa667cf450 *Alterac Valley. By Bogie and Balrok. Note: some core contents are modified. Will fix them later. Some sql are disabled because of possible conflict with offical DB. Use them at your own risk.
--HG--
branch : trunk
2008-11-21 19:45:49 -06:00
megamage
b2ba78e57a *script for quest Recharging the Batteries. By Anubisss.
*script for quest The Road to Falcon Watch. By neo0608.

--HG--
branch : trunk
2008-11-21 17:29:05 -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
runningnak3d@mangos.zipwow.ano
78f343397c * Brought the default characters file up to the current rev.
--HG--
branch : trunk
2008-11-18 11:28:22 +00:00
megamage
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.

--HG--
branch : trunk
2008-11-15 15:09:22 -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
runningnak3d
53a7b53e7a [svn] * Fixed SchoolMask for Twin Blades of Azzinoth (Spell 41434)
* Thanks Anubiss

--HG--
branch : trunk
2008-11-14 11:46:44 -06:00
runningnak3d
80cc6cf02d [svn] * Fixed 230_world.sql
* Thanks Riccardo

--HG--
branch : trunk
2008-11-14 11:19:51 -06:00
slg
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.

* Fixed 147_world.sql

--HG--
branch : trunk
2008-11-13 17:12:54 -06:00
megamage
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.

--HG--
branch : trunk
2008-11-12 23:06:51 -06:00
megamage
379bc3682c [svn] Fix a bug that players cannot hear others talking.
Provide script support for type 10 gameobject.
Add some missing script sql.

--HG--
branch : trunk
2008-11-12 16:21:08 -06:00
KingPin
b9c7086f05 [svn] Added player latency reading to Characters DB. Patch by Biglad.
*** Latency readouts provided by Trollz Inc. For all your cheap yet effective statistics please come to Trollz Inc... Now with more murloc blood added for more accuracy.

--HG--
branch : trunk
2008-11-11 14:01:02 -06:00
megamage
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.

--HG--
branch : trunk
2008-11-09 23:54:02 -06:00
megamage
a04ad26b9e [svn] Add Druid swift flight form quest scripts. Patch provided by Blaymoria.
Update tempest keep scripts. Patch provided by Blaymoria.

--HG--
branch : trunk
2008-11-09 15:17:38 -06:00
megamage
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.

--HG--
branch : trunk
2008-11-09 14:54:13 -06:00
megamage
30ecce57b2 [svn] Duplicate SystemConfig.h to fix linux build. This is a hack. Hope someone will find the correct in future.
--HG--
branch : trunk
2008-11-08 23:48:00 -06:00
megamage
2021552353 [svn] Update serpent shrine scripts. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-07 10:03:34 -06:00
megamage
fd3fcb4612 [svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

--HG--
branch : trunk
2008-11-07 09:36:46 -06:00
megamage
b22c10128d [svn] Update SerpentShrine Cavern script. Patch provided by streetrat.
--HG--
branch : trunk
2008-11-06 16:17:36 -06:00
megamage
43910434c5 [svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

--HG--
branch : trunk
2008-11-06 10:27:58 -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
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
slg
a1981ecc77 [svn] * Added missing SQL for [173]
--HG--
branch : trunk
2008-11-04 16:31:42 -06:00
megamage
e91816937b [svn] Merge SD2 Rev 735. Patch provided by neo0608.
Fix 171_world.sql.

--HG--
branch : trunk
2008-11-04 15:37:18 -06:00
slg
31cebde085 [svn] * Updated Serpentshrine Cavern scripts to use script_texts
* Added script_texts for (nearly) all scripts
* Added documentation for script_texts
* Fixed tabs in chat.cpp

--HG--
branch : trunk
2008-11-04 15:21:02 -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
megamage
b53ab74b50 [svn] Remove a hack on triggered spell target selection.
Some minor fixes.

--HG--
branch : trunk
2008-11-04 10:33:02 -06:00
megamage
fc9a14a6cf [svn] Fix 146_world.sql. Do not use default for text. (Ignore this if you have successfully applied 146_world.sql)
Fix HandleAuraModIncreaseHealth, also increase current health.
Merge from Mangos:
2008-11-02 10:53:27 854e0d64e3410b2a1eff6d56705f8e42b4291534 Do not split self caused damage.
(PART) 2008-10-31 12:45:22 e56b671979623570acd358a9b99aa169be22ffba Move tamed pet creating code to new function.

--HG--
branch : trunk
2008-11-04 09:23:06 -06:00
megamage
a5045b7684 [svn] Update black temple boss 1, 2 script.
--HG--
branch : trunk
2008-11-03 20:44:32 -06:00
megamage
972e2d56e2 [svn] Add function GameObject::CastSpell. Used for hunter's trap and so.
Use original caster instead caster to check spell hit result.
Let spell triggers have the same faction as the summoner.
Fix the bug that trigger creatures attack enemy. (no need use civilian extra flag in the future, 128 is enough)
Fix shadow step.

--HG--
branch : trunk
2008-11-02 00:59:44 -05: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
e2eb694c57 [svn] Improve TargetedMovement (TODO: let mob find "near angle" rather than "random angle").
Delete a repeated check in instance canenter().
Fix some spell targets.
Add some sunwell spell sql.
Fix Magtheridons earthquake. (TODO: need to find out why soul transfer has no effect when casted by mobs)
Let Brutallus dual wield. Enable burn (still no script effect).
Quick fix for shadowmoon valley illidan quest crash (wait for author's fix).

--HG--
branch : trunk
2008-10-31 21:42:00 -05:00
megamage
daec9868d9 [svn] Enable linked spells: cast spells/remove auras when spells casted/spells hitting/auras removed. Add new table "spell_linked_spell". Some illustrations provided in sql.
Let trigger creature cast AOE spells when summoned. Illustration provided in sql.
Let active creatures always visible if possible. (seems does not work for now, need to find out why)

--HG--
branch : trunk
2008-10-30 11:32:10 -05:00
megamage
f2f73ff19f [svn] Update magisters terrace script. Patch provided by streetrat.
--HG--
branch : trunk
2008-10-30 09:25:38 -05:00
KingPin
0602efb289 [svn] * fixed my typo
--HG--
branch : trunk
2008-10-29 17:11:32 -05: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
3ea64f7581 [svn] * Prevent crash at access to deleted social data for player. Remove social data at logout instead - source mangos
* Fixed subcommands list output at console. - source mangos
* Rename scripts update.

--HG--
branch : trunk
2008-10-28 08:10:44 -05:00
slg
f724227f24 [svn] * fixed world.sql LOCK/UNLOCK for script_texts table
--HG--
branch : trunk
2008-10-27 16:12:31 -05:00
slg
1b820f93eb [svn] More C++ scripts converted to use script_texts.
- Blackwing Lair
- Black Morass
- Old Hillsbrad
source: ScriptDev2

--HG--
branch : trunk
2008-10-27 15:17:06 -05:00
KingPin
bbd5c8fd40 [svn] * Properly name Updates for scripts.
--HG--
branch : trunk
2008-10-27 13:23:14 -05:00
KingPin
1bb1603592 [svn] * Moved scripts sqls updates to main sql updates folder.
* Fixed makefile to use proper foldername.
* rXXX_world_scripts.sql will be the format for script sql updates, execute these into your world DB.

--HG--
branch : trunk
2008-10-27 09:57:53 -05:00
megamage
ad7400f254 [svn] SD2 Merge, rev 700 - addition of script_texts to various c++ scripts. Patch provided by SLG.
--HG--
branch : trunk
2008-10-26 20:59:39 -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
megamage
6fc23ef45e [svn] Update trinityscript to SD2 rev 700. Source: scriptdev2. Patch provided by SLG.
--HG--
branch : trunk
2008-10-25 11:40:10 -05:00
megamage
43436c8f30 [svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken).
Add some spell_script_target.
Delete some workaround in scripts (since core provides spell support now).

--HG--
branch : trunk
2008-10-25 10:37:28 -05:00
w12x
0f32ffb90e [svn] Prevent Bestial Wrath from being applied 5 times when cast by a hunter with The Beast Within talent. Hopefully this will also fix the crashes caused by this spell.
Change 'tbc' to 'expansion' in realmd.sql.

--HG--
branch : trunk
2008-10-23 09:40:37 -05:00