Arena manager formula

In dieses Unterforum kommen alle Beiträge zu Feature-Requests, die bereits umgesetzt wurden.
Gesperrt
Lazerbird
Beiträge: 8
Registriert: So 2. Jun 2019, 22:58

Arena manager formula

Beitrag von Lazerbird » So 13. Okt 2019, 19:33

Hi,

I did play with arena manager and its math and after a while i came up with formula that shows which upgrade to buy by upgrade raise per upgrade cost. And techically it went up like this:

simplified version: it is better to buy next thing after the previous reaches 250. cost of upgrade of the next thing is two times bigger.
I.e.: 1. cost 100
2. cost 200
3. cost 400 etc.
ofc when something reaches 250lvl and you buy the next thing you end up upgrading it for 100-150lvls because costs of its upgrades are small.
if you buy boost than every boost doubles the cost counted (obviously) so if you have one boost on 1. and both boosts on 2. optimized cost of next upgrades should be:
1. cost 200 (from 100 because it has one boost)
2. cost 800(from 200 because it has two boosts)
3. cost 400 (from 400 because it has no boost)
basically cost of next thing will be: (cost-of-previous-thing)*2^(1+(nuber-of-boosts-of-this-thing)-(number-of-boosts-of-previous-thing))
as for previous example:
1. cost 200
2. is 200*2^(1+2-1) = 200*2^(2) = 200*4 = 800
3. is 800*2^(1+0-2) = 800*2^(-1) = 800*(1/2) = 400

UnknownDeveloper
Core Developer
Beiträge: 380
Registriert: Sa 19. Mai 2018, 15:59
Hat sich bedankt: 21 Mal
Danksagung erhalten: 82 Mal

Re: Arena manager formula

Beitrag von UnknownDeveloper » So 13. Okt 2019, 21:44

Hi Lazer,

what excactly is the feature you are requesting?
Build costs for level x are: x = 1.03 * (x-1)

Lazerbird
Beiträge: 8
Registriert: So 2. Jun 2019, 22:58

Re: Arena manager formula

Beitrag von Lazerbird » So 13. Okt 2019, 22:45

Hi,

I basically request that the bot buys upgrades not by lowest amount of money needed but every next thing it doubles cost of next level. and buy new thing only after previous thing reaches lvl 250
for example if (numbers aren't real):
Seat costs 100 for next level
Popcornstand costs 100 for next level
the bot will buy popcorn stand untill it costs 200 and keep this ratio. Not as it does now, it buys seat until cost of next level is the same as popcornstand and keep it equal.
the same goes for every other thing.
if Seat costs 200 for nex level than popcorn stand have to cost 400 for next level than parking space costs 800 for next level etc.
and if you want to count with golden/speed boosts than its not only doubling but formula as i wrote above:

CoPT * 2^(1 + NBT - NBP)

CoPT - Cost of next level of previous thing
NBT - number of boosts bought for calculated thing
NBP - number of boosts bought for previous thing

in example (picture shown below):

If my Seat costs 20B for next level and i have bought 2 boosts and i want to calculate cost of next level of popcornstand and i have 2 boosts also than for popcorn stand:

CoPT - 20B (cost of next level of seat)
NBT - 2 (number of boosts of popcorn stand)
NBP - 2 (number of boosts of seat)

= 20 * 2^(1 + 2 - 2) = 20 * 2^1 = 20 * 2 = 40B

If my parking space costs 80B for next level and i have bought 2 boosts and i want to calculate cost of next level of trap and i have 1 boosts than for trap:

CoPT - 80B (cost of next level of parking space)
NBT - 1 (number of boosts of trap)
NBP - 2 (number of boosts of parking space)

= 80 * 2^(1 + 1 - 2) = 80 * 2^0 = 80 * 1 = 80 B etc.

P.S. I really did the math and its more complicated than "doubling previous cost" but it tends to it the more things you buy. If you want i will post it here to see, but basically its calculated with cost of next level and how much money next level provides.

here is picture of what i mentioned in examples above (in this picture i would have not bought snacks because vip seat is not 250lvl+):
https://imgur.com/a/tYp6JMl

UnknownDeveloper
Core Developer
Beiträge: 380
Registriert: Sa 19. Mai 2018, 15:59
Hat sich bedankt: 21 Mal
Danksagung erhalten: 82 Mal

Re: Arena manager formula

Beitrag von UnknownDeveloper » So 13. Okt 2019, 22:48

Okay got it, I can try simulating that strategie to compare it to current ones

Benutzeravatar
seboka
Beiträge: 230
Registriert: Mo 4. Jan 2016, 15:24
Hat sich bedankt: 6 Mal
Danksagung erhalten: 11 Mal

Re: Arena manager formula

Beitrag von seboka » So 13. Okt 2019, 23:06

You have the excel sheet for arena manager right @UnknownDeveloper?

https://docs.google.com/spreadsheets/d/ ... edit#gid=0

Maybe it will help also

Lazerbird
Beiträge: 8
Registriert: So 2. Jun 2019, 22:58

Re: Arena manager formula

Beitrag von Lazerbird » So 13. Okt 2019, 23:29

I have excel sheet too :D but after few days when switching from shakes to excel and so on i simplified the calculation because on high levels of items it is as i wrote above in fact when two things are on same level range (1-25, 25-50, 50-100, 100-250 etc.) it is exactly as i wrote above. But in low levels it goes like this (only for seat and popcornstand):
until lvl77 only seat. seat with pocporn stand simultaineously to Seat lvl100 popcorn lvl20. than only seat to lvl130 then simultaneosly to lvl156 seat and lvl50 popcorn stand, than only popcornstand etc.
The difference makes two thing: after passing from one level range to another it doubles income, doubles income raise per lvl and reduces time by 20%. My formula in excel takes ccount in every way but as I wrote, it takes too much time (write every cost, calculate next level range raise etc.) this is only simplified version of this and after passing big levels it does not matter too much.
But i am excited to know how it stands in comparsion of other methods :D
basically my method is not about how much it cost but how much it gives me at what cost. if one thing cost 100 and gives 200/minute and next level it raise to 205/minute or other thing costs 200 gives 100/minute but raises to 120/minute it is obvious that is better to buy the second becouse for 200 it gives you 20/minute instead for 100 gives 5/minute.

F0restbear
Beiträge: 605
Registriert: Mo 8. Jun 2015, 17:36
Hat sich bedankt: 21 Mal
Danksagung erhalten: 124 Mal

Re: Arena manager formula

Beitrag von F0restbear » So 1. Dez 2019, 18:13

#closed

Since we implemented the custom order, everyone can make up their own strategy
Viele Grüße / Best regards

F0restbear ()

Gesperrt

Wer ist online?

Mitglieder in diesem Forum: Shaki und 0 Gäste