-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical Error: API didn't find any team - Skipping Account #97
Comments
Hi, can you share your card settings file please? |
## Set it to true to to activate card settings
USE_CARD_SETTINGS=false
## Example 1: The team has a winrate of 50%, you own 5/5 cards of it. The API will pretend the team has a 74% WR.
## Example 2: The team has a winrate of 50%, you own 1/4 cards of it. The API will pretend the team has a 48.5% WR (50 + (1/4 * 24) - (3 * 2.5)
## Example 3: The team has a winrate of 50%, you own 0/4 cards of it. The API will pretend the team has a 40% WR.
WINRATE_MODIFIER_OWNED_CARD_PERCENTAGE=24
FLAT_NEGATIVE_MODIFIER_PER_UNOWNED_CARD=2.5
## Example: If you finished in silver last season the modifiers above will only be applied
## once you are in silver or higher
DISABLE_OWNED_CARDS_PREFERENCE_BEFORE_CHEST_LEAGUE_RATING=true
## Example: If you finished in silver last season the bot will not prioritize the quest focus element
## before you are in silver or higher
DISABLE_FOCUS_PRIORITY_BEFORE_CHEST_LEAGUE_RATING=true
## Only play cards with this level or higher
CARD_MIN_LEVEL=1
## Always add 0 mana cards like Furious Chicken if the account has it
ADD_ZERO_MANA_CARDS=true
## If set to false the bot will never play any starter cards. Only recommended if you have a ton of cards
PLAY_STARTER_CARDS=true
## Possible options: dragon,death,fire,earth,water,life
## Example: You only want to play earth and fire elements if the bot is not fighting for the quest focus:
## PREFERRED_SUMMONER_ELEMENTS=earth,fire
PREFERRED_SUMMONER_ELEMENTS=dragon,death,fire,earth,water,life
## If the API can not find a team with your preferred summoner elements with a winrate >= this
## it will chose a team without element restrictions applied
PREFERRED_SUMMONER_ELEMENTS_WINRATE_THRESHOLD=48
## If PRIORITIZE_QUEST=true then the API will always try to play the focus element, unless it can not find
## A team with a winrate >= this
USE_FOCUS_ELEMENT_WINRATE_THRESHOLD=55
####################################################################################
##### DEPRECATED - only working for old API and will probably be removed soon:
## The minimum amount of historic games the api should have for a team to consider it
MINIMUM_GAMES=10
## Possible options: dragon,death,fire,earth,water,life
PREFERRED_SUMMONER_ELEMENT=
## If the api only finds teams with a winrate smaller than this it will ignore the card settings
## (0-100)
WINRATE_THRESHOLD=40
|
Could you check if it's fixed now? |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
-->Yes! It’s fixed, didn’t have this error for a while now 😊 bot performance (wins) is also a lot better since last season Verzonden vanuit Mail voor Windows Van: Jonas FVerzonden: woensdag 14 september 2022 11:47Aan: PCJones/Ultimate-Splinterlands-Bot-V2CC: FlokiNL; AuthorOnderwerp: Re: [PCJones/Ultimate-Splinterlands-Bot-V2] Critical Error: API didn't find any team - Skipping Account (Issue #97) Could you check if it's fixed now?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
First of all, thank you @PCJones for providing this software - I appreciate the work you put into it!
This results in my team surrendering. Do you know if this is a bug, or if it's maybe just the result of too much load on your server? I am using v2.17.2 on Linux. Update: I was thinking of a feature request - if this error is unavoidable, could the bot have a fallback option to play a random summoner and monster card from your collection, so that you don't automatically surrender? This way you have at least a small chance of winning, for example if your opponent surrenders. |
This doesn't happen every match but very often on last beta update
Critical Error: API Error: Response was empty
[1-9-2022 09:14:17] Critical Error: API didn't find any team - Skipping Account
The text was updated successfully, but these errors were encountered: