Skip to content

Commit

Permalink
The first release version V2.1.0_Release
Browse files Browse the repository at this point in the history
  • Loading branch information
HSLix committed Sep 19, 2023
1 parent c2bd476 commit 59a3051
Show file tree
Hide file tree
Showing 425 changed files with 4,933 additions and 0 deletions.
Binary file added MagicAndWonder.ico
Binary file not shown.
135 changes: 135 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# LixAssistantLimbusCompany

- [LixAssistantLimbusCompany](#lixassistantlimbuscompany)
- [简介](#简介)
- [实用功能](#实用功能)
- [下载方式](#下载方式)
- [使用说明](#使用说明)
- [问题处理](#问题处理)
- [致谢](#致谢)
- [声明](#声明)
- [待办开发](#待办开发)
- [最后](#最后)


## 简介

<center>LALC是LixAssistantLimbusCompany各取大写字母的缩写</center>
<center>这是一款思想源于MAA的边狱巴士游戏小助手</center>
<center>但制作动机是作者因在潜水过久</center>
<center>被边狱巴士自动脚本测试群踢出来后进群失败</center>
<center>基于图像识别,通过鼠标操作</center>
<center>~~看项目星星数与本人心情~~飞速更新中</center>


## 实用功能

- 自动刷取经验本EXP,纽本Thread和镜牢Mirror
- 自动转换体力,和购买26狂气的体力
- ~~确实没啥功能~~

## 下载方式

点击右边的realease即可下载最新版


## 使用说明

点击下方"Start"按钮即可启动软件

点击下方"Stop"按钮即可停止软件并获取软件运行情况

为确保稳定性,该停止按钮不会立即生效

但可按ESC键立即停止

为了确保软件运行顺利

请在64位Windows系统下运行本软件

不要关闭此窗口

将游戏语言设置为英语

请勿遮挡游戏画面

尽量不要在运行过程中使用鼠标

游戏窗口大小设置为 1280*720

游戏窗口位置默认设置为 左上角(0,0)

默认将脑啡肽转成绿饼和购买第一次体力


Click the Start Button

Press ESC can interrupt the program immediately

Don't turn this window off

Set Game Language English

Keep The Screen Clear

Had Better not use Mouse


## 问题处理

如遇到软件运行异常

请点击"Stop"按钮获取软件运行情况

保存好文件夹log内的日志文件

~~自行查看常见Q&A~~,如仍没能解决

请在GitHub的Issue里提交问题


When error occur

Click the "Stop" Button

Save the logs

~~Check Q&A~~

Please send the Problem to the Issue in GitHub


## 致谢

直接或间接参与到本软件开发的所有人员

包括在网络上分享各种教程的大佬们


## 声明

本软件开源、免费,仅供学习交流使用。

若您遇到商家使用本软件进行代练并收费,可能是设备与时间等费用,产生的问题及后果与本软件无关。

获取管理员权限是为了确保运行顺利

该版本离线,只能到github自助更新

软件图标素材来源网图,不属于GPL协议开源的内容,如有侵权,请及时联系作者删除


## 待办开发

- [ ] 英语之外的游戏语言支持
- [ ] 更快识图,多进程之类
- [ ] 联网自动更新
- [ ] ……


## 最后

如果你觉得该软件对你有帮助,请帮忙点个Star吧,这个网页右上角小星星对我们是最好的支持!

~~同时也希望有大佬把这个依托答辩的代码进行狠狠地优化~~

87 changes: 87 additions & 0 deletions azure.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Copyright © 2021 rdbende <[email protected]>

source [file join [file dirname [info script]] theme light.tcl]
source [file join [file dirname [info script]] theme dark.tcl]

option add *tearOff 0

proc set_theme {mode} {
if {$mode == "dark"} {
ttk::style theme use "azure-dark"

array set colors {
-fg "#ffffff"
-bg "#333333"
-disabledfg "#ffffff"
-disabledbg "#737373"
-selectfg "#ffffff"
-selectbg "#007fff"
}

ttk::style configure . \
-background $colors(-bg) \
-foreground $colors(-fg) \
-troughcolor $colors(-bg) \
-focuscolor $colors(-selectbg) \
-selectbackground $colors(-selectbg) \
-selectforeground $colors(-selectfg) \
-insertcolor $colors(-fg) \
-insertwidth 1 \
-fieldbackground $colors(-selectbg) \
-font {"Segoe Ui" 10} \
-borderwidth 1 \
-relief flat

tk_setPalette background [ttk::style lookup . -background] \
foreground [ttk::style lookup . -foreground] \
highlightColor [ttk::style lookup . -focuscolor] \
selectBackground [ttk::style lookup . -selectbackground] \
selectForeground [ttk::style lookup . -selectforeground] \
activeBackground [ttk::style lookup . -selectbackground] \
activeForeground [ttk::style lookup . -selectforeground]

ttk::style map . -foreground [list disabled $colors(-disabledfg)]

option add *font [ttk::style lookup . -font]
option add *Menu.selectcolor $colors(-fg)

} elseif {$mode == "light"} {
ttk::style theme use "azure-light"

array set colors {
-fg "#000000"
-bg "#ffffff"
-disabledfg "#737373"
-disabledbg "#ffffff"
-selectfg "#ffffff"
-selectbg "#007fff"
}

ttk::style configure . \
-background $colors(-bg) \
-foreground $colors(-fg) \
-troughcolor $colors(-bg) \
-focuscolor $colors(-selectbg) \
-selectbackground $colors(-selectbg) \
-selectforeground $colors(-selectfg) \
-insertcolor $colors(-fg) \
-insertwidth 1 \
-fieldbackground $colors(-selectbg) \
-font {"Segoe Ui" 10} \
-borderwidth 1 \
-relief flat

tk_setPalette background [ttk::style lookup . -background] \
foreground [ttk::style lookup . -foreground] \
highlightColor [ttk::style lookup . -focuscolor] \
selectBackground [ttk::style lookup . -selectbackground] \
selectForeground [ttk::style lookup . -selectforeground] \
activeBackground [ttk::style lookup . -selectbackground] \
activeForeground [ttk::style lookup . -selectforeground]

ttk::style map . -foreground [list disabled $colors(-disabledfg)]

option add *font [ttk::style lookup . -font]
option add *Menu.selectcolor $colors(-fg)
}
}
37 changes: 37 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
'''
* Author: LuYaoQi
* Time : 2023/9/16 9:25
* File : main.py
* Project :LixAssistantLimbusCompany
* Function :主体函数入口
'''

from src.gui.scriptGUI import scriptGUI
#from src.common import getPic, autoFindOrClick as afc
from src.test.tryClick import tryClick
from win32event import CreateMutex
from win32api import GetLastError
from sys import exit



if __name__ == '__main__':
# 测试识图
# tryClick("./pic/", "1", 0 , 0, 1, 1, 0.99)

# 互斥锁
mutex = CreateMutex(None, False, 'LALC.Running')
if GetLastError() > 0:
exit(0)

#图形化操作界面
scriptGUI()









Loading

0 comments on commit 59a3051

Please sign in to comment.