713 Commits

Author SHA1 Message Date
Trevius
c4eb6e2881 (RoF+) Setting Alt flag on characters in the Guild Management Window is now saved and functional for filtering. 2015-02-09 18:52:17 -06:00
KayenEQ
0521cae8d0 Implemented npc specialability (44) COUNTER_AVOID_DAMAGE which when applied to the ATTACKING NPC will make their attacks more difficult to be avoided by riposte/dodge/parry/block.
Parama0: Negative modifer value that affects ALL avoid damage types dodge/parry/riposte/block) chance on defender. Ie (44,50 = 50 pct reduction to ALL)
Parama1: Negative modifer value that affects RIPOSTE chance on defender. Ie (44,1,0,50 = 50 pct reduction to riposte chance)
Parama2: Negative modifer value that affects PARRY chance on defender.  Ie (44,1,0,0,50 = 50 pct reduction to parry chance)
Parama3: Negative modifer value that affects BLOCK chance on defender.  Ie (44,1,0,0,0,50 = 50 pct reduction to block chance)
Parama4: Negative modifer value that affects DODGE chance on defender.  e (44,1,0,0,0,0,50 = 50 pct reduction to dodge chance)
Example of usage: Player has Improved Dodge V (+50 pct dodge chance), you want to negate this bonus you would set 44,1,0,0,0,0,50 on your NPC.

Clean up and minor fixes to AvoidDamage function.
Added support to a few AA bonuses there.
2015-02-08 20:17:51 -05:00
Akkadius
8b925f549b derp [skip ci] 2015-02-08 06:19:14 -06:00
Akkadius
cb81d956f6 Reduced #repop time dramatically by taking down hundreds of individual SELECT/DELETE/INSERT queries in routines and bringing it down to very few
See: https://www.youtube.com/watch?v=9kSFbyTBuAk
2015-02-08 05:01:58 -06:00
Uleat
9446d75444 Merge branch 'master' of https://github.com/EQEmu/Server
Conflicts:
	changelog.txt
2015-02-06 13:20:32 -05:00
Uleat
c9cd733d9a Updated command #iteminfo 2015-02-06 12:09:26 -05:00
Uleat
5a619bddaf Excluded limbo (cursor buffer) from HasItem checks 2015-02-06 09:58:57 -05:00
Uleat
5d64012d74 Removed iter_inst and iter_contents typedefs 2015-02-06 08:52:41 -05:00
Uleat
2bf2485b4c Enforced const_interator returns on const_iterator return types in Inventory and ItemInst 2015-02-06 07:57:15 -05:00
Trevius
f26d303ee1 Fixed Environmental Damage for RoF2. 2015-02-05 22:34:55 -06:00
Uleat
facd7d357d Light source exclusion tweak (helps with strobing effects) 2015-02-03 22:43:03 -05:00
Trevius
8bc5e5eee1 Crashfix for TempName() when numbers are passed at the end of the name. 2015-02-03 17:23:29 -06:00
Akkadius
f2667cee23 Implement Packet logs with dumps
- Category: 41: Packet: Server -> Client With Dump
	- Category: 42: Packet: Server -> Client With Dump
	See: http://wiki.eqemulator.org/p?Logging_System_Overhaul#packet-logging-levels
2015-02-02 00:10:22 -06:00
Akkadius
3ec39ce06b Changelog 2015-02-01 22:00:21 -06:00
Michael Cook (mackal)
8649ed1dcb Add quest debugging to lua 2015-02-01 17:25:16 -05:00
Trevius
fe6fa75385 Fixed FindGroundZ() and GetGroundZ() to once again utilize the X and Y arguments that are passed to them. 2015-01-31 11:44:25 -06:00
Akkadius
3c08af5ca1 (Bobaski) Add PoK New Merchant sql/git/optional/2015_01_30_poknowledge_spell_vendors.sql 2015-01-30 23:43:35 -06:00
Akkadius
39a47ceb93 Implemented LUA counterpart of EVENT_ENVIRONMENTAL_DAMAGE 2015-01-30 23:15:48 -06:00
Akkadius
8229a578ee Implemented event type "EVENT_ENVIRONMENTAL_DAMAGE"
- This event triggers when taking any sort of environmental damage. Example use:
	sub EVENT_ENVIRONMENTAL_DAMAGE{
		quest::debug("EVENT_ENVIRONMENTAL_DAMAGE");
		quest::debug("env_damage is " . $env_damage);
		quest::debug("env_damage_type is " . $env_damage_type);
		quest::debug("env_final_damage is " . $env_final_damage);
	}
	Result: (Test falling in Velks): http://i.imgur.com/tPRL7yL.png
2015-01-30 23:01:31 -06:00
Trevius
0aba2d578a Added more information to Mercenary Logging.
Added potential fix for Mercenaries that fail to unsuspend.
Added a new "statscale" field to the merc_stats table that can be used to quickly balance Mercenary Stats based on Level.
The new "statscale" field now combines with the Mercs::ScaleRate rule value (default 100 percent for both).
2015-01-29 23:04:41 -06:00
Akkadius
0c934272c0 Added Logs::DebugQuest category per request from Trevius (Great idea)
- Exported quest::debug(log_message, [debug_level = 1)
	- Example:
		quest::debug("This is a test debug message, level 1 (default)");
		quest::debug("This is a test debug message, level 1", 1);
		quest::debug("This is a test debug message, level 2", 2);
		quest::debug("This is a test debug message, level 3", 3);

		Result: http://i.imgur.com/6VoafGE.png
	- Uses traditional logging system to output this category
	- Required MySQL Source in Database version 9070
2015-01-28 20:00:03 -06:00
Uleat
dd9f419735 Merge branch 'master' of https://github.com/EQEmu/Server
Conflicts:
	changelog.txt
2015-01-27 18:34:43 -05:00
Uleat
4832acde0b Finished ClientVersion naming conventions (don't forget to copy the renamed patch_UF.conf file) 2015-01-27 05:09:35 -05:00
Trevius
f17fb2a8e1 Removed "Mercenary Debug:" from the Mercenary Log entries.
Resolved duplicate "You have no Mercenaries" messages when zoning without owning a Mercenary.
Mercenaries should now always be able to unsuspend if the timer is up.
More work on Mercenaries and Grouping to reduce bugs and redundant queries.
2015-01-27 00:35:39 -06:00
Uleat
89f8006f11 Changed the return type of Corpse::MoveItemToCorpse() to void and added a 'by address' parameter to replace it -- Fixed a bug that would 'unattune' soulbound items inside of bags 2015-01-26 19:44:33 -05:00
Trevius
fc5266e115 Added Logs::Mercenaries to the new Logging System. Logging of Mercenary information is off by default with the required SQL. 2015-01-25 12:31:07 -06:00
Trevius
966acb25b3 Fixed an issue where Mercenaries were causing several DB queries per second while suspended. 2015-01-25 11:28:34 -06:00
Uleat
1a5b211d07 Added more to changelog notes for equipment light source commit 2015-01-24 22:10:17 -05:00
Uleat
cc1d7d54c2 Implemented mob equipment light sources 2015-01-24 22:00:06 -05:00
Akkadius
82fb69eed4 Changelog entry 2015-01-22 02:54:53 -06:00
Uleat
b186b0538a Activated light field load from npctypes table 2015-01-21 20:01:59 -05:00
Uleat
4b0f5064f6 Fix for Inventory::_HasItemByUse(bucket) using the parent container when searching for bag container items 2015-01-20 01:19:08 -05:00
Uleat
e70e443950 Implemented 'enum class ClientVersion' -- added 'RoF2' to lua client version enumeration 2015-01-19 23:32:57 -05:00
Uleat
636a259c4c Patchwork of changes..mostly related tracing a cursor queue bug (see changelog) 2015-01-15 21:24:26 -05:00
Trevius
af42bfdb02 (RoF2) Guild invites now add new members as members instead of recruits, and /guild chat works properly.
(RoF2) Guild Promote is now functional.
2015-01-13 23:37:35 -06:00
Uleat
87bf191fad Placed an upper limit on the cursor queue save loop 2015-01-13 23:48:34 -05:00
Uleat
a6148565e5 Fix for load_bots.sql using '\\' as a delimiter (Changed to '$$') 2015-01-12 15:53:33 -05:00
Uleat
d5b24543e8 Added text link translators for OP_TaskDescription (RoF+ -- all clients current) 2015-01-12 14:35:38 -05:00
Uleat
f612082f5d Fix for OP_FormattedMessage text link server crashes 2015-01-12 01:42:27 -05:00
Uleat
756d4f4c5c Added text link translators for OP_TaskDescription (Ti thru UF..RoF+ in-work) 2015-01-11 15:49:54 -05:00
Uleat
ce54071296 Added text link translators for OP_Emote 2015-01-10 13:50:48 -05:00
Uleat
bf8f70342b Added text link translators for OP_FormattedMessage 2015-01-09 17:56:46 -05:00
Trevius
94be9e9162 Added some extra checks and clean-up related to Groups and Mercenaries. 2015-01-08 17:08:20 -06:00
Trevius
3b2fbd337f Query fix for group_leaders table. This may resolve some crashes/bugs related to Mercs/Bots and Groups. 2015-01-07 23:45:44 -06:00
Trevius
a83d536712 Mercenaries now load directly from tables only. The vwMercNpcTypes view is no longer required and can be deleted. 2015-01-07 22:20:44 -06:00
Uleat
0552220f00 Excluded text link body from message scrambling in Client::GarbleMessage() 2015-01-07 11:13:48 -05:00
Trevius
2c43e6f68d Added defines for all remaining pet commands and some support for them as well. 2015-01-06 19:14:06 -06:00
Trevius
f1a73d4da2 Changed the pet command #defines to be based on RoF2 list of pet commands and added decodes to Titanium, SoF and SoD.
(RoF+) The /pet focus on/off and /pet hold on/off commands are now functional.
Added more toggle and on/off support for pet commands.
2015-01-06 01:19:33 -06:00
Uleat
7557cfd845 Added text link translators for all supported clients - currently, only OP_ChannelMessage and OP_SpecialMesg are translated. 2015-01-05 13:44:16 -05:00
Trevius
3da3b5641f (RoF2) /shield (shielding) and /key (key ring) are both now functional after opcode updates. 2015-01-03 01:31:44 -06:00