XVs32 / kcauto_custom

kcauto_custom, the successor to kcauto, a Kantai Collection (Kancolle) bot / automation tool
https://xvs32.github.io/kcauto_custom/
GNU General Public License v3.0
8 stars 2 forks source link

Expedition IDs #60

Closed Danielosama closed 1 year ago

Danielosama commented 1 year ago

I am trying out your fork with a config for 3-2 ammo farming + expeditions, but I run into the following error:

image

Is there a list of Expedition IDs? I thought the ID of the expedition A2 was "101", but appaerently something is wrong.

All best,

XVs32 commented 1 year ago

Hello Danielosama,

After a quick debug, apparently this is a mistake I've made recently. I will fix this in the next coming version.

In the mean time, if you are running kcauto_costom from source code(not using .exe), changing line 125 in expedition/expedition_core.py from

self.exp_rank.append({"id":int(id.expedition), "score":0})

to

self.exp_rank.append({"id":int(id.value), "score":0})

should solve the problem.

Thank you for your report.

Sincerely, XVs32

Danielosama commented 1 year ago

That fixed it, thanks.