FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.69k stars 587 forks source link

I tried to run the game locally but it reported an error #2647

Open Luffy117 opened 2 weeks ago

Luffy117 commented 2 weeks ago

I'm running the game in my Windows wsl and after I get to the browser (Chrome) screen there are some warnings which don't stop me from continuing, but when I click start game it reports an error:

ERROR k.map is not a function TypeError: k.map is not a function at http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:2402963 at http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:2403500 at Object.loadGame (http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:2403541) at h (http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:2425688) at HTMLFormElement. (http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:2425855) at HTMLFormElement.dispatch (http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:292511) at m.handle (http://localhost:8080/app.698d69ddf4fab43503ae.bundle.js:2:290506) 20241105194819

DreadKnight commented 2 weeks ago

Heya! Make sure you're following the contribution guide: https://github.com/FreezingMoon/AncientBeast/blob/master/CONTRIBUTING.md

I've bumped into this a few times (like #2568), I think it even happened for me but fixed it trying various stuff, but not sure about it yet, as people didn't give proper feedback before on various occasions, so my conclusion so far from my googling research -> https://github.com/FreezingMoon/AncientBeast/issues/2570#issuecomment-2088511062

It might be browser acting up, having some weird cache -> https://github.com/FreezingMoon/AncientBeast/issues/2568#issuecomment-2048215110

Luffy117 commented 2 weeks ago

Thank you very much, after checking the post you flagged I'm now able to run the game but it pops up a lot of download screens on startup and these files are in ogg format, does this mean I have some files missing?

DreadKnight commented 2 weeks ago

Thank you very much, after checking the post you flagged I'm now able to run the game but it pops up a lot of download screens on startup and these files are in ogg format, does this mean I have some files missing?

Which one exactly? I've edited my message before and added more stuff.

Sounds to me like your browser does something very bad, probably downloading the game's sound tracks for some reason.

Luffy117 commented 2 weeks ago

Yeah, I don't know why my chrome browser does that. It also tries to download audio files when I use skills

DreadKnight commented 2 weeks ago

Yeah, I don't know why my chrome browser does that. It also tries to download audio files when I use skills

Maybe a bad setting checked to open ogg files right after download. Also try opening the local link in private mode or some other browser btw.