Calculating Item Values in Online Games

  • Thread starter Drakkith
  • Start date
In summary, the speakers discuss different methods for calculating the value of items in an online game. One suggestion is to find the damage to cost ratio for a base item and compare it to upgraded items. Another suggestion is to create a value function that takes into account different stats and their weights. The concept of a function is explained and the use of sigma as a shorthand for summing is discussed.
  • #1

Drakkith

Mentor
22,842
7,192
Hello! I am trying to calculate the value of items in an online game i play. I was wondering what the best way to do this was. I was thinking of take a base item, say a longsword for +10 dmg, and finding the dmg to cost ratio. Then, taking the upgraded items and finding the ratio for each of the different stats compared to the ratio of the base items. Now, is it possible to average these numbers out into one number? Say i get the ratio of an items stats to its cost to be 5.2 to 1, 4.5 to 1, and 7.9 to 1. Is it correct to take an average of 5.2, 4.5, and 7.9 and use that to compare different items?
 
Mathematics news on Phys.org
  • #2
That would work, or you could work out what is more important to you and your style of play, say damage, and give that stat more weight. Say you want a lot of damage, and thought the other stats were a little less important, you could define your value function to be [tex]value(cost, damage, stat1, stat2) = \frac{1.25damage+stat1+stat2}{cost}[/tex], or you could go even further to make it a function of cost, stats, and their weights: [tex]value=\sum{\frac{weight_i stat_i}{cost}}[/tex]. Although it looks prettier to write it like that, if you're going to make a program to calculate it for you, find the sum of all the stats times their weight, then divide.
 
Last edited:
  • #3
Well, I don't even know what a Function is, so I think I'll be staying from that one lol. But ill definitively look into what you said. Thanks!
 
  • #4
A function is just a know-it-all's word for a math expression with variables in it. Like, y = 2x, means y is a function defined in terms of x. Wikipedia can help a lot more than I can. http://en.wikipedia.org/wiki/Function_(mathematics)

The big E looking thing, called sigma, is just an easier way to say "add." Basically, it's shorthand for me saying to sum all the stats multiplied by their respective weights.
 
  • #5
TylerH said:
A function is just a know-it-all's word for a math expression with variables in it. Like, y = 2x, means y is a function defined in terms of x. Wikipedia can help a lot more than I can. http://en.wikipedia.org/wiki/Function_(mathematics)

The big E looking thing, called sigma, is just an easier way to say "add." Basically, it's shorthand for me saying to sum all the stats multiplied by their respective weights.

Ahhh, ok, that makes a lot of sense now. Thanks alot!
 

1. How are item values calculated in online games?

The calculation of item values in online games is typically based on a combination of factors such as rarity, demand, and in-game performance. Developers may also consider external factors like player feedback and market trends. Ultimately, the goal is to create a balanced and fair system that reflects the value of each item.

2. What impact do item values have on gameplay?

Item values can greatly impact gameplay by influencing player choices and strategies. For example, highly valued items may be more sought after and can give players an advantage in battles or quests. On the other hand, if an item is deemed too valuable, it may disrupt the game's balance and lead to negative player experiences.

3. How do developers determine the starting value for new items?

Developers may use a variety of methods to determine the starting value for new items. This can include analyzing similar items already in the game, conducting market research, and considering the potential impact on gameplay. They may also adjust the value based on player feedback and in-game data over time.

4. Can item values change over time?

Yes, item values can change over time. This can happen for a variety of reasons, such as changes in gameplay mechanics, updates to the game, or shifts in player demand. Developers may also intentionally adjust item values to maintain balance and keep the game fair for all players.

5. How do online games prevent players from manipulating item values?

To prevent players from manipulating item values, online games often have systems in place to regulate the market and prevent unfair practices. This can include limits on trading or selling items, penalties for exploiting the system, and regular updates to adjust item values. Additionally, many games have anti-cheat measures in place to detect and punish players who try to manipulate item values through external means.

Similar threads

Replies
9
Views
845
Replies
9
Views
2K
  • General Math
Replies
2
Views
903
  • General Math
Replies
5
Views
1K
  • Programming and Computer Science
Replies
6
Views
1K
Replies
76
Views
4K
Replies
1
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
877
  • General Math
Replies
6
Views
2K
  • General Math
Replies
4
Views
476
Back
Top