Code Monkey home page Code Monkey logo

Comments (3)

SoulRui avatar SoulRui commented on June 27, 2024

What is the ban on March 8th? Can you give me a link? It has been 15 days since I hung up and I haven't received any drops. What should I do?

from capsulefarmerevolved.

SoulRui avatar SoulRui commented on June 27, 2024

为什么会出现CRITICAL ERROR: Beststreams couldn't be loaded. Are you connected to the internet?错误

原因:读取赛区数据时会访问
https://raw.githubusercontent.com/LeagueOfPoro/CapsuleFarmerEvolved/master/config/bestStreams.txt
,无法科学上网或网络不好可能访问不到。其实作者给了本地的bestStreams.txt)

https://i0.hdslb.com/bfs/article/052fa083e5bc855b03dd7a8bfcf7f6873c790d46.png@942w_563h_progressive.webp

直接使用读取文件的方式替换网络请求应该也可以,最简单的是直接把bestStreams.txt写死即可。

方法:修改Config.py,将

remoteBestStreamsFile` = requests.get(self.REMOTE_BEST_STREAMS_URL)

if remoteBestStreamsFile.status_code == 200:

self.bestStreams = `remoteBestStreamsFile.text.split()`

三行代码注释,新增:

self.bestStreams` = ['riotgames', 'lckcl', 'lpl', 'lck', 'lec', 'lcs', 'lco', 'cblol', 'lla', 'riotgamesjp',

                            'riotgamesturkish', 'lolpacific', `'EUMasters']

其实就是将项目里的config/bestStreams.txt的内容拼成了数组。

所以你的问题只需要更改self.bestStreams所对应的赛区就可以,再设置一下你启动的时间应该就能解决你的问题,这也是给作者的一个思路。

from capsulefarmerevolved.

xChickens avatar xChickens commented on June 27, 2024

What is the ban on March 8th? Can you give me a link? It has been 15 days since I hung up and I haven't received any drops. What should I do?

Take 2 minutes to go to anything like the Discord or YouTube

from capsulefarmerevolved.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.