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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 07-23-2007, 09:23 AM
Blakine
Sarnak
 
Join Date: Jul 2007
Posts: 30
Default

Quote:
Originally Posted by Blakine View Post
Hey Magoth,

So far eqoffline has worked great. When I first created a bot I used a level one character, the bot was a cleric and he did well at healing. I then tried to use the same bot for a level 50 character, his level updated but his spells did not. He still used a very low level heal on me.

I looked in the database and his level is 50, and I updated, killed and respawned him but he is still casting very low level heals. So I created a new bot and he has the same problem. Is there a bug with this? Have not looked at the code yet
update:

Checked the mana calculation ( I assume bots are under same rules as NPCs?) and my bot at level 50 should have 1100 mana (no equipment). Complete heal is 400 mana, but he casts light healing on me =/ From the code, the only thing I can see is that they check against there mana to make sure they can cast the spell.

But I have not found the logic on how they choose what spell to cast. Anyway..doing more testing. I am going to go in as Admin and #showstats on him to make sure he has the mana I think he does.

Is there a way we can see what spells they are able to cast? Or do they get them all based on level?
  #2  
Old 07-23-2007, 09:29 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

If your bot is a cleric, lvl50 and you "#bot update" 'd him, it should cast the lvl44-49 cleric's spells.

If you want to see what spells your bots can use, you have to see on what spell's ID it is. A magician by example should by 516 (by memories). Then you can check what spell your bot should cast by checking in the database, the npc_spells_entries table.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #3  
Old 07-23-2007, 09:47 AM
Blakine
Sarnak
 
Join Date: Jul 2007
Posts: 30
Default

Quote:
Originally Posted by Magoth78 View Post
If your bot is a cleric, lvl50 and you "#bot update" 'd him, it should cast the lvl44-49 cleric's spells.

If you want to see what spells your bots can use, you have to see on what spell's ID it is. A magician by example should by 516 (by memories). Then you can check what spell your bot should cast by checking in the database, the npc_spells_entries table.
Thanks, I will check that. One other question, I didn't see this in the code. Do bots always spawn at level 1?
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 09:53 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3