Latest Posts

Topic: Reducing soldier strength parameter space (for easier comparison).

hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-09-20, 07:07

so this is what I got from einsteins program:

Battles win:
| vs. | bar_00 | emp_00 | atl_00 | fri_00 | bar_10 | emp_10 | atl_10 | fri_10 |
| bar_00 | 56.8% | 41.8% | 31.6% | 62.4% | 0.0% | 0.0% | 0.0% | 0.0% |
| emp_00 | 70.6% | 55.8% | 43.2% | 70.2% | 0.0% | 0.0% | 0.0% | 0.0% |
| atl_00 | 78.5% | 67.9% | 55.7% | 75.3% | 0.0% | 0.0% | 0.0% | 0.0% |
| fri_00 | 51.4% | 41.9% | 36.3% | 57.5% | 0.0% | 0.0% | 0.0% | 0.0% |
| bar_10 | 100.0% | 100.0% | 100.0% | 100.0% | 54.0% | 52.3% | 50.5% | 66.2% |
| emp_10 | 100.0% | 100.0% | 100.0% | 100.0% | 55.3% | 53.4% | 49.1% | 74.1% |
| atl_10 | 100.0% | 100.0% | 100.0% | 100.0% | 56.8% | 57.5% | 53.1% | 77.5% |
| fri_10 | 100.0% | 100.0% | 100.0% | 100.0% | 45.7% | 35.3% | 31.3% | 62.5% |

Edited: 2018-09-20, 07:12

Top Quote
einstein13
Avatar
Joined: 2013-07-28, 23:01
Posts: 1118
Ranking
One Elder of Players
Location: Poland
Posted at: 2018-09-20, 07:39
vs. bar_00 emp_00 atl_00 fri_00 bar_10 emp_10 atl_10 fri_10
bar_00 56.8% 41.8% 31.6% 62.4% 0.0% 0.0% 0.0% 0.0%
emp_00 70.6% 55.8% 43.2% 70.2% 0.0% 0.0% 0.0% 0.0%
atl_00 78.5% 67.9% 55.7% 75.3% 0.0% 0.0% 0.0% 0.0%
fri_00 51.4% 41.9% 36.3% 57.5% 0.0% 0.0% 0.0% 0.0%
bar_10 100.0% 100.0% 100.0% 100.0% 54.0% 52.3% 50.5% 66.2%
emp_10 100.0% 100.0% 100.0% 100.0% 55.3% 53.4% 49.1% 74.1%
atl_10 100.0% 100.0% 100.0% 100.0% 56.8% 57.5% 53.1% 77.5%
fri_10 100.0% 100.0% 100.0% 100.0% 45.7% 35.3% 31.3% 62.5%

Yes, Frisians are a bit unbalanced. They are quite weak in comparison with other tribes. Level10 soldiers: when they attack they have 31-45% of chances for winning, and when they defend they have 23-34% of chances to defend. That is quite low.

Level0 soldiers can be a bit unbalanced since the costs for low-level soldiers differs between tribes.

Also thank you for using the program! face-grin.png You're the first one who use it, except me face-tongue.png .


einstein13
calculations & maps packages: http://wuatek.no-ip.org/~rak/widelands/
backup website files: http://kartezjusz.ddns.net/upload/widelands/

Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-09-20, 11:50

@hessenfarmer: I cannot confirm the values. Another program of Einstein tells me that Frisian10s are balanced in fights against Barbarian10s, but Atl10s and Emp10s have approximately 66% win chances against Fri10s, and Fri0s are approximately as strong as Atl0s.

By the way, if that program is not wrong and I've not miscalculated it could be possible to balance the values by increasing the maximal attack of Fri0s and decreasing their minimal attack.

Edited: 2018-09-20, 11:54

Wanted to save the world, then I got widetracked

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-09-20, 12:41

Which program did you use? I took https://github.com/einstein13/wl_soldiers and adjusted the numbers in stats.py according to the values in trunk. There were some changes made december 17 which should boost Barbarians according to the commit message but boosted atlanteans instead.
Not sure if this was intentional or mistake.


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-09-20, 14:02

hessenfarmer wrote:

Which program did you use?

The c-program of Einstein13

I took https://github.com/einstein13/wl_soldiers and adjusted the numbers in stats.py according to the values in trunk. There were some changes made december 17 which should boost Barbarians according to the commit message but boosted atlanteans instead.

I checked the soldier-values, they are correct. So the commit message is probably wrong.


Wanted to save the world, then I got widetracked

Top Quote
einstein13
Avatar
Joined: 2013-07-28, 23:01
Posts: 1118
Ranking
One Elder of Players
Location: Poland
Posted at: 2018-09-20, 14:44

Ok... Where can I find the correct values of stats? The Widelands code itself? I will update the stats in both my official programs.


einstein13
calculations & maps packages: http://wuatek.no-ip.org/~rak/widelands/
backup website files: http://kartezjusz.ddns.net/upload/widelands/

Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-09-20, 14:51

einstein13 wrote:

Ok... Where can I find the correct values of stats? The Widelands code itself? I will update the stats in both my official programs.

For example here: https://bazaar.launchpad.net/~widelands-dev/widelands/trunk/view/head:/data/tribes/workers/frisians/soldier/init.lua

Do you find the other values?


Wanted to save the world, then I got widetracked

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-09-20, 21:50

WorldSavior wrote:

@hessenfarmer: I cannot confirm the values. Another program of Einstein tells me that Frisian10s are balanced in fights against Barbarian10s, but Atl10s and Emp10s have approximately 66% win chances against Fri10s, and Fri0s are approximately as strong as Atl0s.

you are right there was still an error in the stats (100 -35 is NOT 75 ;-))

the real values are

vs. bar_00 emp_00 atl_00 fri_00 bar_10 emp_10 atl_10 fri_10
bar_00 56.8% 41.9% 31.8% 38.9% 0.0% 0.0% 0.0% 0.0%
emp_00 70.1% 56.1% 42.9% 47.3% 0.0% 0.0% 0.0% 0.0%
atl_00 78.4% 67.9% 55.9% 53.2% 0.0% 0.0% 0.0% 0.0%
fri_00 71.6% 63.7% 57.8% 55.5% 0.0% 0.0% 0.0% 0.0%
bar_10 100.0% 100.0% 100.0% 100.0% 54.1% 52.5% 50.4% 53.1%
emp_10 100.0% 100.0% 100.0% 100.0% 55.3% 53.3% 49.2% 62.6%
atl_10 100.0% 100.0% 100.0% 100.0% 56.7% 57.2% 53.3% 66.2%
fri_10 100.0% 100.0% 100.0% 100.0% 57.4% 47.1% 42.6% 58.7%

although these values might differ by 1 or 2 % due to the limited statistical database (10000 fights)

I have redone the same thing in an excel spreadshet using VBA and it delivers comparable values. I will upload it to the frisian balancing bug on launchpad (https://bugs.launchpad.net/widelands/+bug/1765746)

sorry for the trouble.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-09-20, 21:58

WorldSavior wrote:

By the way, if that program is not wrong and I've not miscalculated it could be possible to balance the values by increasing the maximal attack of Fri0s and decreasing their minimal attack.

I don't understand this, cause the meridian of attach will stay the same if increased and decreases by the same value. Perhaps you could provide your values for test.


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-09-20, 21:59

hessenfarmer wrote:

WorldSavior wrote:

@hessenfarmer: I cannot confirm the values. Another program of Einstein tells me that Frisian10s are balanced in fights against Barbarian10s, but Atl10s and Emp10s have approximately 66% win chances against Fri10s, and Fri0s are approximately as strong as Atl0s.

you are right there was still an error in the stats (100 -35 is NOT 75 ;-))

Ok face-wink.png

the real values are

vs. bar_00 emp_00 atl_00 fri_00 bar_10 emp_10 atl_10 fri_10
bar_00 56.8% 41.9% 31.8% 38.9% 0.0% 0.0% 0.0% 0.0%
emp_00 70.1% 56.1% 42.9% 47.3% 0.0% 0.0% 0.0% 0.0%
atl_00 78.4% 67.9% 55.9% 53.2% 0.0% 0.0% 0.0% 0.0%
fri_00 71.6% 63.7% 57.8% 55.5% 0.0% 0.0% 0.0% 0.0%
bar_10 100.0% 100.0% 100.0% 100.0% 54.1% 52.5% 50.4% 53.1%
emp_10 100.0% 100.0% 100.0% 100.0% 55.3% 53.3% 49.2% 62.6%
atl_10 100.0% 100.0% 100.0% 100.0% 56.7% 57.2% 53.3% 66.2%
fri_10 100.0% 100.0% 100.0% 100.0% 57.4% 47.1% 42.6% 58.7%

although these values might differ by 1 or 2 % due to the limited statistical database (10000 fights)

This looks correct now. Unfortunately the values of Fri10 are not like they were supposed to be and as I said I think that they are so unbalanced that the Fri10 need an improvement.

sorry for the trouble.

No problem!


Wanted to save the world, then I got widetracked

Top Quote