EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   RoF2 Bot Spells (https://www.eqemulator.org/forums/showthread.php?t=42087)

cdolick24 09-13-2018 02:05 PM

RoF2 Bot Spells
 
Is there a way to update the bots to cast buffs and spells 70+, my level 90 bots are still casting buffs from level 65?

It is on my own private server.

Kingly_Krab 09-13-2018 05:03 PM

You’ll have to manually add those spells. This issue is similar to pets not existing past level 70.

cdolick24 09-13-2018 05:32 PM

I have all the spells on my character (Scribed via GM Command) and they are usable, the bots just dont have them and that is what confuses me.

cdolick24 09-13-2018 05:50 PM

Quote:

Originally Posted by Kingly_Krab (Post 260162)
You’ll have to manually add those spells. This issue is similar to pets not existing past level 70.

I stand corrected, when I cast the pet spells for level 71+ it responds with, "Unable to find data for pet BLpet75"

Huppy 09-13-2018 08:15 PM

You can create 71+ pets (like the BLpet75). First you need to create the npc named BLpet75, with it's appropriate stats.

That would go in the npc_types table. Then you create an entry for that npc in the pets table. (compare values to others).

As for bot spells, you can add new entries to the bot_spells_entries table. npc_spells_id is specific to class (3002=cleric)

Uleat 09-13-2018 08:35 PM

If you add spells, make sure that you have a means of recovering any changes.

There's no guarantee that spells will remain constant.

Huppy 09-13-2018 08:40 PM

Quote:

Originally Posted by Uleat (Post 260171)
There's no guarantee that spells will remain constant.

Are you referring to the entry id's or the spell id's ?

Uleat 09-13-2018 10:21 PM

I played around with bard songs some time ago..

..I still want to rework all of them and make some changes to the spell ai.


It's on my list..but, not at the top.


Most likely, both entry and spell ids. I have a spreadsheet around here somewhere that I need to dust off.

I'll start a thread on that when I'm closer to starting work on it.

Criimson 07-08-2019 07:36 PM

@Uleat I am willing to work on bot spell ai. Can you send me the spreadsheet. I used to code for bots many years ago, but RL stuff took me away.
I am back working with bots and found this thread because I am not really happy with several things in their AI.
Bard: I want to add a command for specifying which songs to twist
Necro: Doesn't use their darkness line at all. Uses AoE disease (it seems) even grouped with a chanter. EDIT: Yea. So I looked in the DB. SpellID 13320 is Engulfing Darkness. It is not listed in the bot_spells_entries. That isn't right at all. As someone that played a necro for over a decade that was one of the first DoTs I would use. In dungeons it is priceless.
Healers: Cast heal way too soon and way too often.

Uleat 07-08-2019 10:06 PM

Are you on our discord server, by chance?

Criimson 07-09-2019 01:20 PM

No, but I will join after work

Huppy 07-09-2019 04:57 PM

Quote:

Originally Posted by Criimson (Post 262996)
Healers: Cast heal way too soon and way too often.

I remember a time (long ago), when a cleric bot was casting a CH on a toon with 95% HP's ;) I haven't indulged in bots too much lately, but I still like them.

phantomghost 07-09-2019 07:22 PM

I liked when the enchanter bots mezzed without the command, I actually saw Criimson's original bot enchanter changes on these forums when I tried to see if I could re-implement that back on my server. (Unsuccessfully of course since 99% of the changes I do on the server code is just me making adjustments and hoping they work before I revert back)

I thought not too long ago I saw a post from Uleat discussing the reason for the change but have not been able to find that recently.

I do look forward to any updates for bots, since I make my personal servers primarily around the bots. I appreciate all the work everyone has contributed in getting the bots to where they are at now.


Probably not much help, but my most recent server I have been working on, I added a column to the bot_spell_entries pages called: Spell_Name

Then ran this query:

Code:

update bot_spells_entries set Spell_Name=(select name from spells_new where id=spellid )
So, it puts the spell name from spells_new associated with the ID on my bot_spell_entries table, then I sort it by npc_spell_id (A-Z), type (A-Z), and minlevel (A-Z) to make working through the entries a bit faster. Primarily used this to adjust the bot spells from the current level of spells to match spells from PoP or before and old levels (1,4,8,12 etc for int casters).

Makes it a bit easier than looking up all of the spell id's that are already in the table (for me at least).


Regarding Engulfing Darkness, Engulfing Darkness was ID 178 (spell id 355) for me, on my unmodified bot_spell_entries and my modified version. 13320 in spells_new has all classes as 255 but is also named Engulfing Darkness:

Bot_spell_entries (this is from my modified database--- so it reflects old spell levels, not new):
"178" "3011" "355" "128" "12" "28" "-1" "-1" "1" \N "0" "0" "Engulfing Darkness"

Unmodified bot_spell_entires (other than adding the Spell_Name column):
"178" "3011" "355" "128" "11" "26" "-1" "-1" "1" \N "0" "0" "Engulfing Darkness"



Spells_New (unmodified database--- bolded/red the class levels):
"13320" "Engulfing Darkness" "PLAYER_1" "" "" "" "You are engulfed by darkness." " is engulfed by darkness." "The darkness fades." "200" "0" "0" "0" "2000" "1500" "4000" "7" "10" "0" "0" "-550" "-40" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "2503" "2119" "-1" "-1" "-1" "-1" "1" "1" "1" "1" "-1" "-1" "-1" "-1" "100" "100" "100" "100" "100" "100" "100" "100" "100" "100" "100" "100" "0" "0" "0" "1" "0" "3" "254" "254" "254" "254" "254" "254" "254" "254" "254" "254" "5" "25" "14" "-1" "0" "0" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "255" "44" "13" "0" "22" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "100" "0" "160" "2" "0" "-350" "0" "0" "0" "1" "0" "0" "0" "13320" "0" "0" "0" "0" "-1" "-1" "0" "100" "-350" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "-350" "100" "-350" "7" "7" "4" "0" "0" "0" "0" "2" "6" "0" "60" "0" "0" "0" "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "1" "0" "-1" "0" "0" "0" "1" "0" "0" "1" "1" "1" "0" "-1" "0" "0" "0" "3" "19" "-1" "0" "1" "0" "0" "1" "0" "1" "0" "0" "0" "0" "0" "0"


"355" "Engulfing Darkness" "PLAYER_1" "" "" "" "You are engulfed by darkness." " is engulfed by darkness." "The darkness fades." "200" "0" "0" "0" "2000" "1500" "4000" "7" "10" "0" "60" "-11" "-30" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "11" "40" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "2503" "2119" "-1" "-1" "-1" "-1" "1" "1" "1" "1" "-1" "-1" "-1" "-1" "100" "102" "100" "100" "100" "100" "100" "100" "100" "100" "100" "100" "0" "0" "0" "1" "0" "3" "254" "254" "254" "254" "254" "254" "254" "254" "254" "254" "5" "25" "14" "-1" "0" "0" "255" "255" "255" "255" "20" "255" "255" "255" "255" "255" "11" "255" "255" "255" "255" "255" "44" "13" "0" "22" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "100" "0" "160" "2" "0" "0" "0" "1" "0" "1" "0" "0" "0" "355" "20" "89" "0" "0" "-1" "-1" "0" "100" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "5" "101" "16" "7" "7" "4" "0" "0" "0" "0" "2" "6" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "1" "0" "0" "0" "0" "0" "0" "-1" "0" "0" "0" "1" "0" "0" "1" "1" "1" "0" "-1" "0" "0" "0" "3" "19" "-1" "0" "1" "0" "0" "1" "0" "1" "0" "0" "0" "0" "0" "0"

Uleat 07-09-2019 08:19 PM

I knew that bot spells hadn't been updated since the level 65 change..guess that pushes even further back.


All times are GMT -4. The time now is 03:48 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.