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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 05-02-2008, 12:14 AM
happygreenelf
Fire Beetle
 
Join Date: Jul 2007
Posts: 11
Default

hi sorry not sure what im doing cant get the raid groups formed up
Ok so i can get a group leader in there but then i go to get other bots in that group and they just die , could someone show me what i am doing wrong .
lets say i need ClericBETA in Wara group how do i go about that ?
  #2  
Old 05-02-2008, 12:51 AM
happygreenelf
Fire Beetle
 
Join Date: Jul 2007
Posts: 11
Default

so everytime i type #bot raid invite bot (groupleaders name ) it says you did not type the correct group leaders name and kills the bot , any help here would be great
  #3  
Old 05-02-2008, 02:01 AM
happygreenelf
Fire Beetle
 
Join Date: Jul 2007
Posts: 11
Default

Quote:
Originally Posted by happygreenelf View Post
so everytime i type #bot raid invite bot (groupleaders name ) it says you did not type the correct group leaders name and kills the bot , any help here would be great
nm i figured it out sorry to bother
  #4  
Old 05-02-2008, 02:27 PM
trevere
Fire Beetle
 
Join Date: Feb 2008
Posts: 5
Default

This is a followup to RCDP0715's post about Bot gear and stats. I play on his server and the bot code is up to date, as I understand it.

I've done several tests by adding equipment to newly created and spawned lvl 70 bots and see some apparently odd behavior. I'll mention of couple of oddities.
When I add an item with a negative stat , the #showstat function shows the stat(-3 int in this case- Giant Scalemail Sleeves) increased by 3.

When I give the bot(70 Ogre War) a group of equipment(all unedited items, mostly from Kael) and then remove them one by one, the bot inventory list command shows that all items have been removed- all slots are clear- and I put the items in my inventory. The NPCStats, however, will show some of the items still on the bot.

{I also created a cleric and gave items to her and then removed them- in one case I did this with the same item 3 times and ended up with NPCstats showing 3 of that item on the bot and #bot inventory list showing all slots clear. Despawning the bot(camp,zone,..) eliminates the items from her inventory.}


The HP stat shows inconsistent values, for example, giving Chestplate of Vindication to the bot and then removing it resulted in a 20hp drop in the showstats numbers.

I have a log of all of these actions but it is long and would take some effort to distill the essentail info. Please let me know if any of this is useful and if you would like more details.

debili
  #5  
Old 05-02-2008, 06:25 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

There seems to be an issue with #showstats. I did make changes to the bot calcs and revealed this:

Unequipped Necromancer bot - Level 65
Code:
Necromancer says 'Base stats:'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'I'm updated.'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
You say, '#showstats'
Name: Necromancer000 Bot
  Level: 65  MaxHP: 1187  CurHP: 1187  AC: 780  Class: 11
  MaxMana: 2145  CurMana: 2145  ATK: 10  Size: 6.0
  STR: 80  STA: 90  DEX: 0  AGI: 0  INT: 157  WIS: 103  CHA: 90
  MR: 50  PR: 35  FR: 45  CR: 45  DR: 30
  Race: 3  BaseRace: 3  Texture: 0  HelmTexture: 0  Gender: 1  BaseGender: 1
  EntityID: 291  PetID: 292  OwnerID: 0  AIControlled: 1
  NPCID: 2700013  SpawnGroupID: 0 LootTable: 0  FactionID: 0  SpellsID: 515 MerchantID: 0
  Accuracy: 0
  AIControlled: AggroRange: 70  AssistRange: 70
Stats look the same unequipped, so I gave the bot a Warlock's Crown AC: 6 STA: +7 INT: +4 HP: +20 MANA: +10
Code:
Necromancer says 'I'm updating...'
Necromancer says 'Base stats:'
Necromancer says 'HP: 1187 Mana: 2145 AC: 780 STR: 80 STA: 90 DEX: 100 AGI: 100 WIS: 103 INT: 157 CHA: 90'
Necromancer says 'Resists-- Magic: 50, Fire: 45, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'I'm updated.'
Necromancer says 'HP: 1228 Mana: 2220 AC: 786 STR: 80 STA: 97 DEX: 100 AGI: 100 WIS: 103 INT: 161 CHA: 90'
Necromancer says 'Resists-- Magic: 55, Fire: 49, Cold: 45, Poison: 35, Disease: 30.'
Necromancer says 'Thank you for the Warlock's Crown , Congdar.'
You say, '#showstats'
Name: Necromancer000 Bot
  Level: 65  MaxHP: 1208  CurHP: 1208  AC: 792  Class: 11
  MaxMana: 2285  CurMana: 2285  ATK: 10  Size: 6.0
  STR: 80  STA: 104  DEX: 100  AGI: 100  INT: 165  WIS: 103  CHA: 90
  MR: 60  PR: 35  FR: 53  CR: 45  DR: 30
  Race: 3  BaseRace: 3  Texture: 0  HelmTexture: 0  Gender: 1  BaseGender: 1
  EntityID: 291  PetID: 292  OwnerID: 0  AIControlled: 1
  NPCID: 2700013  SpawnGroupID: 0 LootTable: 0  FactionID: 0  SpellsID: 515 MerchantID: 0
  Accuracy: 0
  AIControlled: AggroRange: 70  AssistRange: 70
Differences:
My HP calcs updated the base hp to 1208 with the +7STA and then added in the 20HP for 1228
#showstats only updated the +7STA to 1208 and didn't add in the 20HP

My INT calcs added in the +4
#showstats added in +8 INT

My STA calcs added in the +7
#showstats added in +14 STA

My Mana calcs updated the base mana to 2210 with the +4INT and added in the 10MANA for 2220
#showstats came up with 2285 by doubling the INT from 4 to 8 to get 2275 and then adding in the 10MANA

My AC calc added 6
#showstats AC calc added 12

So should I change the bot code to double everything but HP and ignore HP bonuses? Also, try #showstats on yourself.

#bot update will update your bot stats with my calcs. #showstats will update your bot stats with different calcs. Use the one you like best
  #6  
Old 05-02-2008, 10:29 PM
trevere
Fire Beetle
 
Join Date: Feb 2008
Posts: 5
Default

Thank you for the quick response and the illuminating information. If I understand your post, when the #showstats command is used it recalculates the bots stats, AC, etc. and the resulting numbers become the actual values seen by the emulator and used in calculations. The #bot update command also recalculates these values and changes the data used by the emulator. If this is correct, I will be sure to not use the showstats command without a following update command, the #bot update values are much closer to what I would expect, given the bots' levels and the equipment they have.

Thanks for the clarification
debili
  #7  
Old 05-02-2008, 11:16 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

#showstats is just putting out what data is available. I'm probably pluggin the wrong data in somewhere around the item calcs, but I'm workin' on it.
  #8  
Old 05-02-2008, 11:35 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Congdar,

I'm having trouble getting it to link on Linux. It's not including botAI.cpp and botRaids.cpp in the make, and they're not getting compiled, therefore they're also not being included in the link.

I've tried adding them to the .depend but it's not having any affect. Any insight?

Thanks.
  #9  
Old 05-02-2008, 11:59 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

post #381 and #382 in this thread talk about that.
  #10  
Old 05-03-2008, 12:00 AM
trevere
Fire Beetle
 
Join Date: Feb 2008
Posts: 5
Default

Hi Congdar,
Thanks for correcting my misunderstanding. I did log in and spawn my bots to ensure that I had last used update before checking their stats. The cleric does report a lower value (9180 vs 10195 from an update) for mana while medding, the same number showstats produced.

The gear she's wearing has ~9700 mana and her wis would be at cap from the gear for level 70. Do you do any sort of correction for typical AA's? My BL is wearing nearly the same gear and shows about 14k mana in the inventory window with Clairvoyance and maxed AA's for stats producing 405 wis.

Thanks for all the work you have put into the bot code. If I can do anything to help clarify what is happening, I will be glad to do so.

Best Regards,
debili
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 03:48 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