[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Fluid Regeneration  XML
Forum Index -> Druids RPG
Author Message
KohanX

Godlike

Joined: 03/04/2006 13:40:23
Messages: 350
Offline

I have a patch that I have made that I want the public to speculate and accept or decline.

This patch causes regenerative abilities (Regeneration, Adrenal Drip) to affect your attributes in a fluid manner. That is, if you have Regeneration 4, you do not gain four Health every second, but rather, you gain one health every quarter-second. The actual rate of regeneration is exactly the same, but is more consistent. I have tested this patch myself, and it functions excellently.

So, questions, comments, criticism, compliments!
Shantara

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:35:28
Messages: 861
Location: SLC, Utah
Offline

Having anything calculated at every quarter of a second would create unecessary strain (and therefore lag) on the server.

I'm wondering what it will take for my country to rise,
First we admit our mistakes, then we open our eyes
--Ani Difranco

My skin: http://www.ut2003hq.com/pafiledb2/pafiledb.php?action=file&id=5094
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

Consider the problem of having the server doing that for 20 people at the same time, and also having to replicate out to the clients those updates every quarter of a second.

Even every second (that it currently does) is probably non-trivial in the amount of load it adds.

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
KohanX

Godlike

Joined: 03/04/2006 13:40:23
Messages: 350
Offline

Well, not necessarily. Take movement, for example. The server does not have to constantly update that every tick; it just lets the clients know when there's a change in velocity. So can this be applied to regeneration (I think); just tell the clients the speed at which one is regenerating, and have the client take care of the rest. Even better, since Regeneration is a passive thing, it should rarely have to replicate (only when you die or upgrade it, theoretically).

At the same time, things that are not so passive, such as minigun medics, do not seem to make the server explode either, and that can get quite a chunk faster than a quarter second. Combine all that with the constant increasing and decreasing of all the health on the map, and your kick-butt server still dishes it all out at an excellent speed.

If there's a flaw in my reasoning, please do exploit it. I only wish to make things better, but it seems I can never get that attitude across without making myself sound incredibly egotistical.
 
Forum Index -> Druids RPG
Go to: