EQEmulator Forums

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

cannon 05-17-2016 12:21 AM

I got a server up and running and tried bot help and had a bunch of commands atleast 30 or so that i can remember maybe more, i sourced in a couple bot files and now my commands are 17 commands, how do i get the commands back or do i have to source in the commands. sorry for the noobish question. thanks in advance for any input on this.

Think i figured it out, just changed db version in database and reran the world exe and did the updates.

jaspen 05-17-2016 09:40 AM

I am checking to see if a particular command is currently working. I have tried ^botdyearmor and it does nothing but completely bug bots. I have to log out and back in to correct it. I have tried different slots and RGB values, all with the same results. I do have the latest files that I could find. I also tried changing the colors in their inventory section in the database and that didn't do anything.

So, in short, is this feature currently implemented and functioning?

Also, just for flavor I looked that bots_data and noticed there was a size column . I changed the size numbers for multiple bots. Upon summoning them it doesn't appear to make a difference. Obviously, this is me editing things behind the scenes and I didn't expect it to work but I would be interested in hearing your opinion on this.

jaspen 05-17-2016 09:41 AM

Quote:

Originally Posted by cannon (Post 248786)
I got a server up and running and tried bot help and had a bunch of commands atleast 30 or so that i can remember maybe more, i sourced in a couple bot files and now my commands are 17 commands, how do i get the commands back or do i have to source in the commands. sorry for the noobish question. thanks in advance for any input on this.

Think i figured it out, just changed db version in database and reran the world exe and did the updates.

Are you using ^help to get your command list? That pulls up 198 commands for me.

Uleat 05-17-2016 07:20 PM

There is an issue with the bot dye armor command - pre- and post-command system rework.

That's going to take more than a few hours work to figure out what is wrong with the update methodology..so, I left it to a future rework of the class.


The command code works, obviously.

But..the update system, which is not part of the actual bot command system, does not update correctly.

DanCanDo 05-19-2016 09:18 PM

Quote:

Originally Posted by Uleat (Post 248162)
Yes, the new bot command system is completely different.

It's like speaking English for 20 years, then being expected to speak Russian the next day..with the instructions written in Chinese...

I've spawned a few groups of bots just to check it all out, but when ^help
spawned 198 commands to learn, my first thought was to book holidays and
run to the beer store (chuckle).
I can't imagine what public server admins can go through with players typing
that in and the admins getting flooded with support questions ?
I never played much with the commands, I'm more of a "spawn a merc, follow
me around and just heal" type, so I haven't dug in to all that heal rotation stuff
yet. Not sure if I ever will, as a player. (chuckle)

Uleat 05-19-2016 10:36 PM

There's a lot of bot commands..as well, there are a lot of system commands.


I wrote the implementation of the current alias system for both to help control what is a registered alias and what is an actual registered and coded command.

I could look into adding something to both command systems to discriminate aliases from the command listing (..but, not in the near future.)


Quick ref for current bot commands: http://wiki.eqemulator.org/p?Bot_Com...t-command-list


EDIT:

I'm not 100% certain..but, I don't believe that the spell list for the bot spell ai has been updated since the lvl 85 cap - and possibly the lvl 65 cap.

One thing with the new heal rotation code is that it pulls spells from the current load and should have access to the newest spells.

DanCanDo 05-20-2016 04:18 AM

Quote:

Originally Posted by Uleat (Post 248878)
One thing with the new heal rotation code is that it pulls spells from the current load and should have access to the newest spells.

I am looking forward to poking around in the bot spell system, which I haven't
done yet. If a healer bot can be setup to be (kind of) like a player cleric, that
would be awesome.
Right now, I am struggling with something odd with the eqemu_update for bots.
I created a new (but seperate) server/database. source was just pulled and
compiled yesterday with bots enabled. I sourced in a fresh copy of the peq, but
when I run (4) on the updates for bots, I get all sorts of errors and the only
table it loads is the bot_command_settings. I tried using the load_bots sql
but it is quite outdated.
What i ended up doing, was a backup sqldump of all the bot tables in my first
db, then put it all together in to one sql. Sourcing that in ran smooth. All the
bot tables went in successfully, including the healrotation tables which was
one of the biggest errors showing up in the update script.
I ran the update again, it came up with no errors and no updates. But I still
can't seem to get the views and (getmob) function at all from the update.

cannon 05-20-2016 09:23 AM

Quote:

Originally Posted by jaspen (Post 248797)
Are you using ^help to get your command list? That pulls up 198 commands for me.

That may have been my fault, I think i did #bot help instead of ^

Still getting use to the ^, so use to using # Thanks.

Uleat 05-20-2016 07:01 PM

#bot help is synonymous with ^help due to the redirect I added.


DanCanDo, you may have to manually apply the updates for now, until someone can figure out the best way to implement the bots versioner.

DanCanDo 05-20-2016 07:25 PM

I have 3 different sql files put together (bot_tables, bot_views, bot functions) in a zip
file, in case anyone else needs to use them to source it all in. Works pretty good, and
includes the healrotations in the bot_command_settings as well.
I ran the updates after sourcing them in, no errors, no updates found and didn't get any
mysql errors in my gm client console.

https://drive.google.com/file/d/0B8u...ew?usp=sharing

Uleat 05-20-2016 08:22 PM

I normally don't advocate the use of non-sanctioned files..but, the contents do look correct for this moment in time (- I have not personally tested them.)

Future schema changes may invalidate these files..so, be mindful and check their current status before use.

DanCanDo 05-20-2016 08:34 PM

I agree totally Uleat, those files are only a temporary solution for the moment, in case
anyone needs a quick fix. I won't even think of them as "written in stone" on my own
computer, as things progress and advanced with development. Just something to help
anyone in an unexpected crisis. :)

AsmoTiC 05-30-2016 10:47 AM

Uleat -

Bot have been working great for me. Buddy of mine and I have been using a bunch at a time without any trouble. For reference, it's 12 active clients with 24 bots running. In additional the new Healing Rotation improvements are pretty fantastic. Only problem, and it's pretty minor, is sometimes the HR clerics will decide they can nuke. Usually they do what they are supposed to though.

Now for my problem/question. Not sure exactly when it started, probably sometime after our back and forth with the HR code. I end up with the following MySQL Error whenever I summon a PC client. Only the GM sees the error, and it doesn't cause any problems other than flashing a the string of text in red for each client being summoned. Any thoughts?

Code:

[MySQL Error] 1146: Table 'peq.vw_groups' doesn't exist --- SELECT g.'mob_id' AS bot_id FROM 'vw_groups' AS g JOIN 'bot_data' AS b ON g.'mob_id' = b.'bot_id' AND g.'mob_type' = 'B' WHERE g.'group_id' = '9005'

Uleat 05-30-2016 06:48 PM

The HR code supplements the bot spell ai code..so, it is possible for a HR member to be idle long enough for an ai-based spell to go off.

If a heal rotation member is ready to cast for a HR, and they are currently casting a spell, the override will cancel that spell and start processing the HR spell..but, it will
not explicitly keep them from casting ai-based spells. (Any non-HR recast timers can cause a member to miss their turn in a cycle, however...)


I'm not exactly sure where you are getting that mysql error.

The bot command only summons bots..which command are you using to summon clients?

AsmoTiC 05-30-2016 06:54 PM

Quote:

Originally Posted by Uleat (Post 249107)
I'm not exactly sure where you are getting that mysql error.

The bot command only summons bots..which command are you using to summon clients?

I was noticing when I used #summon <player>. Payed more attention while I played today, and the same error pops up whenever they enter the zone with the GM. He's the only one that sees the error. So, for example, my Druid ported the whole group to Poknowledge, which is where my GM was sitting. When the loaded in, 6x of those messages popped up in red.

<shrugs>. Other than the message everything works, just thought i'd mention it.

Uleat 05-30-2016 07:13 PM

That's not a bot command..but, I'll take a look at it :P


EDIT:

I traced the calls all the way down to where it leaves the server code and is parsed by scripts.

I did not see where that query would have been called...


You can check your database to ensure the the view `vw_groups`actually exists, though.

AsmoTiC 05-31-2016 08:25 AM

Quote:

Originally Posted by Uleat (Post 249110)
You can check your database to ensure the the view `vw_groups`actually exists, though.

Bah, you are right. Somehow that view got dropped from the db. Ended up just sourcing it back in, which has stopped the error message.

Thanks for pointing me in the right location to get that fixed!


All times are GMT -4. The time now is 04:01 AM.

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