Question about rounding up %yeld bonus from location

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Question about rounding up %yeld bonus from location

Postby Hardsun » Fri 01 Mar 2019, 15:22

Image
^ Built my salancedar spot and it got 57 WC (ie 28.5% bonus) - but got only 48% (20 base+28.5 from location) - looks like rounded down.. ?

Image
^ While it was rounded up for our odiemel mine.
Got 39 from location (ie 19.5% bonus) - and ended with 50% in total (30% base +19.5% from location)

How so ? :?

User avatar
Céline
Mystique
Posts: 2088
Joined: Fri 20 Nov 2015, 20:42
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Céline » Fri 01 Mar 2019, 18:38

Don't know how to say it in English =/ but in French it's "arrondi au pair le plus proche" :
pair : 2 4 6 8 10 12 .... plus proche = nearest

• 1.5 -> 2
• 1.6 to 1.9 -> 2
• 2.1 to 2.4 -> 2
• 2.5 -> 2
• 2.6 to 2.9 -> 3
• 3.1 to 3.4 -> 3
• 3.5 -> 4
• 3.6 to 3.9 -> 4
• ....

28.5 -> 28
19.5 -> 20
---
~Contact : support@virtys.com~

Astral
Citoyen
Posts: 34
Joined: Mon 25 Jul 2016, 12:27
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Astral » Fri 01 Mar 2019, 18:50


User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Fri 01 Mar 2019, 18:52

I got that - any X.5 number being rounded to nearest number that can be divided by 2.

But, but ... guys its against math laws :lol:
Always though any x.5+ being rounded up no matter what.

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Fri 01 Mar 2019, 18:55

Astral wrote:Banker's rounding

ty Celine and Astral

User avatar
Céline
Mystique
Posts: 2088
Joined: Fri 20 Nov 2015, 20:42
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Céline » Fri 01 Mar 2019, 19:37

Hardsun wrote:But, but ... guys its against math laws :lol:


It's just another way to do :D

In English it's also : "round half to even" - RoundingMode.HALF_EVEN always rounds to the next number, like any other rounding-algorithmn - with only one execption: If the number-to-round is exacly between 2 numbers (2.5, 42.5, -4.5), it will not round it up, but instead round it to the neighbour which is even (https://stackoverflow.com/questions/281 ... r#28134961)
Have fun !
---
~Contact : support@virtys.com~

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Sun 31 Mar 2019, 06:40

:?: Got another question about how exactly rounding works in game.

Lets take grimalrock boulders for example and 66-extraction rails for stone:
Base presence for grock boulders = 1%

1+66/4=1+16.5=17.5 (rounded UP to 18% total presence?)
?? OR is it:
1+66/4=1+16.5(rounded down to 16)=17

Makes a difference since with 17% its 24 cycles to extract each grock boulder and with 18% its 23 cycles.
400/18=22.22 (23 cycles)
400/17=23.53 (24 cycles)

User avatar
Céline
Mystique
Posts: 2088
Joined: Fri 20 Nov 2015, 20:42
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Céline » Sun 31 Mar 2019, 08:56

Screenshot_53.jpg
Screenshot_53.jpg (134.03 KiB) Viewed 1716 times
---
~Contact : support@virtys.com~

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Sun 31 Mar 2019, 10:15

Great! Thanks for sharing that pic.

And .. and ... who is strange looking scholar as your 1st companion... He looks like Page - but he is not, right ? :shock:

User avatar
Céline
Mystique
Posts: 2088
Joined: Fri 20 Nov 2015, 20:42
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Céline » Sun 31 Mar 2019, 12:00

It's just Nunzio ;)
Quest "From Halmvik to Agra Guarda"
---
~Contact : support@virtys.com~

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Sun 31 Mar 2019, 19:40

How i could forget about this guy, was almost hyped thinking its some new companion :lol:

Sniq
Bourlingueur
Posts: 80
Joined: Fri 22 Jan 2016, 16:16
Realm: Lanfar

Re: Question about rounding up %yeld bonus from location

Postby Sniq » Sun 31 Mar 2019, 21:49

Hardsun wrote::?: Got another question about how exactly rounding works in game.

Lets take grimalrock boulders for example and 66-extraction rails for stone:
Base presence for grock boulders = 1%

1+66/4=1+16.5=17.5 (rounded UP to 18% total presence?)
?? OR is it:
1+66/4=1+16.5(rounded down to 16)=17

Makes a difference since with 17% its 24 cycles to extract each grock boulder and with 18% its 23 cycles.
400/18=22.22 (23 cycles)
400/17=23.53 (24 cycles)


I think with a 66 rail, the presence is exactly 17.5 (but rounded up when being displayed, thus showing 18 presence).
We have a quarry for groc boulder with 69 rails. The game shows
18% presence (1+69/4 = 18.25 => round down to 18) but we only need 22 extractions for each boulder.
I think the calculation for number of extractions is
400/(1 + 69/4) = 21.91 (22 cycles).

Another hint is the % the shows after completing each extraction in the log. For groc boulder, here is the % of completion
shown in the game log with 69 rail.
5%, 9%, 14%, 18%, 23%, 27%, 32%, 36%, 41%, 46%, 50%, 55%, 59%, 64%, 68%, 73%, 78%, 82%, 87%, 91%, 96%, 100% (get 1 boulder).
These numbers are rounded for display purpose but they are rounded value of multiples of (18.25 * / 400).


This lead me to think that in the salancedar giantyard (shown in the first post), with a 57 wc mechanism and 20 base, the presence is exactly 48.5% but displayed as 48%.

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Mon 01 Apr 2019, 06:44

Im confused :lol: Celine - could you comment this ? ^
Does that mean numbers being rounded for showing purpose and im pretty sure rounded ones used for hero location bonus.
But if Sniq is right - for the purpose of "how many cycles needed" - its used as non-rounded original (hidden) number ?

Its not that critical for my personal salancedar spot, but its more important for guild resources ide say.
And ofc would be nice to know how things actually work - so we can plan properly.

User avatar
Céline
Mystique
Posts: 2088
Joined: Fri 20 Nov 2015, 20:42
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby Céline » Mon 01 Apr 2019, 08:00

Don't care about energy/time, my Test Character have a speed bonus (x1000).

With rails 66 -> 18% -> 23 cycles.
1.jpg
1.jpg (130.49 KiB) Viewed 1622 times
2.jpg
2.jpg (129.22 KiB) Viewed 1622 times


With rails 69 -> 18% -> 22 cycles.
4.jpg
4.jpg (130.08 KiB) Viewed 1622 times
3.jpg
3.jpg (131.38 KiB) Viewed 1622 times


Remember : this is what I can test on Dev server, I'm not a dev, I haven't access to code, formula etc, I just took some notes when devs and some players (like Gopol, Aknoth,...) gave some intersting "maths" information.

I never test on dev'server for myself, I'm so late in game that I ask question to "big guild" members :p
"what do I need for a "small" or "big" quarry for giant grim ?"...."Do I need a super sleeping place, or is a normal one enoug ?"
(thank you Fiergrue server ^^)
---
~Contact : support@virtys.com~

User avatar
Hardsun
Bourlingueur
Posts: 97
Joined: Wed 19 Jul 2017, 11:43
Realm: Fauconnia

Re: Question about rounding up %yeld bonus from location

Postby Hardsun » Mon 01 Apr 2019, 08:30

Thanks again - both Celine and Sniq.
But at least you can do such testing while its being too expensive to do similar things for me.

... and "With rails 69 -> 18% -> 22 cycles." proves what Sniq posted before... so its indeed

400/(1 + 69/4) =400/18.25=21.92 (22 cycles)
and NOT
400/ROUNDED_(1+69/4)=400/18=22.22 (23 cycles)

Arghh - i was calculating it wrong for almost 2 years. Better late then never :lol:

User avatar
PHOENIX
Défricheur
Posts: 10
Joined: Mon 29 May 2017, 10:33
Realm: -

Re: Question about rounding up %yeld bonus from location

Postby PHOENIX » Mon 01 Apr 2019, 11:45

Based on the above (which was extremely interesting). There is a possibility that the real chance in the example above of the salanсedr spot is 48.5 and only displayed as 48, on the principle "Banker's rounding". I mean mathematical calculations can differ from rounding off. So using the best engineer items can still make sense

User avatar
guivou
Mystique
Posts: 649
Joined: Thu 14 Jan 2016, 12:27
Realm: Alchimideon

Re: Question about rounding up %yeld bonus from location

Postby guivou » Wed 03 Apr 2019, 06:10

bad luck for you same question in french, several monthes ago

Céline wrote:En test, cela donne
65 -> 17% affiché et 24 actions nécessaires
66 -> 18% affiché et 23 actions nécessaires
67 -> 18% affiché et 23 actions nécessaires
68 -> 18% affiché et 23 actions nécessaires
69 -> 18% affiché et 22 actions nécessaires

N'oubliez pas que Silverlight sous Mac ne calcule pas toujours exactement de la même façon.

Chillout
Citoyen
Posts: 16
Joined: Fri 29 Dec 2017, 19:52
Realm: Vodekan

Re: Question about rounding up %yeld bonus from location

Postby Chillout » Wed 03 Apr 2019, 13:11

For dessert 8-)

Image


Return to “Help and FAQ”

Who is online

Users browsing this forum: No registered users and 1 guest