Code Monkey home page Code Monkey logo

sc2ai's People

Contributors

clausewitzcpu0 avatar polestarx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sc2ai's Issues

代码好像运行不了=^=

正常运行会有报错,把报错的语句改掉后会找不到地图 提示E:\ProgramData\Anaconda3\envs\python36\python.exe E:/ProgramData/SC2AI-master/ch1.0_Collecting_Minerals.py
INFO:sc2.protocol:Client status changed to Status.launched (was None)
INFO:sc2.sc2process:kill_switch: Process cleanup
INFO:sc2.sc2process:Cleaning up...
INFO:sc2.sc2process:Cleanup complete
Traceback (most recent call last):
File "E:/ProgramData/SC2AI-master/ch1.0_Collecting_Minerals.py", line 33, in
main()
File "E:/ProgramData/SC2AI-master/ch1.0_Collecting_Minerals.py", line 29, in main
Computer(Race.Protoss, Difficulty.Easy)], realtime=True)
File "E:\ProgramData\Anaconda3\envs\python36\lib\site-packages\sc2\main.py", line 326, in run_game
_host_game(map_settings, players, **kwargs)
File "E:\ProgramData\Anaconda3\envs\python36\lib\asyncio\base_events.py", line 473, in run_until_complete
return future.result()
File "E:\ProgramData\Anaconda3\envs\python36\lib\site-packages\sc2\main.py", line 250, in _host_game
client = await _setup_host_game(server, map_settings, players, realtime, random_seed)
File "E:\ProgramData\Anaconda3\envs\python36\lib\site-packages\sc2\main.py", line 230, in _setup_host_game
r = await server.create_game(map_settings, players, realtime, random_seed)
File "E:\ProgramData\Anaconda3\envs\python36\lib\site-packages\sc2\controller.py", line 21, in create_game
req = sc_pb.RequestCreateGame(local_map=sc_pb.LocalMap(map_path=str(game_map.relative_path)), realtime=realtime)
AttributeError: 'NoneType' object has no attribute 'relative_path'
求指点

Sc2LadderServer无法生成

严重性 代码 说明 项目 文件 行 禁止显示状态
错误 C1083 无法打开包括文件: “s2clientprotocol/sc2api.pb.h”: No such file or directory sc2api (sc2api\sc2api) C:\Users\Administrator\Sc2LadderServer\cpp-sc2\src\sc2api\sc2_action.cc 6

拼写问题

ch3 中有点拼写问题
worker = self.select_build_worker(vespene.position)
if worker is None:
break
if not self.units(ASSIMILATOR).closer_than(1.0, vespene).exists:
await self.do(worker.build(ASSIMILATOR, vespene))
vespenes 而不是vespene

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.