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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-16-2007, 09:49 AM
sonicvt
Fire Beetle
 
Join Date: Jul 2007
Posts: 22
Default

Mag,

After further testing I see the shaman bot isn't healing at all at level 46. The cleric appears to still be using the 350 hp heal instead of complete heal like I think he would normally.
  #2  
Old 08-16-2007, 10:27 AM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Alright Mag, I'll work on those spell profile lists. Just point me in the direction of the file the bot spell lists are stored in under the source code so I can change it and recompile for testing.
  #3  
Old 08-16-2007, 08:30 PM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Updates: v1.03d

http://eqoffline.free.fr/Build.rar

-- new command added "#bot debug spells <target>" : it will show the 16 spells loaded in the bot spells list.
-- the command "#bot inventory remove <slotID>" should now remove the item from the target bot inventory. This item pops on the client's cursor. This way, he can gives it to an other bot.

Drakelord>
If you want to create the npc_spells_entries with the same spells per level as clients, you have to create a new entrie per class into the npc_spells table.
For example: Bot_Druid with an ID that will be autoincremented.

Then, you have to enter the full spell line into the npc_spells_entries table.
In this one, you can see the column :
- id: unique id per entrie
- npc_spells_id: that will be the ID of you Bot_Druid ID (in the npc_spells table)
- spellid: ID of the spell
- type: type of the spell (1= nuke, 2=heal, 4=root, 8=buff, 16=escape, 32=pet, 64=lifetap, 128=snare, 256=dot)
- minlevel and maxlevel: level range where the spell will be casted. (maxlevel can be set to 255 for some spells that are always usefull like resist spells)
- manacost: -1 by default
- recast_delay= -1 by default
- priority: if you plan to make this table so the bot have exactly the same spells as clients with the right levels range, you can set it to 1.

Note that a bot can have a maximum of 16 spells in its spells list. Some casters don't have 16 spells per new spell level range. In this case, you will have to deal with level range so it can learn some of the previous spells.

For example, we have a level 8 mage bot.
In the npc_spells_entries table you have added the level 8-12 mage spells. But it doesn't have 16 spells to learn in this range. Let's say 6 slots are free, you want that you bot can learn some of the lvl4-8 spells to complete thoses free slots. You would have to set a higher maxlevel for thoses spells.

My english seems to suck a lot and I'm sorry about that. I hope that I've explained correctly how it works...

Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #4  
Old 08-17-2007, 02:06 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

"#bot debug spells <target>" : it will show the 16 spells loaded in the bot spells list."

This I think will help me out especially when debugging spells loaded and what's not loaded. Excellent addition.

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
  #5  
Old 08-17-2007, 03:40 AM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Yes, I had already done all of these steps, and changed the npc_spells entry for the bot in the database. It didn't fix anything, which is why I was asking if there was something in the source code that I had to change.

Quote:
Originally Posted by Magoth78 View Post
Updates: v1.03d

http://eqoffline.free.fr/Build.rar

-- new command added "#bot debug spells <target>" : it will show the 16 spells loaded in the bot spells list.
-- the command "#bot inventory remove <slotID>" should now remove the item from the target bot inventory. This item pops on the client's cursor. This way, he can gives it to an other bot.

Drakelord>
If you want to create the npc_spells_entries with the same spells per level as clients, you have to create a new entrie per class into the npc_spells table.
For example: Bot_Druid with an ID that will be autoincremented.

Then, you have to enter the full spell line into the npc_spells_entries table.
In this one, you can see the column :
- id: unique id per entrie
- npc_spells_id: that will be the ID of you Bot_Druid ID (in the npc_spells table)
- spellid: ID of the spell
- type: type of the spell (1= nuke, 2=heal, 4=root, 8=buff, 16=escape, 32=pet, 64=lifetap, 128=snare, 256=dot)
- minlevel and maxlevel: level range where the spell will be casted. (maxlevel can be set to 255 for some spells that are always usefull like resist spells)
- manacost: -1 by default
- recast_delay= -1 by default
- priority: if you plan to make this table so the bot have exactly the same spells as clients with the right levels range, you can set it to 1.

Note that a bot can have a maximum of 16 spells in its spells list. Some casters don't have 16 spells per new spell level range. In this case, you will have to deal with level range so it can learn some of the previous spells.

For example, we have a level 8 mage bot.
In the npc_spells_entries table you have added the level 8-12 mage spells. But it doesn't have 16 spells to learn in this range. Let's say 6 slots are free, you want that you bot can learn some of the lvl4-8 spells to complete thoses free slots. You would have to set a higher maxlevel for thoses spells.

My english seems to suck a lot and I'm sorry about that. I hope that I've explained correctly how it works...

Mag
  #6  
Old 08-18-2007, 03:13 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Version is now 1.03d.

Fixed #bot update. No need to zone or kill and respawn the bots anymore. They will update their stats and their spells at the same time.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #7  
Old 08-18-2007, 03:42 AM
Bjerlk
Fire Beetle
 
Join Date: Apr 2007
Posts: 10
Default

Excellent progress sire.
Huge kudos to you.

I love swarming around with my private army...
  #8  
Old 08-18-2007, 04:20 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Magoth, sorry to ask an old question - but what EQEmu source version were bots coded in? I know many have asked if current EQEmu source could support bots, and you do not have time to convert it all over. Maybe others here can help. I searched the thread, but cannot seem to remember if you said EQEmu-0.7.0-931, or 992... or...?

Thanks!
  #9  
Old 08-24-2007, 12:17 AM
Yohkoh
Fire Beetle
 
Join Date: Jun 2007
Location: CT
Posts: 6
Default

Quote:
Originally Posted by Magoth78 View Post
Updates: v1.03d

http://eqoffline.free.fr/Build.rar

-- new command added "#bot debug spells <target>" : it will show the 16 spells loaded in the bot spells list.
-- the command "#bot inventory remove <slotID>" should now remove the item from the target bot inventory. This item pops on the client's cursor. This way, he can gives it to an other bot.

Drakelord>
If you want to create the npc_spells_entries with the same spells per level as clients, you have to create a new entrie per class into the npc_spells table.
For example: Bot_Druid with an ID that will be autoincremented.

Then, you have to enter the full spell line into the npc_spells_entries table.
In this one, you can see the column :
- id: unique id per entrie
- npc_spells_id: that will be the ID of you Bot_Druid ID (in the npc_spells table)
- spellid: ID of the spell
- type: type of the spell (1= nuke, 2=heal, 4=root, 8=buff, 16=escape, 32=pet, 64=lifetap, 128=snare, 256=dot)
- minlevel and maxlevel: level range where the spell will be casted. (maxlevel can be set to 255 for some spells that are always usefull like resist spells)
- manacost: -1 by default
- recast_delay= -1 by default
- priority: if you plan to make this table so the bot have exactly the same spells as clients with the right levels range, you can set it to 1.

Note that a bot can have a maximum of 16 spells in its spells list. Some casters don't have 16 spells per new spell level range. In this case, you will have to deal with level range so it can learn some of the previous spells.

For example, we have a level 8 mage bot.
In the npc_spells_entries table you have added the level 8-12 mage spells. But it doesn't have 16 spells to learn in this range. Let's say 6 slots are free, you want that you bot can learn some of the lvl4-8 spells to complete thoses free slots. You would have to set a higher maxlevel for thoses spells.

My english seems to suck a lot and I'm sorry about that. I hope that I've explained correctly how it works...

Mag
What happened to version v1.03d? I down loaded the binaries the day you posted it. Yesterday I compiled the latest from the Web site and I noticed differences. Like when the bot's buff in the version I compiled, everyone in the group get buff at the same time instead one at a time (NICE). But when I do a trade with a bot I get disconnected from the server and have to re-log.
__________________
Yohkoh
  #10  
Old 08-24-2007, 12:53 AM
sonicvt
Fire Beetle
 
Join Date: Jul 2007
Posts: 22
Default

Mag,

I got the bot raid commands working but they are very tedious even with hotkeys as they require you to target yourself for some of them and type the raid group leaders name for others.

Is there any way that the bot attack, follow and guard commands that are used for the single group orientation could be applied to ALL the raid groups as well. The more specific raid commands would still work and override the simple bot group commands but I find it pain to have to target each raid group leader and make them attack my raid target, especially if there is only one such target (Nagfen or Vox), or follow me when I'm worried about repops. Thanks!
  #11  
Old 08-24-2007, 02:54 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

To give order to your raid, you have to make macros.

Concerning version, the actual one is 1.3e. ( http://eqoffline.free.fr/Build.rar )
The last final version of eqoffline will be 1.4 and I have a good number of bugs to resolve before I release it. That will take some time..
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #12  
Old 08-27-2007, 12:01 AM
Yohkoh
Fire Beetle
 
Join Date: Jun 2007
Location: CT
Posts: 6
Default

Quote:
Originally Posted by Magoth78 View Post
To give order to your raid, you have to make macros.

Concerning version, the actual one is 1.3e. ( http://eqoffline.free.fr/Build.rar )
The last final version of eqoffline will be 1.4 and I have a good number of bugs to resolve before I release it. That will take some time..
Is the Source up to date? When I compile the latest source from the Web Site, I get a Zone disconnect when I do a trade. Comparing the downloaded binaries with the compiled source code, It fails after the bot is updated with the new weapon and never gets to where the bot says 'Thank you for this item, leader.'
__________________
Yohkoh
Closed Thread

Thread Tools
Display Modes

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 07:08 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3