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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 05-30-2007, 05:10 AM
ArChron
Fire Beetle
 
Join Date: Dec 2006
Location: Vienna
Posts: 28
Default

Quote:
Originally Posted by Magoth78
Hello there,

For the dmg calculation, I would like to take into consideration:
- the lvl of the bot
- the class
- the atk/delay ratio of a weapon (1h, dual wield and 2h)
- the str/dex/agi depending of the class
- any other criteria ?


For an example and for a warrior with 100str, I've tried:

For a 1hand weap in the primary melee slot:
Code:
( (atk/delay)*(str/3) ) + lvl
For a 1hand weapon in the secondary melee slot:
Code:
( (atk/delay)*(str/3) ) + (lvl*0.33)
At lvl10, with a 10/30 weapon, the warrior would deal as its max melee output:
primary: 14dmg

At lvl20,
primary: 18dmg

at lvl50,
primary: 27dmg

wich isn't accurate at all..

This is just an example to show how bad are my maths and what the issue is : to find a correct formula for the melee bot.
Does the delay factor into frequency of attack in the Emu? If my weapon's delay is 10 and yours is 40, do I attack 4 times as often (all other things being equal)? If so, delay should be factored out. IIRC, the damage/delay is a rating method for comparing the potential of weapons.

Bot level as an additive factor for damage should probably become a multiplier, but maybe not a full multiplier (a lvl 10 bot need not do 10 times as much damage as a level 1 bot).

Damage = random(0..1) * Item damage * skill factor * strength factor * class factor * level factor.

skill factor could account for a portion of the noob vs l33t toon... I'd probably rate this one with a 1.0 multiplier somewhere in the "competent with the weapon" range of 50-60? Skill 255 could be 4.5 multiplier, Skill 1 could be a 0.1 multiplier.

strength factor ideally takes into account the weight of the weapon. a bot with low strength should be penalized with a heavy weapon. an uber-strength bot should get some damage bonus for all those muscles.

class factor is primarily melee or not, a flat percentage penalty for casters. casters can mitigate this by upping their skill, but they should never be as good as a melee class.

level factor shouldn't be huge... skill with the weapon type should be more important (i.e., bigger multiplier)... Take your level 40 toon in EQ and have it fight using a weapon for which it has no skill... and guess what, you suck!

It would be interesting to do a "live" calibration with established non-AA, untweaked toons... it should be easy enough (for those that have time on their hands) to whip up new toons in EQ, equip them the same and compare output... then you'll at least have a notion of what you're trying to approximate.

Well, that's my own 2 cents for what it is worth...

Last edited by ArChron; 05-30-2007 at 01:12 PM..
  #2  
Old 05-30-2007, 08:25 AM
EmanonCow
Sarnak
 
Join Date: Aug 2006
Posts: 35
Default

Why attempt to not use the routines/math that EQEmu uses to determine player damage?
  #3  
Old 05-30-2007, 10:30 PM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Because it's too complicated. A player uses skill, item stats(+dmg), AAs, etc.. for his dmg calculation. I can't set it for a bot...
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #4  
Old 06-02-2007, 01:40 PM
Zard's Avatar
Zard
Sarnak
 
Join Date: Nov 2005
Posts: 62
Default a bug perhaps

More detailed discovery & troubleshooting at this recent thread...
http://www.eqemulator.net/forums/sho...476#post133476
In a nutshell, when I use these files to play the bot version, the NPC mobs will not cast buffs on themselves when a zone loads up as they should. At least this is happening for me. I can't believe I did not notice this sooner, perhaps it was because I switched to PEQ's database and expected some differences. If I use the regular world and zone start up files the NPC's act as normal. Let me know if you think it is a bug or my sneoobidness

At the moment, I will stick with bots lol....I would rather play with a group on the solo server with no internet access.
__________________
"Cherish your family and friends for you are truly poor without them. With them, you can merge to form Devastator."
"There's no place like 127.0.0.1"
  #5  
Old 06-06-2007, 05:40 AM
Zard's Avatar
Zard
Sarnak
 
Join Date: Nov 2005
Posts: 62
Default Can anyone else confirm

Can anyone else confirm if this is happening on thier servers?

Thanks,
Zard
__________________
"Cherish your family and friends for you are truly poor without them. With them, you can merge to form Devastator."
"There's no place like 127.0.0.1"
Closed Thread


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:31 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