Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MajsoulPlusMods
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
森野さくら
MajsoulPlusMods
Commits
e7cb34cc
Commit
e7cb34cc
authored
Feb 26, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
eb05875f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
41 deletions
+0
-41
extension/autohule/autohule.js
extension/autohule/autohule.js
+0
-31
extension/autohule/extension.json
extension/autohule/extension.json
+0
-10
extension/autohule/preview.png
extension/autohule/preview.png
+0
-0
No files found.
extension/autohule/autohule.js
deleted
100644 → 0
View file @
eb05875f
!
function
(){
const
inject
=
function
()
{
if
(
uiscript
.
UI_PlayerInfo
.
Inst
&&
uiscript
.
UI_OtherPlayerInfo
.
Inst
&&
uiscript
.
UI_PlayerInfo
.
Inst
.
show
&&
uiscript
.
UI_OtherPlayerInfo
.
Inst
.
show
&&
uiscript
.
UI_PlayerInfo
.
Inst
.
detail_data
.
blocks
[
0
].
show
&&
uiscript
.
UI_OtherPlayerInfo
.
Inst
.
detail_data
.
blocks
[
0
].
show
&&
view
.
ActionHule
.
play
)
{
console
.
log
(
"
Majsoul Helper injected.
"
);
uiscript
.
UI_InfoLite
.
Inst
.
show
(
"
在此敬告您
\n
您已经开启了挂机脚本
\n
请确定您是否需要本脚本
\n
如果不需要请在雀魂P内关闭
"
);
for
(
const
key
in
view
.
DesktopMgr
.
Inst
.
actionMap
)
{
const
action
=
view
.
DesktopMgr
.
Inst
.
actionMap
[
key
];
const
m
=
action
.
method
;
action
.
method
=
(
e
)
=>
{
setTimeout
(()
=>
analyseOperation
(
e
),
500
);
return
m
(
e
);
};
}
}
else
setTimeout
(
inject
,
1000
);
// uiscript.UI_GameEnd.prototype.show = () => game.Scene_MJ.Inst.GameEnd();
// uiscript.UI_PiPeiYuYue.Inst.addMatch(2);
}
const
analyseOperation
=
function
(
e
)
{
const
action
=
e
.
msg
;
if
(
action
.
hasOwnProperty
(
"
md5
"
))
{
setTimeout
(()
=>
{
view
.
DesktopMgr
.
Inst
.
setAutoHule
(
true
);
view
.
DesktopMgr
.
Inst
.
setAutoMoQie
(
true
);
view
.
DesktopMgr
.
Inst
.
setAutoNoFulu
(
true
);
uiscript
.
UIMgr
.
Inst
.
_ui_desktop
.
refreshFuncBtnShow
(
uiscript
.
UIMgr
.
Inst
.
_ui_desktop
.
_container_fun
.
getChildByName
(
"
btn_autohu
"
),
1
);
},
2000
)
}
}
inject
();
console
.
log
(
"
auto hule inited
"
);
}()
extension/autohule/extension.json
deleted
100644 → 0
View file @
eb05875f
{
"id"
:
"autohule"
,
"version"
:
"2.0.0"
,
"name"
:
"挂机人"
,
"author"
:
[
"一坨开发者"
],
"description"
:
"副露怪.exe 已停止运行。"
,
"preview"
:
"preview.png"
,
"entry"
:
"autohule.js"
,
"applyServer"
:
[
0
]
}
extension/autohule/preview.png
deleted
100644 → 0
View file @
eb05875f
8.99 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment