Skip to content

Releases: zhoubin-me/lushi_script

20241025佣兵战纪PVE v0.4.7a Bug Fix

25 Oct 07:34
651b35e
Compare
Choose a tag to compare

免责声明:禁止任何人(或者其他什么)使用此脚本盈利,本脚本对任何系统没有任何危害,仅作学习使用,下载后24小时内删除。
本版本脚本现在、未来都不能用于pvp,不能用于挂经验,只能代替你坐牢刷碎片和声望值。
此脚本带a版本号的release和有关分支此后不再更新英语版本。使用前请仔细阅读原作者的FAQ和README.md以及其他需要阅读的内容,然后自行探索(难者不会不想教,会者不难不用教)。
已知bug:
1、power.log中出现空行以外的其他无法读取识别利用的内容时,会不断重启(重启是计划内的,本身不是bug,bug指的是无法利用的内容),数十次之后生成了新的power.log就会恢复,暂时无须理会,短时间内没有修复计划。
2、抉择技能存在一部分无法正确释放的,应该规避抉择技能,此版本的发布者技术浅薄,不知道如何修复。
3、脚本无法识别潜行的地方随从,依然会不停地试图瞄准它,并且伴随不断重启,此版本的发布者技术浅薄,没学会如何修复。
4、如果你的角色技能没开满,则不要在策略中使用他没有的(第二个或者第三个)技能,否则会一直无法战斗。
5、炉石进程有的时候是中文名‘炉石传说’,有的时候是英文名‘hearthstone’,未响应的时候是‘炉石传说(未响应)’或者‘hearthstone(未响应)’,在未响应的时候重启了是正常现象。
6、佣兵队伍不依据实际队内的成员设置时,技能会乱丢(这个不能算bug吧,队伍设置一下这都要偷懒吗)。
7、自动提交任务因为未知原因损坏了,不要开。
8、忘了,想起来再写。
【写给其余开发者】此版本中的更改和修复内容:
1、项目名称lushi_script修改为其余英文,规避一下scan disk。
2、lushi.py中变量cfg(用于存config信息)被定义为全局变量,因为有效的power.log文件目录会变,需要随时改写cfg下的power.log目录;在states中添加了本来没有的collect、cursed_treasure文件,防止遇到了额外的战利品收集不到;重启后会有45秒的等待时间,比较长,不是卡死了别乱点;有一个except RegexParsingError: 后面接了重启,其余开发者如果有类似的导致程序停止的error,都可以换成RegexParsingError,然后在这里重启。
3、\utils\log_utils.py的read_log函数进行更新,使其能获得最新的power.log路径。
4、\utils\utils.py的find_lushi_window和restart_game进行更新,使其能够识别炉石进程有的时候是中文名‘炉石传说’,有的时候是英文名‘hearthstone’的特殊情况,而不会返回“没有识别到进程”。
5、\utils\winguiaoto.py的findTopWindow报错功能被注释(瞎几把报啥空值错,本来就有俩变量是空值,边儿玩去),_windowEnumerationHandler现在也能够识别‘炉石传说’和‘hearthstone’。
6、\python37\Lib\site-packages\hslog\的_check_for_options_hack函数现在不能报assert not isinstance的错了,而是报except RegexParsingError,直接重启。
7、还有个防止将鼠标移出炉石窗口的安全函数,我把这个功能取消了,现在移出去了(睡觉的时候踢到鼠标)也不会报错了。
8、更新了部分icons的素材(仅限CHS的)。

v0.4.6 Bug Fix && User Experience Improvement

03 Jun 13:19
9bab150
Compare
Choose a tag to compare

Note

工作路径不能含有中文字符 The working path cannot contain non-ASCII
常规更新 Regular update
更新只需要将GitHub上代码下载下来进行替换,之后执行cn_update_requirements.bat即可。 To update, you only need to download and replace the code on GitHub, and then execute update_requirements.bat.


What's Changed

Full Changelog: v0.4.5...v0.4.6

v0.4.5 Bug Fix && User Experience Improvement

28 Feb 14:25
Compare
Choose a tag to compare

What's Changed

  • 修复无旋涡的地图bug;尤朵拉炮台技能;支持抉择技能 by @littlewrite in #165
  • 添加新英雄,更新炉石包版本 by @littlewrite in #172
  • 新增英雄,修复bug by @littlewrite in #174
  • 优化战斗策略,抉择,休眠支持配置 by @littlewrite in #175
  • 坐标偏移修复。当任务栏位于屏幕非底部时,可修正按键坐标。 by @ioxv

Note

默认策略可以通过普通难度4-13。default configuration can be used to pass 4-13.
如果无法正常点击关卡,可尝试将空白坐标empty更新为travel的坐标值。If you cannot click the level normally, you can try to update the blank coordinate empty to the coordinate value of travel.
英语翻译尚未更新。 English translate may not update.

Full Changelog: v0.4.3...v0.4.5

v0.4.4-beta

05 Feb 10:58
Compare
Choose a tag to compare
v0.4.4-beta Pre-release
Pre-release

What's Changed

Note

英文版本和翻译可能尚未更新。
English version and translation may not update.

Full Changelog: v0.4.3...v0.4.4

v0.4.3 More strategies to pass levels 4-13(更多策略,能通过4-13)

19 Dec 13:53
f1c6f81
Compare
Choose a tag to compare

修复了许多bug,默认的配置可以用来通过4-13,非常强大与智能,万分感谢@littlewrite
Many bugs have been fixed and the default configuration can be used to pass 4-13. New version is very powerful and intelligent. Thank you so much @littlewrite

What's Changed

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2 User Experience Improvement

20 Nov 08:00
Compare
Choose a tag to compare

写在前面(Write in Front)

12月1日更新,请下载附件内hero_data.csv,替换到/resource路径下,即可添加新佣兵
final_reward.png和final_reward2.png替换到\resource\imgs_chs_1600x900\icons\下

新版本必须要保存配置后运行才可保证不会出错
The new version must be run after saving the configuration to ensure that no errors occur
有问题请优先查看FAQ
Please check the FAQ if you have any questions

新的变动

  • 宝藏黑白名单,boss奖励截图统计,关卡奖励领取优化。 by @littlewrite in #138
  • 英文版支持自动提交任务 by @x014 in #141
  • 黑白名单重新加入,改进代码结构,各种优化 by @littlewrite in #143
  • bug修复,稳定性改进,增加多种截图选项,方便查询错误与白名单截图 by @Huangyan0804
  • ui改进 @ioxv
  • bug修复s by #blacksilvergeek

What's changed

  • Treasure black and white list, boss reward screenshot stats, level reward collection optimization. by @littlewrite in #138
  • English version supports automatic quest submission by @x014 in #141
  • Black and white list re-added, improved code structure, various optimizations by @littlewrite in #143
  • Bug fixes, stability improvements, multiple screenshot options for error checking and whitelisting screenshots by @Huangyan0804
  • UI improvements by @ioxv
  • Bug fixes by @blacksilvergeek

New Contributors

附件说明(Annex Notes)

电脑没有python或者不愿意倒腾的情况下,优先选择下载script_with_python37(傻瓜版),解压运行"run.bat"即可

如果不能正常运行可以下载source code通过自己电脑上的python运行

If you don't have python on your computer, you can download script_with_python37, unzip it and run "run.bat".

If it doesn't work, you can download the source code and run it with python on your computer.

Full Changelog: 0.4.1...v0.4.2

v0.4.1 User Experience Improvement

14 Nov 16:47
0d89c60
Compare
Choose a tag to compare

Update information

  1. Solve the memory leak problem
  2. Add automatic task submission function
  3. Add automatic screenshot function when an error is reported (under logs folder)
  4. Separate log and error files are provided
  5. Support search when selecting heroes
  6. Add 7,8,9 boss levels to the selection
  7. Press ctrl+Q to stop the script from running

If you have questions, please check the FAQ first.

Annex Notes

If you don't have python on your computer, you can download script_with_python37, unzip it and run "run.bat".

If it doesn't work, you can download the source code and run it with python on your computer.

更新信息

  1. 解决了内存泄漏问题
  2. 增加了自动提交任务功能
  3. 增加了报错时自动截图功能(log文件夹下)
  4. 提供了单独的log和error文件
  5. 支持选择英雄时进行搜索
  6. 增加了7,8,9关的选择
  7. 按住ctrl+Q停止脚本运行

有问题请优先查看FAQ

附件说明

电脑没有python的情况下,优先选择下载script_with_python37,解压运行"run.bat"即可

如果不能正常运行可以下载source code通过自己电脑上的python运行

v0.4.0 GUI Support with Both English and Chinese

05 Nov 08:39
7ee5f43
Compare
Choose a tag to compare
  • GUI Support, thanks to @ioxv
  • Now you can just download script_with_python37.7z, uncompress, and double click run.bat, then you can enjoy it, thanks to @ioxv
  • Fixed know bugs, restructured project, thanks to @Huangyan0804
  • Testing and bug reporting, thanks to @ytkz11

0.3.0 Major Release with Log Reading

30 Oct 16:33
4cb991d
Compare
Choose a tag to compare
  • Thanks for the contribution from @Huangyan0804 with Power.log reading and battle AI function
  • Update Chinese Q&A Page, English version is ongoing, thanks for contribution from @dhnynu9xrf
  • Fix bugs of being stuck at spell selection
  • OpenCV based information reading for battle is abandoned

v0.2.6.1 Bug Quick Fix

29 Oct 10:32
Compare
Choose a tag to compare
  • Now you can set auto restart parameter in config
  • Fix bugs for English 1024x768