UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

[SVN505] [adverserath] Healing other time

Status
Not open for further replies.
[SVN505] [adverserath] Healing other time

UO guide and stratics state that the healing time is:

Healing Time Others = 4 seconds - (Dexterity / 60)

in the svn it is stated to be
{
if ( dex >= 100 )
seconds = 3.0 + resDelay;
else if ( dex >= 40 )
seconds = 4.0 + resDelay;
else
seconds = 5.0 + resDelay;
so with 120 dex on osi you should be able to heal another person in 2 seconds. and with 180 dex you should be able to heal in at least 1.

Dexterity: 125 + 8 (ring) + 8 (bracelet) + 8 (hunters headdress) + 15 (jackals collar) + 5 (taskmaster) + 30 (potion + potion enhance)) = 199; and, on top of that can be added 8 * (tunic, arms, legs, gloves) worth of stamina. That makes 199 max Dexterity and 231 max Stamina.
 

Xavier

Account Terminated
Re: [VALIDATION NEEDED] Healing other time

adverserath;590421 said:
UO guide and stratics state that the healing time is:

Healing Time Others = 4 seconds - (Dexterity / 60)

in the svn it is stated to be

so with 120 dex on osi you should be able to heal another person in 2 seconds. and with 180 dex you should be able to heal in at least 1.


I noticed this, but didnt detail it yet. On OSI the ther day, I was x-healing at about 1 second with 120 dex. Its amazingly fast. Self-healing and vet are also different.

Like I said, I didn't do a lot of testing, but 120 dex sure seems more like 1 second than 2.
 

LadyCrimson

Wanderer
Re: [VALIDATION NEEDED] Healing other time

ok - looks like we are well on our way to getting the timing nailed down but we need more validation just to make sure to facilitate it for the coder (whoever wants to take this one)
 

Xavier

Account Terminated
Re: [VALIDATION NEEDED] Healing other time

LadyCrimson;590571 said:
ok - looks like we are well on our way to getting the timing nailed down but we need more validation just to make sure to facilitate it for the coder (whoever wants to take this one)

I could be wrong, but I am going to dispute the demise time formula as well as the formula stated in the OP.

Id test it now, but ya, ive already got a pile of crap on my plate
 
Re: [VALIDATION NEEDED] Healing other time

Fixing it would not be a problem for me. The problem is validating it to OSIs method.
what we need is a table of times listing from 10 dex, up to the max attainable.
That should help with making a formula.
 

Xavier

Account Terminated
Re: [VALIDATION NEEDED] Healing other time

It wont be the first time UOGuide is wrong.

Here is an AVI of x-healing on OSI @ 110 dex + 10dex in item bonus, total of 120 dex. Each heal is about 1.5 sec in frames. 2 secs 180 is not consistent with these observations.

The healing and anat were changed back and forth to show that they do not influence heal times.
 

Attachments

  • healing.zip
    3.3 MB · Views: 10
Re: [VALIDATION NEEDED] Healing other time

my results on osi so far are

x-heal
30 dex - 4 seconds
70 - 3 sec

self
10 dex -12
30 dex - 10
60 dex - 9
70 dex -8
 
Re: [VALIDATION NEEDED] Healing other time

just made an easyuo script to record the times on osi and the results are faster than i thought. with 10 dex i self healed in 10.220 seconds, and healed another person in 3.379 seconds.
with 90 dex i healed myself in 7.227, and healed another person in 2.200.
server ping is around 19ms apparently.

when all of my results are compared with UO Guides formulas:
# Healing Time Self = 11 seconds - (Dexterity / 20)
# Healing Time Others = 4 seconds - (Dexterity / 60)

the results from OSI are slightly faster than these.

the difference in healing time between 99 and 100 was 1 second.
99-7.2 sec
100-6.2 sec

leaving me to wonder if there actually is a formula on osi, or do they use a servies of IF statements.
 
Re: [VALIDATION NEEDED] Healing other time

OKAY. Im finally getting somewhere.
SELF HEALING TIMES
are fine. It is pretty accurate with all of the tests i just conducted.

X-HEALing times
are really not fine.

Demise sorts out xheal times by 3 if statements
dex<40 = 5 seconds
dex<100 = 4 seconds
dex>100 = 3 seconds

OSI is using a formula which my results show to be
=4-(DEX/48)

Allowing x-healing in 4 seconds at 10 dex, which matches my results.
60 DEX Xheals at 2.8 seconds.
120 DEX as (suggested by Xavier) heals at 1.5 seconds.

I have also just tested 125 DEX which heals at 1.2 second.

I am currently maxing out my dex to 125, and will use a potion to test 140 DEX.
Will feedback on this again.
 
Re: [VALIDATION NEEDED] Healing other time

suggested change in bandage.cs

{
if ( dex >= 100 )
seconds = 3.0 + resDelay;
else if ( dex >= 40 )
seconds = 4.0 + resDelay;
else
seconds = 5.0 + resDelay;
}
to
else
if ( Core.AOS )
{
seconds = 4.0 - (double)(dex/48) + resDelay;
}
else
{
if ( dex >= 100 )
seconds = 3.0 + resDelay;
else if ( dex >= 40 )
seconds = 4.0 + resDelay;
else
seconds = 5.0 + resDelay;
}

sadly I cannot test this as my client wont connect to my server. Despite having SVN 345
 

LadyCrimson

Wanderer
Re: [VALIDATION NEEDED] Healing other time

Can you please attach your changes as a file. When you do that then I'll switch this over to [TESTING]
 
Re: [VALIDATION NEEDED] Healing other time

I have noticed a problem with this already. It rounds up the decimal to the next integer.
Im going the pub now, if anyone knows how to keep the heal time as an int, please post :D

these are the times that should come through.
10 3.791666667
20 3.583333333
30 3.375
40 3.166666667
50 2.958333333
60 2.75
70 2.541666667
80 2.333333333
90 2.125
100 1.916666667
110 1.708333333
120 1.5
130 1.291666667
140 1.083333333
 
Re: [TESTING] Healing other time

it seems that zip is corrupt sorry. I will reupload it when i get home. I see what the problem is for the seconds being integers though.

context = new BandageContext( healer, patient, TimeSpan.FromSeconds( seconds ) );
even though the variable seconds is "double" it is thrown into an expression where the required number is an "int". This causes the number to be shortened and anything over 1 becomes 2. I will run some tests when i get home, but i figure if i multiply seconds by 1000, and use TimeSpan.FromMilliseconds( seconds ) this problem will be fixed.
same method could be used in other instances where timers need to be corrected
 

psz

Administrator
Re: [TESTING] Healing other time

It's not your zip.

The RunUO forums have an issue with Zip files.

Linux, Mac, and non web-based DL Managers can get them fine.

Straight DL on Windows doesn't seem to work.

I'd recommend RARing the file, or having the downloader use something like Orbit DL Manager.

(I just grabbed it with Orbit to make sure ;->)
 

Xavier

Account Terminated
Re: [VALIDATION NEEDED] Healing other time

I will definitely buy these values. Yet another reason not to try to use uoguide for coding/accuracy purposes.

Why dont you use your script to check self-heal too, whilst youre tweaking this. Self-healing times seem different on OSI as well.

adverserath;591081 said:
I have noticed a problem with this already. It rounds up the decimal to the next integer.
Im going the pub now, if anyone knows how to keep the heal time as an int, please post :D

these are the times that should come through.
10 3.791666667
20 3.583333333
30 3.375
40 3.166666667
50 2.958333333
60 2.75
70 2.541666667
80 2.333333333
90 2.125
100 1.916666667
110 1.708333333
120 1.5
130 1.291666667
140 1.083333333
 
Re: [TESTING] Healing other time

Here is the bandage file then.
the changes i made on this should speed up self healing too. Any value that had was rounded upwards.
this list shows the new healing times. I changed the counter to use milliseconds rather than seconds.
dex new old
10 10.5 11
20 10 10
30 9.5 10
40 9 9
50 8.5 9
60 8 8
70 7.5 8
80 7 7
90 6.5 7
100 6 6
110 5.5 6
120 5 5
130 4.5 5
140 4 4
150 3.5 4
160 3 3
 

Attachments

  • Bandage.rar
    3.6 KB · Views: 4
SORRY wrong file last time

It is this download, not the one above. The above one was for the ML server. This one is the SVN.
 

Attachments

  • BandageNew.rar
    3.5 KB · Views: 4
Status
Not open for further replies.
Top