Kinglykrab
bfd1cf9379
[Quest API] Add EVENT_EQUIP_ITEM_CLIENT and EVENT_UNEQUIP_ITEM_CLIENT to Perl/Lua. ( #2015 )
...
- These events allow more customization beyond forcing operators to use a script file for each and every item they want to have some sort of functionality for these events.
- Perl event exports $item_id, $item_quantity, and $slot_id.
- Lua event exports item_id, item_quantity, slot_id, and item.
2022-02-22 20:04:08 -05:00
Chris Miles
3c35e9bbc8
[GM Command] Fix Crash Issue and Validation with #zclip ( #2014 )
...
* Fix crash issue and validation with zclip
* Formatting.
Co-authored-by: Kinglykrab <89047260+Kinglykrab@users.noreply.github.com>
2022-02-21 17:02:48 -05:00
Kinglykrab
d86544ff60
[Bug Fix] Alleviate some lag with crosszone/worldwide spell casting. ( #2016 )
...
- Spell casting was using SpellFinished which casts the spell, and if the spell was a group spell each member of the group would cast it on all the other members, causing a chain reaction.
- This fix utilizes ApplySpellBuff(spell_id, duration) so that it only casts the spell on the target, as with the crosszone and worldwide methods you will be affecting your target based on identifiers regardless.
- This should alleviate some of the crosszone/worldwide casting crashes on larger servers such as Lazarus.
2022-02-20 21:59:46 -05:00
KayenEQ
70eed67e08
[Bug Fix] checking casting_spell_slot before its defined is bad ( #2013 )
2022-02-20 15:56:17 -05:00
KayenEQ
1c0524681e
[API] perl added GetNPCStat(identifier) ( #2012 )
...
* [API] perl added GetNPCStat
Returns values of the modifiers from ModifyNPCStat
* https://github.com/EQEmu/Server/pull/2012
2022-02-20 14:00:28 -05:00
KayenEQ
aa9320de3c
[Spells] Bard songs from item clickies should not require components ( #2011 )
2022-02-18 09:37:09 -05:00
KayenEQ
ad28f3c3f3
[Bug Fix] Fix for castspell command ( #2010 )
...
Fix for using castspell command with parameter 0
2022-02-17 20:44:11 -05:00
Kinglykrab
71dfa9acc0
[Commands] Bug fix for #logs command. ( #2008 )
...
* [Commands] Bug fix for #logs command.
* Update logs.cpp
2022-02-17 12:01:06 -05:00
KayenEQ
56d0478ab1
[API] Fix for SetBuffDuration function to check bard slots. ( #2009 )
2022-02-17 12:00:42 -05:00
Kinglykrab
0d02fadb60
[Quest API] Add GetRandomMob() and GetRandomNPC() to Perl/Lua. ( #2006 )
...
- Add $entity_list->GetRandomMob(x, y, z, distance, exclude_mob) to Perl.
- Add $entity_list->GetRandomNPC(x, y, z, distance, exclude_npc) to Perl.
- Add eq.get_entity_list():GetRandomMob(x, y, z, distance, exclude_mob) to Lua.
- Add eq.get_entity_list():GetRandomNPC(x, y, z, distance, exclude_npc) to Lua.
2022-02-17 08:57:02 -05:00
KayenEQ
ba3c19ad0b
[Spells] AE Duration effect (Rains) will now work with Target Ring and PBAE spells. ( #2000 )
...
* done
* Update beacon.cpp
* [Spells] AE Duration effect (Rains) will now work with Target Ring and PBAE spells.
Mackals suggestions implemented.
2022-02-16 10:12:13 -05:00
Kinglykrab
8ec80644ee
[Commands] Cleanup #unscribespell Command. ( #1998 )
...
* [Commands] Cleanup #unscribespell Command.
- Cleanup messages and logic.
- Add Client::UnscribeSpellBySpellID(spell_id, update_client).
- Add $client->UnscribeSpellBySpellID(spell_id, update_client) to Perl.
- Add client:UnscribeSpellBySpellID(spell_id, update_client) to Lua.
* Update unscribespell.cpp
2022-02-16 06:04:01 -05:00
Kinglykrab
ed7e2b2652
[Commands] Cleanup #untraindisc Command. ( #1996 )
...
- Cleanup messages and logic.
2022-02-16 06:03:51 -05:00
KayenEQ
a83ad7080a
fix for meloday cast bar issue ( #2005 )
2022-02-15 14:01:01 -05:00
KayenEQ
677d595c9d
invis updates ( #2004 )
2022-02-15 11:39:19 -05:00
KayenEQ
615f4a5304
[API] Apply spells with custom buff durations and adjust existing spell buff durations. ( #1997 )
...
* working
* Update spell_effects.cpp
* updates
* disable_buff_overwrite
* revert
* update
* working
* update
* updates
* Update spells.cpp
* getbuffstat done
* Update perl_mob.cpp
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* https://github.com/EQEmu/Server/pull/1997
Lua added, thanks kinglykrab
2022-02-15 08:58:10 -05:00
KayenEQ
5fd62d82db
Update bonuses.cpp ( #2002 )
2022-02-15 08:57:53 -05:00
KayenEQ
b938e6223c
[Spells] Invisibility updates and rework ( #1991 )
...
* updates pre merge
* update
* Update spell_effects.cpp
* Update mob.h
* test
* test
* updates
* updates
* save
* update
* working solid
* animal and undead start
* progress
* updates
* rename
* set invis appearance on bonus
* remove fade buff state check
* update IsViisble check
* optimizing
* don't break bots
* debug remover
* Update ruletypes.h
* perl adds
* Update client_packet.cpp
* update
* done
* remove debugs
* Update client_packet.cpp
* update
* [Spells] Invisibility updates and rework
lua support
* [Spells] Invisibility updates and rework
lua
2022-02-15 00:18:02 -05:00
KayenEQ
51c8771bd2
bug fix ( #2001 )
2022-02-15 00:17:23 -05:00
Kinglykrab
cc9196bd65
[Commands] Cleanup #showskills Command. ( #1994 )
...
* [Commands] Cleanup #showskills Command.
- Utilize popup over messages.
- Usage: #showskills [Start Skill ID] [All] - shows skills starting from skill ID and if "all" is specified it will show skills the player does not have normally (no max/cannot have skill).
* Update showskills.cpp
* Update command.cpp
2022-02-14 19:49:14 -05:00
Kinglykrab
6303f129af
[Commands] Cleanup #setskillall Command. ( #1992 )
...
- Cleanup messages and logic.
2022-02-14 19:02:27 -05:00
KayenEQ
3f0987ba55
[Combat] /shield command "too far away message" ( #1999 )
...
* live did something that makes sense
* [Combat] /shield command "too far away message
better chat
* [Combat] /shield command "too far away message
never mind that one was red.
2022-02-14 10:44:26 -05:00
KayenEQ
1d4438ae1f
[Bug Fix] Edge case AA reset timer issue fixes ( #1995 )
...
* SendCastRestriction not displaying right on linux build
changed const char to string
* fail safe to prevent recast timer checks from triggered spells
* fixed
* Update spell_effects.cpp
* https://github.com/EQEmu/Server/pull/1995
better message code
2022-02-13 21:50:53 -05:00
KayenEQ
03adf20fe9
bot crash fix ( #1993 )
2022-02-13 12:09:32 -05:00
KimLS
dd6cde68bb
Small change to order of a couple of files in zone cmakefile, added the gm commands to their own source group so they are cleanly separated in any IDEs cmake supports
2022-02-12 23:31:51 -08:00
KayenEQ
fa9314811e
[Bug Fix] Fix for Bot command casting ( #1990 )
...
* missing return true in ApplyBardPulse
* Update bot.cpp
* [Bug Fix] Fix for Bot command casting
compile error
* [Bug Fix] Fix for Bot command casting
* Update bot.cpp
2022-02-12 15:12:35 -05:00
Kinglykrab
d2d7b8108d
[Commands] Cleanup #ai Command. ( #1980 )
...
- Cleanup messages and logic.
- Remove #ai start/#ai stop as they can crash zones and are mostly useless.
- Add EQ::constants::GetConsiderLevelMap() and EQ::constants::GetConsiderLevelName().
- Add quest::getconsiderlevelname(consider_level) to Perl.
- Add eq.get_consider_level_name(consider_level) to Lua.
2022-02-11 16:26:08 -05:00
KayenEQ
99793cab8b
[Spells] Fix for AA recast timers not resetting properly ( #1989 )
...
* revert completed
Too many issues popping up that are difficult to track down. This was probably not best way to solve the problem.
* fixed for real
* Update aa.cpp
* Update aa.cpp
* Update aa.cpp
* should work
* remove spaces
* [Spells] Fix for AA recast timers not resetting properly
2022-02-11 16:25:59 -05:00
KayenEQ
e2484997dd
revert completed ( #1988 )
...
Too many issues popping up that are difficult to track down. This was probably not best way to solve the problem.
2022-02-11 10:58:43 -05:00
KimLS
66935fe21b
Fix for passing std::string to vsprintf
2022-02-11 01:15:02 -08:00
KayenEQ
db988e4261
group message ( #1987 )
2022-02-10 23:55:59 -05:00
Kinglykrab
fdd260d5fa
[Commands] Cleanup #npcloot Command. ( #1974 )
...
- Cleanup messages and logic.
- Utilize item links where helpful.
- Implement #npcloot remove all to remove all loot from an NPC using GetLootList().
- #npcloot money now supports 0 to 65,535 for the money types, clamped using EQ::Clamp.
2022-02-10 20:05:36 -05:00
Kinglykrab
9110bc863e
[Commands] Cleanup #logs Command. ( #1969 )
...
- Cleanup messages and logic.
- Utilize popup for list and applying settings.
2022-02-10 16:52:15 -05:00
Kinglykrab
4a41583805
[Commands] Cleanup #flagedit Command. ( #1968 )
...
- Cleanup and fix messages and logic.
- Utilized popup for listing zones that have required flags.
2022-02-10 16:17:52 -05:00
Kinglykrab
5396c0c88b
[Commands] Cleanup #name Command. ( #1977 )
...
- Cleanup messages and logic.
2022-02-10 16:14:40 -05:00
Kinglykrab
968ae26c99
[Commands] Cleanup #hatelist Command. ( #1976 )
...
- Cleanup messages and logic.
2022-02-10 16:14:17 -05:00
Kinglykrab
7bf466cf3f
[Commands] Cleanup #netstats Command. ( #1970 )
...
- Utilize popup over chat messages.
2022-02-10 16:10:31 -05:00
Kinglykrab
49d7eb1402
[Commands] Cleanup #version Command. ( #1967 )
...
- Utilize popup over chat message.
2022-02-10 16:10:23 -05:00
Kinglykrab
d83ced6f76
[Commands] Cleanup #undye and #undyeme Commands. ( #1966 )
...
- Fix #undye command as its method was not being used in command.cpp.
- Cleanup messages and logic for both #undye and #undyeme.
2022-02-10 16:10:16 -05:00
Kinglykrab
1ea8888607
[Commands] Cleanup #timers Command. ( #1965 )
...
- Cleanup message and logic.
- Utilize popup instead of chat messages.
- Utilize ConvertSecondsToTime() helper method.
2022-02-10 16:10:06 -05:00
Kinglykrab
f9eb4603a3
[Quest API] Add GetEnvironmentalDamageName() to Perl/Lua. ( #1964 )
...
- Add EQ::constants::GetEnvironmentalDamageMap() and EQ::constants::GetEnvironmentalDamageName().
- Add quest::getenvironmentaldamagename(damage_type) to Perl.
- Add eq.get_environmental_damage_name(damage_type) to Lua.
- Cleanup GM messages for avoiding environmental damage.
2022-02-10 16:09:56 -05:00
KayenEQ
d656be6be4
[Bug Fix] Fix for PR1954 target restriction with npcpc_only_flag from groupbuffs ( #1986 )
...
* Update spells.cpp
* Update spells.cpp
* [Bug Fix] Fix for PR1954 target restriction with npcpc_only_flag from groupbuffs
disc failure log
* [Bug Fix] Fix for PR1954 target restriction with npcpc_only_flag from groupbuffs
improved HasItemRecastTimer check
2022-02-10 14:58:28 -05:00
KayenEQ
fbbbd3b09d
[Bug Fix] PR 1982 ( #1985 )
...
* Update spells.cpp
* [Bug Fix] PR 1982
2022-02-09 23:24:18 -05:00
KayenEQ
a6d1652f44
fixed ( #1983 )
2022-02-09 18:02:45 -05:00
KayenEQ
f0bf285836
[Spells] Support for SPA 194 SE_FadingMemories to use max level checks on aggroed mobs ( #1979 )
...
* escape fix for different target types
* implemented max level for fade
* test
* update
* update
* support modern limits
* Update ruletypes.h
* update
* [Spells] Support for SPA 194 SE_FadingMemories to use max level checks on aggroed mobs
not sure why this code got removed, maybe merge error.
2022-02-09 15:12:39 -05:00
KayenEQ
1f560529da
[Bug Fix] Bard update fixes 1 ( #1982 )
...
* fix for bard item charge consumables
* [Bug Fix] Bards not consuming item click charges on instant cast items.
* [Bug Fix] Bard update fixes 1
bards not respecting deity/race/class restrictions on instant cast items
2022-02-09 15:07:38 -05:00
Kinglykrab
f65a6d2761
[Quest API] Add AddAISpellEffect(spell_effect_id, base_value, limit_value, max_value) and RemoveAISpellEffect(spell_effect_id) to Lua. ( #1981 )
...
- Add npc:AddAISpellEffect(spell_effect_id, base_value, limit_value, max_value) to Lua.
- Add npc:RemoveAISpellEffect(spell_effect_id) to Lua.
2022-02-08 20:46:59 -05:00
KayenEQ
79f250da2d
[API] Perl functions added to apply spell effects directly to NPCs without requiring buffs. ( #1975 )
...
* script functions working
* Update perl_npc.cpp
* [API] Perl functions added to apply spell effects directly to NPCs without requiring buffs.
2022-02-08 18:32:13 -05:00
KayenEQ
752e6c89f3
[Spells] Allow damage spells to heal if quest based spell mitigation is over 100 pct. ( #1978 )
...
* heal from nuke
* Update mob.cpp
2022-02-08 09:03:31 -05:00
KayenEQ
e962ad3a35
procs silence ( #1973 )
2022-02-08 07:36:20 -05:00