Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygo-agent
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
Biluo Shen
ygo-agent
Commits
3bf0bc91
Commit
3bf0bc91
authored
Apr 28, 2024
by
sbl1996@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more error info for ms_spec2idx not found
parent
6af7c4b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
.gitignore
.gitignore
+3
-3
ygoenv/ygoenv/ygopro/ygopro.h
ygoenv/ygoenv/ygopro/ygopro.h
+6
-0
No files found.
.gitignore
View file @
3bf0bc91
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
*.npy
*.npy
.vscode/
.vscode/
checkpoints
/
checkpoints
runs
/
runs
logs
/
logs
k8s_job/
k8s_job/
script
script
assets/locale/*/*.cdb
assets/locale/*/*.cdb
...
...
ygoenv/ygoenv/ygopro/ygopro.h
View file @
3bf0bc91
...
@@ -1763,7 +1763,13 @@ public:
...
@@ -1763,7 +1763,13 @@ public:
if (it != ms_spec2idx_.end()) {
if (it != ms_spec2idx_.end()) {
return it->second;
return it->second;
}
}
// TODO: find the root cause
// print ms_spec2idx
// print ms_spec2idx
show_deck(0);
show_deck(1);
show_buffer();
show_turn();
fmt::println("MS: idx: {}, mode: {}, min: {}, max: {}, must: {}, specs: {}, combs: {}", ms_idx_, ms_mode_, ms_min_, ms_max_, ms_must_, ms_specs_, ms_combs_);
fmt::print("ms_spec2idx: ");
fmt::print("ms_spec2idx: ");
for (const auto &[k, v] : ms_spec2idx_) {
for (const auto &[k, v] : ms_spec2idx_) {
fmt::print("({}, {}), ", k, v);
fmt::print("({}, {}), ", k, v);
...
...
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