Kinglykrab
9d515b20f2
[Quest API] Simplify bulk Scribe and Train logic. ( #1660 )
...
* [Quest API] Simplify bulk Scribe and Train logic.
- Add $client->GetFreeDisciplineSlot(starting_slot) to Perl.
- Add $client->ScribeSpells(min_level, max_level) to Perl.
- Add $client->LearnDisciplines(min_level, max_level) to Perl.
- Add client:GetNextAvailableDisciplineSlot(starting_slot) to Lua.
- Add client:ScribeSpells(min_level, max_level) to Lua.
- Add client:LearnDisciplines(min_level, max_level) to Lua.
Convert quest::scribespells() and quest::traindisc() to use new ScribeSpells and LearnDisciplines methods for consistency.
* Update command.cpp
2021-11-03 18:31:13 -04:00
Kinglykrab
17aaab1f9d
[Quest API] Add Spell methods to Perl. ( #1631 )
...
* [Quest API] Add Spell methods to Perl.
- Add quest::getspell(spell_id) to Perl.
- Add eq.get_spell(spell_id) to Lua.
These methods return a spell object.
Exports $spell object references to spell events.
* Formatting.
* Remove comment.
* Update spdat.cpp
* Amplication typo.
* Fix conflicts.
* Remove repository changes.
* Fix typing.
* Update spell_effects.cpp
2021-11-03 17:47:15 -04:00
Chris Miles
6e26e8953c
[Loginserver] Health Checks ( #1665 )
...
* Health checks stash
* Healthcheck work
2021-11-03 14:39:51 -05:00
Natedog2012
e4138b871b
[Rules] Add optional rules for HealAmt and SpellAmt to scale DoTs/HoTs. ( #1661 )
...
* Add optional rules for itembonuses HealAmt and SpellAmt to scale for DoTs/HoTs
* Fix typo
* Only 1 rulecheck
* Apply +healingitems and +dmgitems after focus effects so they scale properly
* Fix dots / hots to not always use PVPScaling for extra_dmg / extra_healing
Adjust +healamt and +spelldmg to scale over the full duration of the spell, Thanks Kayen
2021-11-02 15:12:07 -05:00
splose
4ac525afc2
[Rules] Missing Character:TradeskillUpTailoring ( #1667 )
2021-11-02 12:57:16 -05:00
Chris Miles
05782433b8
[Loginserver] Add some resiliency to LS requests ( #1663 )
2021-11-02 00:19:13 -05:00
KayenEQ
9af7122b1d
[BugFix] Remove potential nullptrs in Virus Code ( #1658 )
2021-10-31 00:06:32 -05:00
Chris Miles
9e7a763482
[Charm] Push up fragments of Kayen's PR back up ( #1659 )
2021-10-31 00:04:48 -05:00
Akkadius
1231d44b55
Revert "[BugFix] Charm Targeting and other issues. ( #1655 )"
...
This reverts commit df3161455a2314e0e8b774bbbe328ee5d0a41fe9.
2021-10-30 22:18:40 -05:00
hg
873f1f7f34
[Hotfix] Add include to fix windows build ( #1657 )
2021-10-30 21:11:04 -05:00
Chris Miles
d87db648c3
[Loginserver] Code Cleanup and Tweaks ( #1653 )
...
* if for whatever reason the world server is not sending an address, use the local address it sends
* Log when world is sending loginserver info
* Force legacy mode when login host is login.eqemulator.net to avoid misconfigurations at least until things change
* Add human IP translation to log messages
* Sanitize world server name
* Code cleanup and renaming member variables
* More cleanup
* Remove this->
* Validation constants
* Key worldserver lookups by both longname and shortname both
* Update allowed character list
* Fix short_name API response field; add world_id to response
* Shorten receiver verbosity
* Remove unnecessary member variables from database and rename database to m_database
* Adjust MAX_SERVER_VERSION_LENGTH
* Fix indents
2021-10-30 19:09:42 -05:00
Chris Miles
119c3d14b7
[Hotfix] Gate some new shared task logic behind task rule ( #1656 )
2021-10-30 19:06:38 -05:00
Chris Miles
3cda32c213
[Saylinks] In-Memory Saylink Lookups ( #1644 )
...
* Implement saylink memory lookups (performance)
* Ignore commands
2021-10-30 17:32:59 -05:00
KayenEQ
df3161455a
[BugFix] Charm Targeting and other issues. ( #1655 )
...
* fix for target change bug on client
* Update spell_effects.cpp
2021-10-30 16:48:55 -05:00
KayenEQ
4389f84ea5
[BugFix] Fix for bard song instrument mod formula from recent update ( #1654 )
...
* Update spell_effects.cpp
* Update spell_effects.cpp
* Update spell_effects.cpp
2021-10-30 08:50:15 -04:00
Chris Miles
f9855fd097
[Rez] Fix Z during Resurrection ( #1648 )
2021-10-30 00:54:44 -05:00
Chris Miles
f912814e13
[Commands] Fix Z on #spawnfix ( #1647 )
...
* Fix Z on spawnfix
* Slight adjustment
2021-10-30 00:54:33 -05:00
Paul Coene
5738958a2a
Fix issue with droplimit code ( #1650 )
2021-10-28 14:43:40 -04:00
Michael Cook (mackal)
d36d11653a
Fix issue with new summmon method putting players OOB ( #1649 )
...
The FindClosestZ was finding the Z above them ... lets try just not
doing that for now :)
2021-10-27 23:42:31 -04:00
Chris Miles
7230714cbc
[Spells/Disciplines] Bulk Train / Scribe ( #1640 )
...
* Bulk scribe spells
* Add bulk disc training
* Remove bulk from non bulk method
* PR adjustments
2021-10-27 21:45:27 -04:00
Chris Miles
6e5bf4b941
[Saylinks] Multiple saylinks in brackets ( #1643 )
...
* Saylink edge case where multiple saylinks show up within a bracket
* Update partial
2021-10-27 00:01:37 -05:00
KayenEQ
fb66afd565
[Spells] Implemented SPA 511 SE_Ff_FocusTimerMin ( #1645 )
...
* update for SPA 511
* remove debugs, AA implemented
* update
* format update
* rename function
renamed function
only check for buffs value > 0, don't need to check for AA's which are negative ID's
* var rename
update var name to better represent its function.
2021-10-26 21:36:10 -04:00
Chris Miles
ef5124d756
[Shared Tasks] World Reload Task Data on #task reloadall ( #1641 )
2021-10-24 21:53:29 -05:00
KayenEQ
987de17e93
[Spells] Rework for SPA 413 SE_FcBaseEffects and Bard updates ( #1629 )
...
* baseline start
* update1
* updates
* base effect implemented for bard
* instrument mod updates
amplification amps itself
* updates
* updates
* debug
* base effect updates
* baseeffects for spell focus updated
* update skill attack baseeffects
* focus will remain for quest functions
* song cap mod added back in
* remove debugs1
* fix cr
* base effects functionalish
* remove debug
* Update client_mods.cpp
* spdat instrumentmod
* Update spell_effects.cpp
* Update spdat.h
* remove new instrument mod check
split PR
2021-10-24 18:38:28 -05:00
KayenEQ
060be606e7
[Spells] Rework of Virus Effect code ( #1593 )
...
* start of rework
* functional
* virus updates
* Update npc.cpp
* updates
* updates
* update v2
* pre remove old code
* removed old code1
* remove debugs
* description
* Update spell_effects.cpp
* changed function name
* remove unused var
* merge error fix
* fix formating issue
* Update spdat.cpp
* Update spell_effects.cpp
* Convert virus entity range code to use vectors and GetCloseMobList
* Formatting [skip ci]
Co-authored-by: Akkadius <akkadius1@gmail.com>
2021-10-24 18:27:51 -05:00
Kinglykrab
1c5f9f2e0f
[Bug Fix] Fix possible #proximity crash. ( #1639 )
2021-10-24 17:50:43 -04:00
Paul Coene
62253cc016
[Bug Fix] Edge cases where min_drop 1 not honored with valid choices ( #1617 )
...
* [Bug Fix] Edge cases where min_drop 1 not honored with valid choices
* Forgot header file change.
* Remove verbose option from MeetsLootDropLevelRequirements per @akka
* Fix spacing
* Restore verbose mode after further consideration
* Remove logging on counting of valid items
Co-authored-by: Noudess <noudess@gmail.com>
2021-10-24 16:17:42 -05:00
KayenEQ
0b18671e91
[Spells] Update to how Bard Instrument mods are applied to spell effects ( #1628 )
...
* new instrument mod spell effect checks
PR split
* format
* Update spdat.cpp
correction, all direct damage spells get modifiers. Made a mistake with the parse, was using wrong mod.
* restriction changes
cure effects can be modified.
decided to keep a list of known effects that are not modified to return false. and will keep the default to be true for anything as to not inhibit custom bard song development
* SE_ProcChance is modified
* Update spdat.cpp
* update
* Update spell_effects.cpp
2021-10-24 16:07:25 -05:00
Kinglykrab
c98f3cfb4c
[Quest API] Further char array cleanup. ( #1634 )
...
- Cleans up the rest of the char arrays used when exporting to events.
- Converts all events to use a similar variable name for export `export_string`.
- Needless calls to .c_str() removed.
2021-10-24 16:06:22 -05:00
Kinglykrab
624d11de4e
[Bug Fix] Fix missing format in client message. ( #1637 )
2021-10-24 17:03:24 -04:00
Logan
5eb95a95d0
[Rules] Added rule to extend max race id ( #1630 )
...
* Added rule to extend max race id
* Cleaned fmt of MaxRaceID
* Added format command
* Updated MaxRaceID default to be 732
2021-10-24 15:53:49 -05:00
JJ
da01156673
Update 2021_03_03_instance_safereturns.sql ( #1636 )
2021-10-24 11:53:23 -04:00
KayenEQ
6a244f16e1
Update spells.cpp ( #1635 )
2021-10-24 11:08:21 -04:00
KayenEQ
36d10462f7
[Combat] Updates to IMMUNE_MELEE_NONMAGICAL mechanics ( #1616 )
...
* pre remove debug
* Update attack.cpp
* Update attack.cpp
* Update attack.cpp
* Update attack.cpp
* apply to temp pets
* format fix
* changed to just use one rule
Merged into NPC's and Pet's into one rule.
2021-10-22 22:39:37 -04:00
Natedog2012
c30dbf6628
[Bug Fix] Do not check tics remaining on non-buff spells ( #1633 )
2021-10-22 17:16:56 -04:00
splose
657cbbcabe
define caster to fix a crash from #1618 ( #1632 )
2021-10-22 13:48:15 -04:00
Kinglykrab
81e7cf5a32
[Quest API] Convert Spell Events to similar formats and exports. ( #1618 )
...
* [Quest API] Convert Spell Events to similar formats and exports.
Export spell ID, caster ID, caster level, tics remaining, and buff slot to Perl/Lua spell events.
- Export e.buff_slot, e.caster_id, e.caster_level, e.spell_id, and e.tics_remaining to `event_spell_buff_tic`, `event_spell_effect`, and `event_spell_fade` in Lua.
- Export $buff_slot, $caster_id, $caster_level, $spell_id, $tics_remaining to `EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT`, `EVENT_SPELL_EFFECT_BUFF_TIC_NPC`, `EVENT_SPELL_EFFECT_CLIENT`, `EVENT_SPELL_EFFECT_NPC`, and `EVENT_SPELL_FADE` in Perl.
* Formatting.
* Remove debug variable.
2021-10-20 16:02:12 -04:00
Kinglykrab
edf298685e
[Quest API] Convert all char arrays to strings. ( #1612 )
...
* [Quest API] Convert all char arrays to strings.
Also change multiple loops for zone controller to one loop.
* Remove 'this' keyword'
2021-10-20 15:59:28 -04:00
Kinglykrab
efab0c4b6b
[Quest API] Add remove LDoN Win/Loss to Perl and Lua. ( #1611 )
...
* [Quest API] Add remove LDoN Win/Loss to Perl and Lua.
- Add $client->RemoveLDoNLoss(theme_id) to Perl.
- Add $client->RemoveLDoNWin(theme_id) to Perl.
- Add quest::removeldonloss(theme_id) to Perl.
- Add quest::removeldonwin(theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbycharid(character_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbygroupid(group_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyraidid(raid_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyguildid(guild_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyexpeditionid(expedition_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonlossbyclientname(client_name, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbycharid(character_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbygroupid(group_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyraidid(raid_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyguildid(guild_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyexpeditionid(expedition_id, theme_id) to Perl.
- Add quest::crosszoneremoveldonwinbyclientname(client_name, theme_id) to Perl.
- Add quest::worldwideaddldonloss(theme_id, min_status, max_status) to Perl.
- Add quest::worldwideaddldonwin(theme_id, min_status, max_status) to Perl.
- Add client:RemoveLDoNLoss(theme_id) to Lua.
- Add client:RemoveLDoNWin(theme_id) to Lua.
- Add eq.remove_ldon_loss(theme_id) to Lua.
- Add eq.remove_ldon_win(theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_char_id(character_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_group_id(group_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_raid_id(raid_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_guild_id(guild_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_expedition_id(expedition_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_loss_by_client_name(client_name, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_char_id(character_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_group_id(group_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_raid_id(raid_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_guild_id(guild_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_expedition_id(expedition_id, theme_id) to Lua.
- Add eq.cross_zone_remove_ldon_win_by_client_name(client_name, theme_id) to Lua.
- Add eq.world_wide_add_ldon_loss(theme_id, min_status, max_status) to Lua.
- Add eq.world_wide_add_ldon_win(theme_id, min_status, max_status) to Lua.
Adds enum for LDoN Themes and Theme Bitmasks so we're not using magic numbers.
Adds item links to item messages and augment messages on rejection/restriction/Lore.
* Update client_packet.cpp
* Update client_packet.cpp
* Update servertalk.h
Alphabetical.
2021-10-20 15:11:14 -04:00
Kinglykrab
c838564023
[Bug Fix] Fix OpenSSL Support for Windows ( #1625 )
2021-10-19 22:28:10 -05:00
Chris Miles
d197ee631e
[Saylinks] Fix auto saylink injection edge cases ( #1620 )
...
* Fix auto saylink injection edge cases
* Add even more resiliency to edge cases
* Move to split based injection
* Add some constants
2021-10-19 22:25:13 -05:00
Kinglykrab
3dcddcba04
[Quest API] Add GetHateRandomBot(), GetHateRandomClient(), and GetHateRandomNPC() to Perl/Lua. ( #1613 )
...
- Add $mob->GetHateRandomBot() to Perl.
- Add $mob->GetHateRandomClient() to Perl.
- Add $mob->GetHateRandomNPC() to Perl.
- Add mob:GetHateRandomBot() to Lua.
- Add mob:GetHateRandomClient() to Lua.
- Add mob:GetHateRandomNPC() to Lua.
2021-10-17 23:41:10 -04:00
Natedog2012
7823ff5336
[Quest API] Add EVENT_LOOT_ZONE to zone_controller ( #1608 )
...
* Add EVENT_LOOT_ZONE to zone_controller
* Fix porting event_loot_zone to lua API
* Remove extra spacing and remove forced message to allow for scripted responses.
* Allow all script parsing to fire before sending a failed lootitem, add corpse_id
* Only search for zone_controller once
2021-10-16 23:19:19 -05:00
Chris Miles
11c335a015
[DiaWind] Tag Adjustments for title, button_one, button_two ( #1610 )
...
* Add a consistent way to handle a few different tags
* Simplify logic further
2021-10-16 21:35:03 -05:00
Kinglykrab
07d96ad921
[Bug Fix] Fix Character Recast Type -1 saving to database. ( #1598 )
2021-10-16 15:10:42 -04:00
Kinglykrab
5d522b149b
[Bug Fix] Allow invisible to be cast on Raid Group members. ( #1607 )
...
When `Spells:InvisRequiresGroup` was true, you could only cast on Group members, intended functionality is to cast on Group members and/or people in your Raid Group.
2021-10-16 08:56:38 -04:00
splose
234bd89ed5
Merge pull request #1609 from KayenEQ/npcMagicAttack2
...
hotfix for PR #1606 (IMMUNE MELEE NONMAGICAL)
2021-10-16 00:38:06 -04:00
KayenEQ
af5cfb9bed
[Spells] Fix to prevent Charmed Pets from continuing fight target if owner is dead. ( #1600 )
...
* Fix for charm break if pet owner dead
* fix, can't check hatelist it is already wiped.
* Update spell_effects.cpp
2021-10-16 00:22:07 -04:00
KayenEQ
426f9c337b
hotfix
2021-10-16 00:10:54 -04:00
KayenEQ
5235dcee95
Fix Immune Melee Nonmagical logic ( #1606 )
2021-10-15 20:46:57 -04:00