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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2008, 06:49 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

You guys seriously talk too much, we'll put something in.
Reply With Quote
  #2  
Old 10-08-2008, 07:04 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

LOL, honestly it would probably take me all of 10 minutes to write the code that he wants and just add it to the code that I wrote so you can use either type of out of combat regen. But, since HPs are constantly being updated, I am concerned that the extra calculations for extra rules will just make more potential server performance impact. Ya, 2 extra rules and an equation probably isn't bad, but Chaos wants rules for every little thing lol :P They would start to add up quickly and take a toll on performance at some point. I have been looking into increasing server performance where possible, and adding 2 systems to do essentially the same thing is a bit redundant. As soon as I get this done, at least there will be a flexible option for OOC Regen. I don't know if there really needs to be 2 separate OOC Regen systems considering we made it this long without any. And if people don't like the one I made, we can always change it at any point. :P

Here is the post from this thread with the code that I have written so far:
http://www.eqemulator.net/forums/sho...98&postcount=8

It is all done beside getting the IsEngaged check to work to see if the player is in combat or not.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 10-08-2008 at 03:09 PM..
Reply With Quote
  #3  
Old 10-08-2008, 11:59 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

Hehe KLS is right =)

Anyway, Trev,

Quote:
Shouldn't casters with better gear be able to kill more then ones with lesser gear?
the word "gear" is too vague for this specific case. YES they should, but you need to be specific what gear you refering to:

If you playing a warrior- you can go for for STR to do more damage , kill enemies faster and take less dmg in the process OR go for AC items to get hit for less dmg to begin with, but then your fights will last longer since your DPS is lower. Each has pros and cons depending on specific encounters

Same thing happens when you look at the 2 wizards- one wizard went for +mana items while another went for +mana regen items.
The first wizard should have larger mana pool, while 2nd wizard should have faster mana recovery. The first wizard can put out far more spell dmg in combat before he runs OOM, while 2nd wizard can last longer while fight goes on for a while (liek a raid fight).

When you putting OOC regen on pool % bases - you bluring this diffirence in char gear customization away.

In either case - the debates help find the "golden middle"
Reply With Quote
  #4  
Old 10-08-2008, 12:10 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

Oh Trev we forgeting one more- OOC Endurance Regeneration =)
Reply With Quote
  #5  
Old 10-08-2008, 02:47 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

it seems the svn version no longer uses the hate list for clients unless they are charmed. it was probably part of the fix to the feign death bug. this means that IsEngaged() would only work on a charmed client or a npc
Reply With Quote
  #6  
Old 10-09-2008, 05:24 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The bot command in the command.cpp uses this code:

Code:
		if(c->IsEngaged() || c->GetFeigned())
        {
            c->Message(15, "You can't summon bots while you are engaged or feigned.");
			return;
		}
Which is why I thought it would work. If it doesn't work for players, then it seems like that code won't work properly.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 10-09-2008, 08:59 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

Yes, i'm finding that there is lots of code that works in the eqemulator.net source tree that doesn't work in the svn source tree. I'm working to update the bot source for svn as fast as I can.
Reply With Quote
Reply

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 06:04 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