eronoobos / BABAR-The-Shardifant

Balanced Annihilation & Balanced Annilhation Reloaded configuration for Shard
2 stars 1 forks source link

bad factory choices for non-lua shard #18

Closed eronoobos closed 8 years ago

eronoobos commented 8 years ago

I don't think i've seen non-lua shard build anything but air factories

on Desert Triad, for example, this is the order of factories for non-lua shard:

[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating sub = 0
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating veh = 0.21832236647606
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating shp = 0
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating bot = 0.21832236647606
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating hov = 0.21592843532562
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: mtypes map rating amp = 0.21592843532562
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating coraap = -0.75
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating corlab = -0.10916119068861
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armvp = -0.10892178863287
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armshltxuw = -0.54430967569351
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating corgantuw = -0.54341197013855
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating coralab = -0.3274835050106
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating corgant = -0.54480844736099
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating corap = -0.25
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating corvp = -0.10892178863287
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armalab = -0.3274835050106
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating csubpen = -0.2605504989624
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armlab = -0.10916119068861
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armavp = -0.32748353481293
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating coravp = -0.32697051763535
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armap = -0.25
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armshltx = -0.54460895061493
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating armaap = -0.75
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: factory rating asubpen = -0.24471494555473
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 1 coraap
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 2 armaap
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 3 corgant
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 4 armshltx
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 5 armshltxuw
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 6 corgantuw
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 7 armavp
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 8 coralab
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 9 armalab
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 10 coravp
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 11 csubpen
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 12 corap
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 13 armap
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 14 asubpen
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 15 corlab
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 16 armlab
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 17 armvp
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: 18 corvp

which is especially odd considering there is only one contiguous bot area, which contains all of the metal spots:

[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: bot  networks: 1
[f=-000001] <SkirmishAI: Shard git-testing (team 1)>: MapHandler: network #1 has 27 spots and 16380 grids

compare to lua shard's factory order:

[f=-000001] MapHandler: mtypes map rating sub = 0
[f=-000001] MapHandler: mtypes map rating veh = 0.14493026
[f=-000001] MapHandler: mtypes map rating shp = 0
[f=-000001] MapHandler: mtypes map rating bot = 0.29198536
[f=-000001] MapHandler: mtypes map rating hov = 0.14990419
[f=-000001] MapHandler: mtypes map rating amp = 0.28916404
[f=-000001] MapHandler: factory rating coraap = -1.05
[f=-000001] MapHandler: factory rating corlab = -0.6459926
[f=-000001] MapHandler: factory rating armvp = -0.5626796
[f=-000001] MapHandler: factory rating armshltxuw = -2.9577363
[f=-000001] MapHandler: factory rating corgantuw = -2.9855347
[f=-000001] MapHandler: factory rating coralab = -1.8847314
[f=-000001] MapHandler: factory rating corgant = -3.0079803
[f=-000001] MapHandler: factory rating corap = -0.35
[f=-000001] MapHandler: factory rating corplat = -0.3
[f=-000001] MapHandler: factory rating corvp = -0.5626796
[f=-000001] MapHandler: factory rating armalab = -1.8689013
[f=-000001] MapHandler: factory rating csubpen = -1.6336842
[f=-000001] MapHandler: factory rating armlab = -0.6459926
[f=-000001] MapHandler: factory rating armavp = -1.6341774
[f=-000001] MapHandler: factory rating coravp = -1.6620523
[f=-000001] MapHandler: factory rating armap = -0.35
[f=-000001] MapHandler: factory rating armshltx = -2.9933798
[f=-000001] MapHandler: factory rating armaap = -1.05
[f=-000001] MapHandler: factory rating armplat = -0.3
[f=-000001] MapHandler: factory rating asubpen = -1.5847797
[f=-000001] MapHandler: 1 corgant
[f=-000001] MapHandler: 2 armshltx
[f=-000001] MapHandler: 3 corgantuw
[f=-000001] MapHandler: 4 armshltxuw
[f=-000001] MapHandler: 5 coralab
[f=-000001] MapHandler: 6 armalab
[f=-000001] MapHandler: 7 coravp
[f=-000001] MapHandler: 8 armavp
[f=-000001] MapHandler: 9 csubpen
[f=-000001] MapHandler: 10 asubpen
[f=-000001] MapHandler: 11 coraap
[f=-000001] MapHandler: 12 armaap
[f=-000001] MapHandler: 13 corlab
[f=-000001] MapHandler: 14 armlab
[f=-000001] MapHandler: 15 armvp
[f=-000001] MapHandler: 16 corvp
[f=-000001] MapHandler: 17 armap
[f=-000001] MapHandler: 18 corap
[f=-000001] MapHandler: 19 corplat
[f=-000001] MapHandler: 20 armplat
eronoobos commented 8 years ago

https://github.com/eronoobos/BABAR-The-Shardifant/commit/3e1fcd4ad78b19dd2fd036567415a211c4a896e7

pandaro commented 8 years ago

interesting, please post all suggest about factories choice here, i'm on working to refine and i will add all the possible tuning

eronoobos commented 8 years ago

my suggestions are the above commit and this one, too: https://github.com/eronoobos/BABAR-The-Shardifant/commit/8689084ed91855614a9a80f8bfbc387882abfe1d oops, without this https://github.com/eronoobos/BABAR-The-Shardifant/commit/cbc802f3aa9aaef76083b25a306aae83a7568c21 air factories don't build