Commit Graph

463 Commits

Author SHA1 Message Date
neckkola d67fa473a2 Cleanup of bot raid work and inclusion of bot_raid in cmake 2022-02-23 15:58:13 -04:00
neckkola f73ddb1d35 Merge branch 'master' into Bot_Raid_work 2022-02-13 07:26:18 -04: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
KayenEQ a208801d1f [Spells] Major update to Bard song pulsing, Bard item clicks while singing, and spell casting restriction logic. (#1954)
* test

* complete

* Update effects.cpp

* Update spells.cpp

* Update effects.cpp

* [Spells] Support for bards using Disciplines while casting or /melody.

Support for spell field 'cast not standing' not allow casting from divine aura

* [Spells] Support for bards using Disciplines while casting or /melody.

DA bypass logic for spells with field 'cast_not_standing'

* updates

* stun and mez bypass

* Update spdat.cpp

* Update spdat.cpp

* Update spells.cpp

* clean

* requirement messages

* update

* pct

* save work

* Reform code 1_22_22

* updated

* update id to pointer

* Update spells.cpp

* rework 2

* update 1_23_22

* Update spells.cpp

* updates

* msg string works

* fix disc timers not be set

* more optimization

* update 1_23_22 PM

moved stop casting out
charm and harmony moved in

* update 1_25_22

rework of functions

* updates 1_26_22

* remove old checks

* gm override added for some

* update bard AA casting checks

* updates

* addbuff exception for bard

* debugs

* charm working

* update

* moved skill check here

* cast from item while singing

* lets not attack mounts

* instant cast items click

* aug clicks working

* aug tests

Bug? Cast time not display on aug clicks for bards

* aug recast from items semi ok

* added item timer function

* unified setting item recast timer

* clean up time

* update

* bard AA cast updates

* debugs removed

* debugs removed

* clean up

* clean up

* better placement of bindsight and numhits fix

* move and rename function

* Update spells.cpp

* add logs

* delete old DoCastingChecks

* Removed old bard pulse functions

* remove AEBardPulse and GroupPulse

* removed Raid::GroupBardPulse

* Pulse Restriction: Divine Aura

* Pulse Restrictions : Fear behavior

* Update spells.cpp

* Update spells.cpp

* [Spells] Major update to Bard song pulsing, Bard item clicks while singing, and spell casting restriction logic.

bots...

* [Spells] Major update to Bard song pulsing, Bard item clicks while singing, and spell casting restriction logic.

added recommended isvalidspell check

* [Spells] Major update to Bard song pulsing, Bard item clicks while singing, and spell casting restriction logic.

merged

* [Spells] Major update to Bard song pulsing, Bard item clicks while singing, and spell casting restriction logic.

removed defines since we have them as constants
2022-02-07 07:48:52 -05:00
neckkola 2b625bb347 Final - Bot Raid Working 2022-02-05 20:52:34 -04:00
neckkola 5113415d5c Update p_raid_instance 2022-02-03 20:20:23 -04:00
neckkola c2d1857223 safe_delete resoves problem. No to track down leak 2022-01-29 19:31:57 -04:00
neckkola 478fa24a70 bug tracing on entity list mismatch 2022-01-25 23:16:33 -04:00
neckkola cf2c7060be Fixed a bot crash 2022-01-25 19:06:38 -04:00
neckkola 19004730ad Working on botgroup removal 2022-01-23 23:49:00 -04:00
neckkola 5a9c8c18c1 Bot Death fixed and few other crashes 2022-01-21 23:31:59 -04:00
neckkola 4215a47d82 Issue with Bot Death in raid when casted upon. 1741 raid.cpp 2022-01-21 00:06:59 -04:00
neckkola f26b491339 Raid leader and mana/hp updates fixed 2022-01-19 23:35:04 -04:00
neckkola 5e475ad8cd End of Day Jan 18 2022-01-18 22:33:09 -04:00
neckkola 29ec914565 Spawn on login working 2022-01-17 23:53:25 -04:00
KayenEQ 5f482a9b30 [Combat] Implemented rule for live like Riposte mechanics (#1927)
* Live like Riposte

* [Combat] Implemented rule for live like Riposte mechanics

bot fix
2022-01-15 19:37:47 -05:00
neckkola 37e9d419e6 More bot raid changes 2022-01-15 11:27:50 -04:00
neckkola 6411c2335e Bot Invite/Accept cleanup 2022-01-12 18:47:56 -04:00
neckkola d62171f34d end of day Jan 11 2022-01-12 00:01:58 -04:00
neckkola 4098d9db51 Jan 11 2022-01-11 17:40:10 -04:00
neckkola bd831d2b4a end of day jan 10 2022-01-11 08:29:19 -04:00
neckkola 9eca086b1c A few changes 2022-01-10 18:01:06 -04:00
neckkola c9480ad080 Bot Raid inviting working for all use cases 2022-01-10 12:00:31 -04:00
neckkola e5371253cb New work on Raid invite with a invitor having a group 2022-01-09 11:24:59 -04:00
neckkola 1c57e5b898 A few more use cases working 2022-01-08 20:39:47 -04:00
neckkola 8fc3ac1e50 Work on usecase 5 2022-01-08 10:06:36 -04:00
neckkola 947fb239a9 Use Case 1, 2, 3,4,7 working.
Need to fix 5, 6, 8
2022-01-08 00:03:05 -04:00
neckkola b8b5ca0e67 Before VS Crash 2022-01-07 20:09:38 -04:00
neckkola 40e3484bb4 Some Bot Raid working 2022-01-07 18:57:26 -04:00
neckkola ec26281ad5 Updated Raid::VerifyRaid 2022-01-06 19:54:06 -04:00
neckkola fdb23f1a5f Update to Client::QueuePacket to not attempt to send a packet to a BoT. Not clean, but a broad solution. 2022-01-06 17:18:34 -04:00
neckkola 42ef4a2891 End of day Jan 5
Working Raid Invite to a Bot.
2022-01-05 22:46:06 -04:00
neckkola 6802681abe Jan 4
Basic structure in place for Raid::AddBot though not working
2022-01-04 23:40:00 -04:00
neckkola ba0c03af08 Bot Group Work
Fixed botid=charid spawn on zone issue
Added a group_list update on zone to refresh from database to fix a dangling pointer to a Bot object that was camped but was previously in a group within the zone being entered.
Modified Bot::ProcessBotGroupInvite to use the client of the bot when doing the Bot initialization so that a leader can invite another owner's Bot
2022-01-03 11:52:08 -04:00
neckkola bcf28bc35c BOT work
Added BOT logging damage/heals to owner
Added BOT message to owner for harmony fails
Made var Critical global to remove duplicate crit messages
Added a NULL check to Mob:GetCleanname()
2021-12-30 15:42:03 -04:00
KayenEQ 119b2d023f [Spells] Throwing procs fixed and other proc updates (#1871)
* first updating sbindex defines

* updates

* updates

* proctypes added for organization

* debug

* updates

* range procs cleaned up

* skill proc clean up

* fix

* remove debugs

* [Spells] Throwing procs fixed and other proc updates

* [Spells] Throwing procs fixed and other proc updates

bot fix

* [Spells] Throwing procs fixed and other proc updates

proctype updates
2021-12-14 12:34:51 -05:00
Kinglykrab a11482ff23 [Cleanup] Utilize ConvertSecondsToTime() method. (#1805)
* [Cleanup] Utilize ConvertSecondsToTime() method.

* Lowercase.
2021-11-23 18:25:02 -05:00
Kinglykrab bf92845a4a [Rules] Add Resurrection Sickness rules for Characters/Bots. (#1692)
* [Rules] Add Resurrection Sickness rule for Characters/Bots.
- Add RULE_BOOL(Character, UseResurrectionSickness, true, "Use Resurrection Sickness based on Resurrection spell cast, set to false to disable Resurrection Sickness.")
- Add RULE_BOOL(Bots, UseOldRaceRezEffects, false, "Older clients had ID 757 for races with high starting STR, but it doesn't seem used anymore")
- Add RULE_BOOL(Bots, UseResurrectionSickness, true, "Use Resurrection Sickness based on Resurrection spell cast, set to false to disable Resurrection Sickness.")

* Add rules for spell IDs.

* Fix bot health on spawn when resurrection sickness is disabled.
- Formatting.

* Remove 'this' keyword.
2021-11-07 17:21:34 -05: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
KayenEQ e89c2aec4a Update bot.cpp 2021-09-23 13:48:15 -04:00
KayenEQ 456fb56e82 revert for bots 2021-09-23 13:42:36 -04:00
KayenEQ 03ac828134 Update bot.cpp 2021-09-23 12:28:34 -04:00
KayenEQ 34b2264d5d bots... 2021-09-23 12:21:53 -04:00
KayenEQ 933ede40f9 Update bot.cpp 2021-09-23 12:13:29 -04:00
Michael Cook (mackal) c3f8b8073b Fix bots with ExtraAttackChance changes (#1480)
This should probably be updated to match everything in client, but this
will at least fix compile
2021-07-30 12:09:44 -04:00
Michael Cook (mackal) c214c3a95b [Bug Fix] spell cast time cap issue introduced in e5b9d72b81 (#1435)
Me bad coder.
2021-06-22 11:08:04 -05:00
Alex c3456ebea0 [Bots] Remove hardcoded race-class combinations from bots. (#1375)
* [Bots] Remove hardcoded race-class combinations from bots.
- Allows server operators to directly influence via a database table the classes a specific bot race can be.
- Previously this was hardcoded and required a source modification to do.
- Allowed races, classes, and genders have been removed due to redundancy at this point.

* Remove const cast and modify saylink definition.
2021-06-11 13:30:56 -05:00
Michael Cook (mackal) e5b9d72b81 [Fix] Fix Spell Cast Time reduction issues (#1369)
Remove the overloads that don't make sense (bots probably doesn't make
sense either, but too lazy)

Fix the formulas

Removed the Spells:MaxCastTimeReduction rule since this is HARDCODED in
the client so it doesn't really make sense to have it as a customization
point. If you want to hack the client, change the hardcode as well I
guess.
2021-05-24 20:21:39 -05:00
Akkadius 450c748299 Fix database connection pointer bucket consistency 2021-02-28 19:31:46 -06:00
Michael Cook (mackal) 0ef01165ea Fix some leaks of groups/raids (#1242)
These cases probably are exceedingly rare, but they still need to be
accounted for. (As in, I don't think anyone has run into these cases too
often to cause problems)
2021-02-12 02:07:58 -06:00