PenUltima Online

It is currently Sat Oct 11, 2008 10:06 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Core's regen system
PostPosted: Sun Jun 29, 2008 6:37 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Can we see larger values in the future? I believe the current min and max is around -32000 and 32000. Maybe another option to completely disable cores regen(I haven't checked docs to see if we can disable it so if we can just hit me and let me figure it out later.).

Our old posioning package used the cores regen system to drain life every 5/10 seconds, but seeing how npcs have much more life in most cases than players it made posioning npcs kind of useless.

To get around this I just made my own regen package, but in the future it would be nice to just use the cores own regen system without rate limitations.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 15, 2008 10:47 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 05, 2006 7:20 pm
Posts: 54
It's possible that we could use a larger variable type for that. Would slightly increase overall memory usage but probably barely noticeably. Anyone else want to see this?

On one hand, a limit of 300/minute is a bit low if you have highly elevated hp counts on your NPCs. On the other hand, if the issue is things like poison, you can always supplement the regen rate with a separate poison damage.

IOW- there's a workaround, but we'll look into it because it might be worth doing anyway.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 16, 2008 7:10 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 772
Location: Chicago, IL USA
I support the change. Thanks for looking into it Madman.


Top
 Profile  
 
 Post subject: Re:
PostPosted: Sun Aug 17, 2008 4:32 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Madman wrote:
It's possible that we could use a larger variable type for that. Would slightly increase overall memory usage but probably barely noticeably. Anyone else want to see this?

On one hand, a limit of 300/minute is a bit low if you have highly elevated hp counts on your NPCs. On the other hand, if the issue is things like poison, you can always supplement the regen rate with a separate poison damage.

IOW- there's a workaround, but we'll look into it because it might be worth doing anyway.


I'm not sure if you know, but I noticed that it's actually only -32 and 32 min/max per tick(divided by 1000). And when you have NPCs running around with 10,000 health, +32 regen per tick just isn't enough.

I fire 3(I should probably only use one but..) scripts at char login with a loop every 5 seconds to do calculations for + or - to vitals along with Poisoning for Life drainage. It's working better than expected and has spawned a few more ideas that I've done with it. But that only covers PC's not NPCs. NPC's are still on core regen except for poison damages which is another separate script.


Top
 Profile  
 
 Post subject: Re: Core's regen system
PostPosted: Thu Aug 21, 2008 5:00 am 
Offline

Joined: Fri Aug 31, 2007 2:25 pm
Posts: 65
Nice idea...

I'd like to see that implemented too.

I have PCs with 800 life in my shard, so you can imagine...

_________________
Hello from Brazil :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl