代码拉取完成,页面将自动刷新
同步操作将从 boluo/e7Helper 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
-- 系统时间
time = systemTime
update_source = 'https://gitee.com/boluokk/e7-helper/raw/master/release/'
update_source_fallback = update_source
-- apk level 限制
is_apk_old = function() return getApkVerInt() < 0 end
apk_old_warning = "怎么还有人用" .. getApkVerInt()
release_date = "09.16 20:29"
release_content = '修复出售装备问题'
-- 获取workPath
root_path = getWorkPath() .. '/'
-- 禁止热更新
hotupdate_disabled = true
-- log 日志显示在左下角
-- true stoat 打印
-- false print 打印
logger_display_left_bottom = true
-- 打印当前执行到哪里了(会输出某个图色名)
detail_log_message = not logger_display_left_bottom
-- 禁用测试
disable_test = true
-- 截图延迟
capture_interval = 0
-- 游戏代理识图间隔
game_running_capture_interval = 3
-- 所有配置文件名称
fileNames = {'config.txt', 'fightConfig.txt', 'bagConfig.txt'}
-- 点击延迟
tap_interval = 0
-- app运行时间
app_is_run = time()
--server pkg name
server_pkg_name = {
["国服"] = 'com.zlongame.cn.epicseven',
['B服'] = 'com.zlongame.cn.epicseven.bilibili',
['国际服'] = 'com.stove.epic7.google',
}
-- 当前服务器
current_server = "国服"
-- wait 间隔
wait_interval = .7
-- 是否异常退出
is_exception_quit = false
-- UI配置完毕
ui_config_finish = false
-- 已经进入过游戏首页
isBack = false
-- loggerID
logger_ID = nil
-- 获取状态码
sgetNumberConfig = function (key, defval) return tonumber(getNumberConfig(key, defval)) end
-- 是否是刷书签
is_refresh_book_tag = sgetNumberConfig('is_refresh_book_tag', 0)
-- 当前任务
current_task_index = sgetNumberConfig("current_task_index", 0)
-- 异常退出次数
exception_count = sgetNumberConfig('exception_count', 1)
-- 当前账号任务
current_task = {}
-- 检查游戏状态 10s
check_game_status_interval = 10000
-- 检查图色识别时间
getMillisecond = function (secound) return secound * 1000 end
-- 单位秒
check_game_identify_timeout = getMillisecond(20)
-- 其他ssleep间隔
other_ssleep_interval = 1
-- 单任务休息时间
single_task_rest_time = 5
-- 开源说明手册地址
open_resource_doc = 'https://boluokk.gitee.io/e7-helper'
-- 全局关卡次数(用来代理的时候提示: 代理中 1/100)
global_stage_count = 0
-- 打印配置信息
print_config_info = false
require("point")
require('path')
require("util")
require("userinterface")
require("test")
-- 分辨率提示
-- DPI 320
-- 分辨率 720x1280
-- 或者 1280x720
local disPlayDPI = 320
displaySizeWidth, displaySizeHeight = getDisplaySize()
-- 异常处理
setEventCallBack()
local scriptStatus = sgetNumberConfig("scriptStatus", 0)
-- 热更新开始
if scriptStatus == 0 then
consoleInit()
initLocalState()
slog('最近更新时间: '..release_date)
slog('最近更新内容: '..release_content or '暂无')
if not hotupdate_disabled then hotUpdate() end
sui.show()
else
setNumberConfig("scriptStatus", 0)
-- 多次异常关闭脚本
-- 退出游戏还是重启游戏?
if exception_count > 3 then
slog('连续3次异常退出')
setNumberConfig("exception_count", 1)
exit()
else
setNumberConfig("exception_count", exception_count + 1)
end
-- 加载本地配置
-- current_task = read('config.txt', true)
current_task = uiConfigUnion(fileNames)
if is_refresh_book_tag == 1 then
path.刷书签(sgetNumberConfig("refresh_book_tag_count", 0))
elseif is_refresh_book_tag == 2 then
path.升3星狗粮()
else
path.游戏开始()
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。