#game not loading on a window

48 messages · Page 1 of 1 (latest)

naive kelp
#

but it is opening on other windows

#

it is stuck like this

autumn folio
#

Browser or client. If browser what one and version

#

"It doesn't work" doesn't give a lot for people to help you on

naive kelp
#

it is note loading

#

crome

autumn folio
#

What version, what OS.
The more information you can give then more help people can provide.
As I said "it's not loading" doesn't help.

#

Is it first load or are you loading a save file?

#

If you want to provide more information open the browser console and provide any errors within it

naive kelp
#

both

storm light
#

restart the browser

stoic hedge
#

Mine's doing the same thing. 10.21 save file, Chrome browser, I've restarted it a few times, and Companion doesn't have any save fixes to offer.

#

It says "Game loaded" and then just spins the loading icon.

#

I just got it to load in an incognito window. Maybe I need to clear the cache then?

#

Update: clearing the cache worked once, but it broke in the same way as soon as I refreshed the page.

long smelt
#

It's an issue with Chromium browsers, reloading or restarting the browser seems to temporarily fix it

stoic hedge
#

I've tried that several times, no change

sonic summit
#

I also have this when reloading the page sometimes.
Windows 11
Crome 128.0.6613.120 (currently newest)
In the console I get an error:

script.min.js?v=0.10.21:28481 Uncaught (in promise) TypeError: cacheLine[enemy.pokemon].push is not a function
    at script.min.js?v=0.10.21:28481:46
    at Array.forEach (<anonymous>)
    at script.min.js?v=0.10.21:28471:31
    at Array.forEach (<anonymous>)
    at PokemonLocations.getPokemonDungeons (script.min.js?v=0.10.21:28462:37)
    at PokemonLocations.getPokemonLocations (script.min.js?v=0.10.21:28989:39)
    at PokemonLocations.isObtainableAndNotEvable (script.min.js?v=0.10.21:29108:40)
    at script.min.js?v=0.10.21:35957:45
    at Array.filter (<anonymous>)
    at SafariPokemonList.generateKalosSafariList (script.min.js?v=0.10.21:35957:14)```

Here's the console output before that error occurs (but this is also outputted when no error occurs):
```Failed to load resource: the server responded with a status of 404 () Enamorus.png:1
Setting.ts:52 "-1" is not a valid value for setting breedingShinyFilter
set @ Setting.ts:52Understand this warning
Settings.ts:27 Setting breedingTypeFilter1 does not exist
setSettingByName @ Settings.ts:27Understand this warning
Settings.ts:27 Setting breedingTypeFilter2 does not exist
setSettingByName @ Settings.ts:27Understand this warning
Setting.ts:52 "-1" is not a valid value for setting breedingPokerusFilter
set @ Setting.ts:52Understand this warning
Settings.ts:27 Setting pokedexShinyFilter does not exist
setSettingByName @ Settings.ts:27Understand this warning
Settings.ts:27 Setting breedingDisplayFilter does not exist
setSettingByName @ Settings.ts:27Understand this warning
Setting.ts:52 "-1" is not a valid value for setting breedingRegionalAttackDebuffSetting```
long smelt
#

It started in Chrome 128, we currently haven’t found a solution for it yet. Same issue as #1278419983629684746

sonic summit
#

Yeah, some scrolling here revealed more threads of that kind.
It's the Kalos safari list every time when it happens.
The (in promise) indicates some async problems?

long smelt
#

It's before that, but Kalos list is the first to interact with it. It's because there's a map that needs to be initialised with an empty array as a value. It works in most cases, but somehow, sometimes it initialises as an object instead, and that's why the .push function is failing

sonic summit
#

This is the line with the problem:

#

and the cache line comes from here no?

#

It IS created as an object?

#

I'm dumb. The surrounding structure is an object, but its values, on that the push are called should be arrays.

long smelt
#

It's the getPokemonDungeons function that causing the problem

#

The line in question:

const cacheLine = this.initRegionalCacheLine(cache, maxRegion, Array<object>);
#

Which create a new Array, however sometimes it seems like it's creating a new Object instead

#

Well, technically this is the line that's causing the issue:

this.pokemonNames.forEach(name => cacheLine[name] = new defaultValue());
sonic summit
#

I have const cacheLine = this.initRegionalCacheLine(cache, maxRegion, (Array)); here

long smelt
#

^ That's the compiled JS version

#

Mine is the TypeScript version

#

But I've found that that pokemonNames.foreach function causes the defaultValue() to create an object instead of an array when it's called too often

sonic summit
#

Why even giving a default value and not using a hard [] internally? That not possible with TypeScript?

sonic summit
#

Ahh, because it acutally should be an object sometimes...
Do you reckon that chrome scrambles up the function calls there?

long smelt
#

I have no idea, for me it only happened on the 3rd refresh, as well as never when the devtools are open

#

So why it's happening, no clue

sonic summit
#

I can confirm that exact behavior

vocal trench
#

So is there a way to fix it or no

#

because I've waited 2 fucking hours to load in and it won't

storm light
#

Restarting the browser / clearing the cache / playing in an incognito window has worked for everyone else

storm light
#
tepid thistle
#

incognito does work, until I reload

#

and cache / cookie / everything dump doesnt fix the problem for me :/

#

im on w11 and a chromium (vivaldi) even tho it happened on edge and firefox too

storm light
#

use the desktop client until a fix is found