hectorgimenez / koolo

Diablo II Resurrected bot written in Go
MIT License
80 stars 51 forks source link

keep getting this error #59

Closed AamonVan closed 5 months ago

AamonVan commented 9 months ago

2023-12-28T18:23:00.132+0100 WARN internal/single_supervisor.go:72 Game finished with errors, reason: unrecoverable error occurred, game can not continue: attempt limit reached on step: InteractEntranceStep: area 41 not found. Game total time: 69.30s github.com/hectorgimenez/koolo/internal.(SinglePlayerSupervisor).Start github.com/hectorgimenez/koolo/internal/single_supervisor.go:72 main.main.func2 ./main.go:91 golang.org/x/sync/errgroup.(Group).Go.func1 golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75

And it leave the game Any Idea?

hectorgimenez commented 9 months ago

Is this always happening to you? I think I also face this from time to time when doing stony tombs, but not a very common problem for me

AamonVan commented 8 months ago

Can't make it work this is my config:

debug: log: true # Prints extra log information renderMap: false # Render current map data into 'cg.png' file

logFilePath: log.txt maxGameLength: 500 # Max game length (in seconds), bot will try to quit game arrived that point D2LoDPath: 'D:\Diablo II'

In order to use to Discord Bot, you need the Application Token. https://discord.com/developers/docs/intro

discord: enabled: false channelId: '' token: ''

telegram: enabled: false chatId: 0 token: ''

health: # Healing configuration, all values in % healingPotionAt: 75 manaPotionAt: 10 rejuvPotionAtLife: 50 rejuvPotionAtMana: 0 mercHealingPotionAt: 80 mercRejuvPotionAt: 30 chickenAt: 30 mercChickenAt: 10

bindings: openInventory: i openCharacterScreen: c openSkillTree: t openQuestLog: q potion1: 1 potion2: 2 potion3: 3 potion4: 4

Skills

forceMove: e standStill: shift swapWeapon: w teleport: a tp: f1 CTABattleCommand: f3 CTABattleOrders: f2

Class specific bindings

sorceress: blizzard: f2 staticField: f3 frozenArmor: f5 fireBall: f2 # During leveling only nova: f2 energyShield: f8

paladin: concentration: z # Will be used for Might during leveling holyShield: x vigor: f6 redemption: f8 cleansing: f4

inventory: inventoryLock:

character: class: hammerdin # Allowed values: sorceress, lightning, hammerdin, paladin (leveling only) castingFrames: 8 # https://diablo2.diablowiki.net/Breakpoints#Faster_Cast_Rate useMerc: true

game: clearTPArea: true # Will clear the TP area before clicking it difficulty: hell # Allowed values: normal, nightmare, hell randomizeRuns: false # Will randomize the order of the runs each game

Just add the runs you want to do and they will be executed respecting the order, unless randomizeRuns is set to true

Available runs: countess, andariel, ancient_tunnels, summoner, mephisto, council, eldritch, pindleskin, nihlathak,

tristram, lower_kurast, stony_tomb, pit, arachnid_lair, tal_rasha_tombs, baal, diablo, cows, terror_zone

leveling: there is a "leveling" run, in combination with "sorceress or paladin" class will be able to start leveling character from level 1 (don't expect too much)

terror_zone: will detect current TZ and clear it

runs: [stony_tomb, pit, arachnid_lair]

Specific runs settings

pindleskin: skipOnImmunities: [ ] # Allowed values: cold, fire, light, poison mephisto: killCouncilMembers: true # Will kill the council members after killing Mephisto openChests: true # Will open chests after killing Mephisto tristram: focusOnElitePacks: false # Will clear only Elite monsters clearPortal: true # Kills Rakanishu and makes easier selecting the portal nihlathak: clearArea: true baal: killBaal: false terrorZone: focusOnElitePacks: false # Will clear only Elite monsters skipOnImmunities: [ ] # Allowed values: cold, fire, light, poison skipOtherRuns: false # If current TZ is allowed, will skip other runs and only do TZ instead areas:

companion: enabled: false leader: true leaderName: '' remote: discord # Only discord supported, telegram doesn't allow interacting between bots gameNameTemplate:

Gambling settings. If enabled, bot will start gambling when all the gold stash tabs are full.

While gold > 500k it will iterate over the items list trying to buy one of each item type.

Item filtering will be done via the same pickup configuration, discarded items will be sold to vendor

gambling: enabled: true # If gambling is disabled, bot will stop picking up gold when can not carry more items: [ coronet, amulet, ring ] # Items to gamble, same value as [name] in pickit files.