Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  The mysterious Ag dps  (Read 6547 times)

0 Members and 1 Guest are viewing this topic.

_people_

« Reply #30 on: 16, March 2019, 17:57:28 »
I have made some minor tweaks to how AG damage is calculated, as there were a few damage calculations that seemd to be a little bit out of place. However, it appears that even before these changes DPS is displayed as the MAXIMUM possible damage you can inflict in a hit before factoring in resistances, critical hits, and stealth hits.

Using sling archery, I have a weapon speed of 1.00 sec and DPS of 62.0. The max hit I can get without modifiers is 62. Using throwing axes my WS is 1.25 and my DPS is 4.0. The max damage I can inflict is 1.25sec * 4.0 damage/sec = 5 damage.

After the overall damage is calculated, a random_roll is done to determine the actual hit value. This is between 70 and 100% of the full unmodified damage. So perhaps it would be more accurate to list DPS for both ranged and melee as 85% of the calculated value, as on average your hit will be DPS * WS * 85%.
-- _people_ :)

Husavik.

« Reply #31 on: 16, March 2019, 18:52:21 »
That's nice you  took time to have a look on it.

At least we understand the same thing. Indeed I always considered DPS as displaying the maximum possible damage. 

That being assumed, the fact is that real  maximum damage was still below theorical maximum damage  (doing tests, I was pretty sure to obtain that maximum as it occured several times).

I'll check now you changed some things. 




Husavik.

« Reply #32 on: 16, March 2019, 19:11:03 »
I'm afraid nothing was solved. Here is the results of my tests (with the advantage of high numbers to make difference clear) :

DPS : 433,3
WS : 0,75
Theorical max damage :   433x0,75 = about 325.

With plain shots (no stealth, no direct, no resistance) I obtain from 200 to 283 damage ....

As 70% of 283 is nearly 200, I'm pretty sure that 283 is very close to my real max damage. Always that gap ....


_people_

« Reply #33 on: 16, March 2019, 23:43:59 »
I haven't changed anything on the main server yet. What I'm saying is that all the testing I'm doing (both throwing and sling weapons) shows that the displayed DPS is accurate. What kind of gear are you wearing during your testing?
-- _people_ :)

Joe

« Reply #34 on: 17, March 2019, 01:37:32 »
Quote
DPS : 433,3
WS : 0,75
Theorical max damage :   433x0,75 = about 325.

Something to note also, the timers were changed for archery.  So sling, bow, and xbow all fire at the same rate of 1 second, even though the sling reads as .75 for speed.
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

myths

« Reply #35 on: 17, March 2019, 08:18:51 »
Were the timers put to 1 second for testing? I can see how when calculating damage 1 makes it really simple.
What I like about the timer being at 1 second is that now a crossbow really does do more net damage than a Long bow as it should.
What I don't like about the timer being at 1 is I am a Smacky follower for certain parts of the game should reflect reality and the reality is a crossbow can not fire as often in the same time frame as a bow and certainly not as a sling, especially if we are going to have a Archer class which I do support although at the moment it is just a skill and not a class.
My retirement approaches...like the Grim Reaper

Husavik.

« Reply #36 on: 17, March 2019, 08:26:07 »
@_people_  :

Ag lvl 110, Pagoda set, Killrin dex belt, RoC, ninja bracers, some STR stuff, Dex bow from Farghorm. Note that I just did quick test with what I had on inventory, I can reach still more DPS if necessary.

To my mind, you believe your damage is coherent with your DPS, because you made tests with low DPS and won't notice the difference. 

Please believe me, I have made many tests during years, applying/unapplying different kinds of items to try to catch the bug. It NEVER worked, I ALWAYS obtained the same gap between theorical and real damage.

@Joe :  I'm using bow, not sling.  Normal bow WS is 1s,  but being member of the  mercenary guild, it dropped to 0.75s  (I checked with an alt :  x-bow WS is still 1.25s, and 1s once in mercenary guild).

Anyway,  whatever WS is, displayed DPS changes accordingly .... and it still NEVER worked correctly.
« Last Edit: 17, March 2019, 09:46:27 by Husavik., Reason: more precise answer to Joe »

_people_

« Reply #37 on: 18, March 2019, 23:50:49 »
Took me longer than it should have, but I fixed this. Issue was that during damage calculation, item condition was factored in after adding player's damage boni (rings, etc.). During the displayed DPS calculation, it is factored in before adding damage boni. I have changed this to always be calculated before item boni. This will result in a slight increase in ranged damage for anyone who has damage+ items.

Changes will take effect on Main server after the next update (probably whenever we come up with a quest or something for the new prayer).

EDIT: Also I don't know what you guys are talking about regarding timers being changed. All my testing was done using throwing axes with a time of 1.25 seconds.
« Last Edit: 18, March 2019, 23:53:28 by _people_ »
-- _people_ :)

Joe

« Reply #38 on: 19, March 2019, 02:02:03 »
Nice catch.  As far as the timers go I was told a few years ago they were rounded to 1 sec.  Actually you were the one who told me this lol.  I can't look at the code or pretend to understand it, but I do remember this. :)
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

Husavik.

« Reply #39 on: 19, March 2019, 09:57:08 »
I can't believe it, you made it !  Hurrah !

I shouldn't forget that everything happen in 2 weeks ....  ;D




Tags:
 

Related Topics

  Subject / Started by Replies Last post
12 Replies
3726 Views
Last post 19, May 2009, 23:10:00
by smacky
14 Replies
8283 Views
Last post 04, May 2011, 03:19:44
by zrubavel
38 Replies
34436 Views
Last post 07, July 2012, 21:45:44
by Joe
11 Replies
47827 Views
Last post 01, December 2012, 22:07:01
by Obliterator
2 Replies
121 Views
Last post 21, February 2022, 05:51:33
by Delrisst