Commit Graph

63 Commits

Author SHA1 Message Date
megamage
920dae4f7f *Fix the bug about arena personal rating.
*Update to Mangos 6870. Source: Mangos. Main change: add a function SaveDataFieldToDB().

--HG--
branch : trunk
2008-12-01 17:36:11 -06: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
93ba82e8ca *Merge with 342.
--HG--
branch : trunk
2008-11-28 13:10:16 -06:00
megamage
fb2c984b03 *Update _saveaura for pet and player. Need more work on this.
--HG--
branch : trunk
2008-11-28 13:04:58 -06:00
megamage
beddd27430 *Aura Consolidation + MaxModifier. By Authorius, modified by Deafboy and thenecromancer, adapted by Muhaha.
--HG--
branch : trunk
2008-11-28 12:58:12 -06:00
megamage
e26beb36c2 *Update to Mangos 6856. Source: Mangos.
--HG--
branch : trunk
2008-11-28 11:38:28 -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
da6c516fdf *Procflag patch by DiSlord.
--HG--
branch : trunk
2008-11-26 15:14:03 -06:00
megamage
9e3c9124f2 *Fix the bug that low level gm cannot see high level gm even when they are visible.
--HG--
branch : trunk
2008-11-25 21:32:20 -06:00
megamage
99cf79bdf7 *Do not let Steady shot pause autoshot timer.
--HG--
branch : trunk
2008-11-25 17:58:06 -06:00
megamage
f6ea784eda *Update to Mangos 6848. Source: Mangos.
--HG--
branch : trunk
2008-11-25 16:36:50 -06:00
megamage
f7e5b2ba69 *Implement simple charmed AI for players charmed by creatures.
--HG--
branch : trunk
2008-11-24 17:15:41 -06:00
megamage
32b78f767c *Fix a bug in 307. Only the trigger effect should be applied but not the whole spell.
*Restore build in Linux.
*Change "Added aura" log to level: detail.

--HG--
branch : trunk
2008-11-23 14:42:32 -06:00
megamage
f29f2e6333 *Update to Mangos 6842. Source: Mangos.
--HG--
branch : trunk
2008-11-22 09:51:35 -06:00
megamage
32485bc5d1 Merge with 284 (54b0e67d97fe).
--HG--
branch : trunk
2008-11-21 19:49:54 -06: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
gvcoman
ae8a27bbb7 Merged commit 269 (5f0e38da128a).
--HG--
branch : trunk
2008-11-21 14:34:05 -05:00
megamage
ea68727d27 *Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.

--HG--
branch : trunk
2008-11-18 19:40:06 -06:00
gvcoman
478ca47083 Delete possessed AI only on creature delete.
--HG--
branch : trunk
2008-11-16 14:38:02 -05: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
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
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
megamage
897a989080 [svn] Fix some aura_interrupt_flags.
--HG--
branch : trunk
2008-11-11 20:50:03 -06:00
megamage
d06130f88c [svn] Fix some aura_interrupt_flag to correctly remove auras.
Add interrupt_flag_unattackable. Source: mangos forum. Adapted by F636y623.
Add function CombatStart().

--HG--
branch : trunk
2008-11-11 17:49:51 -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
73d1b07a91 [svn] Fix some typos.
--HG--
branch : trunk
2008-11-10 17:19:35 -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
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
gvcoman
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

--HG--
branch : trunk
2008-11-08 23:32:15 -06:00
megamage
7b23225006 [svn] Disable LOS check in canSeeOrDetect. It has been proved that CPU cannot sustain so much calculation.
--HG--
branch : trunk
2008-11-08 09:03:56 -06:00
gvcoman
3c7ae2b226 [svn] Removed accidentally forgotten debug code added in [197].
--HG--
branch : trunk
2008-11-07 16:56:16 -06:00
gvcoman
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

--HG--
branch : trunk
2008-11-07 16:49:42 -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
43eabaff1b [svn] Fix a typo in canSeeOrDetect().
--HG--
branch : trunk
2008-11-06 16:34:54 -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
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
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
d292b85d38 [svn] Fix teleport spells.
Fix cone spells.
Use interrupt_aura_flag to remove stealth/invisible/feign death auras.

--HG--
branch : trunk
2008-11-01 15:08:12 -05:00
megamage
a1131cdb21 [svn] Provide creature dual wield support.
Update glancing damage formula.
Do not daze creatures when other creatures attack from the back (need to find a better way).
Fix the damage calculation of +damage aura.

--HG--
branch : trunk
2008-10-29 20:00:21 -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
w12x
e72a13c3dd [svn] * Allow WorldObjects to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises.
--HG--
branch : trunk
2008-10-27 08:41:55 -05:00
w12x
6f2e0ee48a [svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead.

--HG--
branch : trunk
2008-10-26 11:50:07 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -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
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
KingPin
35f378aef9 [svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O

--HG--
branch : trunk
2008-10-20 12:23:56 -05:00