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)

Uleat 04-11-2016 11:00 PM

Pretty sure I borked up the BotDatabase::LoadBotGroupIDForLoadBotGroup() function by placing a 'LIMIT 1' in the query...

I'm pushing a fix for that and I'll review the queries to make sure that I didn't put in 'limits' that shouldn't be there.


Still looking at the timing issue..

Uleat 04-13-2016 07:32 PM

I 'think' I fixed this particular timing issue.


If anyone is still having issues, try bumping your interval up 1 second at a time for several increases and see if the issue resolves itself.

If this corrects the issue, post back with your heal rotation member classes, toon level, and any other information you think might be pertinent.

AsmoTiC 04-13-2016 09:19 PM

Oh yea, that's working really well now Uleat!

Much, Much better, thanks for all the hard work you put into looking into this rotation code!

I'm sure you know all my information by now, but for the record.
Level 65 HR group, Bard Leader, 5x Clerics, 2sec interval.

Uleat 04-13-2016 10:11 PM

Np - feedback and persistence :)

jpyou127 04-14-2016 09:13 AM

Sweet stuff here Uleat!!


Celestial

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


All times are GMT -4. The time now is 12:20 PM.

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