GithubHelp home page GithubHelp logo

jiaguomeng-autoclicker's Issues

QQ授权按钮位置坐标

能否麻烦告知如何获得正确的授权按钮坐标?在我的模拟器上,这个按钮是横贯整个屏幕的,所以X坐标应该没问题,Y坐标是跟模拟器的原型home按钮在一条线上,请问坐标如何计算?程序里面的那个数字是百分比吗?
"qqLogin": (71.57, 82.77), 这个是没问题的,可以点到
"qqLogin2": (50.0, ?) 这个我试了几个都不对,应该是比82.77要大的数值。

交换建筑物功能不工作

脚本生成命令如下
python JiaGuoMeng.py -epicId 0 5 7 8 -exchange 2 0 4 0 2 -generate autoTrainYellowOnly

其中0,5,7,8为黄色建筑,1,2,3,4,6为蓝色或者紫色。初始的交换是正确的,永远是用列表里的第一个(0)替换当前。然而,替换回来的时候,我这边观察的是依然采取相同的逻辑,即用备选列表里的第一个(0)换回来,我在-exchange里面设置的index并没有被使用。另外,我想建议,替换的时候不要一次把所有的非黄建筑物换掉,因为这会导致替换列表里的建筑物时刻都在变动,相对好的策略是就在当前的建筑物上,交换,然后换回,再移动到下一个,这样用户设置的时候就方便多了。

最新版的模拟器是否已经取消脚本功能

使用版本:4.130.10.1003
无法使用ctrl+shift+7唤出脚本功能,查询快捷键设置也没有相应功能,使用仓库的安装器和日本官网的安装器均无法唤出,界面字体是繁体,预装谷歌应该是国际版没跑了。

python JiaGuoMeng.py -epicId [4,5,6]报错

c:\jia>python JiaGuoMeng.py -epicId [4,5,6]
usage: JiaGuoMeng.py [-h] [-epicId N [N ...]] [-lvup N [N ...]] [--train]
[--yellow-only]
JiaGuoMeng.py: error: argument -epicId: invalid int value: '[4,5,6]'
是我的输入方式有问题么

请问一下怎么生成脚本文件

powershell报错如下

PS D:\Aria2_Downloads> python .\JiaGuoMeng.py -epicId 5 -lvup 0 --yellow-only Traceback (most recent call last):
File ".\JiaGuoMeng.py", line 203, in
autoTrainYellowOnly()
File ".\JiaGuoMeng.py", line 184, in autoTrainYellowOnly
j = newMission.generateJson("自动火车发货(仅黄色)", "Y")
File ".\JiaGuoMeng.py", line 113, in generateJson
a = open("output\" + name + ".json", "w")
FileNotFoundError: [Errno 2] No such file or directory: 'output\自动火车发货(仅黄色).json'

windows环境下运行报错

python版本3.7.4,运行的时候报错:
c:\jia>python JiaGuoMeng.py -lvup 3
Traceback (most recent call last):
File "JiaGuoMeng.py", line 207, in
autoUpgrade()
File "JiaGuoMeng.py", line 140, in autoUpgrade
j = newMission.generateJson("自动升级建筑", "U")
File "JiaGuoMeng.py", line 113, in generateJson
a = open("output\" + name + ".json", "w")
FileNotFoundError: [Errno 2] No such file or directory: 'output\自动升级建筑.json'

c:\jia>python JiaGuoMeng.py -epicId 3 -lvup 1 --train
Traceback (most recent call last):
File "JiaGuoMeng.py", line 205, in
autoTrain()
File "JiaGuoMeng.py", line 160, in autoTrain
j = newMission.generateJson("自动火车发货", "T")
File "JiaGuoMeng.py", line 113, in generateJson
a = open("output\" + name + ".json", "w")
FileNotFoundError: [Errno 2] No such file or directory: 'output\自动火车发货.json'

c:\jia>
c:\jia>python JiaGuoMeng.py --train
Traceback (most recent call last):
File "JiaGuoMeng.py", line 205, in
autoTrain()
File "JiaGuoMeng.py", line 160, in autoTrain
j = newMission.generateJson("自动火车发货", "T")
File "JiaGuoMeng.py", line 113, in generateJson
a = open("output\" + name + ".json", "w")
FileNotFoundError: [Errno 2] No such file or directory: 'output\自动火车发货.json'

c:\jia>python JiaGuoMeng.py --train
Traceback (most recent call last):
File "JiaGuoMeng.py", line 205, in
autoTrain()
File "JiaGuoMeng.py", line 160, in autoTrain
j = newMission.generateJson("自动火车发货", "T")
File "JiaGuoMeng.py", line 113, in generateJson
a = open("output\" + name + ".json", "w")
FileNotFoundError: [Errno 2] No such file or directory: 'output\自动火车发货.json'

执行python JiaGuoMeng.py -all出错

C:\Users\viliv\Desktop\JiaGuoMeng-AutoClicker-master>python JiaGuoMeng.py -all
Traceback (most recent call last):
File "JiaGuoMeng.py", line 314, in
nm.export(i)
File "JiaGuoMeng.py", line 142, in export
func(*args, **kwargs)
File "JiaGuoMeng.py", line 248, in autoUpgrade
for everybuilding in self.buildingsNeedUpgrade:
TypeError: 'NoneType' object is not iterable

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.