Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2009, 07:56 AM
Vincire
Fire Beetle
 
Join Date: Apr 2009
Location: Michigan
Posts: 17
Default Bot Issue: Adding Bot to Group Crashes zone.exe

Hello,

The issue occurs when evoking the command #bot group add when adding the targetted bot to a group. The zone.exe process for the current zone crashes at the moment the bot is added to the group. The bot creates and spawns just fine. I've loaded all of the bot tables from the current HEAD PEQ version manually.

I'm running the following on my test server:

EQEMU - Rev408-Bots.zip
Database - PEQ (Current Head Version)
ActivePerl - Latest Version
EQOffline:BotsQuest - FALSE;


Thanks for your help
Reply With Quote
  #2  
Old 04-22-2009, 09:49 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Look around at the various log files for some help. the emu server log files, the eq client log files, the mysql log files.

Hopefully you can find something there that gives a hint. I don't have this issue, so it must be something with your setup. Maybe check \EQEmuServer\utils\sql\svn\ for the various bot related sql files and compare them with your database tables to see if everything is matching up.
Reply With Quote
  #3  
Old 04-22-2009, 10:10 AM
Vincire
Fire Beetle
 
Join Date: Apr 2009
Location: Michigan
Posts: 17
Default

Thanks for the insight. I'll do some digging.
Reply With Quote
  #4  
Old 04-22-2009, 06:44 PM
Aergad
Banned
 
Join Date: Mar 2009
Location: In a house
Posts: 150
Default

i havent has this issue either actually lol let us know what you find
Reply With Quote
  #5  
Old 04-23-2009, 09:12 AM
Vincire
Fire Beetle
 
Join Date: Apr 2009
Location: Michigan
Posts: 17
Default

I ran the following TSQL scripts against my DB:

328_bot_management.sql
250_bot_spell_update.sql
285_optional_bot_spell_update.sql

Bots now work beautifully without any serious issues other than them clumping together when they're in the world.

I did notice that #bot corpse summon doesn't work when there's an appropriately leveled necrobot in the group however. I do get the alert text "Attempting to summon <SoAndSo's> corpse" but no action seems to happen and no corpse appears.

Other than that, works great
Reply With Quote
  #6  
Old 04-23-2009, 09:40 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

It works, but I have noticed that if you spawn the bot then right away do the corpse summon command then it doesn't work because the newly spawned necro is going through its buff spells.

Try waiting until after the necro has summoned it's pet and finished casting all of its buffs.

This also happens for other spell request commands like '#bot evac' and '#bot cure curse' If the bot is just recently spawned it is going through its buff list casting spells and you will be lucky if you happen to send the command just right, in between buff casting.

I have used the command before to summon my corpse, but looking at the code it could use a tweak.
Reply With Quote
  #7  
Old 04-23-2009, 10:59 AM
Vincire
Fire Beetle
 
Join Date: Apr 2009
Location: Michigan
Posts: 17
Default

All of the other #bot commands seem to work nicely. #Bot Sow is my personal favorite. Ah the memories.

Anyway, the bots themselves are amazing. I do have some questions:

1) When a bot dies, is it possible to leave the corpse as a world object for a possible Rez for just a period of 5 minutes or so?

2) is it possible for the Bots to stand a few feet apart from each other? It is sometimes difficult to hand a Bot equipment.

3) [Probably not possible] Can bots be set to persist through zone transition?
Reply With Quote
  #8  
Old 04-23-2009, 11:31 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Quote:
Originally Posted by Vincire View Post
All of the other #bot commands seem to work nicely. #Bot Sow is my personal favorite. Ah the memories.

Anyway, the bots themselves are amazing. I do have some questions:

1) When a bot dies, is it possible to leave the corpse as a world object for a possible Rez for just a period of 5 minutes or so?
Bots don't earn or lose exp, so don't need a rez. Just re-spawn them when they die
Quote:
Originally Posted by Vincire View Post
2) is it possible for the Bots to stand a few feet apart from each other? It is sometimes difficult to hand a Bot equipment.
This was tried, it kind of worked but resulted in a lot of hopping and wierdness so I abandoned it. You can /target bots and #bot summon them to you for equipment trades. Just use the guard command and then move back and target/summon them out of the group.
Quote:
Originally Posted by Vincire View Post
3) [Probably not possible] Can bots be set to persist through zone transition?
No
Reply With Quote
  #9  
Old 04-23-2009, 01:22 PM
Vincire
Fire Beetle
 
Join Date: Apr 2009
Location: Michigan
Posts: 17
Default

Thanks for the information. I can live with the [very] minor drawbacks. It's been a blast putzing around my old stomping grounds in EQ. Even with Bots, it still has some of the same old feeling SAND GIANT!!
Reply With Quote
  #10  
Old 04-23-2009, 05:09 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

Congdar,

I'm sure you considered this - and i haven't looked at the source....

At zone time, the active bot id's get written to a table. when the zone is finished they are spawned again from the table. maybe part c++ / part common quest script?

just a thought.....
Reply With Quote
  #11  
Old 04-24-2009, 11:21 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

I'm sure it could be figured out how to code it, but it just isn't really necessary when you can spawn an entire 12 group bot raid with one hotkey in about 20 seconds.

Manually create your raid, then do #bot saveraid

Now make a hotkey:
#bot spawnraid
/pause 20
#bot groupraid
Reply With Quote
  #12  
Old 04-24-2009, 04:43 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

When you put it like that, i guess not =)
Reply With Quote
  #13  
Old 05-26-2009, 03:14 AM
Zodl
Fire Beetle
 
Join Date: Sep 2008
Location: Madison
Posts: 26
Default

I'm having the same problem creating bots. I have not sourced these .sql files yet, so that's the problem. However I cannot find them, online or in my EQEmu directory. Could someone tell me where to find them? Thanks
Reply With Quote
  #14  
Old 05-26-2009, 09:29 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

if you've downloaded the source tree from the svn, they will be in \EQEmuServer\utils\sql\svn\
__________________
The Realm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:34 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3