Compare commits

...

56 Commits

Author SHA1 Message Date
c6ade7e9ae Update version to v1.3.1
Support Cache Token
Support Console Command
Update Http Client Timeout to 10s
2022-05-16 22:59:31 +08:00
adb50c8b31 Fix Quests id error 2022-05-16 22:57:48 +08:00
01dc1b6f1c Update Artifact part labels support i18n
Update cn window title to GrasscutterTools
2022-05-15 18:45:32 +08:00
265b23f475 Merge pull request #29 from NekosakiSR/patch-3
Update to EN translation
2022-05-15 13:09:51 +08:00
NekosakiSR
1840c94861 Update to EN translation
Line 42 doesn't have an in-game translation so I just called it Lord of the Winds if that's ok.
2022-05-15 01:05:28 -04:00
19803fcf9c Merge pull request #28 from NekosakiSR/patch-2
Update to EN translation
2022-05-15 13:01:38 +08:00
NekosakiSR
853565cb25 Update to EN translation 2022-05-15 00:08:13 -04:00
c3b70f35f0 Merge pull request #27 from NekosakiSR/patch-1
Update to EN translation
2022-05-15 11:29:00 +08:00
NekosakiSR
03eed22830 Update to EN translation 2022-05-14 23:22:49 -04:00
85cdad1b98 Update README_en-US.md 2022-05-15 11:17:59 +08:00
ee660d0f00 Update README.md 2022-05-15 11:17:43 +08:00
28de142144 Update version to 1.3.0 2022-05-15 11:02:44 +08:00
61eb707ac0 Added Old tips for Banner Editor 2022-05-15 11:00:55 +08:00
92c92e0ccb Fix Update info error 2022-05-15 10:48:16 +08:00
f4ad46ae53 Add /nostamina 无限耐力 to Custom Commands 2022-05-15 10:37:41 +08:00
193cef5b2c Add New Version Check 2022-05-15 10:31:19 +08:00
daeb0d516e Update Add Sub Attr Button Style 2022-05-15 09:27:27 +08:00
9709cdc50f Update Screenshots 2022-05-14 21:52:16 +08:00
9095839006 Update version to v1.2.0
Add Quest Tab Page
2022-05-14 21:30:54 +08:00
d3fe3d7c76 Updated En translation and En resource files (#20) 2022-05-14 17:46:01 +08:00
6ccd828044 Add Tp to SceneTab
Update version to 1.1.0
2022-05-14 09:21:18 +08:00
52b93619da Add LICENSE to all code file head
Update version to 1.0.2
2022-05-14 00:07:28 +08:00
cb69bf8502 Merge pull request #26 from renkin-atorie/i18n
[en] Update Animal.txt
2022-05-13 23:05:53 +08:00
arub3do
4a7d19af00 Update readme.md 2022-05-13 22:58:41 +08:00
f46e63b189 Fix drop command bug (#25)
Update coop command
Add /killall to CustomCommands
2022-05-13 22:55:23 +08:00
arub3do
d9e420b226 [en] Update Animal.txt
sort by `Id`
2022-05-13 22:53:03 +08:00
92f1dc81d9 Not compatible with high DPI screens 2022-05-13 20:35:16 +08:00
a189d26105 Merge branch 'main' of https://github.com/jie65535/GrasscutterCommandGenerator 2022-05-13 20:16:35 +08:00
38e88d6ea5 Update version to 1.0.1
Try compatible high DPI screens
Fix Host setting not saved
2022-05-13 20:16:20 +08:00
f7f1452b5c Change LICENSE 2022-05-13 16:04:19 +08:00
ba25cd6e7c Separate server status checking logic 2022-05-13 13:20:26 +08:00
2f2c8e24b0 Update README 2022-05-13 12:51:08 +08:00
8eca0a728b Add global exception handling 2022-05-13 11:41:09 +08:00
2a3ba29b1d Clean up all files 2022-05-13 11:39:07 +08:00
3defcbbdc1 Small optimization 2022-05-13 11:33:52 +08:00
e471253b12 Update the English translation in the code 2022-05-13 11:24:53 +08:00
0a0d33ae4a Update English translation 2022-05-13 10:54:22 +08:00
fb17ebe60b Fix F5 not working 2022-05-13 10:50:21 +08:00
2f161a5586 Update package
Fix 404 error
Add debug mode title
2022-05-13 10:29:12 +08:00
d82b5b590e Update README_en-US.md 2022-05-13 09:49:35 +08:00
a36c376fc0 Update README.md 2022-05-13 09:48:01 +08:00
c4c543b0d4 Update README_en-US.md 2022-05-13 09:30:26 +08:00
182f71d4ca Update README.md 2022-05-13 09:29:57 +08:00
0b7347e118 Support Open Command Plugin
Support Remove Command
Update version to 1.0.0
2022-05-13 08:52:35 +08:00
e30a2f79cf Fix UID upper limit issue (#18) 2022-05-11 22:22:05 +08:00
94a8a490b3 Fix English UI dislocation problem 2022-05-11 22:19:06 +08:00
68c42b16dd Implement prefab options #17 2022-05-11 22:15:19 +08:00
c089b7ac07 Fixed custom commands not reloading when switching languages 2022-05-11 21:48:24 +08:00
da7033395b Merge pull request #19 from renkin-atorie/i18n
[en] translate CustomCommands.txt
2022-05-11 21:30:56 +08:00
arub3do
3264ed8de6 [en] translate CustomCommands.txt 2022-05-11 21:03:35 +08:00
3e98e551de Update README 2022-05-10 22:54:41 +08:00
5ba7cd74fb Add Text Map Browser
Update Avatar Tab Image
2022-05-10 22:47:09 +08:00
9c7e4864b0 Update README.md 2022-05-08 18:50:34 +08:00
ca6441e780 Update Readme.md
Add Readme_en-US.md
Update Screenshots
Add Screenshots-en
Update Languages
2022-05-08 18:49:31 +08:00
65393c4d7b Update package
Update Language files
2022-05-07 22:10:03 +08:00
c83804ce92 Update Version to v0.10.0 2022-05-07 21:50:47 +08:00
89 changed files with 43233 additions and 19339 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
Doc/Screenshots/0-Home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

798
LICENSE
View File

@@ -1,201 +1,661 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
1. Definitions.
Preamble
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
The precise terms and conditions for copying, distribution and
modification follow.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
TERMS AND CONDITIONS
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
0. Definitions.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
"This License" refers to version 3 of the GNU Affero General Public License.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
A "covered work" means either the unmodified Program or a work based
on the Program.
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
1. Source Code.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
END OF TERMS AND CONDITIONS
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
APPENDIX: How to apply the Apache License to your work.
The Corresponding Source for a work in source code form is that
same work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
2. Basic Permissions.
Copyright 2022 jie65535
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
http://www.apache.org/licenses/LICENSE-2.0
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

View File

@@ -1,50 +1,49 @@
# Grasscutter Tools
[![GitHub license](https://img.shields.io/github/license/jie65535/GrasscutterCommandGenerator)](https://github.com/jie65535/GrasscutterCommandGenerator/blob/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jie65535/GrasscutterCommandGenerator)](https://github.com/jie65535/GrasscutterCommandGenerator/stargazers)
[![Github All Releases](https://img.shields.io/github/downloads/jie65535/GrasscutterCommandGenerator/total.svg)](https://github.com/jie65535/GrasscutterCommandGenerator/releases)
中文 | [EN](README_en-US.md)
## Commands Generator
请从 [Releases](https://github.com/jie65535/GrasscutterCommandGenerator/releases) 中获取最新版本
## v0.9.0 更新
命令@UID随版本重构指令中指定ID改为`@ uid`,因此与旧版本服务端不兼容,不使用`指令含UID`则不影响)
## 远程执行
权限管理新增下拉框选择权限(方便选择)
服务端需要 [gc-opencommand-plugin](https://github.com/jie65535/gc-opencommand-plugin) 插件支持
![PermComboBox](Doc/Screenshots/PermComboBox.png)
![OpenCommand](Doc/Screenshots/OpenCommand.gif)
场景页面新增天气设置(呼风唤雨~
---
![SetClimate](Doc/Screenshots/SetClimate.png)
## TODO List
- [ ] 多语言支持进度UI已经支持英语但还有许多ID映射文件缺失欢迎补充
- [x] Animal.txt
- [x] Artifact.txt
- [ ] ArtifactCat.txt
- [ ] ArtifactMainAttribution.txt
- [ ] ArtifactSubAttribution.txt
- [x] Avatar.txt
- [x] CustomCommands.txt
- [x] Item.txt
- [x] Monster.txt
- [x] NPC.txt
- [ ] Ornament.txt
- [x] Scene.txt
- [x] Weapon.txt
- [ ] Quest.txt
- [x] 远程执行命令
- [ ] 邮件编辑器(无进度)
- [ ] 商店编辑器(无进度)
## v0.8.0 更新
## 软件截图
圣遗物套装下拉框可键入提示
`状态` 标签改为 `数据`设置角色数据模块重构支持最新版指令。_部分属性旧版本可能不支持_
![Custom Stats Screenshort](Doc/Screenshots/8-CustomStats.png)
`其它` 页面改为 `管理` ,新增帐号创建和删除。
![Management](Doc/Screenshots/9-Manage.png)
## v0.7.0 更新
物品生成记录本
![Give Item Screenshort](Doc/Screenshots/4-GiveItem.png)
实体生成记录本
![Spawn Entity Screenshort](Doc/Screenshots/6-SpawnEntity.png)
## v0.6.0 更新
新增奖池编辑器
![GachaBannerEditor](Doc/Screenshots/10-GachaBannerEditor.png)
## Screenshots
![Logo](Doc/Screenshots/GrasscutterLogo.png)
![Home](Doc/Screenshots/0-Home.png)
![Custom Commands Screenshot](Doc/Screenshots/1-CustomCommands.png)
![Custom Artifact Screenshot](Doc/Screenshots/2-CustomArtifact.png)
@@ -62,3 +61,11 @@
![Custom Stats Screenshort](Doc/Screenshots/8-CustomStats.png)
![Management](Doc/Screenshots/9-Manage.png)
![GachaBannerEditor](Doc/Screenshots/10-GachaBannerEditor.png)
![Text Map Browser](Doc/Screenshots/11-TextMapBrowser.png)
![Remote Screenshort](Doc/Screenshots/12-Remote.png)
![Quest Screenshort](Doc/Screenshots/13-Quest.png)

71
README_en-US.md Normal file
View File

@@ -0,0 +1,71 @@
# Grasscutter Tools
[![GitHub license](https://img.shields.io/github/license/jie65535/GrasscutterCommandGenerator)](https://github.com/jie65535/GrasscutterCommandGenerator/blob/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/jie65535/GrasscutterCommandGenerator)](https://github.com/jie65535/GrasscutterCommandGenerator/stargazers)
[![Github All Releases](https://img.shields.io/github/downloads/jie65535/GrasscutterCommandGenerator/total.svg)](https://github.com/jie65535/GrasscutterCommandGenerator/releases)
[中文](README.md) | EN
## Commands Generator
Please download the latest version from [Releases](https://github.com/jie65535/GrasscutterCommandGenerator/releases)
## Remote command
The server require [gc-opencommand-plugin](https://github.com/jie65535/gc-opencommand-plugin) support
![OpenCommand](Doc/Screenshots/OpenCommand.gif)
---
## TODO List
- [ ] Multi-language support (progress: UI already supports English, but there are still many ID mapping files missing, welcome to add)
- [x] Animal.txt
- [x] Artifact.txt
- [ ] ArtifactCat.txt
- [ ] ArtifactMainAttribution.txt
- [ ] ArtifactSubAttribution.txt
- [x] Avatar.txt
- [x] CustomCommands.txt
- [x] Item.txt
- [x] Monster.txt
- [x] NPC.txt
- [ ] Ornament.txt
- [x] Scene.txt
- [x] Weapon.txt
- [ ] Quest.txt
- [x] Execute command remotely
- [ ] Mail Editor (no progress)
- [ ] Shop Editor (no progress)
## Screenshots
![Logo](Doc/Screenshots/GrasscutterLogo.png)
![Home](Doc/Screenshots-en/0-Home.png)
![Custom Commands Screenshot](Doc/Screenshots-en/1-CustomCommands.png)
![Custom Artifact Screenshot](Doc/Screenshots-en/2-CustomArtifact.png)
![Custom Weapon Screenshort](Doc/Screenshots-en/3-CustomWeapon.png)
![Give Item Screenshort](Doc/Screenshots-en/4-GiveItem.png)
![Give Avatar Screenshort](Doc/Screenshots-en/5-GiveAvatar.png)
![Spawn Entity Screenshort](Doc/Screenshots-en/6-SpawnEntity.png)
![Change Scene Screenshort](Doc/Screenshots-en/7-ChangeScene.png)
![Custom Stats Screenshort](Doc/Screenshots-en/8-CustomStats.png)
![Management](Doc/Screenshots-en/9-Manage.png)
![GachaBannerEditor](Doc/Screenshots-en/10-GachaBannerEditor.png)
![Text Map Browser](Doc/Screenshots-en/11-TextMapBrowser.png)
![Remote Screenshort](Doc/Screenshots/12-Remote.png)
![Quest Screenshort](Doc/Screenshots/13-Quest.png)

View File

@@ -1,24 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="GrasscutterTools.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<userSettings>
<GrasscutterTools.Properties.Settings>
<setting name="AutoCopy" serializeAs="String">
<value>False</value>
</setting>
<setting name="Uid" serializeAs="String">
<value>10001</value>
</setting>
<setting name="DefaultLanguage" serializeAs="String">
<value>zh-CN</value>
</setting>
</GrasscutterTools.Properties.Settings>
</userSettings>
</configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="GrasscutterTools.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<userSettings>
<GrasscutterTools.Properties.Settings>
<setting name="AutoCopy" serializeAs="String">
<value>False</value>
</setting>
<setting name="Uid" serializeAs="String">
<value>10001</value>
</setting>
<setting name="DefaultLanguage" serializeAs="String">
<value>zh-CN</value>
</setting>
<setting name="ResourcesDirPath" serializeAs="String">
<value />
</setting>
<setting name="TextMapFileName" serializeAs="String">
<value>TextMapCHS</value>
</setting>
<setting name="RemoteUid" serializeAs="String">
<value>10001</value>
</setting>
<setting name="Host" serializeAs="String">
<value>https://127.0.0.1</value>
</setting>
<setting name="CheckedLastVersion" serializeAs="String">
<value />
</setting>
<setting name="TokenCache" serializeAs="String">
<value />
</setting>
</GrasscutterTools.Properties.Settings>
</userSettings>
</configuration>

View File

@@ -0,0 +1,34 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System.Threading.Tasks;
using GrasscutterTools.DispatchServer.Model;
using GrasscutterTools.Utils;
namespace GrasscutterTools.DispatchServer
{
public static class DispatchServerAPI
{
public static async Task<ServerStatus> QueryServerStatus(string host)
{
var response = await HttpHelper.GetAsync<ServerStatusResponse>(host + "/status/server");
return response?.Status;
}
}
}

View File

@@ -0,0 +1,40 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using Newtonsoft.Json;
namespace GrasscutterTools.DispatchServer.Model
{
public class ServerStatus
{
[JsonProperty("playerCount")]
public int PlayerCount { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
}
public class ServerStatusResponse
{
[JsonProperty("retcode")]
public int RetCode { get; set; }
[JsonProperty("status")]
public ServerStatus Status { get; set; }
}
}

View File

@@ -31,6 +31,8 @@ namespace GrasscutterTools
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormGachaBannerEditor));
this.GrpBannerValues = new System.Windows.Forms.GroupBox();
this.LblBannerEditorOldTip = new System.Windows.Forms.Label();
this.CmbPrefab = new System.Windows.Forms.ComboBox();
this.LblEventChanceTip = new System.Windows.Forms.Label();
this.NUDEventChance = new System.Windows.Forms.NumericUpDown();
this.LblGachaType = new System.Windows.Forms.Label();
@@ -60,19 +62,14 @@ namespace GrasscutterTools
this.LblSoftPityTip = new System.Windows.Forms.Label();
this.LblBasePurpleWeight = new System.Windows.Forms.Label();
this.CmbBannerType = new System.Windows.Forms.ComboBox();
this.TxtTitlePath = new System.Windows.Forms.TextBox();
this.LblSortIdTip = new System.Windows.Forms.Label();
this.NUDBasePurpleWeight = new System.Windows.Forms.NumericUpDown();
this.LblBannerType = new System.Windows.Forms.Label();
this.LblTitlePath = new System.Windows.Forms.Label();
this.LblBasePurpleWeightTip = new System.Windows.Forms.Label();
this.RbCostItem224 = new System.Windows.Forms.RadioButton();
this.TxtPrefabPath = new System.Windows.Forms.TextBox();
this.TxtPreviewPrefabPath = new System.Windows.Forms.TextBox();
this.LblBaseYellowWeightTip = new System.Windows.Forms.Label();
this.LblCostItem = new System.Windows.Forms.Label();
this.LblPrefabPath = new System.Windows.Forms.Label();
this.LblPreviewPrefabPath = new System.Windows.Forms.Label();
this.RbCostItem223 = new System.Windows.Forms.RadioButton();
this.GrpPurplePool = new System.Windows.Forms.GroupBox();
this.ListPurplePool = new System.Windows.Forms.CheckedListBox();
@@ -101,6 +98,8 @@ namespace GrasscutterTools
// GrpBannerValues
//
resources.ApplyResources(this.GrpBannerValues, "GrpBannerValues");
this.GrpBannerValues.Controls.Add(this.LblBannerEditorOldTip);
this.GrpBannerValues.Controls.Add(this.CmbPrefab);
this.GrpBannerValues.Controls.Add(this.LblEventChanceTip);
this.GrpBannerValues.Controls.Add(this.NUDEventChance);
this.GrpBannerValues.Controls.Add(this.LblGachaType);
@@ -130,23 +129,31 @@ namespace GrasscutterTools
this.GrpBannerValues.Controls.Add(this.LblSoftPityTip);
this.GrpBannerValues.Controls.Add(this.LblBasePurpleWeight);
this.GrpBannerValues.Controls.Add(this.CmbBannerType);
this.GrpBannerValues.Controls.Add(this.TxtTitlePath);
this.GrpBannerValues.Controls.Add(this.LblSortIdTip);
this.GrpBannerValues.Controls.Add(this.NUDBasePurpleWeight);
this.GrpBannerValues.Controls.Add(this.LblBannerType);
this.GrpBannerValues.Controls.Add(this.LblTitlePath);
this.GrpBannerValues.Controls.Add(this.LblBasePurpleWeightTip);
this.GrpBannerValues.Controls.Add(this.RbCostItem224);
this.GrpBannerValues.Controls.Add(this.TxtPrefabPath);
this.GrpBannerValues.Controls.Add(this.TxtPreviewPrefabPath);
this.GrpBannerValues.Controls.Add(this.LblBaseYellowWeightTip);
this.GrpBannerValues.Controls.Add(this.LblCostItem);
this.GrpBannerValues.Controls.Add(this.LblPrefabPath);
this.GrpBannerValues.Controls.Add(this.LblPreviewPrefabPath);
this.GrpBannerValues.Controls.Add(this.RbCostItem223);
this.GrpBannerValues.Name = "GrpBannerValues";
this.GrpBannerValues.TabStop = false;
//
// LblBannerEditorOldTip
//
resources.ApplyResources(this.LblBannerEditorOldTip, "LblBannerEditorOldTip");
this.LblBannerEditorOldTip.ForeColor = System.Drawing.Color.Red;
this.LblBannerEditorOldTip.Name = "LblBannerEditorOldTip";
//
// CmbPrefab
//
resources.ApplyResources(this.CmbPrefab, "CmbPrefab");
this.CmbPrefab.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbPrefab.FormattingEnabled = true;
this.CmbPrefab.Name = "CmbPrefab";
//
// LblEventChanceTip
//
resources.ApplyResources(this.LblEventChanceTip, "LblEventChanceTip");
@@ -383,11 +390,6 @@ namespace GrasscutterTools
resources.GetString("CmbBannerType.Items2")});
this.CmbBannerType.Name = "CmbBannerType";
//
// TxtTitlePath
//
resources.ApplyResources(this.TxtTitlePath, "TxtTitlePath");
this.TxtTitlePath.Name = "TxtTitlePath";
//
// LblSortIdTip
//
resources.ApplyResources(this.LblSortIdTip, "LblSortIdTip");
@@ -409,11 +411,6 @@ namespace GrasscutterTools
resources.ApplyResources(this.LblBannerType, "LblBannerType");
this.LblBannerType.Name = "LblBannerType";
//
// LblTitlePath
//
resources.ApplyResources(this.LblTitlePath, "LblTitlePath");
this.LblTitlePath.Name = "LblTitlePath";
//
// LblBasePurpleWeightTip
//
resources.ApplyResources(this.LblBasePurpleWeightTip, "LblBasePurpleWeightTip");
@@ -427,16 +424,6 @@ namespace GrasscutterTools
this.RbCostItem224.TabStop = true;
this.RbCostItem224.UseVisualStyleBackColor = true;
//
// TxtPrefabPath
//
resources.ApplyResources(this.TxtPrefabPath, "TxtPrefabPath");
this.TxtPrefabPath.Name = "TxtPrefabPath";
//
// TxtPreviewPrefabPath
//
resources.ApplyResources(this.TxtPreviewPrefabPath, "TxtPreviewPrefabPath");
this.TxtPreviewPrefabPath.Name = "TxtPreviewPrefabPath";
//
// LblBaseYellowWeightTip
//
resources.ApplyResources(this.LblBaseYellowWeightTip, "LblBaseYellowWeightTip");
@@ -452,11 +439,6 @@ namespace GrasscutterTools
resources.ApplyResources(this.LblPrefabPath, "LblPrefabPath");
this.LblPrefabPath.Name = "LblPrefabPath";
//
// LblPreviewPrefabPath
//
resources.ApplyResources(this.LblPreviewPrefabPath, "LblPreviewPrefabPath");
this.LblPreviewPrefabPath.Name = "LblPreviewPrefabPath";
//
// RbCostItem223
//
resources.ApplyResources(this.RbCostItem223, "RbCostItem223");
@@ -583,19 +565,14 @@ namespace GrasscutterTools
private System.Windows.Forms.Label LblSoftPityTip;
private System.Windows.Forms.Label LblBasePurpleWeight;
private System.Windows.Forms.ComboBox CmbBannerType;
private System.Windows.Forms.TextBox TxtTitlePath;
private System.Windows.Forms.Label LblSortIdTip;
private System.Windows.Forms.NumericUpDown NUDBasePurpleWeight;
private System.Windows.Forms.Label LblBannerType;
private System.Windows.Forms.Label LblTitlePath;
private System.Windows.Forms.Label LblBasePurpleWeightTip;
private System.Windows.Forms.RadioButton RbCostItem224;
private System.Windows.Forms.TextBox TxtPrefabPath;
private System.Windows.Forms.TextBox TxtPreviewPrefabPath;
private System.Windows.Forms.Label LblBaseYellowWeightTip;
private System.Windows.Forms.Label LblCostItem;
private System.Windows.Forms.Label LblPrefabPath;
private System.Windows.Forms.Label LblPreviewPrefabPath;
private System.Windows.Forms.RadioButton RbCostItem223;
private System.Windows.Forms.GroupBox GrpPurplePool;
private System.Windows.Forms.CheckedListBox ListPurplePool;
@@ -605,5 +582,7 @@ namespace GrasscutterTools
private System.Windows.Forms.TextBox TxtJson;
private System.Windows.Forms.Button BtnGen;
private System.Windows.Forms.Button BtnParse;
private System.Windows.Forms.ComboBox CmbPrefab;
private System.Windows.Forms.Label LblBannerEditorOldTip;
}
}

View File

@@ -1,4 +1,22 @@
using System;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
@@ -26,9 +44,16 @@ namespace GrasscutterTools
Icon = Resources.IconGrasscutter;
CmbBannerType.SelectedIndex = 0;
InitBannerPrefab();
InitCheckedListBoxs();
}
private void InitBannerPrefab()
{
CmbPrefab.Items.Clear();
CmbPrefab.Items.AddRange(GameData.GachaBannerPrefabs.Names);
}
private void InitCheckedListBoxs()
{
InitCheckedListBox(ListYellowPool, "yellow");
@@ -78,9 +103,10 @@ namespace GrasscutterTools
NUDGachaType.Value = banner.GachaType;
NUDScheduleId.Value = banner.ScheduleId;
CmbBannerType.SelectedIndex = (int)banner.BannerType;
TxtPrefabPath.Text = banner.PrefabPath;
TxtPreviewPrefabPath.Text = banner.PreviewPrefabPath;
TxtTitlePath.Text = banner.TitlePath;
if (string.IsNullOrEmpty(banner.TitlePath) || !int.TryParse(banner.TitlePath.Substring("UI_GACHA_SHOW_PANEL_A".Length, 3), out int prefabId))
CmbPrefab.SelectedIndex = -1;
else
CmbPrefab.SelectedIndex = Array.IndexOf(GameData.GachaBannerPrefabs.Ids, prefabId);
RbCostItem224.Checked = banner.CostItem == 224;
RbCostItem223.Checked = banner.CostItem == 223;
NUDBeginTime.Value = banner.BeginTime;
@@ -97,7 +123,7 @@ namespace GrasscutterTools
}
catch (Exception ex)
{
MessageBox.Show("UI更新失败" + ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("UI更新失败" + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
@@ -105,9 +131,16 @@ namespace GrasscutterTools
{
if (CmbBannerType.SelectedIndex < 0)
{
MessageBox.Show("请选择奖池类型", "输入错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("请选择奖池类型", Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return null;
}
if (CmbPrefab.SelectedIndex < 0)
{
MessageBox.Show("请选择奖池预制", Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return null;
}
int[] yellowIds;
if (string.IsNullOrEmpty(TxtRateUpItems1.Text))
yellowIds = new int[0];
@@ -120,14 +153,15 @@ namespace GrasscutterTools
else
purpleIds = TxtRateUpItems2.Text.Split(',').Select(s => int.Parse(s.Trim())).ToArray();
var prefabId = GameData.GachaBannerPrefabs.Ids[CmbPrefab.SelectedIndex];
GachaBanner banner = new GachaBanner
{
GachaType = (int)NUDGachaType.Value,
ScheduleId = (int)NUDScheduleId.Value,
BannerType = (BannerType)CmbBannerType.SelectedIndex,
PrefabPath = TxtPrefabPath.Text,
PreviewPrefabPath = TxtPreviewPrefabPath.Text,
TitlePath = TxtTitlePath.Text,
PrefabPath = $"GachaShowPanel_A{prefabId:000}",
PreviewPrefabPath = $"UI_Tab_GachaShowPanel_A{prefabId:000}",
TitlePath = $"UI_GACHA_SHOW_PANEL_A{prefabId:000}_TITLE",
CostItem = RbCostItem224.Checked ? 224 : 223,
BeginTime = (int)NUDBeginTime.Value,
EndTime = (int)NUDEndTime.Value,
@@ -186,7 +220,7 @@ namespace GrasscutterTools
foreach (string item in list.CheckedItems)
builder.Append(item.Substring(0, item.IndexOf(':')))
.Append(", ");
txt.Text = builder.ToString(0, builder.Length-2);
txt.Text = builder.ToString(0, builder.Length - 2);
}
}
@@ -207,7 +241,7 @@ namespace GrasscutterTools
}
catch (Exception ex)
{
MessageBox.Show("Json解析失败错误消息" + ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("Json解析失败错误消息" + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}

View File

@@ -117,12 +117,25 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LblBannerEditorOldTip.AutoSize" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="LblBannerEditorOldTip.Location" type="System.Drawing.Point, System.Drawing">
<value>22, 415</value>
</data>
<data name="LblBannerEditorOldTip.Size" type="System.Drawing.Size, System.Drawing">
<value>390, 35</value>
</data>
<data name="LblBannerEditorOldTip.Text" xml:space="preserve">
<value>Tip: The latest version of the dev Banner is currently not supported, waiting for PR : )</value>
</data>
<data name="LblEventChanceTip.Location" type="System.Drawing.Point, System.Drawing">
<value>401, 318</value>
<value>401, 262</value>
</data>
<data name="NUDEventChance.Location" type="System.Drawing.Point, System.Drawing">
<value>332, 316</value>
<value>332, 260</value>
</data>
<data name="LblEventChance.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 17</value>
@@ -130,11 +143,14 @@
<data name="LblEventChance.Text" xml:space="preserve">
<value>Event chance</value>
</data>
<data name="LblSortId.Location" type="System.Drawing.Point, System.Drawing">
<value>72, 204</value>
</data>
<data name="LblSortId.Text" xml:space="preserve">
<value>Sort</value>
</data>
<data name="LblBaseYellowWeight.Location" type="System.Drawing.Point, System.Drawing">
<value>23, 318</value>
<value>22, 262</value>
</data>
<data name="LblBaseYellowWeight.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 17</value>
@@ -143,7 +159,7 @@
<value>5 star weight</value>
</data>
<data name="LblRateUpItems2.Location" type="System.Drawing.Point, System.Drawing">
<value>45, 406</value>
<value>44, 350</value>
</data>
<data name="LblRateUpItems2.Size" type="System.Drawing.Size, System.Drawing">
<value>61, 17</value>
@@ -152,7 +168,7 @@
<value>4 star UP</value>
</data>
<data name="LblSoftPity.Location" type="System.Drawing.Point, System.Drawing">
<value>50, 347</value>
<value>49, 291</value>
</data>
<data name="LblSoftPity.Size" type="System.Drawing.Size, System.Drawing">
<value>56, 17</value>
@@ -173,7 +189,7 @@
<value>End Time</value>
</data>
<data name="LblRateUpItems1.Location" type="System.Drawing.Point, System.Drawing">
<value>45, 290</value>
<value>44, 234</value>
</data>
<data name="LblRateUpItems1.Size" type="System.Drawing.Size, System.Drawing">
<value>61, 17</value>
@@ -182,7 +198,7 @@
<value>5 star UP</value>
</data>
<data name="LblBeginTime.Location" type="System.Drawing.Point, System.Drawing">
<value>33, 231</value>
<value>32, 175</value>
</data>
<data name="LblBeginTime.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 17</value>
@@ -191,7 +207,7 @@
<value>Begin Time</value>
</data>
<data name="LblHardPity.Location" type="System.Drawing.Point, System.Drawing">
<value>43, 376</value>
<value>42, 320</value>
</data>
<data name="LblHardPity.Size" type="System.Drawing.Size, System.Drawing">
<value>62, 17</value>
@@ -200,7 +216,7 @@
<value>Hard pity</value>
</data>
<data name="NUDEndTime.Location" type="System.Drawing.Point, System.Drawing">
<value>287, 230</value>
<value>287, 174</value>
</data>
<data name="LblHardPityTip.Size" type="System.Drawing.Size, System.Drawing">
<value>17, 17</value>
@@ -221,7 +237,7 @@
<value>...</value>
</data>
<data name="LblBasePurpleWeight.Location" type="System.Drawing.Point, System.Drawing">
<value>23, 434</value>
<value>22, 378</value>
</data>
<data name="LblBasePurpleWeight.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 17</value>
@@ -229,6 +245,15 @@
<data name="LblBasePurpleWeight.Text" xml:space="preserve">
<value>4 star weight</value>
</data>
<data name="CmbBannerType.Items" xml:space="preserve">
<value>Standard Wish</value>
</data>
<data name="CmbBannerType.Items1" xml:space="preserve">
<value>Character Event Wish</value>
</data>
<data name="CmbBannerType.Items2" xml:space="preserve">
<value>Weapon Event Wish</value>
</data>
<data name="LblSortIdTip.Size" type="System.Drawing.Size, System.Drawing">
<value>76, 17</value>
</data>
@@ -244,15 +269,6 @@
<data name="LblBannerType.Text" xml:space="preserve">
<value>Banner Type</value>
</data>
<data name="LblTitlePath.Location" type="System.Drawing.Point, System.Drawing">
<value>45, 176</value>
</data>
<data name="LblTitlePath.Size" type="System.Drawing.Size, System.Drawing">
<value>61, 17</value>
</data>
<data name="LblTitlePath.Text" xml:space="preserve">
<value>Title Path</value>
</data>
<data name="RbCostItem224.Size" type="System.Drawing.Size, System.Drawing">
<value>104, 21</value>
</data>
@@ -260,7 +276,7 @@
<value>Acquaint Fate</value>
</data>
<data name="LblCostItem.Location" type="System.Drawing.Point, System.Drawing">
<value>42, 204</value>
<value>41, 148</value>
</data>
<data name="LblCostItem.Size" type="System.Drawing.Size, System.Drawing">
<value>64, 17</value>
@@ -269,25 +285,16 @@
<value>Cost Item</value>
</data>
<data name="LblPrefabPath.Location" type="System.Drawing.Point, System.Drawing">
<value>31, 118</value>
<value>59, 118</value>
</data>
<data name="LblPrefabPath.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 17</value>
<value>46, 17</value>
</data>
<data name="LblPrefabPath.Text" xml:space="preserve">
<value>Prefab Path</value>
</data>
<data name="LblPreviewPrefabPath.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 147</value>
</data>
<data name="LblPreviewPrefabPath.Size" type="System.Drawing.Size, System.Drawing">
<value>98, 17</value>
</data>
<data name="LblPreviewPrefabPath.Text" xml:space="preserve">
<value>Pre Prefab Path</value>
<value>Prefab</value>
</data>
<data name="RbCostItem223.Location" type="System.Drawing.Point, System.Drawing">
<value>222, 202</value>
<value>222, 146</value>
</data>
<data name="RbCostItem223.Size" type="System.Drawing.Size, System.Drawing">
<value>119, 21</value>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,33 @@
using System;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using GrasscutterTools.DispatchServer;
using GrasscutterTools.Game;
using GrasscutterTools.OpenCommand;
using GrasscutterTools.Properties;
namespace GrasscutterTools
@@ -19,17 +40,23 @@ namespace GrasscutterTools
{
InitializeComponent();
Icon = Resources.IconGrasscutter;
LoadVersion();
LoadSettings();
LoadUpdate();
}
private void FormMain_Load(object sender, EventArgs e)
{
MultiLanguage.LoadLanguage(this, typeof(FormMain));
Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
Text += " - by jie65535 - v" + version.ToString(3);
#if DEBUG
Text += " - by jie65535 - v" + AppVersion.ToString(3) + "-debug";
#else
Text += " - by jie65535 - v" + AppVersion.ToString(3);
#endif
GameData.LoadResources();
LoadCustomCommands();
InitArtifactList();
InitGameItemList();
InitWeapons();
@@ -38,6 +65,7 @@ namespace GrasscutterTools
InitScenes();
InitStatList();
InitPermList();
InitQuestList();
}
private void FormMain_FormClosed(object sender, FormClosedEventArgs e)
@@ -45,31 +73,34 @@ namespace GrasscutterTools
SaveSettings();
}
private readonly string CustomCommandsFilePath = Path.Combine(Application.LocalUserAppDataPath, "CustomCommands.txt");
private readonly string[] LanguageNames = new string[] { "简体中文", "English" };
private readonly string[] Languages = new string[] { "zh-CN", "en-US" };
private Version AppVersion;
private void LoadVersion()
{
AppVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
}
private void LoadSettings()
{
try
{
ChkAutoCopy.Checked = Settings.Default.AutoCopy;
NUDUid.Value = Settings.Default.Uid;
ChkAutoCopy.Checked = Settings.Default.AutoCopy;
NUDUid.Value = Settings.Default.Uid;
CmbLanguage.Items.AddRange(LanguageNames);
CmbLanguage.SelectedIndex = Array.IndexOf(Languages, Settings.Default.DefaultLanguage);
if (File.Exists(CustomCommandsFilePath))
LoadCustomCommands(File.ReadAllText(CustomCommandsFilePath));
else
LoadCustomCommands(Resources.CustomCommands);
InitGiveItemRecord();
InitSpawnRecord();
InitOpenCommand();
}
catch (Exception ex)
{
MessageBox.Show("加载设置时异常:" + ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.SettingLoadError + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
@@ -77,25 +108,62 @@ namespace GrasscutterTools
{
try
{
Settings.Default.AutoCopy = ChkAutoCopy.Checked;
Settings.Default.Uid = NUDUid.Value;
Settings.Default.Save();
File.WriteAllText(CustomCommandsFilePath, SaveCustomCommands());
Settings.Default.AutoCopy = ChkAutoCopy.Checked;
Settings.Default.Uid = NUDUid.Value;
SaveCustomCommands();
SaveGiveItemRecord();
SaveSpawnRecord();
SaveOpenCommand();
Settings.Default.Save();
}
catch (Exception ex)
{
MessageBox.Show("保存设置时异常:" + ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.SettingSaveError + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void LoadUpdate()
{
Task.Run(() =>
{
try
{
var info = Github.ReleaseAPI.GetReleasesLastest("jie65535", "GrasscutterCommandGenerator").Result;
if (Version.TryParse(info.TagName.Substring(1), out Version lastestVersion) && AppVersion < lastestVersion)
{
if (!string.IsNullOrEmpty(Settings.Default.CheckedLastVersion)
&& Version.TryParse(Settings.Default.CheckedLastVersion, out Version checkedVersion)
&& checkedVersion >= lastestVersion)
return;
BeginInvoke(new Action(() =>
{
var r = MessageBox.Show(
string.Format(Resources.NewVersionInfo, info.Name, info.CraeteTime.ToLocalTime(), info.Body),
Resources.CheckToNewVersion,
MessageBoxButtons.YesNo,
MessageBoxIcon.Information);
if (r == DialogResult.Yes)
System.Diagnostics.Process.Start(info.Url);
else if (r == DialogResult.No)
Settings.Default.CheckedLastVersion = lastestVersion.ToString();
}));
}
}
catch (Exception)
{
#if DEBUG
throw;
#endif
}
});
}
#endregion - -
#region - -
private FormGachaBannerEditor FormGachaBannerEditor;
FormGachaBannerEditor FormGachaBannerEditor;
private void BtnOpenGachaBannerEditor_Click(object sender, EventArgs e)
{
if (FormGachaBannerEditor == null || FormGachaBannerEditor.IsDisposed)
@@ -110,35 +178,59 @@ namespace GrasscutterTools
}
}
private FormTextMapBrowser FormTextMapBrowser;
private void BtnOpenTextMap_Click(object sender, EventArgs e)
{
if (FormTextMapBrowser == null || FormTextMapBrowser.IsDisposed)
{
FormTextMapBrowser = new FormTextMapBrowser();
FormTextMapBrowser.Show();
}
else
{
FormTextMapBrowser.TopMost = true;
FormTextMapBrowser.TopMost = false;
}
}
private void CmbLanguage_SelectedIndexChanged(object sender, EventArgs e)
{
MultiLanguage.SetDefaultLanguage(Languages[CmbLanguage.SelectedIndex]);
FormMain_Load(this, EventArgs.Empty);
}
private void LnkRCHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MessageBox.Show("TODO正在开发中", "TODO");
}
private void BtnPingHost_Click(object sender, EventArgs e)
{
MessageBox.Show("TODO正在开发中", "TODO");
}
#endregion - -
#region - -
private void LoadCustomCommands(string commands)
private readonly string CustomCommandsFilePath = Path.Combine(Application.LocalUserAppDataPath, "CustomCommands.txt");
private bool CustomCommandsChanged;
private void LoadCustomCommands()
{
if (File.Exists(CustomCommandsFilePath))
LoadCustomCommandControls(File.ReadAllText(CustomCommandsFilePath));
else
LoadCustomCommandControls(Resources.CustomCommands);
}
private void LoadCustomCommandControls(string commands)
{
FLPCustomCommands.Controls.Clear();
var lines = commands.Split('\n');
for (int i = 0; i < lines.Length-1; i += 2)
AddCustomCommand(lines[i].Trim(), lines[i+1].Trim());
for (int i = 0; i < lines.Length - 1; i += 2)
AddCustomCommand(lines[i].Trim(), lines[i + 1].Trim());
}
private string SaveCustomCommands()
private void SaveCustomCommands()
{
if (CustomCommandsChanged)
File.WriteAllText(CustomCommandsFilePath, SaveCustomCommandControls());
}
private string SaveCustomCommandControls()
{
StringBuilder builder = new StringBuilder();
foreach (LinkLabel lnk in FLPCustomCommands.Controls)
@@ -162,12 +254,12 @@ namespace GrasscutterTools
{
if (string.IsNullOrWhiteSpace(TxtCustomName.Text))
{
MessageBox.Show("命令标签不能为空", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.CommandTagCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
if (string.IsNullOrWhiteSpace(TxtCommand.Text))
{
MessageBox.Show("命令内容不能为空", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.CommandContentCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
var name = TxtCustomName.Text.Trim();
@@ -178,11 +270,13 @@ namespace GrasscutterTools
if (lnk.Text == name)
{
lnk.Tag = command;
CustomCommandsChanged = true;
await ButtonComplete(BtnSaveCustomCommand);
return;
}
}
CustomCommandsChanged = true;
AddCustomCommand(name, command);
await ButtonComplete(BtnSaveCustomCommand);
}
@@ -203,16 +297,17 @@ namespace GrasscutterTools
{
if (string.IsNullOrWhiteSpace(TxtCustomName.Text))
{
MessageBox.Show("命令标签不能为空", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.CommandTagCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
var name = TxtCustomName.Text.Trim();
foreach (LinkLabel lnk in FLPCustomCommands.Controls)
{
if (lnk.Text == name && MessageBox.Show("确认删除?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
if (lnk.Text == name && MessageBox.Show(Resources.AskConfirmDeletion, Resources.Tips, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
FLPCustomCommands.Controls.Remove(lnk);
CustomCommandsChanged = true;
//TxtCustomName.Text = "";
//TxtCommand.Text = "";
await ButtonComplete(BtnRemoveCustomCommand);
@@ -220,7 +315,7 @@ namespace GrasscutterTools
}
}
MessageBox.Show("未找到该命令", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.CommandNotFound, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
private void BtnImport_Click(object sender, EventArgs e)
@@ -234,7 +329,8 @@ namespace GrasscutterTools
using (var stream = dialog.OpenFile())
using (var reader = new StreamReader(stream))
{
LoadCustomCommands(reader.ReadToEnd());
LoadCustomCommandControls(reader.ReadToEnd());
CustomCommandsChanged = true;
}
}
}
@@ -251,7 +347,7 @@ namespace GrasscutterTools
using (var stream = dialog.OpenFile())
using (var writer = new StreamWriter(stream))
{
writer.Write(SaveCustomCommands());
writer.Write(SaveCustomCommandControls());
}
}
}
@@ -262,6 +358,8 @@ namespace GrasscutterTools
private Dictionary<string, List<KeyValuePair<int, string>>> subAttrs;
private string[] ArtifactPartLabels;
private void InitArtifactList()
{
CmbArtifactSet.Items.Clear();
@@ -285,6 +383,8 @@ namespace GrasscutterTools
}
CmbSubAttribution.Items.Clear();
CmbSubAttribution.Items.AddRange(subAttrs.Keys.ToArray());
ArtifactPartLabels = Resources.ArtifactPartLabels.Split(',');
}
private void CmbSubAttribution_SelectedIndexChanged(object sender, EventArgs e)
@@ -297,7 +397,7 @@ namespace GrasscutterTools
}
}
private void LblAddSubAttr_Click(object sender, EventArgs e)
private void BtnAddSubAttr_Click(object sender, EventArgs e)
{
if (CmbSubAttribution.SelectedIndex >= 0 && CmbSubAttributionValue.SelectedIndex >= 0)
{
@@ -318,10 +418,9 @@ namespace GrasscutterTools
// 限制星级输入范围
NUDArtifactStars.Minimum = GameData.Artifacts.Ids[beginIndex] / 100 % 10;
NUDArtifactStars.Maximum = GameData.Artifacts.Ids[endIndex] / 100 % 10;
NUDArtifactStars.Maximum = GameData.Artifacts.Ids[endIndex] / 100 % 10;
var parts = GameData.Artifacts.Names.Skip(beginIndex).Take(endIndex-beginIndex+1).Distinct().ToArray();
var parts = GameData.Artifacts.Names.Skip(beginIndex).Take(endIndex - beginIndex + 1).Distinct().ToArray();
var i = CmbArtifactPart.SelectedIndex;
CmbArtifactPart.Items.Clear();
CmbArtifactPart.Items.AddRange(parts);
@@ -331,7 +430,6 @@ namespace GrasscutterTools
ArtifactInputChanged(sender, e);
}
readonly string[] ArtifactPartLabels = new string[] { "空之杯", "死之羽", "理之冠", "生之花", "时之沙"};
private void CmbArtifactPart_SelectedIndexChanged(object sender, EventArgs e)
{
if (CmbArtifactPart.SelectedIndex < 0)
@@ -341,8 +439,11 @@ namespace GrasscutterTools
}
var name = CmbArtifactPart.SelectedItem as string;
var id = GameData.Artifacts.Ids[Array.IndexOf(GameData.Artifacts.Names, name)];
LblArtifactName.Text = ArtifactPartLabels[id / 10 % 10 - 1];
var pardIndex = id / 10 % 10 - 1;
if (pardIndex < ArtifactPartLabels?.Length)
LblArtifactName.Text = ArtifactPartLabels[pardIndex];
else
LblArtifactName.Text = "";
ArtifactInputChanged(sender, e);
}
@@ -355,7 +456,7 @@ namespace GrasscutterTools
//var setId = GameData.ArtifactCats.Ids[CmbArtifactSet.SelectedIndex];
//var part = CmbArtifactPart.SelectedIndex+1;
//var index = Array.FindLastIndex(
// GameData.Artifacts.Ids,
// GameData.Artifacts.Ids,
// it => it / 1000 == setId // 套装ID
// //&& it / 100 % 10 == NUDArtifactStars.Value // 星级
// && it / 10 % 10 == part // 部位
@@ -376,7 +477,7 @@ namespace GrasscutterTools
foreach (string item in ListSubAttributionChecked.Items)
{
var subId = item.Substring(0, item.IndexOf(':')).Trim();
var times = int.Parse(item.Substring(item.LastIndexOf('x')+1));
var times = int.Parse(item.Substring(item.LastIndexOf('x') + 1));
if (subAttrDir.ContainsKey(subId))
subAttrDir[subId] += times;
else
@@ -478,8 +579,16 @@ namespace GrasscutterTools
{
var id = name.Substring(0, name.IndexOf(':')).Trim();
SetCommand(ChkDrop.Checked ? "/drop" : "/give",
$"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}");
if (ChkDrop.Checked)
{
NUDGameItemLevel.Enabled = false;
SetCommand("/drop", $"{id} {NUDGameItemAmout.Value}");
}
else
{
NUDGameItemLevel.Enabled = true;
SetCommand("/give", $"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}");
}
return true;
}
return false;
@@ -492,8 +601,9 @@ namespace GrasscutterTools
#region -- --
readonly string GiveItemCommandsRecordPath = Path.Combine(Application.LocalUserAppDataPath, "GiveItemCommands.txt");
List<GameCommand> GiveItemCommands;
private readonly string GiveItemCommandsRecordPath = Path.Combine(Application.LocalUserAppDataPath, "GiveItemCommands.txt");
private List<GameCommand> GiveItemCommands;
private void InitGiveItemRecord()
{
if (File.Exists(GiveItemCommandsRecordPath))
@@ -543,7 +653,8 @@ namespace GrasscutterTools
ListGiveItemLogs.Items.RemoveAt(ListGiveItemLogs.SelectedIndex);
}
}
#endregion
#endregion -- --
#endregion - -
@@ -641,8 +752,9 @@ namespace GrasscutterTools
#region -- --
readonly string SpawnCommandsRecordPath = Path.Combine(Application.LocalUserAppDataPath, "SpawnCommands.txt");
List<GameCommand> SpawnCommands;
private readonly string SpawnCommandsRecordPath = Path.Combine(Application.LocalUserAppDataPath, "SpawnCommands.txt");
private List<GameCommand> SpawnCommands;
private void InitSpawnRecord()
{
if (File.Exists(SpawnCommandsRecordPath))
@@ -655,6 +767,7 @@ namespace GrasscutterTools
SpawnCommands = new List<GameCommand>();
}
}
private void SaveSpawnRecord()
{
File.WriteAllText(SpawnCommandsRecordPath, GetCommandsText(SpawnCommands));
@@ -692,7 +805,7 @@ namespace GrasscutterTools
}
}
#endregion
#endregion -- --
#endregion - -
@@ -702,15 +815,21 @@ namespace GrasscutterTools
{
ListScenes.Items.Clear();
ListScenes.Items.AddRange(GameData.Scenes.Lines);
CmbClimateType.Items.Clear();
CmbClimateType.Items.AddRange(Resources.ClimateType.Split(','));
}
private void ListScenes_SelectedIndexChanged(object sender, EventArgs e)
{
if (ListScenes.SelectedIndex >= 0)
if (ListScenes.SelectedIndex < 0)
{
var id = GameData.Scenes.Ids[ListScenes.SelectedIndex];
SetCommand("/changescene", id.ToString());
ChkIncludeSceneId.Enabled = false;
return;
}
ChkIncludeSceneId.Enabled = true;
var id = GameData.Scenes.Ids[ListScenes.SelectedIndex];
SetCommand("/changescene", id.ToString());
}
private void CmbClimateType_SelectedIndexChanged(object sender, EventArgs e)
@@ -720,6 +839,14 @@ namespace GrasscutterTools
SetCommand("/weather", $"0 {CmbClimateType.SelectedIndex}");
}
private void BtnTeleport_Click(object sender, EventArgs e)
{
string args = $"{NUDTpX.Value} {NUDTpY.Value} {NUDTpZ.Value}";
if (ChkIncludeSceneId.Checked && ListScenes.SelectedIndex != -1)
args += $" {GameData.Scenes.Ids[ListScenes.SelectedIndex]}";
SetCommand("/tp", args);
}
#endregion - -
#region - -
@@ -727,6 +854,7 @@ namespace GrasscutterTools
private void InitStatList()
{
LblStatTip.Text = "";
SetStatsCommand.InitStats();
CmbStat.Items.Clear();
CmbStat.Items.AddRange(SetStatsCommand.Stats.Select(s => s.Name).ToArray());
}
@@ -740,7 +868,7 @@ namespace GrasscutterTools
LblStatPercent.Visible = stat.Percent;
LblStatTip.Text = stat.Tip;
SetCommand("/setstats", $"{stat.ArgName} {NUDStat.Value}{(stat.Percent?"%":"")}");
SetCommand("/setstats", $"{stat.ArgName} {NUDStat.Value}{(stat.Percent ? "%" : "")}");
}
private void LnkSetTalentClicked(object sender, LinkLabelLinkClickedEventArgs e)
@@ -764,7 +892,7 @@ namespace GrasscutterTools
var perm = CmbPerm.Text.Trim();
if (string.IsNullOrEmpty(perm))
{
MessageBox.Show("权限不能为空!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.PermissionCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
SetCommand($"/permission {(sender as Button).Tag} @{uid} {perm}");
@@ -775,7 +903,7 @@ namespace GrasscutterTools
var username = TxtAccountUserName.Text.Trim();
if (string.IsNullOrEmpty(username))
{
MessageBox.Show("用户名不能为空!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Resources.UsernameCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
SetCommand($"/account {(sender as Button).Tag} {username} {(ChkAccountSetUid.Checked ? NUDAccountUid.Value.ToString() : "")}");
@@ -793,13 +921,13 @@ namespace GrasscutterTools
}
catch (Exception)
{
MessageBox.Show("浏览器打开失败,你可以通过以下链接手动访问:\n"
+ "https://github.com/jie65535/GrasscutterCommandGenerator",
"错误", MessageBoxButtons.OK, MessageBoxIcon.Warning);
MessageBox.Show(Resources.BrowserOpenFailedTip
+ "\n https://github.com/jie65535/GrasscutterCommandGenerator",
Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
#endregion
#endregion - -
#region - -
@@ -808,6 +936,8 @@ namespace GrasscutterTools
TxtCommand.Text = command;
if (ChkAutoCopy.Checked)
CopyCommand();
if (ModifierKeys == Keys.Control)
OnOpenCommandInvoke();
}
private void SetCommand(string command, string args)
@@ -843,20 +973,33 @@ namespace GrasscutterTools
btn.Enabled = true;
}
private void FormMain_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.F5)
{
OnOpenCommandInvoke();
}
}
private void ShowTip(string message, Control control)
{
TTip.Show(message, control, 0, control.Size.Height, 3000);
}
#endregion - -
#region - -
List<GameCommand> GetCommands(string commandsText)
private List<GameCommand> GetCommands(string commandsText)
{
var lines = commandsText.Split('\n');
List<GameCommand> commands = new List<GameCommand>(lines.Length/2);
for (int i = 0; i < lines.Length-1; i += 2)
commands.Add(new GameCommand(lines[i].Trim(), lines[i+1].Trim()));
List<GameCommand> commands = new List<GameCommand>(lines.Length / 2);
for (int i = 0; i < lines.Length - 1; i += 2)
commands.Add(new GameCommand(lines[i].Trim(), lines[i + 1].Trim()));
return commands;
}
string GetCommandsText(List<GameCommand> commands)
private string GetCommandsText(List<GameCommand> commands)
{
StringBuilder builder = new StringBuilder();
foreach (var cmd in commands)
@@ -867,6 +1010,236 @@ namespace GrasscutterTools
return builder.ToString();
}
#endregion
#endregion - -
#region - -
private OpenCommandAPI OC;
private void InitOpenCommand()
{
NUDRemotePlayerId.Value = Settings.Default.RemoteUid;
TxtHost.Text = Settings.Default.Host;
if (!string.IsNullOrEmpty(Settings.Default.Host) && !string.IsNullOrEmpty(Settings.Default.TokenCache))
{
OC = new OpenCommandAPI(Settings.Default.Host, Settings.Default.TokenCache);
TxtToken.Text = Settings.Default.TokenCache;
Task.Run(async () =>
{
await Task.Delay(1000);
BeginInvoke(new Action(() => ShowTip("已从缓存中恢复Token", BtnInvokeOpenCommand)));
});
}
}
private void SaveOpenCommand()
{
Settings.Default.RemoteUid = NUDRemotePlayerId.Value;
Settings.Default.Host = TxtHost.Text;
Settings.Default.TokenCache = OC?.Token;
}
private async void BtnQueryServerStatus_Click(object sender, EventArgs e)
{
var btn = sender as Button;
btn.Enabled = false;
btn.Cursor = Cursors.WaitCursor;
try
{
try
{
var status = await DispatchServerAPI.QueryServerStatus(TxtHost.Text);
LblServerVersion.Text = status.Version;
LblPlayerCount.Text = status.PlayerCount.ToString();
}
catch (Exception ex)
{
MessageBox.Show("查询服务端状态失败:" + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
OC = new OpenCommandAPI(TxtHost.Text);
if (await OC.Ping())
{
LblOpenCommandSupport.Text = "√";
LblOpenCommandSupport.ForeColor = Color.Green;
GrpRemoteCommand.Enabled = true;
}
else
{
LblOpenCommandSupport.Text = "×";
LblOpenCommandSupport.ForeColor = Color.Red;
GrpRemoteCommand.Enabled = false;
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
btn.Cursor = Cursors.Default;
btn.Enabled = true;
}
}
private async void BtnSendVerificationCode_Click(object sender, EventArgs e)
{
var btn = sender as Button;
var t = btn.Text;
btn.Enabled = false;
NUDRemotePlayerId.Enabled = false;
try
{
btn.Text = Resources.CodeSending;
await OC.SendCode((int)NUDRemotePlayerId.Value);
BtnConnectOpenCommand.Enabled = true;
NUDVerificationCode.Enabled = true;
NUDVerificationCode.Focus();
for (int i = 60; i > 0 && !OC.CanInvoke; i--)
{
btn.Text = string.Format(Resources.CodeResendTip, i);
await Task.Delay(1000);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
btn.Text = t;
btn.Enabled = true;
NUDRemotePlayerId.Enabled = true;
}
}
private async void BtnConnectOpenCommand_Click(object sender, EventArgs e)
{
var btn = sender as Button;
btn.Enabled = false;
try
{
await OC.Verify((int)NUDVerificationCode.Value);
GrpRemoteCommand.Enabled = false;
BtnInvokeOpenCommand.Focus();
ShowTip(Resources.ConnectedTip, BtnInvokeOpenCommand);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
btn.Cursor = Cursors.Default;
btn.Enabled = true;
}
}
private void BtnConsoleConnect_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(TxtToken.Text))
{
MessageBox.Show("Token不能为空", Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
OC.Token = TxtToken.Text;
BtnConnectOpenCommand_Click(sender, e);
}
private void OnOpenCommandInvoke()
{
BtnInvokeOpenCommand_Click(BtnInvokeOpenCommand, EventArgs.Empty);
}
private async void BtnInvokeOpenCommand_Click(object sender, EventArgs e)
{
if (OC == null || !OC.CanInvoke)
{
ShowTip(Resources.RequireOpenCommandTip, BtnInvokeOpenCommand);
TCMain.SelectedTab = TPRemoteCall;
return;
}
if (TxtCommand.Text.Length < 2)
{
ShowTip(Resources.CommandContentCannotBeEmpty, TxtCommand);
return;
}
var cmd = TxtCommand.Text.Substring(1);
var btn = sender as Button;
btn.Enabled = false;
try
{
var msg = await OC.Invoke(cmd);
ShowTip(string.IsNullOrEmpty(msg) ? "OK" : msg, btn);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
btn.Cursor = Cursors.Default;
btn.Enabled = true;
}
}
private void LnkOpenCommandLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
System.Diagnostics.Process.Start("https://github.com/jie65535/gc-opencommand-plugin");
}
catch (Exception)
{
MessageBox.Show(Resources.BrowserOpenFailedTip
+ "\n https://github.com/jie65535/gc-opencommand-plugin",
Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
private void LnkRCHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MessageBox.Show(Resources.OpenCommandHelp, Resources.Help, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
#endregion - -
#region - -
private void InitQuestList()
{
QuestFilterChanged(null, EventArgs.Empty);
}
private void QuestFilterChanged(object sender, EventArgs e)
{
ListQuest.BeginUpdate();
ListQuest.Items.Clear();
ListQuest.Items.AddRange(GameData.Quests.Lines.Where(l =>
{
if (!ChkQuestFilterHIDDEN.Checked && l.Contains((string)ChkQuestFilterHIDDEN.Tag))
return false;
if (!ChkQuestFilterUNRELEASED.Checked && l.Contains((string)ChkQuestFilterUNRELEASED.Tag))
return false;
if (!ChkQuestFilterTEST.Checked && l.Contains((string)ChkQuestFilterTEST.Tag))
return false;
if (!string.IsNullOrEmpty(TxtQuestFilter.Text))
return l.Contains(TxtQuestFilter.Text);
return true;
}).ToArray());
ListQuest.EndUpdate();
}
private void QuestButsClicked(object sender, EventArgs e)
{
if (ListQuest.SelectedIndex == -1)
return;
var item = ListQuest.SelectedItem as string;
var id = item.Substring(0, item.IndexOf(':')).Trim();
SetCommand("/quest", $"{(sender as Button).Tag} {id}");
}
#endregion - -
}
}

View File

@@ -128,11 +128,20 @@
<value>Auto</value>
</data>
<data name="GrpCommand.Text" xml:space="preserve">
<value>Command</value>
<value>Command (Press and hold Ctrl to run automatically)</value>
</data>
<data name="BtnInvokeOpenCommand.Text" xml:space="preserve">
<value>Run(F5)</value>
</data>
<data name="TPHome.Text" xml:space="preserve">
<value>Home</value>
</data>
<data name="BtnOpenTextMap.Size" type="System.Drawing.Size, System.Drawing">
<value>120, 23</value>
</data>
<data name="BtnOpenTextMap.Text" xml:space="preserve">
<value>TextMapBrowser</value>
</data>
<data name="BtnOpenGachaBannerEditor.Text" xml:space="preserve">
<value>Banner editor</value>
</data>
@@ -208,6 +217,9 @@
<data name="TPArtifact.Text" xml:space="preserve">
<value>Artifact</value>
</data>
<data name="BtnAddSubAttr.Text" xml:space="preserve">
<value>+ Add</value>
</data>
<data name="LblArtifactStars.Location" type="System.Drawing.Point, System.Drawing">
<value>298, 41</value>
</data>
@@ -271,12 +283,200 @@
<data name="LblMainAttribution.Text" xml:space="preserve">
<value>Main Stat</value>
</data>
<data name="TPQuest.Text" xml:space="preserve">
<value>Quest</value>
</data>
<data name="GrpQuestFilters.Text" xml:space="preserve">
<value>List Filter</value>
</data>
<data name="ChkQuestFilterTEST.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 21</value>
</data>
<data name="ChkQuestFilterTEST.Text" xml:space="preserve">
<value>Test</value>
</data>
<data name="ChkQuestFilterUNRELEASED.Size" type="System.Drawing.Size, System.Drawing">
<value>93, 21</value>
</data>
<data name="ChkQuestFilterUNRELEASED.Text" xml:space="preserve">
<value>Unreleased</value>
</data>
<data name="ChkQuestFilterHIDDEN.Size" type="System.Drawing.Size, System.Drawing">
<value>69, 21</value>
</data>
<data name="ChkQuestFilterHIDDEN.Text" xml:space="preserve">
<value>Hidden</value>
</data>
<data name="BtnFinishQuest.Text" xml:space="preserve">
<value>Finish</value>
</data>
<data name="BtnAddQuest.Text" xml:space="preserve">
<value>Add</value>
</data>
<data name="LblQuestDescription.Text" xml:space="preserve">
<value>Add or Finish Quest
Tip: Many quest require server-side scripting support
Therefore, the quest can be add and finish, but not necessarily can be work</value>
</data>
<data name="TPSpawn.Text" xml:space="preserve">
<value>Spawn</value>
</data>
<data name="BtnSaveSpawnLog.Text" xml:space="preserve">
<value>√ Record</value>
</data>
<data name="BtnRemoveSpawnLog.Text" xml:space="preserve">
<value>× Delete</value>
</data>
<data name="GrpSpawnRecord.Text" xml:space="preserve">
<value>Records</value>
</data>
<data name="GrpEntityType.Text" xml:space="preserve">
<value>Class</value>
</data>
<data name="RbEntityOrnament.Size" type="System.Drawing.Size, System.Drawing">
<value>84, 21</value>
</data>
<data name="RbEntityOrnament.Text" xml:space="preserve">
<value>Ornament</value>
</data>
<data name="RbEntityAnimal.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 21</value>
</data>
<data name="RbEntityAnimal.Text" xml:space="preserve">
<value>Animal</value>
</data>
<data name="RbEntityMonster.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 21</value>
</data>
<data name="RbEntityMonster.Text" xml:space="preserve">
<value>Monster</value>
</data>
<data name="LblSpawnDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>81, 17</value>
</data>
<data name="LblSpawnDescription.Text" xml:space="preserve">
<value>Spawn entity</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LblEntityAmount.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
</data>
<data name="LblEntityAmount.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 17</value>
</data>
<data name="LblEntityAmount.Text" xml:space="preserve">
<value>Amount</value>
</data>
<data name="LblEntityLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>120, 218</value>
</data>
<data name="LblEntityLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>20, 17</value>
</data>
<data name="LblEntityLevel.Text" xml:space="preserve">
<value>Lv</value>
</data>
<data name="NUDEntityAmout.Location" type="System.Drawing.Point, System.Drawing">
<value>64, 216</value>
</data>
<data name="NUDEntityLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 216</value>
</data>
<data name="TPAvatar.Text" xml:space="preserve">
<value>Avatar</value>
</data>
<data name="LblAvatarGenWarning.Location" type="System.Drawing.Point, System.Drawing">
<value>88, 161</value>
</data>
<data name="LblAvatarGenWarning.Size" type="System.Drawing.Size, System.Drawing">
<value>427, 51</value>
</data>
<data name="LblAvatarGenWarning.Text" xml:space="preserve">
<value>WARN! Adding a character that is not officially used may result
in a corrupted account save, making it impossible to play the game.
The data may not be cleared even if the account is recreated.</value>
</data>
<data name="LblAvatar.Location" type="System.Drawing.Point, System.Drawing">
<value>135, 217</value>
</data>
<data name="LblAvatar.Size" type="System.Drawing.Size, System.Drawing">
<value>45, 17</value>
</data>
<data name="LblAvatar.Text" xml:space="preserve">
<value>Avatar</value>
</data>
<data name="LblLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>392, 216</value>
</data>
<data name="LblLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>20, 17</value>
</data>
<data name="LblLevel.Text" xml:space="preserve">
<value>Lv</value>
</data>
<data name="NUDAvatarLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>418, 214</value>
</data>
<data name="CmbAvatar.Location" type="System.Drawing.Point, System.Drawing">
<value>186, 214</value>
</data>
<data name="CmbAvatar.Size" type="System.Drawing.Size, System.Drawing">
<value>200, 25</value>
</data>
<data name="TPStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="GrpSetStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="LblStatTip.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 17</value>
</data>
<data name="LblStatTip.Text" xml:space="preserve">
<value>Tip</value>
</data>
<data name="GrpTalentLevel.Text" xml:space="preserve">
<value>Talent Level</value>
</data>
<data name="LnkTalentE.Location" type="System.Drawing.Point, System.Drawing">
<value>283, 24</value>
</data>
<data name="LnkTalentE.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 17</value>
</data>
<data name="LnkTalentE.Text" xml:space="preserve">
<value>E</value>
</data>
<data name="LnkTalentQ.Location" type="System.Drawing.Point, System.Drawing">
<value>259, 24</value>
</data>
<data name="LnkTalentQ.Size" type="System.Drawing.Size, System.Drawing">
<value>18, 17</value>
</data>
<data name="LnkTalentQ.Text" xml:space="preserve">
<value>Q</value>
</data>
<data name="LnkTalentNormalATK.Location" type="System.Drawing.Point, System.Drawing">
<value>178, 24</value>
</data>
<data name="LnkTalentNormalATK.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 17</value>
</data>
<data name="LnkTalentNormalATK.Text" xml:space="preserve">
<value>NormalATK</value>
</data>
<data name="NUDTalentLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 23</value>
</data>
<data name="LblStatsDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>179, 17</value>
</data>
<data name="LblStatsDescription.Text" xml:space="preserve">
<value>Set current active Avatar data</value>
</data>
<data name="TPWeapon.Text" xml:space="preserve">
<value>Weapon</value>
</data>
<data name="LblWeaponDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="LblWeaponDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>93, 17</value>
</data>
@@ -319,7 +519,6 @@
<data name="TPItem.Text" xml:space="preserve">
<value>Items</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="BtnSaveGiveItemLog.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left</value>
</data>
@@ -401,142 +600,71 @@
<data name="NUDGameItemLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 216</value>
</data>
<data name="LblGiveCommandDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="LblGiveCommandDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>118, 17</value>
</data>
<data name="LblGiveCommandDescription.Text" xml:space="preserve">
<value>Give item to player</value>
</data>
<data name="TPAvatar.Text" xml:space="preserve">
<value>Avatar</value>
</data>
<data name="LblAvatarGenWarning.Location" type="System.Drawing.Point, System.Drawing">
<value>88, 161</value>
</data>
<data name="LblAvatarGenWarning.Size" type="System.Drawing.Size, System.Drawing">
<value>427, 51</value>
</data>
<data name="LblAvatarGenWarning.Text" xml:space="preserve">
<value>WARN! Adding a character that is not officially used may result
in a corrupted account save, making it impossible to play the game.
The data may not be cleared even if the account is recreated.</value>
</data>
<data name="LblAvatar.Location" type="System.Drawing.Point, System.Drawing">
<value>135, 217</value>
</data>
<data name="LblAvatar.Size" type="System.Drawing.Size, System.Drawing">
<value>45, 17</value>
</data>
<data name="LblAvatar.Text" xml:space="preserve">
<value>Avatar</value>
</data>
<data name="LblLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>392, 216</value>
</data>
<data name="LblLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>20, 17</value>
</data>
<data name="LblLevel.Text" xml:space="preserve">
<value>Lv</value>
</data>
<data name="NUDAvatarLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>418, 214</value>
</data>
<data name="CmbAvatar.Location" type="System.Drawing.Point, System.Drawing">
<value>186, 214</value>
</data>
<data name="CmbAvatar.Size" type="System.Drawing.Size, System.Drawing">
<value>200, 25</value>
</data>
<data name="TPSpawn.Text" xml:space="preserve">
<value>Spawn</value>
</data>
<data name="BtnSaveSpawnLog.Text" xml:space="preserve">
<value>√ Record</value>
</data>
<data name="BtnRemoveSpawnLog.Text" xml:space="preserve">
<value>× Delete</value>
</data>
<data name="GrpSpawnRecord.Text" xml:space="preserve">
<value>Records</value>
</data>
<data name="GrpEntityType.Text" xml:space="preserve">
<value>Class</value>
</data>
<data name="RbEntityOrnament.Size" type="System.Drawing.Size, System.Drawing">
<value>84, 21</value>
</data>
<data name="RbEntityOrnament.Text" xml:space="preserve">
<value>Ornament</value>
</data>
<data name="RbEntityAnimal.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 21</value>
</data>
<data name="RbEntityAnimal.Text" xml:space="preserve">
<value>Animal</value>
</data>
<data name="RbEntityMonster.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 21</value>
</data>
<data name="RbEntityMonster.Text" xml:space="preserve">
<value>Monster</value>
</data>
<data name="LblSpawnDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>81, 17</value>
</data>
<data name="LblSpawnDescription.Text" xml:space="preserve">
<value>Spawn entity</value>
</data>
<data name="LblEntityAmount.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left</value>
</data>
<data name="LblEntityAmount.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 17</value>
</data>
<data name="LblEntityAmount.Text" xml:space="preserve">
<value>Amount</value>
</data>
<data name="LblEntityLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>120, 218</value>
</data>
<data name="LblEntityLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>20, 17</value>
</data>
<data name="LblEntityLevel.Text" xml:space="preserve">
<value>Lv</value>
</data>
<data name="NUDEntityAmout.Location" type="System.Drawing.Point, System.Drawing">
<value>64, 216</value>
</data>
<data name="NUDEntityLevel.Location" type="System.Drawing.Point, System.Drawing">
<value>146, 216</value>
</data>
<data name="TPScene.Text" xml:space="preserve">
<value>Scene</value>
</data>
<data name="CmbClimateType.Items" xml:space="preserve">
<value>None</value>
<data name="ChkIncludeSceneId.Location" type="System.Drawing.Point, System.Drawing">
<value>91, 213</value>
</data>
<data name="CmbClimateType.Items1" xml:space="preserve">
<value>Sunny</value>
<data name="ChkIncludeSceneId.Size" type="System.Drawing.Size, System.Drawing">
<value>122, 21</value>
</data>
<data name="CmbClimateType.Items2" xml:space="preserve">
<value>Partly cloudy</value>
<data name="ChkIncludeSceneId.Text" xml:space="preserve">
<value>Include scene Id</value>
</data>
<data name="CmbClimateType.Items3" xml:space="preserve">
<value>Rain</value>
<data name="LblTp.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="CmbClimateType.Items4" xml:space="preserve">
<value>Thunderstorm</value>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LblTp.AutoSize" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="CmbClimateType.Items5" xml:space="preserve">
<value>Snow</value>
<data name="LblTp.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 89</value>
</data>
<data name="CmbClimateType.Items6" xml:space="preserve">
<value>Fog</value>
<data name="LblTp.Size" type="System.Drawing.Size, System.Drawing">
<value>337, 90</value>
</data>
<data name="LblTp.Text" xml:space="preserve">
<value>Teleporting
Tip: You can quickly teleport through the 'fishing hook' mark on the minimap in the game
In the command, you can use ~ to indicate the current position, and ~100 to indicate the relative current 100</value>
</data>
<data name="LblTpZ.Location" type="System.Drawing.Point, System.Drawing">
<value>219, 184</value>
</data>
<data name="LblTpY.Location" type="System.Drawing.Point, System.Drawing">
<value>113, 184</value>
</data>
<data name="BtnTeleport.Location" type="System.Drawing.Point, System.Drawing">
<value>10, 211</value>
</data>
<data name="BtnTeleport.Text" xml:space="preserve">
<value>Teleport</value>
</data>
<data name="LblTpX.Location" type="System.Drawing.Point, System.Drawing">
<value>7, 184</value>
</data>
<data name="NUDTpZ.Location" type="System.Drawing.Point, System.Drawing">
<value>239, 182</value>
</data>
<data name="NUDTpY.Location" type="System.Drawing.Point, System.Drawing">
<value>133, 182</value>
</data>
<data name="NUDTpX.Location" type="System.Drawing.Point, System.Drawing">
<value>27, 182</value>
</data>
<data name="CmbClimateType.Location" type="System.Drawing.Point, System.Drawing">
<value>66, 61</value>
</data>
<data name="LblClimateType.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 64</value>
</data>
<data name="LblClimateType.Size" type="System.Drawing.Size, System.Drawing">
<value>54, 17</value>
@@ -545,77 +673,18 @@ The data may not be cleared even if the account is recreated.</value>
<value>weather</value>
</data>
<data name="LblSceneDescription.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
<value>Top, Left, Right</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LblSceneDescription.AutoSize" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="LblSceneDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="LblSceneDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>287, 88</value>
<value>287, 55</value>
</data>
<data name="LblSceneDescription.Text" xml:space="preserve">
<value>Scene control
Tip: Most of the scenes have no effect and cannot be entered.</value>
</data>
<data name="TPStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="GrpSetStats.Text" xml:space="preserve">
<value>Stats</value>
</data>
<data name="LblStatTip.Size" type="System.Drawing.Size, System.Drawing">
<value>26, 17</value>
</data>
<data name="LblStatTip.Text" xml:space="preserve">
<value>Tip</value>
</data>
<data name="GrpTalentLevel.Text" xml:space="preserve">
<value>Talent Level</value>
</data>
<data name="LnkTalentE.Location" type="System.Drawing.Point, System.Drawing">
<value>283, 24</value>
</data>
<data name="LnkTalentE.Size" type="System.Drawing.Size, System.Drawing">
<value>15, 17</value>
</data>
<data name="LnkTalentE.Text" xml:space="preserve">
<value>E</value>
</data>
<data name="LnkTalentQ.Location" type="System.Drawing.Point, System.Drawing">
<value>259, 24</value>
</data>
<data name="LnkTalentQ.Size" type="System.Drawing.Size, System.Drawing">
<value>18, 17</value>
</data>
<data name="LnkTalentQ.Text" xml:space="preserve">
<value>Q</value>
</data>
<data name="LnkTalentNormalATK.Location" type="System.Drawing.Point, System.Drawing">
<value>178, 24</value>
</data>
<data name="LnkTalentNormalATK.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 17</value>
</data>
<data name="LnkTalentNormalATK.Text" xml:space="preserve">
<value>NormalATK</value>
</data>
<data name="NUDTalentLevel.Size" type="System.Drawing.Size, System.Drawing">
<value>128, 23</value>
</data>
<data name="LblStatsDescription.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 6</value>
</data>
<data name="LblStatsDescription.Size" type="System.Drawing.Size, System.Drawing">
<value>179, 17</value>
</data>
<data name="LblStatsDescription.Text" xml:space="preserve">
<value>Set current active Avatar data</value>
</data>
<data name="TPManage.Text" xml:space="preserve">
<value>Manage</value>
</data>
@@ -694,26 +763,92 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="TPRemoteCall.Text" xml:space="preserve">
<value>Remote</value>
</data>
<data name="LblRemoteTODO.Location" type="System.Drawing.Point, System.Drawing">
<value>464, 3</value>
<data name="GrpServerStatus.Text" xml:space="preserve">
<value>Server status</value>
</data>
<data name="LblRemoteTODO.Text" xml:space="preserve">
<value>TODO...</value>
<data name="LnkOpenCommandLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 63</value>
</data>
<data name="LnkOpenCommandLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>100, 17</value>
</data>
<data name="LnkOpenCommandLabel.Text" xml:space="preserve">
<value>OpenCommand</value>
</data>
<data name="LblOpenCommandSupport.Location" type="System.Drawing.Point, System.Drawing">
<value>119, 63</value>
</data>
<data name="LblServerVersion.Location" type="System.Drawing.Point, System.Drawing">
<value>119, 29</value>
</data>
<data name="LblPlayerCount.Location" type="System.Drawing.Point, System.Drawing">
<value>119, 46</value>
</data>
<data name="LblServerVersionLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>25, 29</value>
</data>
<data name="LblServerVersionLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>88, 17</value>
</data>
<data name="LblServerVersionLabel.Text" xml:space="preserve">
<value>Game version</value>
</data>
<data name="LblPlayerCountLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>34, 46</value>
</data>
<data name="LblPlayerCountLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>79, 17</value>
</data>
<data name="LblPlayerCountLabel.Text" xml:space="preserve">
<value>Player count</value>
</data>
<data name="GrpRemoteCommand.Text" xml:space="preserve">
<value>Remote Cell</value>
</data>
<data name="TPPlayerCheck.Text" xml:space="preserve">
<value>Player</value>
</data>
<data name="LnkRCHelp.Size" type="System.Drawing.Size, System.Drawing">
<value>35, 17</value>
</data>
<data name="LnkRCHelp.Text" xml:space="preserve">
<value>Help</value>
</data>
<data name="LblSessionKey.Size" type="System.Drawing.Size, System.Drawing">
<value>29, 17</value>
<data name="BtnConnectOpenCommand.Text" xml:space="preserve">
<value>Connect</value>
</data>
<data name="LblSessionKey.Text" xml:space="preserve">
<value>Key</value>
<data name="LblVerificationCode.Size" type="System.Drawing.Size, System.Drawing">
<value>39, 17</value>
</data>
<data name="LblVerificationCode.Text" xml:space="preserve">
<value>Code</value>
</data>
<data name="BtnSendVerificationCode.Text" xml:space="preserve">
<value>Send Code</value>
</data>
<data name="TPConsoleCheck.Text" xml:space="preserve">
<value>Console</value>
</data>
<data name="LblConsoleTip.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="LblConsoleTip.Text" xml:space="preserve">
<value>Note that normal commands in the console state must specify the target (set include UID)</value>
</data>
<data name="BtnConsoleConnect.Text" xml:space="preserve">
<value>Connect</value>
</data>
<data name="TxtHost.Size" type="System.Drawing.Size, System.Drawing">
<value>167, 23</value>
</data>
<data name="BtnQueryServerStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>292, 36</value>
</data>
<data name="BtnQueryServerStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 23</value>
</data>
<data name="BtnQueryServerStatus.Text" xml:space="preserve">
<value>Query</value>
</data>
<data name="LblHost.Size" type="System.Drawing.Size, System.Drawing">
<value>35, 17</value>
@@ -721,10 +856,4 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
<data name="LblHost.Text" xml:space="preserve">
<value>Host</value>
</data>
<data name="BtnPingHost.Text" xml:space="preserve">
<value>Test</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>GrasscutterTools</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,158 @@
namespace GrasscutterTools
{
partial class FormTextMapBrowser
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormTextMapBrowser));
this.TxtTextMapFilter = new System.Windows.Forms.TextBox();
this.BtnSelectRecoursePath = new System.Windows.Forms.Button();
this.CmbLanguage = new System.Windows.Forms.ComboBox();
this.LblLanguage = new System.Windows.Forms.Label();
this.ChkTopMost = new System.Windows.Forms.CheckBox();
this.LblResourcesPath = new System.Windows.Forms.Label();
this.BtnSearch = new System.Windows.Forms.Button();
this.DGVTextMap = new System.Windows.Forms.DataGridView();
this.ColumnHash = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColumnID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColumnText = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.DGVTextMap)).BeginInit();
this.SuspendLayout();
//
// TxtTextMapFilter
//
resources.ApplyResources(this.TxtTextMapFilter, "TxtTextMapFilter");
this.TxtTextMapFilter.Name = "TxtTextMapFilter";
this.TxtTextMapFilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TxtTextMapFilter_KeyDown);
//
// BtnSelectRecoursePath
//
resources.ApplyResources(this.BtnSelectRecoursePath, "BtnSelectRecoursePath");
this.BtnSelectRecoursePath.Name = "BtnSelectRecoursePath";
this.BtnSelectRecoursePath.UseVisualStyleBackColor = true;
this.BtnSelectRecoursePath.Click += new System.EventHandler(this.BtnSelectRecoursePath_Click);
//
// CmbLanguage
//
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
this.CmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CmbLanguage.FormattingEnabled = true;
this.CmbLanguage.Name = "CmbLanguage";
this.CmbLanguage.SelectedIndexChanged += new System.EventHandler(this.CmbLanguage_SelectedIndexChanged);
//
// LblLanguage
//
resources.ApplyResources(this.LblLanguage, "LblLanguage");
this.LblLanguage.Name = "LblLanguage";
//
// ChkTopMost
//
resources.ApplyResources(this.ChkTopMost, "ChkTopMost");
this.ChkTopMost.Name = "ChkTopMost";
this.ChkTopMost.UseVisualStyleBackColor = true;
this.ChkTopMost.CheckedChanged += new System.EventHandler(this.ChkTopMost_CheckedChanged);
//
// LblResourcesPath
//
resources.ApplyResources(this.LblResourcesPath, "LblResourcesPath");
this.LblResourcesPath.Name = "LblResourcesPath";
//
// BtnSearch
//
resources.ApplyResources(this.BtnSearch, "BtnSearch");
this.BtnSearch.Name = "BtnSearch";
this.BtnSearch.UseVisualStyleBackColor = true;
this.BtnSearch.Click += new System.EventHandler(this.BtnSearch_Click);
//
// DGVTextMap
//
this.DGVTextMap.AllowUserToAddRows = false;
this.DGVTextMap.AllowUserToDeleteRows = false;
this.DGVTextMap.AllowUserToResizeRows = false;
resources.ApplyResources(this.DGVTextMap, "DGVTextMap");
this.DGVTextMap.BackgroundColor = System.Drawing.Color.White;
this.DGVTextMap.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGVTextMap.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ColumnHash,
this.ColumnID,
this.ColumnText});
this.DGVTextMap.Name = "DGVTextMap";
this.DGVTextMap.ReadOnly = true;
this.DGVTextMap.RowTemplate.Height = 23;
//
// ColumnHash
//
resources.ApplyResources(this.ColumnHash, "ColumnHash");
this.ColumnHash.Name = "ColumnHash";
this.ColumnHash.ReadOnly = true;
//
// ColumnID
//
resources.ApplyResources(this.ColumnID, "ColumnID");
this.ColumnID.Name = "ColumnID";
this.ColumnID.ReadOnly = true;
//
// ColumnText
//
resources.ApplyResources(this.ColumnText, "ColumnText");
this.ColumnText.Name = "ColumnText";
this.ColumnText.ReadOnly = true;
//
// FormTextMapBrowser
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.DGVTextMap);
this.Controls.Add(this.BtnSearch);
this.Controls.Add(this.ChkTopMost);
this.Controls.Add(this.LblLanguage);
this.Controls.Add(this.CmbLanguage);
this.Controls.Add(this.LblResourcesPath);
this.Controls.Add(this.BtnSelectRecoursePath);
this.Controls.Add(this.TxtTextMapFilter);
this.Name = "FormTextMapBrowser";
this.Load += new System.EventHandler(this.FormTextMapBrowser_Load);
((System.ComponentModel.ISupportInitialize)(this.DGVTextMap)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox TxtTextMapFilter;
private System.Windows.Forms.Button BtnSelectRecoursePath;
private System.Windows.Forms.ComboBox CmbLanguage;
private System.Windows.Forms.Label LblLanguage;
private System.Windows.Forms.CheckBox ChkTopMost;
private System.Windows.Forms.Label LblResourcesPath;
private System.Windows.Forms.Button BtnSearch;
private System.Windows.Forms.DataGridView DGVTextMap;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnHash;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnID;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnText;
}
}

View File

@@ -0,0 +1,201 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using GrasscutterTools.Game;
using GrasscutterTools.Properties;
namespace GrasscutterTools
{
public partial class FormTextMapBrowser : Form
{
public FormTextMapBrowser()
{
InitializeComponent();
Icon = Resources.IconGrasscutter;
}
private void FormTextMapBrowser_Load(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(Settings.Default.ResourcesDirPath))
{
LoadResources(Settings.Default.ResourcesDirPath);
}
}
private TextMapData data;
private void LoadResources(string resourcesDirPath)
{
try
{
Cursor = Cursors.WaitCursor;
Application.DoEvents();
data = new TextMapData(resourcesDirPath);
LblResourcesPath.Text = resourcesDirPath;
if (Settings.Default.ResourcesDirPath != resourcesDirPath)
{
Settings.Default.ResourcesDirPath = resourcesDirPath;
Settings.Default.Save();
}
CmbLanguage.Items.Clear();
CmbLanguage.Items.AddRange(data.TextMapFiles);
if (!string.IsNullOrEmpty(Settings.Default.TextMapFileName))
{
var i = CmbLanguage.Items.IndexOf(Settings.Default.TextMapFileName);
if (i != -1)
CmbLanguage.SelectedIndex = i;
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
Cursor = Cursors.Default;
}
}
private void BtnSelectRecoursePath_Click(object sender, EventArgs e)
{
var dir = new FolderBrowserDialog()
{
ShowNewFolderButton = false,
Description = "./Gasscutter/resources",
};
if (dir.ShowDialog() == DialogResult.OK)
{
LoadResources(dir.SelectedPath);
}
}
private void CmbLanguage_SelectedIndexChanged(object sender, EventArgs e)
{
if (CmbLanguage.SelectedIndex == -1 || data == null)
return;
try
{
Cursor = Cursors.WaitCursor;
Application.DoEvents();
data.LoadTextMap(data.TextMapFilePaths[CmbLanguage.SelectedIndex]);
GenLines();
Settings.Default.TextMapFileName = CmbLanguage.Text;
Settings.Default.Save();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
Cursor = Cursors.Default;
}
}
private List<ListViewItem> Items;
private void GenLines()
{
List<ListViewItem> items = new List<ListViewItem>(data.TextMap.Count);
foreach (var kv in data.TextMap)
{
if (data.ManualTextMap.TryGetValue(kv.Key, out string id))
items.Add(new ListViewItem(new string[] { kv.Key, id, kv.Value }));
else
items.Add(new ListViewItem(new string[] { kv.Key, "", kv.Value }));
}
Items = items;
}
private void ChkTopMost_CheckedChanged(object sender, EventArgs e)
{
TopMost = ChkTopMost.Checked;
}
private void BtnSearch_Click(object sender, EventArgs e)
{
if (Items == null)
{
MessageBox.Show("请先选择资源目录,并选择对应语言文件。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
var filter = TxtTextMapFilter.Text.Trim();
if (string.IsNullOrEmpty(filter))
return;
Regex r;
try
{
r = new Regex(filter, RegexOptions.IgnoreCase);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
try
{
Cursor = Cursors.WaitCursor;
Application.DoEvents();
var result = data.ManualTextMap.Where(kv => r.Match(kv.Value).Success)
.Select(kv => new { Hash = kv.Key, Id = kv.Value, Text = data.TextMap[kv.Key] })
.Concat(
data.TextMap.Where(kv => r.Match(kv.Key).Success || r.Match(kv.Value).Success)
.Select(kv => new
{
Hash = kv.Key,
Id = data.ManualTextMap.TryGetValue(kv.Key, out string id) ? id : "",
Text = kv.Value
})
).ToList();
DGVTextMap.SuspendLayout();
DGVTextMap.Rows.Clear();
for (int i = 0; i < result.Count; i++)
{
DGVTextMap.Rows.Add();
DGVTextMap.Rows[i].Cells[0].Value = result[i].Hash;
DGVTextMap.Rows[i].Cells[1].Value = result[i].Id;
DGVTextMap.Rows[i].Cells[2].Value = result[i].Text;
}
DGVTextMap.ResumeLayout();
}
finally
{
Cursor = Cursors.Default;
}
}
private void TxtTextMapFilter_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
BtnSearch_Click(sender, e);
}
}
}

View File

@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="BtnSelectRecoursePath.Text" xml:space="preserve">
<value>Select</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="LblLanguage.Location" type="System.Drawing.Point, System.Drawing">
<value>477, 15</value>
</data>
<data name="LblLanguage.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 17</value>
</data>
<data name="LblLanguage.Text" xml:space="preserve">
<value>Language</value>
</data>
<data name="ChkTopMost.Size" type="System.Drawing.Size, System.Drawing">
<value>80, 21</value>
</data>
<data name="ChkTopMost.Text" xml:space="preserve">
<value>TopMost</value>
</data>
<data name="LblResourcesPath.Size" type="System.Drawing.Size, System.Drawing">
<value>294, 17</value>
</data>
<data name="LblResourcesPath.Text" xml:space="preserve">
<value>Please select a resource directory</value>
</data>
<data name="BtnSearch.Text" xml:space="preserve">
<value>Search</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Text Map Browser</value>
</data>
</root>

View File

@@ -0,0 +1,405 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="TxtTextMapFilter.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="TxtTextMapFilter.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 41</value>
</data>
<data name="TxtTextMapFilter.Size" type="System.Drawing.Size, System.Drawing">
<value>555, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="TxtTextMapFilter.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;TxtTextMapFilter.Name" xml:space="preserve">
<value>TxtTextMapFilter</value>
</data>
<data name="&gt;&gt;TxtTextMapFilter.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;TxtTextMapFilter.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;TxtTextMapFilter.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="BtnSelectRecoursePath.Location" type="System.Drawing.Point, System.Drawing">
<value>96, 12</value>
</data>
<data name="BtnSelectRecoursePath.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="BtnSelectRecoursePath.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="BtnSelectRecoursePath.Text" xml:space="preserve">
<value>浏览</value>
</data>
<data name="&gt;&gt;BtnSelectRecoursePath.Name" xml:space="preserve">
<value>BtnSelectRecoursePath</value>
</data>
<data name="&gt;&gt;BtnSelectRecoursePath.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BtnSelectRecoursePath.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;BtnSelectRecoursePath.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="CmbLanguage.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="CmbLanguage.Location" type="System.Drawing.Point, System.Drawing">
<value>548, 12</value>
</data>
<data name="CmbLanguage.Size" type="System.Drawing.Size, System.Drawing">
<value>100, 25</value>
</data>
<data name="CmbLanguage.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;CmbLanguage.Name" xml:space="preserve">
<value>CmbLanguage</value>
</data>
<data name="&gt;&gt;CmbLanguage.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;CmbLanguage.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;CmbLanguage.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="LblLanguage.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="LblLanguage.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="LblLanguage.Location" type="System.Drawing.Point, System.Drawing">
<value>510, 15</value>
</data>
<data name="LblLanguage.Size" type="System.Drawing.Size, System.Drawing">
<value>32, 17</value>
</data>
<data name="LblLanguage.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="LblLanguage.Text" xml:space="preserve">
<value>语言</value>
</data>
<data name="&gt;&gt;LblLanguage.Name" xml:space="preserve">
<value>LblLanguage</value>
</data>
<data name="&gt;&gt;LblLanguage.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;LblLanguage.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;LblLanguage.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="ChkTopMost.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="ChkTopMost.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 14</value>
</data>
<data name="ChkTopMost.Size" type="System.Drawing.Size, System.Drawing">
<value>51, 21</value>
</data>
<data name="ChkTopMost.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="ChkTopMost.Text" xml:space="preserve">
<value>置顶</value>
</data>
<data name="&gt;&gt;ChkTopMost.Name" xml:space="preserve">
<value>ChkTopMost</value>
</data>
<data name="&gt;&gt;ChkTopMost.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ChkTopMost.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;ChkTopMost.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="LblResourcesPath.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="LblResourcesPath.Location" type="System.Drawing.Point, System.Drawing">
<value>177, 15</value>
</data>
<data name="LblResourcesPath.Size" type="System.Drawing.Size, System.Drawing">
<value>327, 17</value>
</data>
<data name="LblResourcesPath.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="LblResourcesPath.Text" xml:space="preserve">
<value>请选择Resources路径</value>
</data>
<data name="&gt;&gt;LblResourcesPath.Name" xml:space="preserve">
<value>LblResourcesPath</value>
</data>
<data name="&gt;&gt;LblResourcesPath.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;LblResourcesPath.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;LblResourcesPath.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="BtnSearch.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="BtnSearch.Location" type="System.Drawing.Point, System.Drawing">
<value>573, 41</value>
</data>
<data name="BtnSearch.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="BtnSearch.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="BtnSearch.Text" xml:space="preserve">
<value>搜索</value>
</data>
<data name="&gt;&gt;BtnSearch.Name" xml:space="preserve">
<value>BtnSearch</value>
</data>
<data name="&gt;&gt;BtnSearch.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BtnSearch.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;BtnSearch.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="DGVTextMap.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<metadata name="ColumnHash.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="ColumnHash.HeaderText" xml:space="preserve">
<value>Hash</value>
</data>
<data name="ColumnHash.Width" type="System.Int32, mscorlib">
<value>80</value>
</data>
<metadata name="ColumnID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="ColumnID.HeaderText" xml:space="preserve">
<value>ID</value>
</data>
<data name="ColumnID.Width" type="System.Int32, mscorlib">
<value>240</value>
</data>
<metadata name="ColumnText.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="ColumnText.HeaderText" xml:space="preserve">
<value>Text</value>
</data>
<data name="ColumnText.Width" type="System.Int32, mscorlib">
<value>250</value>
</data>
<data name="DGVTextMap.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 70</value>
</data>
<data name="DGVTextMap.Size" type="System.Drawing.Size, System.Drawing">
<value>636, 379</value>
</data>
<data name="DGVTextMap.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="&gt;&gt;DGVTextMap.Name" xml:space="preserve">
<value>DGVTextMap</value>
</data>
<data name="&gt;&gt;DGVTextMap.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;DGVTextMap.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;DGVTextMap.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>7, 17</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>660, 461</value>
</data>
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 9pt</value>
</data>
<data name="$this.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>4, 4, 4, 4</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>600, 400</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>文本映射表浏览器</value>
</data>
<data name="&gt;&gt;ColumnHash.Name" xml:space="preserve">
<value>ColumnHash</value>
</data>
<data name="&gt;&gt;ColumnHash.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ColumnID.Name" xml:space="preserve">
<value>ColumnID</value>
</data>
<data name="&gt;&gt;ColumnID.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ColumnText.Name" xml:space="preserve">
<value>ColumnText</value>
</data>
<data name="&gt;&gt;ColumnText.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>FormTextMapBrowser</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@@ -1,46 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrasscutterTools.Game
{
internal enum ClimateType
{
/// <summary>
/// 无
/// </summary>
None,
/// <summary>
/// 晴天
/// </summary>
Sunny,
/// <summary>
/// 多云
/// </summary>
Cloudy,
/// <summary>
/// 雨
/// </summary>
Rain,
/// <summary>
/// 雷暴
/// </summary>
Thunderstorm,
/// <summary>
/// 雪
/// </summary>
Snow,
/// <summary>
/// 雾
/// </summary>
Mist
}
}

View File

@@ -1,13 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
namespace GrasscutterTools.Game.Gacha
{
public enum BannerType
{
STANDARD, EVENT, WEAPON
}
}
}

View File

@@ -1,4 +1,22 @@
using System.ComponentModel;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System.ComponentModel;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
@@ -117,6 +135,5 @@ namespace GrasscutterTools.Game.Gacha
/// </summary>
[JsonProperty("hardPity", DefaultValueHandling = DefaultValueHandling.Ignore), DefaultValue(90)]
public int HardPity { get; set; } = 90;
}
}

View File

@@ -1,15 +1,33 @@
namespace GrasscutterTools.Game
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
namespace GrasscutterTools.Game
{
public class GameCommand
{
public GameCommand(string name, string command)
{
Name=name;
Command=command;
Name = name;
Command = command;
}
public string Name { get; set; }
public string Command { get; set; }
}
}
}

View File

@@ -1,4 +1,22 @@
using GrasscutterTools.Properties;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using GrasscutterTools.Properties;
namespace GrasscutterTools.Game
{
@@ -20,6 +38,8 @@ namespace GrasscutterTools.Game
Weapons = new ItemMap(Resources.Weapon);
WeaponColors = new ItemMap(Resources.WeaponColor);
Ornaments = new ItemMap(Resources.Ornament);
GachaBannerPrefabs = new ItemMap(Resources.GachaBennerPrefab);
Quests = new ItemMap(Resources.Quest);
}
public static ItemMap Animals { get; private set; }
@@ -50,5 +70,8 @@ namespace GrasscutterTools.Game
public static ItemMap Ornaments { get; private set; }
public static ItemMap GachaBannerPrefabs { get; private set; }
public static ItemMap Quests { get; private set; }
}
}

View File

@@ -1,4 +1,22 @@
using System.Collections.Generic;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System.Collections.Generic;
namespace GrasscutterTools.Game
{
@@ -19,7 +37,7 @@ namespace GrasscutterTools.Game
var si = line.IndexOf(':');
if (si > 0 && int.TryParse(line.Substring(0, si).Trim(), out int id))
{
var name = line.Substring(si+1).Trim();
var name = line.Substring(si + 1).Trim();
if (!string.IsNullOrEmpty(name))
{
//IdMap[id] = name;
@@ -41,17 +59,16 @@ namespace GrasscutterTools.Game
//List<int> IdList;
//List<string> NameList;
public int Count => Ids.Length;
//public string this[int id] => IdMap[id];
//public int this[string name] => NameMap[name];
public int[] Ids { get; }
public string[] Names { get; }
public string[] Lines { get; }
}
}
}

View File

@@ -1,4 +1,26 @@
using System.Collections.Generic;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System.Text;
using GrasscutterTools.Properties;
using Newtonsoft.Json;
namespace GrasscutterTools.Game
{
@@ -8,9 +30,9 @@ namespace GrasscutterTools.Game
{
public Stat(string name, string argName, bool percent, string tip = "")
{
Name=name;
ArgName=argName;
Percent=percent;
Name = name;
ArgName = argName;
Percent = percent;
Tip = tip;
}
@@ -35,45 +57,51 @@ namespace GrasscutterTools.Game
public string Tip { get; set; }
}
public static List<Stat> Stats { get; set; }
public static Stat[] Stats { get; private set; }
static SetStatsCommand()
public static void InitStats()
{
Stats = new List<Stat>
{
new Stat("最大生命值", "maxhp", false),
new Stat("当前生命值", "hp", false),
new Stat("当前攻击力", "atk", false),
new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
new Stat("防御力", "def", false),
new Stat("元素精通", "em", false),
new Stat("元素充能效率", "er", true),
new Stat("暴击率", "crate", true),
new Stat("暴击伤害", "cdmg", true),
new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害加成", "eanemo", true),
new Stat("冰元素伤害加成", "ecryo", true),
new Stat("草元素伤害加成", "edendro", true),
new Stat("雷元素伤害加成", "eelectro", true),
new Stat("土元素伤害加成", "egeo", true),
new Stat("水元素伤害加成", "ehydro", true),
new Stat("火元素伤害加成", "epyro", true),
new Stat("物理伤害加成", "ephys", true),
new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
new Stat("风元素伤害减免", "resanemo", true),
new Stat("冰元素伤害减免", "rescryo", true),
new Stat("草元素伤害减免", "resdendro", true),
new Stat("雷元素伤害减免", "reselectro", true),
new Stat("土元素伤害减免", "resgeo", true),
new Stat("水元素伤害减免", "reshydro", true),
new Stat("火元素伤害减免", "respyro", true),
new Stat("物理伤害减免", "resphys", true),
new Stat("冷却缩减", "cdr", true),
new Stat("治疗加成", "heal", true),
new Stat("受治疗加成", "heali", true),
new Stat("护盾强效","shield", true),
new Stat("忽略防御", "defi", true),
};
var json = Encoding.UTF8.GetString(Resources.AvatarStats);
Stats = JsonConvert.DeserializeObject<Stat[]>(json);
}
//static SetStatsCommand()
//{
// Stats = new List<Stat>
// {
// new Stat("最大生命值", "maxhp", false),
// new Stat("当前生命值", "hp", false),
// new Stat("当前攻击力", "atk", false),
// new Stat("基础攻击力", "atkb", false, "这似乎不会重新计算攻击力可能只对buff类有效。"),
// new Stat("防御力", "def", false),
// new Stat("元素精通", "em", false),
// new Stat("元素充能效率", "er", true),
// new Stat("暴击率", "crate", true),
// new Stat("暴击伤害", "cdmg", true),
// new Stat("伤害加成", "dmg", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害加成", "eanemo", true),
// new Stat("冰元素伤害加成", "ecryo", true),
// new Stat("草元素伤害加成", "edendro", true),
// new Stat("雷元素伤害加成", "eelectro", true),
// new Stat("土元素伤害加成", "egeo", true),
// new Stat("水元素伤害加成", "ehydro", true),
// new Stat("火元素伤害加成", "epyro", true),
// new Stat("物理伤害加成", "ephys", true),
// new Stat("伤害减免", "resall", true, "这似乎在攻击后被重置"),
// new Stat("风元素伤害减免", "resanemo", true),
// new Stat("冰元素伤害减免", "rescryo", true),
// new Stat("草元素伤害减免", "resdendro", true),
// new Stat("雷元素伤害减免", "reselectro", true),
// new Stat("土元素伤害减免", "resgeo", true),
// new Stat("水元素伤害减免", "reshydro", true),
// new Stat("火元素伤害减免", "respyro", true),
// new Stat("物理伤害减免", "resphys", true),
// new Stat("冷却缩减", "cdr", true),
// new Stat("治疗加成", "heal", true),
// new Stat("受治疗加成", "heali", true),
// new Stat("护盾强效","shield", true),
// new Stat("忽略防御", "defi", true),
// };
//}
}
}

View File

@@ -0,0 +1,84 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
namespace GrasscutterTools.Game
{
public class TextMapData
{
public TextMapData(string resourcesDirPath)
{
LoadManualTextMap(Path.Combine(resourcesDirPath, "ExcelBinOutput", "ManualTextMapConfigData.json"));
LoadTextMaps(Path.Combine(resourcesDirPath, "TextMap"));
}
public Dictionary<string, string> ManualTextMap;
public Dictionary<string, string> TextMap;
public string[] TextMapFilePaths;
public string[] TextMapFiles;
private void LoadManualTextMap(string manualTextMapPath)
{
using (var fs = File.OpenRead(manualTextMapPath))
using (var sr = new StreamReader(fs))
using (var reader = new JsonTextReader(sr))
{
ManualTextMap = new Dictionary<string, string>();
while (reader.Read())
{
if (reader.TokenType == JsonToken.PropertyName && (string)reader.Value == "TextMapId")
{
var textMapId = reader.ReadAsString();
reader.Read();
ManualTextMap.Add(reader.ReadAsString(), textMapId);
}
}
}
}
private void LoadTextMaps(string textMapDirPath)
{
TextMapFilePaths = Directory.GetFiles(textMapDirPath, "TextMap*.json");
if (TextMapFilePaths.Length == 0)
throw new FileNotFoundException("TextMap*.json Not Found");
TextMapFiles = TextMapFilePaths.Select(n => Path.GetFileNameWithoutExtension(n)).ToArray();
}
public void LoadTextMap(string textMapPath)
{
using (var fs = File.OpenRead(textMapPath))
using (var sr = new StreamReader(fs))
using (var reader = new JsonTextReader(sr))
{
TextMap = new Dictionary<string, string>();
while (reader.Read())
{
if (reader.TokenType == JsonToken.PropertyName)
{
TextMap.Add((string)reader.Value, reader.ReadAsString());
}
}
}
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using GrasscutterTools.Utils;
namespace GrasscutterTools.Github
{
public static class ReleaseAPI
{
public static async Task<ReleaseInfo> GetReleasesLastest(string username, string repo)
{
var headerValue = new ProductInfoHeaderValue("GrasscutterTools", "1");
try
{
HttpHelper.HttpClient.DefaultRequestHeaders.UserAgent.Add(headerValue);
var r = await HttpHelper.GetAsync<dynamic>($"https://api.github.com/repos/{username}/{repo}/releases/latest");
return new ReleaseInfo
{
TagName = r.tag_name,
Url = r.html_url,
CraeteTime = r.created_at,
Name = r.name,
Body = r.body
};
}
finally
{
HttpHelper.HttpClient.DefaultRequestHeaders.UserAgent.Remove(headerValue);
}
}
public class ReleaseInfo
{
public string TagName { get; set; }
public string Url { get; set; }
public DateTimeOffset CraeteTime { get; set; }
public string Name { get; set; }
public string Body { get; set; }
}
}
}

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props" Condition="Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" />
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@@ -39,6 +40,9 @@
<PropertyGroup>
<ApplicationIcon>Resources\IconGrasscutter.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="Costura, Version=5.7.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll</HintPath>
@@ -191,6 +195,8 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="DispatchServer\DispatchServerAPI.cs" />
<Compile Include="DispatchServer\Model\ServerStatus.cs" />
<Compile Include="FormGachaBannerEditor.cs">
<SubType>Form</SubType>
</Compile>
@@ -203,28 +209,44 @@
<Compile Include="FormMain.Designer.cs">
<DependentUpon>FormMain.cs</DependentUpon>
</Compile>
<Compile Include="Game\ClimateType.cs" />
<Compile Include="FormTextMapBrowser.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FormTextMapBrowser.Designer.cs">
<DependentUpon>FormTextMapBrowser.cs</DependentUpon>
</Compile>
<Compile Include="Game\GameCommand.cs" />
<Compile Include="Game\Gacha\BannerType.cs" />
<Compile Include="Game\Gacha\GachaBanner.cs" />
<Compile Include="Game\GameData.cs" />
<Compile Include="Game\ItemMap.cs" />
<Compile Include="Game\SetStatsCommand.cs" />
<Compile Include="MojoConsole\MojoConsole.cs" />
<Compile Include="Game\TextMapData.cs" />
<Compile Include="Github\ReleaseAPI.cs" />
<Compile Include="OpenCommand\OpenCommandAPI.cs" />
<Compile Include="MultiLanguage.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FormGachaBannerEditor.en.resx">
<Compile Include="Utils\HttpHelper.cs" />
<EmbeddedResource Include="FormGachaBannerEditor.en-us.resx">
<DependentUpon>FormGachaBannerEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FormGachaBannerEditor.resx">
<DependentUpon>FormGachaBannerEditor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FormMain.en.resx">
<EmbeddedResource Include="FormMain.en-us.resx">
<DependentUpon>FormMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="FormTextMapBrowser.en-US.resx">
<DependentUpon>FormTextMapBrowser.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FormTextMapBrowser.resx">
<DependentUpon>FormTextMapBrowser.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.en-us.resx">
<Generator>ResXFileCodeGenerator</Generator>
@@ -247,6 +269,7 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -256,6 +279,8 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Resources\en-us\AvatarStats.json" />
<None Include="Resources\zh-cn\AvatarStats.json" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
@@ -269,15 +294,18 @@
<Content Include="Resources\en-us\ArtifactSubAttribution.txt" />
<Content Include="Resources\en-us\Avatar.txt" />
<Content Include="Resources\en-us\CustomCommands.txt" />
<Content Include="Resources\en-us\GachaBennerPrefab.txt" />
<Content Include="Resources\en-us\Item.txt" />
<Content Include="Resources\en-us\Monster.txt" />
<Content Include="Resources\en-us\NPC.txt" />
<Content Include="Resources\en-us\Ornament.txt" />
<Content Include="Resources\en-us\Quest.txt" />
<Content Include="Resources\en-us\Scene.txt" />
<Content Include="Resources\en-us\Weapon.txt" />
<Content Include="Resources\IconGrasscutter.ico" />
<Content Include="Resources\IconGrasscutter.png" />
<None Include="Resources\ImgSupport.png" />
<Content Include="Resources\ImgHome.jpg" />
<Content Include="Resources\Permissions.txt" />
<Content Include="Resources\WeaponColor.txt" />
<Content Include="Resources\zh-cn\Animal.txt" />
@@ -288,23 +316,39 @@
<Content Include="Resources\zh-cn\Avatar.txt" />
<Content Include="Resources\zh-cn\CustomCommands.txt" />
<Content Include="Resources\AvatarColor.txt" />
<Content Include="Resources\zh-cn\GachaBennerPrefab.txt" />
<Content Include="Resources\zh-cn\Item.txt" />
<Content Include="Resources\zh-cn\Monster.txt" />
<Content Include="Resources\zh-cn\NPC.txt" />
<Content Include="Resources\zh-cn\Ornament.txt" />
<Content Include="Resources\zh-cn\Quest.txt" />
<Content Include="Resources\zh-cn\Scene.txt" />
<Content Include="Resources\zh-cn\Weapon.txt" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.8 %28x86 和 x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Fody.6.5.5\build\Fody.targets" Condition="Exists('..\packages\Fody.6.5.5\build\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Fody.6.5.5\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.5.5\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
<Error Condition="!Exists('..\packages\Fody.6.6.1\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.6.1\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props'))" />
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
</Target>
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
<Import Project="..\packages\Fody.6.6.1\build\Fody.targets" Condition="Exists('..\packages\Fody.6.6.1\build\Fody.targets')" />
<Import Project="..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
</Project>

View File

@@ -1,89 +0,0 @@
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace GrasscutterTools.MojoConsole
{
internal class MojoConsole
{
static readonly HttpClient httpClient = new HttpClient();
public string Host { get; set; }
private string API => Host + "/mojoplus/api";
public string Key { get; set; }
public async Task<string> Invoke(string payload)
{
var response = await DoRequest(new Request(Key, "invoke", payload));
if (response.Code == 500)
throw new InvokeException(response.Payload);
return response.Payload;
}
public async Task<bool> Ping()
{
try
{
var response = await DoRequest(new Request(Key, "ping"));
return response?.Code == 200;
}
catch (Exception)
{
return false;
}
}
private async Task<Response> DoRequest(Request request)
{
var content = new StringContent(JsonConvert.SerializeObject(request), Encoding.UTF8, "application/json");
var response = await httpClient.PostAsync(API, content);
var responseString = await response.Content.ReadAsStringAsync();
return JsonConvert.DeserializeObject<Response>(responseString);
}
public class Request
{
public Request(string k, string method, string payload = "")
{
K = k;
Method = method;
Payload = payload;
}
[JsonProperty("k")]
public string K { get; set; }
[JsonProperty("request")]
public string Method { get; set; }
[JsonProperty("payload")]
public string Payload { get; set; }
}
public class Response
{
[JsonProperty("message")]
public string Message { get; set; }
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("payload")]
public string Payload { get; set; }
}
internal class InvokeException : Exception
{
public InvokeException(string message) : base(message)
{
}
}
}
}

View File

@@ -1,11 +1,28 @@
using System;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Windows.Forms;
namespace GrasscutterTools
{
static class MultiLanguage
internal static class MultiLanguage
{
public static string DefaultLanguage = "zh-CN";
public static void SetDefaultLanguage(string lang)
@@ -16,7 +33,6 @@ namespace GrasscutterTools
Properties.Settings.Default.Save();
}
/// <summary>
/// 加载语言
/// </summary>
@@ -80,4 +96,4 @@ namespace GrasscutterTools
}
}
}
}
}

View File

@@ -0,0 +1,125 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Threading.Tasks;
using GrasscutterTools.Utils;
using Newtonsoft.Json;
namespace GrasscutterTools.OpenCommand
{
public class OpenCommandAPI
{
public OpenCommandAPI(string host, string token = "")
{
Host = host;
API = host + "/opencommand/api";
Token = token;
CanInvoke = !string.IsNullOrEmpty(token);
}
public string Host { get; }
private readonly string API;
public string Token { get; set; }
public bool CanInvoke { get; private set; }
public async Task<bool> Ping()
{
try
{
var response = await DoRequest("ping");
return response.RetCode == 200;
}
catch (Exception)
{
return false;
}
}
public async Task SendCode(int playerId)
{
var response = await DoRequest("sendCode", playerId);
Token = response.Data as string;
}
public async Task Verify(int code)
{
await DoRequest("verify", code);
CanInvoke = true;
}
public async Task<string> Invoke(string command)
{
var response = await DoRequest("command", command);
return response.Data as string;
}
private async Task<Response> DoRequest(string action, object data = null)
{
var response = await HttpHelper.PostAsync<Response>(API, new Request(Token, action, data));
if (response.RetCode == 401)
Token = "";
if (response.RetCode != 200)
throw new InvokeException(response.Message);
return response;
}
public class Request
{
public Request(string token, string action, object data)
{
Token = token;
Action = action;
Data = data;
}
[JsonProperty("token")]
public string Token { get; set; }
[JsonProperty("action")]
public string Action { get; set; }
[JsonProperty("data")]
public object Data { get; set; }
}
public class Response
{
[JsonProperty("retcode")]
public int RetCode { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
[JsonProperty("data")]
public object Data { get; set; }
}
internal class InvokeException : Exception
{
public InvokeException(string message) : base(message)
{
}
}
}
}

View File

@@ -1,22 +1,92 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using GrasscutterTools.Properties;
namespace GrasscutterTools
{
static class Program
internal static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//设置应用程序处理异常方式ThreadException处理
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
//处理线程异常
Application.ThreadException += Application_ThreadException;
//处理非UI线程异常
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
Application.Run(new FormMain());
}
#region - -
private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
{
string str = GetExceptionMsg(e.Exception, e.ToString());
MessageBox.Show(str, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
string str = GetExceptionMsg(e.ExceptionObject as Exception, e.ToString());
MessageBox.Show(str, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
/// <summary>
/// 生成自定义异常消息
/// </summary>
/// <param name="ex">异常对象</param>
/// <param name="backStr">备用异常消息当ex为null时有效</param>
/// <returns>异常字符串文本</returns>
private static string GetExceptionMsg(Exception ex, string backStr)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("****************************异常文本****************************");
sb.AppendLine("【出现时间】:" + DateTime.Now.ToString());
if (ex != null)
{
sb.AppendLine("【异常类型】:" + ex.GetType().Name);
sb.AppendLine("【异常信息】:" + ex.Message);
#if DEBUG
sb.AppendLine("【堆栈调用】:" + ex.StackTrace);
#endif
}
else
{
sb.AppendLine("【未处理异常】:" + backStr);
}
sb.AppendLine("***************************************************************");
return sb.ToString();
}
#endregion - -
}
}
}

View File

@@ -21,7 +21,7 @@ using System.Runtime.InteropServices;
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("b26333ff-5560-4cba-af3c-4b80db6f8025")]
// 程序集的版本信息由下列四个值组成:
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyVersion("1.3.1")]
[assembly: AssemblyFileVersion("1.0.0")]

View File

@@ -247,6 +247,15 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 空之杯,死之羽,理之冠,生之花,时之沙 的本地化字符串。
/// </summary>
internal static string ArtifactPartLabels {
get {
return ResourceManager.GetString("ArtifactPartLabels", resourceCulture);
}
}
/// <summary>
/// 查找类似 101021: 生命值+24
///101022: 生命值+30
@@ -283,6 +292,15 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 确认删除? 的本地化字符串。
/// </summary>
internal static string AskConfirmDeletion {
get {
return ResourceManager.GetString("AskConfirmDeletion", resourceCulture);
}
}
/// <summary>
/// 查找类似 10000001: 凯特
///10000002: 神里绫华
@@ -375,9 +393,102 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] AvatarStats {
get {
object obj = ResourceManager.GetObject("AvatarStats", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找类似 浏览器打开失败,你可以通过以下链接手动访问: 的本地化字符串。
/// </summary>
internal static string BrowserOpenFailedTip {
get {
return ResourceManager.GetString("BrowserOpenFailedTip", resourceCulture);
}
}
/// <summary>
/// 查找类似 检查到新版本 的本地化字符串。
/// </summary>
internal static string CheckToNewVersion {
get {
return ResourceManager.GetString("CheckToNewVersion", resourceCulture);
}
}
/// <summary>
/// 查找类似 无,晴天,多云,雨天,雷暴,雪天,雾天 的本地化字符串。
/// </summary>
internal static string ClimateType {
get {
return ResourceManager.GetString("ClimateType", resourceCulture);
}
}
/// <summary>
/// 查找类似 {0} 秒后可重发 的本地化字符串。
/// </summary>
internal static string CodeResendTip {
get {
return ResourceManager.GetString("CodeResendTip", resourceCulture);
}
}
/// <summary>
/// 查找类似 发送中... 的本地化字符串。
/// </summary>
internal static string CodeSending {
get {
return ResourceManager.GetString("CodeSending", resourceCulture);
}
}
/// <summary>
/// 查找类似 命令内容不能为空 的本地化字符串。
/// </summary>
internal static string CommandContentCannotBeEmpty {
get {
return ResourceManager.GetString("CommandContentCannotBeEmpty", resourceCulture);
}
}
/// <summary>
/// 查找类似 未找到该命令 的本地化字符串。
/// </summary>
internal static string CommandNotFound {
get {
return ResourceManager.GetString("CommandNotFound", resourceCulture);
}
}
/// <summary>
/// 查找类似 命令标签不能为空 的本地化字符串。
/// </summary>
internal static string CommandTagCannotBeEmpty {
get {
return ResourceManager.GetString("CommandTagCannotBeEmpty", resourceCulture);
}
}
/// <summary>
/// 查找类似 现在你可以远程执行命令了哦! 的本地化字符串。
/// </summary>
internal static string ConnectedTip {
get {
return ResourceManager.GetString("ConnectedTip", resourceCulture);
}
}
/// <summary>
/// 查找类似 无敌
////godmode
///无限耐力
////nostamina
///升到60级
////give 102 1880200
///奶
@@ -419,11 +530,11 @@ namespace GrasscutterTools.Properties {
///私信
////say &lt;player&gt; &lt;message&gt;
///进来吧你
////coop &lt;playerId&gt; &lt;target playerId&gt;
////coop @targetId
///自杀
////killcharacter
///暗杀
/// [字符串的其余部分被截断]&quot;; 的本地化字符串。
//// [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string CustomCommands {
get {
@@ -431,6 +542,67 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 错误 的本地化字符串。
/// </summary>
internal static string Error {
get {
return ResourceManager.GetString("Error", resourceCulture);
}
}
/// <summary>
/// 查找类似 007: 初行者推荐祈愿
///008: 奔行世间
///009: 杯装之诗
///010: 黎明巡礼
///011: 南风之眷
///012: 靖妖傩舞
///013: 神铸赋形
///015: 闪焰的驻足
///016: 初行者推荐祈愿
///017: 奔行世间
///018: 闪焰的驻足
///019: 杯装之诗
///020: 神铸赋形
///021: 神铸赋形
///022: 奔行世间
///023: 暂别冬都
///024: 陵薮市朝
///027: 深秘之息
///028: 浮生孰来
///031: 烟火之邀
///032: 鱼龙灯昼
///033: 赤团开时
///036: 杯装之诗
///037: 暂别冬都
///040: 陵薮市朝
///041: 浪涌之瞬
///045: 叶落风随
///048: 白鹭之庭
///049: 焰色天河
///052: 影寂天下人
///053: 浮岳虹珠
///061: 鬼门斗宴
///065: 出尘入世
///071: 华紫樱绯
///076: 苍流踏花 的本地化字符串。
/// </summary>
internal static string GachaBennerPrefab {
get {
return ResourceManager.GetString("GachaBennerPrefab", resourceCulture);
}
}
/// <summary>
/// 查找类似 帮助 的本地化字符串。
/// </summary>
internal static string Help {
get {
return ResourceManager.GetString("Help", resourceCulture);
}
}
/// <summary>
/// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
/// </summary>
@@ -441,6 +613,16 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap ImgHome {
get {
object obj = ResourceManager.GetObject("ImgHome", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
@@ -553,6 +735,20 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 版本名:{0}
///更新时间:{1}
///更新内容:
///{2}
///--------------------------------------------
///是否查看更新?选择否将不再提醒该版本。 的本地化字符串。
/// </summary>
internal static string NewVersionInfo {
get {
return ResourceManager.GetString("NewVersionInfo", resourceCulture);
}
}
/// <summary>
/// 查找类似 1: (test)蒙德城主$UNRELEASED
///2: (test)哥哥$UNRELEASED
@@ -582,6 +778,15 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 1. 填写正确的UID\n2. 向玩家发送验证码\n3. 输入正确的验证码\n4. 连接\n5. 享受 的本地化字符串。
/// </summary>
internal static string OpenCommandHelp {
get {
return ResourceManager.GetString("OpenCommandHelp", resourceCulture);
}
}
/// <summary>
/// 查找类似 369101: 翠目猫
///369102: 北地犬
@@ -632,6 +837,15 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 要设置的权限不能为空! 的本地化字符串。
/// </summary>
internal static string PermissionCannotBeEmpty {
get {
return ResourceManager.GetString("PermissionCannotBeEmpty", resourceCulture);
}
}
/// <summary>
/// 查找类似 *
///player.*
@@ -673,7 +887,64 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// <summary>
/// 查找类似 347: 阅读占坑$HIDDEN
///348: 猫尾酒馆留言板$HIDDEN
///349: 蒙德百货订货版$HIDDEN
///350: 捕风的异乡人$HIDDEN
///351: 流浪者的足迹
///362: 苹果教学$HIDDEN
///352: 鸟瞰风物
///353: 异常的权柄
///361: 风魔龙飞过$HIDDEN
///355: 林间相会
///354: 随风而来的骑士
///360: 与轻风同行
///356: 自由之都
///357: 龙灾
///358: 西风骑士团
///359: (test)蒙德与三地城$HIDDEN
///306: 昔日的风
///307: 骑士的现场教习
///308: 书页里的电火花
///309: (test)蒙德之围$HIDDEN
///310: 招募新伙伴
///311: (test)一阶段结束$HIDDEN
///312: (test)丽莎地城,丽莎书本奖励$HIDDEN
///363: (test)控制第一幕开始的隐藏任务$HIDDEN
///370: 阴影下的蒙德
///371: 不期而遇
///372: 那个绿色的家伙
///373: 听凭风引
///374: 温迪的计划
///375: 温迪的新计划
///376: 逃亡
///377: 幕后谈话
///20101: [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string Quest {
get {
return ResourceManager.GetString("Quest", resourceCulture);
}
}
/// <summary>
/// 查找类似 请先连接到支持[OpenCommand]的服务器 的本地化字符串。
/// </summary>
internal static string RequireOpenCommandTip {
get {
return ResourceManager.GetString("RequireOpenCommandTip", resourceCulture);
}
}
/// <summary>
/// 查找类似 1 : BigWorld_LevelStreaming
///2 : BigWorld_LevelStreaming
///3 : BigWorld_LevelStreaming
///4 : LostParadise_LevelStreaming
///5 : AbyssalPalace_LevelStreaming
///6 : TheChasm_LevelStreaming
///7 : MichiaeMatsuri_LevelStreaming
///20008: 深入狼之殿
///20008: 丘丘人大本营(test)
///20008: 丘丘人巢穴(test)
@@ -688,16 +959,7 @@ namespace GrasscutterTools.Properties {
///1019: 洞天云海地城玩法测试(test)
///1011: 角色战斗测试(test)
///50002: 低温关卡白盒(test)
///1001: 移动平台性能测试(test)
///50003: 战斗性能测试(test)
///50004: 电桩电源白盒(test)
///50027: 圣遗物新因子测试关卡3(test)
///50025: 圣遗物新因子测试关卡1(test)
///50026: 圣遗物新因子测试关卡2(test)
///1024: 黑夜循环地城(test)
///50009: 关卡玩法白盒CX(test)
///50010: 机关玩法白盒(test)
///50014: 怪物元素对抗地城(test)
///1001: 移动平台性能测试(test)
///50 [字符串的其余部分被截断]&quot;; 的本地化字符串。
/// </summary>
internal static string Scene {
@@ -705,6 +967,42 @@ namespace GrasscutterTools.Properties {
return ResourceManager.GetString("Scene", resourceCulture);
}
}
/// <summary>
/// 查找类似 加载设置时异常: 的本地化字符串。
/// </summary>
internal static string SettingLoadError {
get {
return ResourceManager.GetString("SettingLoadError", resourceCulture);
}
}
/// <summary>
/// 查找类似 保存设置时异常: 的本地化字符串。
/// </summary>
internal static string SettingSaveError {
get {
return ResourceManager.GetString("SettingSaveError", resourceCulture);
}
}
/// <summary>
/// 查找类似 提示 的本地化字符串。
/// </summary>
internal static string Tips {
get {
return ResourceManager.GetString("Tips", resourceCulture);
}
}
/// <summary>
/// 查找类似 用户名不能为空! 的本地化字符串。
/// </summary>
internal static string UsernameCannotBeEmpty {
get {
return ResourceManager.GetString("UsernameCannotBeEmpty", resourceCulture);
}
}
/// <summary>
/// 查找类似 11101: 无锋剑

View File

@@ -130,18 +130,63 @@
<data name="ArtifactMainAttribution" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\ArtifactMainAttribution.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="ArtifactPartLabels" xml:space="preserve">
<value>空之杯,死之羽,理之冠,生之花,时之沙</value>
</data>
<data name="ArtifactSubAttribution" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\ArtifactSubAttribution.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AskConfirmDeletion" xml:space="preserve">
<value>Are you sure you want to delete this command?</value>
</data>
<data name="Avatar" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Avatar.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AvatarColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarStats" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\AvatarStats.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="BrowserOpenFailedTip" xml:space="preserve">
<value>The browser failed to open. You can manually access the following address:</value>
</data>
<data name="CheckToNewVersion" xml:space="preserve">
<value>Check to new version</value>
</data>
<data name="ClimateType" xml:space="preserve">
<value>None,Sunny,Partly cloudy,Rain,Thunderstorm,Snow,Fog</value>
</data>
<data name="CodeResendTip" xml:space="preserve">
<value>Resend in {0} seconds</value>
</data>
<data name="CodeSending" xml:space="preserve">
<value>sending...</value>
</data>
<data name="CommandContentCannotBeEmpty" xml:space="preserve">
<value>Command cannot be empty</value>
</data>
<data name="CommandNotFound" xml:space="preserve">
<value>Command not found</value>
</data>
<data name="CommandTagCannotBeEmpty" xml:space="preserve">
<value>Command tag cannot be empty</value>
</data>
<data name="ConnectedTip" xml:space="preserve">
<value>Now you can execute commands remotely!</value>
</data>
<data name="CustomCommands" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\CustomCommands.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Error" xml:space="preserve">
<value>Error</value>
</data>
<data name="GachaBennerPrefab" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\GachaBennerPrefab.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Help" xml:space="preserve">
<value>Help</value>
</data>
<data name="IconGrasscutter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\IconGrasscutter.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -157,18 +202,50 @@
<data name="Monster" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Monster.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="NewVersionInfo" xml:space="preserve">
<value>Name : {0}
Update time : {1}
Update info :
{2}
-------------------------------------------
Do you want to check for updates? Selecting No will no longer remind you of this version.</value>
</data>
<data name="NPC" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\NPC.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="OpenCommandHelp" xml:space="preserve">
<value>1. Fill in the correct uid\n2. Send verification code to player\n3. Enter the correct verification code\n4. Connection\n5. Enjoy</value>
</data>
<data name="Ornament" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Ornament.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="PermissionCannotBeEmpty" xml:space="preserve">
<value>Permission cannot be empty!</value>
</data>
<data name="Permissions" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Permissions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Quest" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Quest.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="RequireOpenCommandTip" xml:space="preserve">
<value>Please connect to a server that supports [opencommand] first</value>
</data>
<data name="Scene" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Scene.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="SettingLoadError" xml:space="preserve">
<value>Settings load failed:</value>
</data>
<data name="SettingSaveError" xml:space="preserve">
<value>Settings save failed:</value>
</data>
<data name="Tips" xml:space="preserve">
<value>Tips</value>
</data>
<data name="UsernameCannotBeEmpty" xml:space="preserve">
<value>Username cannot be empty!</value>
</data>
<data name="Weapon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\Weapon.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>

View File

@@ -130,21 +130,69 @@
<data name="ArtifactMainAttribution" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\ArtifactMainAttribution.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="ArtifactPartLabels" xml:space="preserve">
<value>空之杯,死之羽,理之冠,生之花,时之沙</value>
</data>
<data name="ArtifactSubAttribution" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\ArtifactSubAttribution.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AskConfirmDeletion" xml:space="preserve">
<value>确认删除?</value>
</data>
<data name="Avatar" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Avatar.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AvatarColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="AvatarStats" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\AvatarStats.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="BrowserOpenFailedTip" xml:space="preserve">
<value>浏览器打开失败,你可以通过以下链接手动访问:</value>
</data>
<data name="CheckToNewVersion" xml:space="preserve">
<value>检查到新版本</value>
</data>
<data name="ClimateType" xml:space="preserve">
<value>无,晴天,多云,雨天,雷暴,雪天,雾天</value>
</data>
<data name="CodeResendTip" xml:space="preserve">
<value>{0} 秒后可重发</value>
</data>
<data name="CodeSending" xml:space="preserve">
<value>发送中...</value>
</data>
<data name="CommandContentCannotBeEmpty" xml:space="preserve">
<value>命令内容不能为空</value>
</data>
<data name="CommandNotFound" xml:space="preserve">
<value>未找到该命令</value>
</data>
<data name="CommandTagCannotBeEmpty" xml:space="preserve">
<value>命令标签不能为空</value>
</data>
<data name="ConnectedTip" xml:space="preserve">
<value>现在你可以远程执行命令了哦!</value>
</data>
<data name="CustomCommands" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\CustomCommands.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Error" xml:space="preserve">
<value>错误</value>
</data>
<data name="GachaBennerPrefab" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\GachaBennerPrefab.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Help" xml:space="preserve">
<value>帮助</value>
</data>
<data name="IconGrasscutter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\IconGrasscutter.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ImgHome" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ImgHome.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ImgIconGrasscutter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\IconGrasscutter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -157,18 +205,50 @@
<data name="Monster" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Monster.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="NewVersionInfo" xml:space="preserve">
<value>版本名:{0}
更新时间:{1}
更新内容:
{2}
--------------------------------------------
是否查看更新?选择否将不再提醒该版本。</value>
</data>
<data name="NPC" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\NPC.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="OpenCommandHelp" xml:space="preserve">
<value>1. 填写正确的UID\n2. 向玩家发送验证码\n3. 输入正确的验证码\n4. 连接\n5. 享受</value>
</data>
<data name="Ornament" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Ornament.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="PermissionCannotBeEmpty" xml:space="preserve">
<value>要设置的权限不能为空!</value>
</data>
<data name="Permissions" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Permissions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Quest" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Quest.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="RequireOpenCommandTip" xml:space="preserve">
<value>请先连接到支持[OpenCommand]的服务器</value>
</data>
<data name="Scene" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Scene.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="SettingLoadError" xml:space="preserve">
<value>加载设置时异常:</value>
</data>
<data name="SettingSaveError" xml:space="preserve">
<value>保存设置时异常:</value>
</data>
<data name="Tips" xml:space="preserve">
<value>提示</value>
</data>
<data name="UsernameCannotBeEmpty" xml:space="preserve">
<value>用户名不能为空!</value>
</data>
<data name="Weapon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\Weapon.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>

View File

@@ -58,5 +58,77 @@ namespace GrasscutterTools.Properties {
this["DefaultLanguage"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string ResourcesDirPath {
get {
return ((string)(this["ResourcesDirPath"]));
}
set {
this["ResourcesDirPath"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("TextMapCHS")]
public string TextMapFileName {
get {
return ((string)(this["TextMapFileName"]));
}
set {
this["TextMapFileName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("10001")]
public decimal RemoteUid {
get {
return ((decimal)(this["RemoteUid"]));
}
set {
this["RemoteUid"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("https://127.0.0.1")]
public string Host {
get {
return ((string)(this["Host"]));
}
set {
this["Host"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string CheckedLastVersion {
get {
return ((string)(this["CheckedLastVersion"]));
}
set {
this["CheckedLastVersion"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string TokenCache {
get {
return ((string)(this["TokenCache"]));
}
set {
this["TokenCache"] = value;
}
}
}
}

View File

@@ -11,5 +11,23 @@
<Setting Name="DefaultLanguage" Type="System.String" Scope="User">
<Value Profile="(Default)">zh-CN</Value>
</Setting>
<Setting Name="ResourcesDirPath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="TextMapFileName" Type="System.String" Scope="User">
<Value Profile="(Default)">TextMapCHS</Value>
</Setting>
<Setting Name="RemoteUid" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">10001</Value>
</Setting>
<Setting Name="Host" Type="System.String" Scope="User">
<Value Profile="(Default)">https://127.0.0.1</Value>
</Setting>
<Setting Name="CheckedLastVersion" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="TokenCache" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>

View File

@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果想要更改 Windows 用户帐户控制级别,请使用
以下节点之一替换 requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
如果你的应用程序需要此虚拟化来实现向后兼容性,则移除此
元素。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
Windows 版本的列表。取消评论适当的元素,
Windows 将自动选择最兼容的环境。 -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
<!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI无需
选择加入。选择加入此设置的 Windows 窗体应用程序(面向 .NET Framework 4.6)还应
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。
将应用程序设为感知长路径。请参阅 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

View File

@@ -1,224 +1,224 @@
28010101: 黄金蟹
28010102: 太阳蟹
28010103: 海蓝蟹
28010104: 将军蟹
28010105: 薄红蟹
28010106: 螃蟹
28020101: 雪狐
28020102: 红狐
28020103: 送礼雪狐
28020104: 送大礼雪狐
28020105: 雪狐
28020106: 红狐
28020201: 松鼠
28030101: 蓝翎鹭
28030102: 菫鹮
28030201: 茶羽鹰
28030202: 棕翎鹰
28030203: 石鸢
28030204: 白练鹰
28050101: 风晶蝶
28050102: 岩晶蝶
28050103: 冰晶蝶
28050104: 雷晶蝶
28050105: 珊瑚蝶
28050301: 吉光虫
28010201: 蓝角蜥
28010202: 红角蜥
28010203: 绿角蜥
28010204: 落日鳅鳅
28010205: 金鳅鳅
28010206: 晴天鳅鳅
28010207: 嗜髓蜥
28010301: 青蛙
28010302: 泥蛙
28010303: 蓝蛙
28010401: 藤纹陆鳗鳗
28010402: 深海鳗鳗
28010403: 赤鳍陆鳗鳗
28020301: 野林猪
28020302: 小野林猪
28020303: 雪猪
28020304: 「大雪猪王」
28020305: 冰冻雪猪
28020306: 雪猪
28020307: 野林猪
28020308: 冰冻雪猪
28020309: 「大雪猪王」
28030301: 白鸽
28030302: 璃冠鸽
28030303: 灰羽鸽
28030304: 赤胁鸽
28030305: 黑王鸽
28030306: 鸦
28030307: 白鸽
28030308: 璃冠鸽
28030309: 灰羽鸽
28030310: 赤胁鸽
28030311: 黑王鸽
28030401: 赤团雀
28030402: 金团雀
28030403: 雪团雀
28030404: 碧团雀
28030405: 金团雀
28030406: 赤团雀
28030407: 金团雀
28030408: 雪团雀
28030409: 碧团雀
28030501: 赤喙鸭
28030502: 翠冠鸭
28030503: 沉金鸭
28030504: 赤喙鸭
28040101: 黑背鲈鱼
28040102: 蓝鳍鲈鱼
28040103: 黄金鲈鱼
28040104: 黑背鲈鱼
28040105: 黑背鲈鱼
28040106: 蓝鳍鲈鱼
28040107: 黄金鲈鱼
28040108: 黑背鲈鱼
28040201: 花鳉
28040202: 琉璃花鳉
28040203: 甜甜花鳉
28040204: 蓝染花鳉
28040205: 擒霞客
28040206: 水晶宴
28040301: 肺棘鱼
28040302: 斗棘鱼
28040303: 鸩棘鱼
28040304: 赤魔王
28040305: 雪中君
28040401: 金赤假龙
28040402: 锖假龙
28040501: 流纹褐蝶鱼
28040502: 流纹京紫蝶鱼
28040503: 流纹茶蝶鱼
28040504: 长生仙
28040505: 雷鸣仙
28040506: 月光鳍
28040601: 炮鲀
28040602: 苦炮鲀
28040701: 迪芙妲鳐
28040702: 佛玛洛鳐
28040703: 幽浮鳐
28020401: 北地犬
28020402: 巡林犬
28020403: 柴犬
28020404: 黑背猎犬
28020405: 柴犬
28020406: 北地犬
28020407: 北地犬
28020408: 巡林犬
28020409: 柴犬
28020410: 黑背猎犬
28020501: 蓝宝石
28020502: 翠目猫
28020503: 灰雪猫
28020504: 北地猫
28020505: 虎纹猫
28020506: 警长猫
28020507: 黑猫
28020508: 蓝宝石
28020509: 灰雪猫
28020510: 翠目猫
28020511: 灰雪猫
28020512: 北地猫
28020513: 虎纹猫
28020601: 雪隐鼬
28020602: 红尾鼬
28020603: 靴子鼬
28020604: 面具鼬
28020605: 青雷鼬
28050201: 新手盗宝鼬
28050202: 藏金盗宝鼬
28050203: 大黄金盗宝鼬
28050211: 新手盗宝鼬
28050212: 藏金盗宝鼬
28050213: 大黄金盗宝鼬
28020701:
28020702:
28020801: 妖狸
28020802: 吉法师(test)
28020803: 妖狸
28020901: 武士狗分身test
28020902: 武士狗bosstest
28220301: 野林猪
28220303: 雪猪
28210101: 黄金蟹
28210102: 太阳蟹
28210103: 海蓝蟹
28210104: 将军蟹
28210105: 薄红蟹
28220101: 雪狐
28220102: 红狐
28220201: 松鼠
28220401: 北地犬
28220402: 巡林犬
28220403: 柴犬
28220404: 黑背猎犬
28220501: 蓝宝石
28220502: 翠目猫
28220503: 灰雪猫
28220504: 北地猫
28220505: 虎纹猫
28220506: 警长猫
28220601: 雪隐鼬
28220602: 红尾鼬
28220603: 靴子鼬
28220605: 青雷鼬
28220701: 狐
28220901: 武士狗test
28230101: 蓝翎鹭
28230102: 菫鹮
28250101: 风晶蝶
28250102: 岩晶蝶
28250103: 冰晶蝶
28250104: 雷晶蝶
28250105: 珊瑚蝶
28250301: 吉光虫
28210201: 蓝角蜥
28210202: 红角蜥
28210203: 绿角蜥
28210204: 落日鳅鳅
28210205: 金鳅鳅
28210206: 晴天鳅鳅
28210207: 嗜髓蜥
28210301: 青蛙
28210302: 泥蛙
28210303: 蓝蛙
28210401: 藤纹陆鳗鳗
28210402: 深海鳗鳗
28210403: 赤鳍陆鳗鳗
28230301: 白鸽
28230302: 璃冠鸽
28230303: 灰羽鸽
28230304: 赤胁鸽
28230305: 黑王鸽
28230306: 鸦
28230401: 赤团雀
28230402: 金团雀
28230403: 雪团雀
28230404: 碧团雀
28240201: 花鳉
28240202: 琉璃花鳉
28240203: 甜甜花鳉
28240204: 蓝染花鳉
28240205: 擒霞客
28240206: 水晶宴
28240301: 肺棘鱼
28240302: 斗棘鱼
28240303: 鸩棘鱼
28240304: 赤魔王
28240305: 雪中君
28240401: 金赤假龙
28240402: 锖假龙
28240501: 流纹褐蝶鱼
28240502: 流纹京紫蝶鱼
28240503: 流纹茶蝶鱼
28240504: 长生仙
28240505: 雷鸣仙
28240506: 月光鳍
28240601: 炮鲀
28240602: 苦炮鲀
28240701: 迪芙妲鳐
28240702: 佛玛洛鳐
28010101: Golden Crab
28010102: Sun Crab
28010103: Ocean Crab
28010104: General Crab
28010105: Pale Red Crab
28010106: Crab
28010201: Blue Horned Lizard
28010202: Red Horned Lizard
28010203: Green Horned Lizard
28010204: Sunset Loach
28010205: Golden Loach
28010206: Sunny Loach
28010207: Pith Lizard
28010301: Frog
28010302: Mud Frog
28010303: Blue Frog
28010401: Adorned Unagi
28010402: Deep Sea Unagi
28010403: Red-Finned Unagi
28020101: Snow Fox
28020102: Crimson Fox
28020103: Gifting Snow Fox
28020104: Super-Gifting Snow Fox
28020105: Snow Fox
28020106: Crimson Fox
28020201: Squirrel
28020301: Forest Boar
28020302: Forest Piglet
28020303: Snowboar
28020304: Great Snowboar King
28020305: Frozen Snowboar
28020306: Snowboar
28020307: Forest Boar
28020308: Frozen Snowboar
28020309: Great Snowboar King
28020401: Northland Hound
28020402: Forest-Patrol Hound
28020403: Shiba
28020404: Black-Back Hound
28020405: Shiba
28020406: Northland Hound
28020407: Northland Hound
28020408: Forest-Patrol Hound
28020409: Shiba
28020410: Black-Back Hound
28020501: Sapphire
28020502: Jade-Eyed Cat
28020503: Gray Snow Cat
28020504: Northland Cat
28020505: Tiger-Striped Cat
28020506: Sheriff Cat
28020507: Black Cat
28020508: Sapphire
28020509: Gray Snow Cat
28020510: Jade-Eyed Cat
28020511: Gray Snow Cat
28020512: Northland Cat
28020513: Tiger-Striped Cat
28020601: Snow Weasel
28020602: Red-Tailed Weasel
28020603: Boot Weasel
28020604: Masked Weasel
28020605: Bluethunder Weasel
28020701: Kitsune
28020702: Kitsune
28020801: Bake-Danuki
28020802: Master Yoshimoto (test)
28020803: Bake-Danuki
28020901: Samurai Dog Diversion (test)
28020902: Samurai dog boss (test)
28030101: Azure Crane
28030102: Violet Ibis
28030201: Brownwing Falcon
28030202: Umbertail Falcon
28030203: Lapis Glede
28030204: Silkwhite Falcon
28030301: White Pigeon
28030302: Brightcrown Pigeon
28030303: Graywing Pigeon
28030304: Crimsonflank Pigeon
28030305: Black King Pigeon
28030306: Crow
28030307: White Pigeon
28030308: Brightcrown Pigeon
28030309: Graywing Pigeon
28030310: Crimsonflank Pigeon
28030311: Black King Pigeon
28030401: Crimson Finch
28030402: Golden Finch
28030403: Snow Finch
28030404: Emerald Finch
28030405: Golden Finch
28030406: Crimson Finch
28030407: Golden Finch
28030408: Snow Finch
28030409: Emerald Finch
28030501: Scarletbeak Duck
28030502: Emerald Duck
28030503: Golden Duck
28030504: Scarletbeak Duck
28040101: Black-Back Bass
28040102: Blue-Fin Bass
28040103: Golden Bass
28040104: Black-Back Bass
28040105: Black-Back Bass
28040106: Blue-Fin Bass
28040107: Golden Bass
28040108: Black-Back Bass
28040201: Medaka
28040202: Glaze Medaka
28040203: Sweet-Flower Medaka
28040204: Aizen Medaka
28040205: Dawncatcher
28040206: Crystalfish
28040301: Lunged Stickleback
28040302: Betta
28040303: Venomspine Fish
28040304: Akai Maou
28040305: Snowstrider
28040401: Golden Koi
28040402: Rusty Koi
28040501: Brown Shirakodai
28040502: Purple Shirakodai
28040503: Tea-Colored Shirakodai
28040504: Abiding Angelfish
28040505: Raimei Angelfish
28040506: Moonfin
28040601: Pufferfish
28040602: Bitter Pufferfish
28040701: Divda Ray
28040702: Formalo Ray
28040703: Floating Ray
28050101: Anemo Crystalfly
28050102: Geo Crystalfly
28050103: Cryo Crystalfly
28050104: Electro Crystalfly
28050105: Coral Butterfly
28050201: Amateur Weasel Thief
28050202: Hoarder Weasel Thief
28050203: Golden Weasel Thief
28050211: Amateur Weasel Thief
28050212: Hoarder Weasel Thief
28050213: Golden Weasel Thief
28050301: Lucklight Fly
28210101: Golden Crab
28210102: Sun Crab
28210103: Ocean Crab
28210104: General Crab
28210105: Pale Red Crab
28210201: Blue Horned Lizard
28210202: Red Horned Lizard
28210203: Green Horned Lizard
28210204: Sunset Loach
28210205: Golden Loach
28210206: Sunny Loach
28210207: Marrow Lizard
28210301: Frog
28210302: Mud Frog
28210303: Blue Frog
28210401: Adorned Unagi
28210402: Deep Sea Unagi
28210403: Red-Finned Unagi
28220101: Snow Fox
28220102: Crimson Fox
28220201: Squirrel
28220301: Forest Boar
28220303: Snowboar
28220401: Northland Hound
28220402: Forest-Patrol Hound
28220403: Shiba
28220404: Black-Back Hound
28220501: Sapphire
28220502: Jade-Eyed Cat
28220503: Gray Snow Cat
28220504: Northland Cat
28220505: Tiger-Striped Cat
28220506: Sheriff Cat
28220601: Snow Weasel
28220602: Red-Tailed Weasel
28220603: Boot Weasel
28220605: Bluethunder Weasel
28220701: Kitsune
28220901: Samurai dog (test)
28230101: Azure Crane
28230102: Violet Ibis
28230301: White Pigeon
28230302: Brightcrown Pigeon
28230303: Graywing Pigeon
28230304: Crimsonflank Pigeon
28230305: Black King Pigeon
28230306: Crow
28230401: Crimson Finch
28230402: Golden Finch
28230403: Snow Finch
28230404: Emerald Finch
28240201: Medaka
28240202: Glaze Medaka
28240203: Sweet-Flower Medaka
28240204: Aizen Medaka
28240205: Dawncatcher
28240206: Crystalfish
28240301: Lunged Stickleback
28240302: Betta
28240303: Venomspine Fish
28240304: Akai Maou
28240305: Snowstrider
28240401: Golden Koi
28240402: Rusty Koi
28240501: Brown Shirakodai
28240502: Purple Shirakodai
28240503: Tea-Colored Shirakodai
28240504: Abiding Angelfish
28240505: Raimei Angelfish
28240506: Moonfin
28240601: Pufferfish
28240602: Bitter Pufferfish
28240701: Divda Ray
28240702: Formalo Ray
28250101: Anemo Crystalfly
28250102: Geo Crystalfly
28250103: Cryo Crystalfly
28250104: Electro Crystalfly
28250105: Coral Butterfly
28250301: Lucklight Fly

File diff suppressed because it is too large Load Diff

View File

@@ -1,42 +1,42 @@
51: 行者之心
52: 勇士之心
53: 守护之心
54: 奇迹
55: 战狂
56: 武人
57: 教官
58: 赌徒
59: 流放者
60: 冒险家
61: 幸运儿
62: 学士
63: 游医
71: 冰风迷途的勇士
72: 平息鸣雷的尊者
73: 渡过烈火的贤人
74: 被怜爱的少女
75: 角斗士的终幕礼
76: 翠绿之影
77: 流浪大地的乐团
78: 冰之川与雪之砂
79: 如雷的盛怒
80: 炽烈的炎之魔女
81: 昔日宗室之仪
82: 染血的骑士道
83: 祭火之人
84: 祭水之人
85: 祭雷之人
86: 祭风之人
87: 祭冰之人
88: 悠古的磐岩
89: 逆飞的流星
90: 沉沦之心
91: 千岩牢固
92: 苍白之火
93: 追忆之注连
94: 绝缘之旗印
95: 华馆梦醒形骸记
96: 海染砗磲
97: 辰砂往生录
98: 来歆余响
99: 高天的风之主
51: Resolution of Sojourner
52: Brave Heart
53: Defender's Will
54: Tiny Miracle
55: Berserker
56: Martial Artist
57: Instructor
58: Gambler
59: The Exile
60: Adventurer
61: Lucky Dog
62: Scholar
63: Traveling Doctor
71: Blizzard Strayer
72: Thundersoother
73: Lavawalker
74: Maiden Beloved
75: Gladiator's Finale
76: Viridescent Venerer
77: Wanderer's Troupe
78: Glacier and Snowfield
79: Thundering Fury
80: Crimson Witch of Flames
81: Noblesse Oblige
82: Bloodstained Chivalry
83: Prayers for Illumination
84: Prayers for Destiny
85: Prayers for Wisdom
86: Prayers to the Firmament
87: Prayers to Springtime
88: Archaic Petra
89: Retracing Bolide
90: Heart of Depth
91: Tenacity of the Millelith
92: Pale Flame
93: Shimenawa's Reminiscence
94: Emblem of Severed Fate
95: Husk of Opulent Dreams
96: Ocean-Hued Clam
97: Vermillion Hereafter
98: Echoes of an Offering
99: Lord of the Winds

View File

@@ -1,66 +1,66 @@
10001: 生命值
10002: 生命值百分比
10003: 攻击力
10004: 攻击力百分比
10005: 防御力
10006: 防御力百分比
10007: 元素充能效率
10008: 元素精通
10009: 火元素抗性
10010: 雷元素抗性
10011: 冰元素抗性
10012: 水元素抗性
10013: 风元素抗性
10014: 岩元素抗性
10015: 草元素抗性
12001: 攻击力
13001: 生命值
13002: 生命值百分比
13003: 攻击力
13004: 攻击力百分比
13005: 防御力
13006: 防御力百分比
13007: 暴击率
13008: 暴击伤害
13009: 治疗加成
13010: 元素精通
14001: 生命值
15001: 生命值
15002: 生命值百分比
15003: 攻击力
15004: 攻击力百分比
15005: 防御力
15006: 防御力百分比
15007: 元素精通
15008: 火元素伤害加成
15009: 雷元素伤害加成
15010: 冰元素伤害加成
15011: 水元素伤害加成
15012: 风元素伤害加成
15013: 岩元素伤害加成
15014: 草元素伤害加成
15015: 物理伤害加成
10990: 攻击力百分比
10980: 生命值百分比
10970: 防御力百分比
10960: 元素充能效率
10950: 元素精通
30990: 攻击力百分比
30980: 生命值百分比
30970: 防御力百分比
30960: 暴击率
30950: 暴击伤害
30940: 治疗加成
30930: 元素精通
50990: 攻击力百分比
50980: 生命值百分比
50970: 防御力百分比
50960: 火元素伤害加成
50950: 雷元素伤害加成
50940: 冰元素伤害加成
50930: 水元素伤害加成
50920: 风元素伤害加成
50910: 岩元素伤害加成
50900: 草元素伤害加成
50890: 物理伤害加成
50880: 元素精通
10001: HP
10002: HP Percentage
10003: ATK
10004: ATK Percentage
10005: DEF
10006: DEF Percentage
10007: Energy Recharge
10008: Elemental Mastery
10009: Pyro RES
10010: Electro RES
10011: Cryo RES
10012: Hydro RES
10013: Anemo RES
10014: Geo RES
10015: Dendro RES
12001: ATK
13001: HP
13002: HP Percentage
13003: ATK
13004: ATK Percentage
13005: DEF
13006: DEF Percentage
13007: CRIT Rate
13008: CRIT DMG
13009: Healing Bonus
13010: Elemental Mastery
14001: HP
15001: HP
15002: HP Percentage
15003: ATK
15004: ATK Percentage
15005: DEF
15006: DEF Percentage
15007: Elemental Mastery
15008: Pyro DMG Bonus
15009: Electro DMG Bonus
15010: Cryo DMG Bonus
15011: Hydro DMG Bonus
15012: Anemo DMG Bonus
15013: Geo DMG Bonus
15014: Dendro DMG Bonus
15015: Physical DMG Bonus
10990: ATK Percentage
10980: HP Percentage
10970: DEF Percentage
10960: Energy Recharge
10950: Elemental Mastery
30990: ATK Percentage
30980: HP Percentage
30970: DEF Percentage
30960: CRIT Rate
30950: CRIT DMG
30940: Healing Bonus
30930: Elemental Mastery
50990: ATK Percentage
50980: HP Percentage
50970: DEF Percentage
50960: Pyro DMG Bonus
50950: Electro DMG Bonus
50940: Cryo DMG Bonus
50930: Hydro DMG Bonus
50920: Anemo DMG Bonus
50910: Geo DMG Bonus
50900: Dendro DMG Bonus
50890: Physical DMG Bonus
50880: Elemental Mastery

View File

@@ -1,335 +1,335 @@
101021: 生命值+24
101022: 生命值+30
201021: 生命值+50
201022: 生命值+61
201023: 生命值+72
301021: 生命值+100
301022: 生命值+115
301023: 生命值+129
301024: 生命值+143
401021: 生命值+167
401022: 生命值+191
401023: 生命值+215
401024: 生命值+239
501021: 生命值+209
501022: 生命值+239
501023: 生命值+269
501024: 生命值+299
101031: 生命值百分比+1.2%
101032: 生命值百分比+1.5%
201031: 生命值百分比+1.6%
201032: 生命值百分比+2.0%
201033: 生命值百分比+2.3%
301031: 生命值百分比+2.4%
301032: 生命值百分比+2.8%
301033: 生命值百分比+3.2%
301034: 生命值百分比+3.5%
401031: 生命值百分比+3.3%
401032: 生命值百分比+3.7%
401033: 生命值百分比+4.2%
401034: 生命值百分比+4.7%
501031: 生命值百分比+4.1%
501032: 生命值百分比+4.7%
501033: 生命值百分比+5.2%
501034: 生命值百分比+5.8%
101051: 攻击力+2
101052: 攻击力+2
201051: 攻击力+3
201052: 攻击力+4
201053: 攻击力+5
301051: 攻击力+7
301052: 攻击力+7
301053: 攻击力+8
301054: 攻击力+9
401051: 攻击力+11
401052: 攻击力+12
401053: 攻击力+14
401054: 攻击力+16
501051: 攻击力+14
501052: 攻击力+16
501053: 攻击力+18
501054: 攻击力+19
101061: 攻击力百分比+1.2%
101062: 攻击力百分比+1.5%
201061: 攻击力百分比+1.6%
201062: 攻击力百分比+2.0%
201063: 攻击力百分比+2.3%
301061: 攻击力百分比+2.4%
301062: 攻击力百分比+2.8%
301063: 攻击力百分比+3.2%
301064: 攻击力百分比+3.5%
401061: 攻击力百分比+3.3%
401062: 攻击力百分比+3.7%
401063: 攻击力百分比+4.2%
401064: 攻击力百分比+4.7%
501061: 攻击力百分比+4.1%
501062: 攻击力百分比+4.7%
501063: 攻击力百分比+5.2%
501064: 攻击力百分比+5.8%
101081: 防御力+2
101082: 防御力+2
201081: 防御力+4
201082: 防御力+5
201083: 防御力+6
301081: 防御力+8
301082: 防御力+9
301083: 防御力+10
301084: 防御力+11
401081: 防御力+13
401082: 防御力+15
401083: 防御力+17
401084: 防御力+19
501081: 防御力+16
501082: 防御力+19
501083: 防御力+21
501084: 防御力+23
101091: 防御力百分比+1.5%
101092: 防御力百分比+1.8%
201091: 防御力百分比+2.0%
201092: 防御力百分比+2.5%
201093: 防御力百分比+2.9%
301091: 防御力百分比+3.1%
301092: 防御力百分比+3.5%
301093: 防御力百分比+3.9%
301094: 防御力百分比+4.4%
401091: 防御力百分比+4.1%
401092: 防御力百分比+4.7%
401093: 防御力百分比+5.2%
401094: 防御力百分比+5.8%
501091: 防御力百分比+5.1%
501092: 防御力百分比+5.8%
501093: 防御力百分比+6.6%
501094: 防御力百分比+7.3%
101231: 元素充能效率+1.3%
101232: 元素充能效率+1.6%
201231: 元素充能效率+1.8%
201232: 元素充能效率+2.2%
201233: 元素充能效率+2.6%
301231: 元素充能效率+2.7%
301232: 元素充能效率+3.1%
301233: 元素充能效率+3.5%
301234: 元素充能效率+3.9%
401231: 元素充能效率+3.6%
401232: 元素充能效率+4.1%
401233: 元素充能效率+4.7%
401234: 元素充能效率+5.2%
501231: 元素充能效率+4.5%
501232: 元素充能效率+5.2%
501233: 元素充能效率+5.8%
501234: 元素充能效率+6.5%
101241: 元素精通+5
101242: 元素精通+6
201241: 元素精通+7
201242: 元素精通+8
201243: 元素精通+9
301241: 元素精通+10
301242: 元素精通+11
301243: 元素精通+13
301244: 元素精通+14
401241: 元素精通+13
401242: 元素精通+15
401243: 元素精通+17
401244: 元素精通+19
501241: 元素精通+16
501242: 元素精通+19
501243: 元素精通+21
501244: 元素精通+23
101201: 暴击率+0.8%
101202: 暴击率+1.0%
201201: 暴击率+1.1%
201202: 暴击率+1.3%
201203: 暴击率+1.5%
301201: 暴击率+1.6%
301202: 暴击率+1.9%
301203: 暴击率+2.1%
301204: 暴击率+2.3%
401201: 暴击率+2.2%
401202: 暴击率+2.5%
401203: 暴击率+2.8%
401204: 暴击率+3.1%
501201: 暴击率+2.7%
501202: 暴击率+3.1%
501203: 暴击率+3.5%
501204: 暴击率+3.9%
101221: 暴击伤害+1.5%
101222: 暴击伤害+1.9%
201221: 暴击伤害+2.2%
201222: 暴击伤害+2.6%
201223: 暴击伤害+3.1%
301221: 暴击伤害+3.3%
301222: 暴击伤害+3.7%
301223: 暴击伤害+4.2%
301224: 暴击伤害+4.7%
401221: 暴击伤害+4.3%
401222: 暴击伤害+5.0%
401223: 暴击伤害+5.6%
401224: 暴击伤害+6.2%
501221: 暴击伤害+5.4%
501222: 暴击伤害+6.2%
501223: 暴击伤害+7.0%
501224: 暴击伤害+7.8%
999001: 暴击伤害+350.0%
999002: 暴击率+100.0%
999003: 攻击力+233333
999004: 防御力+233333
998001: 生命值百分比+14.6%
998002: 攻击力百分比+14.6%
998003: 防御力百分比+18.2%
998004: 暴击率+9.7%
998005: 元素充能效率+16.2%
998006: 元素精通+58
998007: 暴击伤害+19.4%
995001: 生命值百分比+14.6%
995002: 攻击力百分比+14.6%
995003: 防御力百分比+18.2%
995004: 暴击率+9.7%
995005: 元素充能效率+16.2%
995006: 元素精通+58
995007: 暴击伤害+19.4%
997001: 生命值百分比+9.3%
997002: 攻击力百分比+9.3%
997003: 防御力百分比+11.7%
997004: 暴击率+6.2%
997005: 元素充能效率+10.4%
997006: 元素精通+37
997007: 暴击伤害+12.4%
996001: 生命值百分比+9.3%
996002: 攻击力百分比+9.3%
996003: 防御力百分比+11.7%
996004: 暴击率+6.2%
996005: 元素充能效率+10.4%
996006: 元素精通+37
996007: 暴击伤害+12.4%
994001: 暴击率+80.0%
993001: 暴击伤害+80.0%
992001: 护盾强效+80.0%
991001: 治疗加成+80.0%
990001: 受治疗加成+80.0%
989001: 冷却缩减+50.0%
988001: 移动速度百分比+30.0%
987001: 火元素伤害加成+80.0%
986001: 雷元素伤害加成+80.0%
985001: 水元素伤害加成+80.0%
984001: 草元素伤害加成+80.0%
983001: 风元素伤害加成+80.0%
982001: 岩元素伤害加成+80.0%
981001: 冰元素伤害加成+80.0%
980001: 物理伤害加成+80.0%
979001: 火元素抗性+80.0%
978001: 雷元素抗性+80.0%
977001: 水元素抗性+80.0%
976001: 草元素抗性+80.0%
975001: 风元素抗性+80.0%
974001: 岩元素抗性+80.0%
973001: 冰元素抗性+80.0%
972001: 物理抗性+80.0%
971001: 伤害增加+80.0%
970001: 受伤减免+80.0%
969001: 防御力+-500
968001: 元素精通+-300
951001: 生命值百分比+14.6%
951002: 攻击力百分比+14.6%
951003: 防御力百分比+18.2%
951004: 暴击率+9.7%
951005: 元素充能效率+16.2%
951006: 元素精通+58
951007: 暴击伤害+19.4%
952001: 生命值百分比+14.6%
952002: 攻击力百分比+14.6%
952003: 防御力百分比+18.2%
952004: 暴击率+9.7%
952005: 元素充能效率+16.2%
952006: 元素精通+58
952007: 暴击伤害+19.4%
953001: 生命值百分比+14.6%
953002: 攻击力百分比+14.6%
953003: 防御力百分比+18.2%
953004: 暴击率+9.7%
953005: 元素充能效率+16.2%
953006: 元素精通+58
953007: 暴击伤害+19.4%
956001: 生命值百分比+14.6%
956002: 攻击力百分比+14.6%
956003: 防御力百分比+18.2%
956004: 暴击率+9.7%
956005: 元素充能效率+16.2%
956006: 元素精通+58
956007: 暴击伤害+19.4%
941001: 生命值百分比+9.3%
941002: 攻击力百分比+9.3%
941003: 防御力百分比+11.7%
941004: 暴击率+6.2%
941005: 元素充能效率+10.4%
941006: 元素精通+37
941007: 暴击伤害+12.4%
942001: 生命值百分比+9.3%
942002: 攻击力百分比+9.3%
942003: 防御力百分比+11.7%
942004: 暴击率+6.2%
942005: 元素充能效率+10.4%
942006: 元素精通+37
942007: 暴击伤害+12.4%
943001: 生命值百分比+9.3%
943002: 攻击力百分比+9.3%
943003: 防御力百分比+11.7%
943004: 暴击率+6.2%
943005: 元素充能效率+10.4%
943006: 元素精通+37
943007: 暴击伤害+12.4%
946001: 生命值百分比+9.3%
946002: 攻击力百分比+9.3%
946003: 防御力百分比+11.7%
946004: 暴击率+6.2%
946005: 元素充能效率+10.4%
946006: 元素精通+37
946007: 暴击伤害+12.4%
961001: 生命值百分比+14.6%
961002: 攻击力百分比+14.6%
961003: 防御力百分比+18.2%
961004: 暴击率+9.7%
961005: 元素充能效率+16.2%
961006: 元素精通+58
961007: 暴击伤害+19.4%
961008: 生命值+747
961009: 攻击力+49
961010: 防御力+58
962001: 生命值百分比+14.6%
962002: 攻击力百分比+14.6%
962003: 防御力百分比+18.2%
962004: 暴击率+9.7%
962005: 元素充能效率+16.2%
962006: 元素精通+58
962007: 暴击伤害+19.4%
962008: 生命值+747
962009: 攻击力+49
962010: 防御力+58
963001: 生命值百分比+14.6%
963002: 攻击力百分比+14.6%
963003: 防御力百分比+18.2%
963004: 暴击率+9.7%
963005: 元素充能效率+16.2%
963006: 元素精通+58
963007: 暴击伤害+19.4%
963008: 生命值+747
963009: 攻击力+49
963010: 防御力+58
964001: 生命值百分比+14.6%
964002: 攻击力百分比+14.6%
964003: 防御力百分比+18.2%
964004: 暴击率+9.7%
964005: 元素充能效率+16.2%
964006: 元素精通+58
964007: 暴击伤害+19.4%
964008: 生命值+747
964009: 攻击力+49
964010: 防御力+58
965001: 生命值百分比+14.6%
965002: 攻击力百分比+14.6%
965003: 防御力百分比+18.2%
965004: 暴击率+9.7%
965005: 元素充能效率+16.2%
965006: 元素精通+58
965007: 暴击伤害+19.4%
965008: 生命值+747
965009: 攻击力+49
965010: 防御力+58
101021: HP+24
101022: HP+30
201021: HP+50
201022: HP+61
201023: HP+72
301021: HP+100
301022: HP+115
301023: HP+129
301024: HP+143
401021: HP+167
401022: HP+191
401023: HP+215
401024: HP+239
501021: HP+209
501022: HP+239
501023: HP+269
501024: HP+299
101031: HP Percentage+1.2%
101032: HP Percentage+1.5%
201031: HP Percentage+1.6%
201032: HP Percentage+2.0%
201033: HP Percentage+2.3%
301031: HP Percentage+2.4%
301032: HP Percentage+2.8%
301033: HP Percentage+3.2%
301034: HP Percentage+3.5%
401031: HP Percentage+3.3%
401032: HP Percentage+3.7%
401033: HP Percentage+4.2%
401034: HP Percentage+4.7%
501031: HP Percentage+4.1%
501032: HP Percentage+4.7%
501033: HP Percentage+5.2%
501034: HP Percentage+5.8%
101051: ATK+2
101052: ATK+2
201051: ATK+3
201052: ATK+4
201053: ATK+5
301051: ATK+7
301052: ATK+7
301053: ATK+8
301054: ATK+9
401051: ATK+11
401052: ATK+12
401053: ATK+14
401054: ATK+16
501051: ATK+14
501052: ATK+16
501053: ATK+18
501054: ATK+19
101061: ATK Percentage+1.2%
101062: ATK Percentage+1.5%
201061: ATK Percentage+1.6%
201062: ATK Percentage+2.0%
201063: ATK Percentage+2.3%
301061: ATK Percentage+2.4%
301062: ATK Percentage+2.8%
301063: ATK Percentage+3.2%
301064: ATK Percentage+3.5%
401061: ATK Percentage+3.3%
401062: ATK Percentage+3.7%
401063: ATK Percentage+4.2%
401064: ATK Percentage+4.7%
501061: ATK Percentage+4.1%
501062: ATK Percentage+4.7%
501063: ATK Percentage+5.2%
501064: ATK Percentage+5.8%
101081: DEF+2
101082: DEF+2
201081: DEF+4
201082: DEF+5
201083: DEF+6
301081: DEF+8
301082: DEF+9
301083: DEF+10
301084: DEF+11
401081: DEF+13
401082: DEF+15
401083: DEF+17
401084: DEF+19
501081: DEF+16
501082: DEF+19
501083: DEF+21
501084: DEF+23
101091: DEF Percentage+1.5%
101092: DEF Percentage+1.8%
201091: DEF Percentage+2.0%
201092: DEF Percentage+2.5%
201093: DEF Percentage+2.9%
301091: DEF Percentage+3.1%
301092: DEF Percentage+3.5%
301093: DEF Percentage+3.9%
301094: DEF Percentage+4.4%
401091: DEF Percentage+4.1%
401092: DEF Percentage+4.7%
401093: DEF Percentage+5.2%
401094: DEF Percentage+5.8%
501091: DEF Percentage+5.1%
501092: DEF Percentage+5.8%
501093: DEF Percentage+6.6%
501094: DEF Percentage+7.3%
101231: Energy Recharge+1.3%
101232: Energy Recharge+1.6%
201231: Energy Recharge+1.8%
201232: Energy Recharge+2.2%
201233: Energy Recharge+2.6%
301231: Energy Recharge+2.7%
301232: Energy Recharge+3.1%
301233: Energy Recharge+3.5%
301234: Energy Recharge+3.9%
401231: Energy Recharge+3.6%
401232: Energy Recharge+4.1%
401233: Energy Recharge+4.7%
401234: Energy Recharge+5.2%
501231: Energy Recharge+4.5%
501232: Energy Recharge+5.2%
501233: Energy Recharge+5.8%
501234: Energy Recharge+6.5%
101241: Elemental Mastery+5
101242: Elemental Mastery+6
201241: Elemental Mastery+7
201242: Elemental Mastery+8
201243: Elemental Mastery+9
301241: Elemental Mastery+10
301242: Elemental Mastery+11
301243: Elemental Mastery+13
301244: Elemental Mastery+14
401241: Elemental Mastery+13
401242: Elemental Mastery+15
401243: Elemental Mastery+17
401244: Elemental Mastery+19
501241: Elemental Mastery+16
501242: Elemental Mastery+19
501243: Elemental Mastery+21
501244: Elemental Mastery+23
101201: CRIT Rate+0.8%
101202: CRIT Rate+1.0%
201201: CRIT Rate+1.1%
201202: CRIT Rate+1.3%
201203: CRIT Rate+1.5%
301201: CRIT Rate+1.6%
301202: CRIT Rate+1.9%
301203: CRIT Rate+2.1%
301204: CRIT Rate+2.3%
401201: CRIT Rate+2.2%
401202: CRIT Rate+2.5%
401203: CRIT Rate+2.8%
401204: CRIT Rate+3.1%
501201: CRIT Rate+2.7%
501202: CRIT Rate+3.1%
501203: CRIT Rate+3.5%
501204: CRIT Rate+3.9%
101221: CRIT DMG+1.5%
101222: CRIT DMG+1.9%
201221: CRIT DMG+2.2%
201222: CRIT DMG+2.6%
201223: CRIT DMG+3.1%
301221: CRIT DMG+3.3%
301222: CRIT DMG+3.7%
301223: CRIT DMG+4.2%
301224: CRIT DMG+4.7%
401221: CRIT DMG+4.3%
401222: CRIT DMG+5.0%
401223: CRIT DMG+5.6%
401224: CRIT DMG+6.2%
501221: CRIT DMG+5.4%
501222: CRIT DMG+6.2%
501223: CRIT DMG+7.0%
501224: CRIT DMG+7.8%
999001: CRIT DMG+350.0%
999002: CRIT Rate+100.0%
999003: ATK+233333
999004: DEF+233333
998001: HP Percentage+14.6%
998002: ATK Percentage+14.6%
998003: DEF Percentage+18.2%
998004: CRIT Rate+9.7%
998005: Energy Recharge+16.2%
998006: Elemental Mastery+58
998007: CRIT DMG+19.4%
995001: HP Percentage+14.6%
995002: ATK Percentage+14.6%
995003: DEF Percentage+18.2%
995004: CRIT Rate+9.7%
995005: Energy Recharge+16.2%
995006: Elemental Mastery+58
995007: CRIT DMG+19.4%
997001: HP Percentage+9.3%
997002: ATK Percentage+9.3%
997003: DEF Percentage+11.7%
997004: CRIT Rate+6.2%
997005: Energy Recharge+10.4%
997006: Elemental Mastery+37
997007: CRIT DMG+12.4%
996001: HP Percentage+9.3%
996002: ATK Percentage+9.3%
996003: DEF Percentage+11.7%
996004: CRIT Rate+6.2%
996005: Energy Recharge+10.4%
996006: Elemental Mastery+37
996007: CRIT DMG+12.4%
994001: CRIT Rate+80.0%
993001: CRIT DMG+80.0%
992001: Shield Strength+80.0%
991001: Healing Bonus+80.0%
990001: Incoming Healing Bonus+80.0%
989001: CD Reduction+50.0%
988001: Movement SPD+30.0%
987001: Pyro DMG Bonus+80.0%
986001: Electro DMG Bonus+80.0%
985001: Hydro DMG Bonus+80.0%
984001: Dendro DMG Bonus+80.0%
983001: Anemo DMG Bonus+80.0%
982001: Geo DMG Bonus+80.0%
981001: Cryo DMG Bonus+80.0%
980001: Physical DMG Bonus+80.0%
979001: Pyro RES+80.0%
978001: Electro RES+80.0%
977001: Hydro RES+80.0%
976001: Dendro RES+80.0%
975001: Anemo RES+80.0%
974001: Geo RES+80.0%
973001: Cryo RES+80.0%
972001: Physical RES+80.0%
971001: DMG Bonus+80.0%
970001: DMG Reduction+80.0%
969001: DEF+-500
968001: Elemental Mastery+-300
951001: HP Percentage+14.6%
951002: ATK Percentage+14.6%
951003: DEF Percentage+18.2%
951004: CRIT Rate+9.7%
951005: Energy Recharge+16.2%
951006: Elemental Mastery+58
951007: CRIT DMG+19.4%
952001: HP Percentage+14.6%
952002: ATK Percentage+14.6%
952003: DEF Percentage+18.2%
952004: CRIT Rate+9.7%
952005: Energy Recharge+16.2%
952006: Elemental Mastery+58
952007: CRIT DMG+19.4%
953001: HP Percentage+14.6%
953002: ATK Percentage+14.6%
953003: DEF Percentage+18.2%
953004: CRIT Rate+9.7%
953005: Energy Recharge+16.2%
953006: Elemental Mastery+58
953007: CRIT DMG+19.4%
956001: HP Percentage+14.6%
956002: ATK Percentage+14.6%
956003: DEF Percentage+18.2%
956004: CRIT Rate+9.7%
956005: Energy Recharge+16.2%
956006: Elemental Mastery+58
956007: CRIT DMG+19.4%
941001: HP Percentage+9.3%
941002: ATK Percentage+9.3%
941003: DEF Percentage+11.7%
941004: CRIT Rate+6.2%
941005: Energy Recharge+10.4%
941006: Elemental Mastery+37
941007: CRIT DMG+12.4%
942001: HP Percentage+9.3%
942002: ATK Percentage+9.3%
942003: DEF Percentage+11.7%
942004: CRIT Rate+6.2%
942005: Energy Recharge+10.4%
942006: Elemental Mastery+37
942007: CRIT DMG+12.4%
943001: HP Percentage+9.3%
943002: ATK Percentage+9.3%
943003: DEF Percentage+11.7%
943004: CRIT Rate+6.2%
943005: Energy Recharge+10.4%
943006: Elemental Mastery+37
943007: CRIT DMG+12.4%
946001: HP Percentage+9.3%
946002: ATK Percentage+9.3%
946003: DEF Percentage+11.7%
946004: CRIT Rate+6.2%
946005: Energy Recharge+10.4%
946006: Elemental Mastery+37
946007: CRIT DMG+12.4%
961001: HP Percentage+14.6%
961002: ATK Percentage+14.6%
961003: DEF Percentage+18.2%
961004: CRIT Rate+9.7%
961005: Energy Recharge+16.2%
961006: Elemental Mastery+58
961007: CRIT DMG+19.4%
961008: HP+747
961009: ATK+49
961010: DEF+5787.0%
962001: HP Percentage+14.6%
962002: ATK Percentage+14.6%
962003: DEF Percentage+18.2%
962004: CRIT Rate+9.7%
962005: Energy Recharge+16.2%
962006: Elemental Mastery+58
962007: CRIT DMG+19.4%
962008: HP+747
962009: ATK+49
962010: DEF+58
963001: HP Percentage+14.6%
963002: ATK Percentage+14.6%
963003: DEF Percentage+18.2%
963004: CRIT Rate+9.7%
963005: Energy Recharge+16.2%
963006: Elemental Mastery+58
963007: CRIT DMG+19.4%
963008: HP+747
963009: ATK+49
963010: DEF+58
964001: HP Percentage+14.6%
964002: ATK Percentage+14.6%
964003: DEF Percentage+18.2%
964004: CRIT Rate+9.7%
964005: Energy Recharge+16.2%
964006: Elemental Mastery+58
964007: CRIT DMG+19.4%
964008: HP+747
964009: ATK+49
964010: DEF+58
965001: HP Percentage+14.6%
965002: ATK Percentage+14.6%
965003: DEF Percentage+18.2%
965004: CRIT Rate+9.7%
965005: Energy Recharge+16.2%
965006: Elemental Mastery+58
965007: CRIT DMG+19.4%
965008: HP+747
965009: ATK+49
965010: DEF+58

View File

@@ -0,0 +1,194 @@
[
{
"Name": "MAX HP",
"ArgName": "maxhp",
"Percent": false,
"Tip": ""
},
{
"Name": "CUR HP",
"ArgName": "hp",
"Percent": false,
"Tip": ""
},
{
"Name": "CUR Attack",
"ArgName": "atk",
"Percent": false,
"Tip": ""
},
{
"Name": "Base Attack",
"ArgName": "atkb",
"Percent": false,
"Tip": "This doesn't seem to get used to recalculate ATK, so it's only useful for stuff like Bennett's buff."
},
{
"Name": "DEFENSE",
"ArgName": "def",
"Percent": false,
"Tip": ""
},
{
"Name": "ELEMENT MASTERY",
"ArgName": "em",
"Percent": false,
"Tip": ""
},
{
"Name": "CHARGE EFFICIENCY",
"ArgName": "er",
"Percent": true,
"Tip": ""
},
{
"Name": "CRITICAL",
"ArgName": "crate",
"Percent": true,
"Tip": ""
},
{
"Name": "CRITICAL HURT",
"ArgName": "cdmg",
"Percent": true,
"Tip": ""
},
{
"Name": "ADD HURT",
"ArgName": "dmg",
"Percent": true,
"Tip": "This seems to get reset after attacks"
},
{
"Name": "WIND ADD HURT",
"ArgName": "eanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "ICE ADD HURT",
"ArgName": "ecryo",
"Percent": true,
"Tip": ""
},
{
"Name": "GRASS ADD HURT",
"ArgName": "edendro",
"Percent": true,
"Tip": ""
},
{
"Name": "ELEC ADD HURT",
"ArgName": "eelectro",
"Percent": true,
"Tip": ""
},
{
"Name": "ROCK ADD HURT",
"ArgName": "egeo",
"Percent": true,
"Tip": ""
},
{
"Name": "WATER ADD HURT",
"ArgName": "ehydro",
"Percent": true,
"Tip": ""
},
{
"Name": "FIRE ADD HURT",
"ArgName": "epyro",
"Percent": true,
"Tip": ""
},
{
"Name": "PHYSICAL ADD HURT",
"ArgName": "ephys",
"Percent": true,
"Tip": ""
},
{
"Name": "SUB HURT",
"ArgName": "resall",
"Percent": true,
"Tip": "This seems to get reset after attacks"
},
{
"Name": "WIND SUB HURT",
"ArgName": "resanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "ICE SUB HURT",
"ArgName": "rescryo",
"Percent": true,
"Tip": ""
},
{
"Name": "GRASS SUB HURT",
"ArgName": "resdendro",
"Percent": true,
"Tip": ""
},
{
"Name": "ELEC SUB HURT",
"ArgName": "reselectro",
"Percent": true,
"Tip": ""
},
{
"Name": "ROCK SUB HURT",
"ArgName": "resgeo",
"Percent": true,
"Tip": ""
},
{
"Name": "WATER SUB HURT",
"ArgName": "reshydro",
"Percent": true,
"Tip": ""
},
{
"Name": "FIRE SUB HURT",
"ArgName": "respyro",
"Percent": true,
"Tip": ""
},
{
"Name": "PHYSICAL SUB HURT",
"ArgName": "resphys",
"Percent": true,
"Tip": ""
},
{
"Name": "SKILL CD MINUS RATIO",
"ArgName": "cdr",
"Percent": true,
"Tip": ""
},
{
"Name": "HEAL ADD",
"ArgName": "heal",
"Percent": true,
"Tip": ""
},
{
"Name": "HEALED ADD",
"ArgName": "heali",
"Percent": true,
"Tip": ""
},
{
"Name": "SHIELD COST MINUS RATIO",
"ArgName": "shield",
"Percent": true,
"Tip": ""
},
{
"Name": "DEFENCE IGNORE RATIO",
"ArgName": "defi",
"Percent": true,
"Tip": ""
}
]

View File

@@ -1,52 +1,56 @@
无敌
God Mode
/godmode
升到60级
NoStamina
/nostamina
Level up to 60
/give 102 1880200
Heal
/heal
我全都要!
Give me ALL!
/giveall
我在哪?
Where am I?
/position
设置世界等级
Set World Level
/setworldlevel 8
设置羁绊等级
Set Fetter Level
/setfetterlevel 1
清空背包
Clear Backpack(ALL)
/clear all
清空武器
Clear Weapons
/clear wp
清空圣物
Clear Artifacts
/clear art
清空材料
Clear Materials
/clear mat
发送广播
/broadcast 大家好啊~
清空当前角色命之座(需重登)
Broadcast
/broadcast Hello everyone~
Reset Current Constellation(Need Re-login)
/resetconst
清空全部角色命之座(需重登)
Reset ALL Constellation(Need Re-login)
/resetconst all
一万纠缠
100k Intertwined Fates
/give 223 10000
一万相遇
100k Acquaint Fate
/give 224 10000
十万原石
100k Primogem
/give 201 100000
十万摩拉
100k Mora
/give 202 100000
速速集合!
TP Everyone
/tpall
拔线
Restart Server
/restart
私信
Send PM
/say <player> <message>
进来吧你
/coop <playerId> <target playerId>
自杀
Pull in team
/coop @targetId
Suicide
/killcharacter
暗杀
Kill Somebody
/killcharacter <playerId>
都有谁在?
List ALL users
/list uid
重载服务配置
/reload
Reload service config
/reload
KillAll
/killall

View File

@@ -0,0 +1,35 @@
007: Beginners' wish
008: Wanderlust Invocation
009: Ballad in Goblets
010: Dawn Pilgrimage
011: Grace of Southwind
012: Bane of All Evil
013: Epitome Invocation
015: Sparkling Steps
016: Beginners' wish
017: Wanderlust Invocation
018: Sparkling Steps
019: Ballad in Goblets
020: Epitome Invocation
021: Epitome Invocation
022: Wanderlust Invocation
023: Farewell of Snezhnaya
024: Gentry of Hermitage
027: Secretum Secretorum
028: Adrift in the Harbor
031: Invitation to Mundane Life
032: Dance of Lanterns
033: Moment of Bloom
036: Ballad in Goblets
037: Farewell of Snezhnaya
040: Gentry of Hermitage
041: Born of Ocean Swell
045: Leaves in the Wind
048: The Heron's Court
049: Tapestry of Golden Flames
052: Reign of Serenity
053: Drifting Luminescence
061: Oni's Royale
065: The Transcendent One Returns
071: Everbloom Violet
076: Azure Excursion

File diff suppressed because it is too large Load Diff

View File

@@ -1,568 +1,330 @@
20010101 : Dendro Slime
20010201 : Large Dendro Slime
20010202 :
20010301 : Anemo Slime
20010302 : Anemo Slime (Mechanicus)
20010401 : Large Anemo Slime
20010402 : Large Anemo Slime (Mechanicus)
20010403 :
20010501 : Electro Slime
20010502 : Electro Slime (Mechanicus)
20010601 : Large Electro Slime
20010602 : Large Electro Slime (Mechanicus)
20010604 :
20010701 : Mutant Electro Slime
20010702 :
20010703 : Mutant Electro Slime (Mechanicus)
20010801 : Cryo Slime
20010802 : Cryo Slime - Dragonspine Event
20010803 : Cryo Slime (Mechanicus)
20010901 : Large Cryo Slime
20010902 : Large Cryo Slime - Snowy Mountain Event
20010903 : Large Cryo Slime (Mechanicus)
20010904 :
20011001 : Hydro Slime
20011002 : Hydro Slime (Mechanicus)
20011101 : Large Hydro Slime
20011102 : Large Hydro Slime (Mechanicus)
20011103 :
20011201 : Pyro Slime
20011202 : Pyro Slime
20011203 : Pyro Slime (Mechanicus)
20011301 : Large Pyro Slime
20011302 : Large Pyro Slime (Mechanicus)
20011304 :
20011401 : Geo Slime
20011402 : Geo Slime (Mechanicus)
20011501 : Large Geo Slime
20011502 :
20011503 : Large Geo Slime (Mechanicus)
20011601 : Hydro Hypostasis Summon: Split (L)
20011701 : Hydro Hypostasis Summon: Split (S)
20011801 : Hydro Hypostasis Summon: Self-Destruct
20011901 : Hydro Hypostasis Summon: Heal
20020101 : Eye of the Storm
20040101 : Electro Hypostasis - Aleph
20040102 : (Event) Electro Hypostasis - Aleph
20040201 : Anemo Hypostasis - Beth
20040202 : (Event) Anemo Hypostasis - Beth
20040301 : Geo Hypostasis: Gimel
20040302 : (Event) Geo Hypostasis - Gimel
20040401 : Hydro Hypostasis
20040501 : Cryo Hypostasis - Daleth
20040601 : Pyro Hypostasis: Ayin
20050101 : Oceanid
20050102 : Oceanid (Main Body)
20050201 : Oceanid Boar
20050202 : Oceanid Boar (Enhanced)
20050203 :
20050301 : Oceanid Crane
20050302 :
20050401 : Oceanid Crab
20050402 : Oceanid Crab (Enhanced)
20050403 :
20050501 : Oceanid Finch
20050502 :
20050601 : Oceanid Mallard
20050602 : Oceanid Mallard (Landwalker Version)
20050603 :
20050701 : Oceanid Ferret
20050702 : Oceanid Ferret (Enhanced)
20050703 :
20050801 : Oceanid Frog
20050802 :
20050901 : Oceanid Raptor
20060101 : Hydro Specter
20060201 : Geo Specter
20060301 : Anemo Specter
20060401 : null
20060501 : null
20060601 : null
20070101 : Thunder Manifestation
21010101 : Hilichurl
21010102 : Hilichurl (Mechanicus)
21010201 : Hilichurl Fighter
21010301 : Wooden Shield Hilichurl Guard
21010302 : Wooden Shield Hilichurl Guard (Mechanicus)
21010401 : Hilichurl Shooter
21010402 : Test_Varied Hilichurl Shooter
21010501 : Pyro Hilichurl Shooter
21010502 : Test_Varied Pyro Hilichurl Shooter
21010601 : Hilichurl Grenadier
21010603 :
21010701 : Hilichurl Berserker
21010702 : Hilichurl Berserker (Mechanicus)
21010901 : Cryo Hilichurl Shooter
21010902 : Test_Varied Cryo Hilichurl Shooter
21011001 : Electro Hilichurl Shooter
21011002 : Test_Varied Electro Hilichurl Shooter
21011201 : Rock Shield Hilichurl Guard
21011202 : Rock Shield Hilichurl Guard (Mechanicus)
21011301 : Cryo Hilichurl Grenadier
21011302 : Cryo Hilichurl Grenadier - Enhanced Attack
21011401 : Ice Shield Hilichurl Guard
21011402 : Ice Shield Hilichurl Guard (Mechanicus)
21011403 : Ice Shield Hilichurl Guard: Dragonspine Event
21011501 : Unusual Unarmed Hilichurl
21011601 : Electro Hilichurl Grenadier
21011602 : Electro Hilichurl Grenadier - Enhanced Attack
21020101 : Wooden Shieldwall Mitachurl
21020102 : Wooden Shieldwall Mitachurl (Mechanicus)
21020201 : Blazing Axe Mitachurl
21020202 :
21020203 : Blazing Axe Mitachurl (Mechanicus)
21020301 : Rock Shieldwall Mitachurl
21020302 : Rock Shieldwall Mitachurl (Mechanicus)
21020401 : Frostarm Lawachurl
21020402 : Frostarm Lawachurl (Mechanicus)
21020501 : Stonehide Lawachurl
21020502 : Stonehide Lawachurl (Mechanicus)
21020601 : Ice Shieldwall Mitachurl
21020602 : Ice Shieldwall Mitachurl (Mechanicus)
21020701 : Crackling Axe Mitachurl
21020702 : Crackling Axe Mitachurl (Mechanicus)
21020703 : Crackling Axe Mitachurl - Enhanced Attack
21020801 : Thunderhelm Lawachurl
21020802 : Thunderhelm Lawachurl (Mechanicus)
21030101 : Hydro Samachurl
21030102 : Hydro Samachurl (Mechanicus)
21030103 : Test_Movement Healing Hydro Samachurl
21030201 : Dendro Samachurl
21030202 : Dendro Samachurl (Mechanicus)
21030203 :
21030301 : Anemo Samachurl
21030302 : Anemo Samachurl (Mechanicus)
21030303 : Test_Wind Current Enhanced Anemo Samachurl
21030304 :
21030401 : Geo Samachurl
21030402 :
21030403 : Geo Samachurl (Mechanicus)
21030501 : Cryo Samachurl
21030502 : Cryo Samachurl (Mechanicus)
21030601 : Electro Samachurl
21030602 : Electro Samachurl (Mechanicus)
21030603 : Electro Samachurl - Enhanced Support
22010101 : Pyro Abyss Mage
22010102 : Test_Shield-Enhanced Pyro Abyss Mage
22010103 : Test_Teleport-Enhanced Pyro Abyss Mage
22010104 : Test_Attacking-Enhanced Pyro Abyss Mage
22010105 : Pyro Abyss Mage (Mechanicus)
22010201 : Cryo Abyss Mage
22010202 : Test_Shield-Enhanced Cryo Abyss Mage
22010203 : Test_Teleport-Enhanced Cryo Abyss Mage
22010204 : Test_Attacking-Enhanced Cryo Abyss Mage
22010205 : Cryo Abyss Mage (Mechanicus)
22010301 : Hydro Abyss Mage
22010302 : Test_Shield-Enhanced Hydro Abyss Mage
22010303 : Test_Teleport-Enhanced Hydro Abyss Mage
22010304 : Test_Attacking-Enhanced Hydro Abyss Mage
22010305 : Hydro Abyss Mage (Mechanicus)
22010401 : Electro Abyss Mage
22010402 : Electro Abyss Mage (Mechanicus)
22010403 : Electro Abyss Mage - Enhanced Shield
22010404 : Electro Abyss Mage - Enhanced Attack
22020101 : Abyss Herald: Wicked Torrents (Disappearing)
22020102 : Abyss Herald: Wicked Torrents (Permanent)
22030101 : Abyss Lector: Violet Lightning (Disappearing)
22030102 : Abyss Lector: Violet Lightning (Permanent)
22030201 : null
22030202 : null
22040101 : Rockfond Rifthound Whelp
22040201 : Thundercraven Rifthound Whelp
22050101 : Rockfond Rifthound
22050201 : Thundercraven Rifthound
22060101 : Golden Wolflord
22070101 : null
22070102 : null
22070201 : null
22070202 : null
22070301 : null
22070302 : null
22080101 : null
23010101 :
23010201 :
23010301 :
23010401 :
23010501 :
23010601 :
23020101 : Fatui Agent
23020102 :
23030101 : Fatui Electro Cicin Mage
23030102 :
23040101 : Fatui Cryo Cicin Mage
23040102 : Fatui Cryo Cicin Mage - Enhanced Attack
23050101 : Fatui Mirror Maiden
24010101 : Ruin Guard
24010102 : Ruin Guard (Mechanicus)
24010108 :
24010109 :
24010201 : Ruin Hunter
24010202 : Ruin Hunter (Mechanicus)
24010301 : Ruin Grader
24010302 : Ruin Grader (Mechanicus)
24010303 : Ruin Grader (Mining Version)
24010401 : null
24020101 : Ruin Cruiser
24020102 : Ruin Cruiser (Weakened)
24020103 : Ruin Cruiser (Enhanced)
24020201 : Ruin Destroyer
24020202 : Ruin Destroyer (Weakened)
24020203 : Ruin Destroyer (Enhanced)
24020301 : Ruin Defender
24020302 : Ruin Defender (Weakened)
24020303 : Ruin Defender (Enhanced)
24020401 : Ruin Scout
24020402 : Ruin Scout (Weakened)
24020403 : Ruin Scout (Enhanced)
24021101 : Perpetual Mechanical Array
24021102 : Perpetual Mechanical Array (Inazuma Event-Only)
25010101 : Liuliu
25010102 : Mystery Man
25010103 :
25010104 :
25010105 : null
25010106 : null
25010201 : Treasure Hoarder Scout
25010203 :
25010204 :
25010205 :
25010206 :
25010207 :
25010208 :
25010301 :
25010302 :
25010401 :
25010501 :
25010601 :
25010701 :
25020101 : Raptor
25020102 :
25020201 : Treasure Hoarder Marksman
25020204 :
25030101 : Carmen
25030102 : null
25030103 : null
25030201 : Treasure Hoarder Gravedigger
25030301 : Treasure Hoarder Oarsman
25040101 : Boss
25040102 : null
25040103 : null
25050101 : Millelith Soldier
25050201 : Millelith Sergeant
25050301 : Shogunate Infantry
25050401 : Shogunate Infantry Captain
25050402 :
25050501 : Sangonomiya Cohort
25050502 :
25060101 :
25060102 :
25070101 :
25070201 : null
25070202 : null
25080101 : Ronin
25080201 : Ronin: Sanzoku
25080202 : null
25080301 : Ronin: Anbu
25080401 : Shogunate Samurai
25080402 : null
25090101 : Marionette General
25090102 : Marionette General: Wind Bunshin
25090103 : Marionette General: Ice Bunshin
25090104 : Marionette General: Masked Bunshin
25090201 : Marionette General: Wind Bunshin (With Icon)
25090301 : Marionette General: Ice Bunshin (With Icon)
25090401 : Marionette General: Masked Bunshin (With Icon)
25100101 : Electro Kairagi
25100102 : null
25100201 : Pyro Kairagi
25100301 : Thunderwraith Kairagi
25100302 : null
25100401 : Flameghoul Kairagi
26010101 : Cryo Whopperflower
26010102 : Cryo Whopperflower (Dragonspine Event)
26010103 : Giant Cryo Whopperflower (2.3 Dragonspine Event)
26010104 :
26010201 : Pyro Whopperflower
26010301 : Electro Whopperflower
26020101 : Cryo Regisvine
26020102 : Cryo Regisvine (Dragonspine Event)
26020201 : Pyro Regisvine
26030101 : Geovishap Hatchling
26040101 : Geovishap: Hydro
26040102 : Geovishap: Pyro
26040103 : Geovishap: Cryo
26040104 : Geovishap: Electro
26040105 : Geovishap: Hydro (Mechanicus)
26050101 : Primo Geovishap: Hydro
26050201 : Primo Geovishap: Pyro
26050301 : Primo Geovishap: Cryo
26050401 : Primo Geovishap: Electro
26050501 : Primo Geovishap (Event)
26050601 : null
26050701 : null
26050702 : null
26050801 : null
26050802 : null
26050901 : null
26051001 : null
26051101 : null
26060101 : Electro Cicin
26060201 : Hydro Cicin
26060301 : Cryo Cicin
26080101 : null
26090101 : null
28010101 : Golden Crab
28010102 : Sun Crab
28010103 : Ocean Crab
28010104 : General Crab
28010105 : Pale Red Crab
28010106 : Crab
28010201 : Blue Horned Lizard
28010202 : Red Horned Lizard
28010203 : Green Horned Lizard
28010204 : Sunset Loach
28010205 : Golden Loach
28010206 : Sunny Loach
28010207 : Pith Lizard
28010301 : Frog
28010302 : Mud Frog
28010303 : Blue Frog
28010401 :
28010402 : null
28010403 :
28020101 : Snow Fox
28020102 : Crimson Fox
28020103 : Gifting Snow Fox
28020104 : Super-Gifting Snow Fox
28020105 : null
28020106 : null
28020201 : Squirrel
28020301 : Forest Boar
28020302 : Forest Piglet
28020303 : Snowboar
28020304 : Great Snowboar King
28020305 : Frozen Snowboar
28020306 : null
28020307 : null
28020308 : null
28020309 : null
28020401 : Northland Hound
28020402 : Forest-Patrol Hound
28020403 : Shiba
28020404 : Black-Back Hound
28020405 : Shiba
28020406 : Northland Hound (Dog Event Special, Extended LoS Range)
28020407 : null
28020408 : null
28020409 : null
28020410 : null
28020501 : Sapphire
28020502 : Jade-Eyed Cat
28020503 : Gray Snow Cat
28020504 : Northland Cat
28020505 : Tiger-Striped Cat
28020506 : Sheriff Cat
28020507 : Black Cat
28020508 : Sapphire
28020509 : Gray Snow Cat (Dog Event Special, Extended LoS Range)
28020510 : null
28020511 : null
28020512 : null
28020513 : null
28020601 : Snow Weasel
28020602 : Red-Tailed Weasel
28020603 : Boot Weasel
28020604 : Masked Weasel
28020605 : null
28020701 : Kitsune
28020702 : Kitsune (Dog Event Special, Extended LoS Range)
28020801 : Bake-Danuki
28020802 : null
28020803 : null
28020901 : Samurai Dog (Patrol)
28020902 : Samurai Dog (Combat)
28020903 : null
28030101 : Azure Crane
28030102 : Violet Ibis
28030201 : Brownwing Falcon
28030202 : Umbertail Falcon
28030203 : Lapis Glede
28030204 : Silkwhite Falcon
28030301 : White Pigeon
28030302 : Brightcrown Pigeon
28030303 : Graywing Pigeon
28030304 : Crimsonflank Pigeon
28030305 : Black King Pigeon
28030306 : Duck
28030307 : White Pigeon
28030308 : Brightcrown Pigeon
28030309 : Graywing Pigeon
28030310 : Crimsonflank Pigeon
28030311 : Black King Pigeon
28030401 : Crimson Finch
28030402 : Golden Finch
28030403 : Snow Finch
28030404 : Emerald Finch
28030405 : null
28030406 : null
28030407 : null
28030408 : null
28030409 : null
28030501 : Scarletbeak Duck
28030502 : Emerald Duck
28030503 : Golden Duck
28030504 : null
28040101 : Black-Back Bass
28040102 : Blue-Fin Bass
28040103 : Golden Bass
28040104 : Black-Back Bass
28040105 : Black-Back Bass
28040106 : Blue-Fin Bass
28040107 : Golden Bass
28040108 : null
28040201 : Medaka
28040202 : Glaze Medaka
28040203 : Sweet-Flower Medaka
28040204 : Aizen Medaka
28040205 : Dawncatcher
28040206 : Crystalfish
28040301 : Lunged Stickleback
28040302 : Betta
28040303 : Venomspine Fish
28040304 : Akai Maou
28040305 : Snowstrider
28040401 : Golden Koi
28040402 : Rusty Koi
28040501 : Brown Shirakodai
28040502 : Purple Shirakodai
28040503 : Tea-Colored Shirakodai
28040504 : Abiding Angelfish
28040505 : Raimei Angelfish
28040506 : Moonfin
28040601 : Pufferfish
28040602 : Bitter Pufferfish
28040701 : null
28040702 : null
28040703 : null
28050101 : Anemo Crystalfly
28050102 : Geo Crystalfly
28050103 : Cryo Crystalfly
28050104 : Electro Crystalfly
28050105 : null
28050201 : Amateur Weasel Thief
28050202 : Hoarder Weasel Thief
28050203 : Golden Weasel Thief
28050204 : null
28050211 : Amateur Weasel Thief
28050212 : Hoarder Weasel Thief
28050213 : Golden Weasel Thief
28050221 : null
28050222 : null
28050223 : null
28050301 : null
28210101 : Domestic Golden Crab
28210102 : Domestic Sun Crab
28210103 : Domestic Ocean Crab
28210104 : Domestic General Crab
28210105 : Domestic Pale Red Crab
28210201 : Domestic Blue Horned Lizard
28210202 : Domestic Red Horned Lizard
28210203 : Domestic Green Horned Lizard
28210204 : Domestic Sunset Loach
28210205 : Domestic Golden Loach
28210206 : Domestic Sunny Loach
28210207 : Domestic Marrow Lizard
28210301 : Domestic Frog
28210302 : Domestic Mud Frog
28210303 : Domestic Blue Frog
28210401 : Domestic Adorned Unagi
28210402 : null
28210403 : Domestic Red-Finned Unagi
28220101 : Domestic Snow Fox
28220102 : Domestic Crimson Fox
28220201 : Domestic Squirrel
28220301 : Domestic Forest Boar
28220303 : Domestic Snowboar
28220401 : Domestic Northland Hound
28220402 : Domestic Forest-Patrol Hound
28220403 : Domestic Shiba
28220404 : Domestic Black-Back Hound
28220501 : Domestic Sapphire
28220502 : Domestic Jade-Eyed Cat
28220503 : Domestic Gray Snow Cat
28220504 : Domestic Northland Cat
28220505 : Domestic Tiger-Striped Cat
28220506 : Domestic Sheriff Cat
28220601 : Domestic Snow Weasel
28220602 : Domestic Red-Tailed Weasel
28220603 : Domestic Boot Weasel
28220605 : null
28220701 : Domestic Kitsune
28220901 : Domestic Samurai Dog
28230101 : Domestic Azure Crane
28230102 : Domestic Violet Ibis
28230301 : Domestic White Pigeon
28230302 : Domestic Brightcrown Pigeon
28230303 : Domestic Graywing Pigeon
28230304 : Domestic Crimsonflank Pigeon
28230305 : Domestic Black King Pigeon
28230306 : Domestic Crow
28230401 : Domestic Crimson Finch
28230402 : Domestic Golden Finch
28230403 : Domestic Snow Finch
28230404 : Domestic Emerald Finch
28240201 : Domestic Medaka
28240202 : Domestic Glaze Medaka
28240203 : Domestic Sweet-Flower Medaka
28240204 : Domestic Aizen Medaka
28240205 : Domestic Dawncatcher
28240206 : Domestic Crystalfish
28240301 : Domestic Lunged Stickleback
28240302 : Domestic Betta
28240303 : Domestic Venomspine Fish
28240304 : Domestic Akai Maou
28240305 : Domestic Snowstrider
28240401 : Domestic Golden Koi
28240402 : Domestic Rusty Koi
28240501 : Domestic Brown Shirakodai
28240502 : Domestic Purple Shirakodai
28240503 : Domestic Tea-Colored Shirakodai
28240504 : Domestic Abiding Angelfish
28240505 : Domestic Raimei Angelfish
28240506 : Domestic Moonfin
28240601 : Domestic Pufferfish
28240602 : Domestic Bitter Pufferfish
28240701 : null
28240702 : null
28250101 : Domestic Anemo Crystalfly
28250102 : Domestic Geo Crystalfly
28250103 : Domestic Cryo Crystalfly
28250104 : Domestic Electro Crystalfly
28250105 : null
28250301 : null
29010101 : Stormterror
29010102 : Stormterror
29010103 : Stormterror
29010104 : Stormterror
29020101 : Boreas, Great Wolf King of the North
29020102 : Andrius, Dominator of Wolves
29030101 : Eleventh of the Fatui Harbingers - Tartaglia
29030102 : Delusion Unleashed - Childe
29030103 : Childe
29030104 : Eleventh of the Fatui Harbingers - Tartaglia
29030105 : Delusion Unleashed - Childe
29030106 : Childe
29040101 : Azhdaha
29040102 : Azhdaha
29040103 : Azhdaha
29040104 : Azhdaha
29040111 : Azhdaha
29050101 : Signora
29050102 : Crimson Witch of Embers
29050103 : Signora
29050104 : Crimson Witch of Embers
29060101 : Raiden Shogun
29060102 : Raiden Ei
29060201 : null
29060202 : null
29060203 : null
21010101: Hilichurl
21020101: Wooden Shieldwall Mitachurl
21020201: Blazing Axe Mitachurl
21020202: Blazing Axe Mitachurl
21020301: Rock Shieldwall Mitachurl
21020401: Frostarm Lawachurl
21020501: Stonehide Lawachurl
21020601: Ice Shieldwall Mitachurl
21020701: Crackling Axe Mitachurl
21020703: Crackling Axe Mitachurl
21020801: Thunderhelm Lawachurl
20010101: Dendro Slime
20010201: Large Dendro Slime
20010202: Large Dendro Slime
20010301: Anemo Slime
20010401: Large Anemo Slime
20010403: Large Anemo Slime
29010101: Stormterror
29010102: Stormterror
29010103: Stormterror
29010104: Stormterror
29020101: Lupus Boreas, Dominator of Wolves
29020102: Lupus Boreas, Dominator of Wolves
29030103: Childe
29030106: Childe
29040101: Azhdaha
29040102: Azhdaha
29040103: Azhdaha
29040104: Azhdaha
29040111: Azhdaha
29050102: La Signora
29050104: La Signora
29060202: Magatsu Mitake Narukami no Mikoto
29060203: Magatsu Mitake Narukami no Mikoto
20020101: Eye of the Storm
20040101: Electro Hypostasis
20040102: Electro Hypostasis
20040201: Anemo Hypostasis
20040202: Anemo Hypostasis
20040301: Geo Hypostasis
20040302: Geo Hypostasis
20040401: Hydro Hypostasis
20040501: Cryo Hypostasis
20040601: Pyro Hypostasis
20010501: Electro Slime
20010601: Large Electro Slime
20010604: Large Electro Slime
20010701: Mutant Electro Slime
20010702: Mutant Electro Slime
20010801: Cryo Slime
20010802: Cryo Slime
20010901: Large Cryo Slime
20010902: Large Cryo Slime
20010904: Large Cryo Slime
20011001: Hydro Slime
20011101: Large Hydro Slime
20011103: Large Hydro Slime
20011601: Hydro Hypostasis Summon
20011701: Hydro Hypostasis Summon
20011801: Hydro Hypostasis Summon
20011901: Hydro Hypostasis Summon
20050101: Oceanid
20050102: Oceanid
20050201: Hydro Mimic Boar
20050202: Hydro Mimic Boar
20050203: Hydro Mimic Boar
20050301: Hydro Mimic Crane
20050302: Hydro Mimic Crane
20050401: Hydro Mimic Crab
20050402: Hydro Mimic Crab
20050403: Hydro Mimic Crab
20050501: Hydro Mimic Finch
20050502: Hydro Mimic Finch
20050601: Hydro Mimic Mallard
20050602: Hydro Mimic Mallard
20050603: Hydro Mimic Mallard
20050701: Hydro Mimic Ferret
20050702: Hydro Mimic Ferret
20050703: Hydro Mimic Ferret
20050801: Hydro Mimic Frog
20050802: Hydro Mimic Frog
20050901: Hydro Mimic Raptor
20070101: Thunder Manifestation
21010201: Hilichurl Fighter
21010301: Wooden Shield Hilichurl Guard
21010401: Hilichurl Shooter
21010402: Hilichurl Shooter
21010501: Pyro Hilichurl Shooter
21010502: Pyro Hilichurl Shooter
21010601: Hilichurl Grenadier
21010603: Hilichurl Grenadier
21010701: Hilichurl Berserker
21010901: Cryo Hilichurl Shooter
21010902: Cryo Hilichurl Shooter
21011001: Electro Hilichurl Shooter
21011002: Electro Hilichurl Shooter
21011201: Rock Shield Hilichurl Guard
21011301: Cryo Hilichurl Grenadier
21011302: Cryo Hilichurl Grenadier
21011401: Ice Shield Hilichurl Guard
21011403: Ice Shield Hilichurl Guard
21011501: Unusual Hilichurl
21011601: Electro Hilichurl Grenadier
21011602: Electro Hilichurl Grenadier
20011201: Pyro Slime
20011202: Pyro Slime
20011301: Large Pyro Slime
20011304: Large Pyro Slime
20011401: Geo Slime
20011501: Large Geo Slime
20011502: Large Geo Slime
22010101: Pyro Abyss Mage
22010102: Pyro Abyss Mage
22010103: Pyro Abyss Mage
22010104: Pyro Abyss Mage
22010201: Cryo Abyss Mage
22010202: Cryo Abyss Mage
22010203: Cryo Abyss Mage
22010204: Cryo Abyss Mage
22010301: Hydro Abyss Mage
22010302: Hydro Abyss Mage
22010303: Hydro Abyss Mage
22010304: Hydro Abyss Mage
22010401: Electro Abyss Mage
22010403: Electro Abyss Mage
22010404: Electro Abyss Mage
22020101: Abyss Herald: Wicked Torrents
22020102: Abyss Herald: Wicked Torrents
22030101: Abyss Lector: Violet Lightning
22030102: Abyss Lector: Violet Lightning
22030201: Abyss Lector: Fathomless Flames
22030202: Abyss Lector: Fathomless Flames
22040101: Rockfond Rifthound Whelp
22040201: Thundercraven Rifthound Whelp
22050101: Rockfond Rifthound
22050201: Thundercraven Rifthound
22060101: Golden Wolflord
22070101: Shadowy Husk: Standard Bearer
22070102: Shadowy Husk: Standard Bearer
22070201: Shadowy Husk: Line Breaker
22070202: Shadowy Husk: Line Breaker
22070301: Shadowy Husk: Defender
22070302: Shadowy Husk: Defender
22080101: Black Serpent Knight: Windcutter
21030101: Hydro Samachurl
21030103: Hydro Samachurl
21030201: Dendro Samachurl
21030203: Dendro Samachurl
21030301: Anemo Samachurl
21030303: Anemo Samachurl
21030304: Anemo Samachurl
21030401: Geo Samachurl
21030402: Geo Samachurl
21030501: Cryo Samachurl
21030601: Electro Samachurl
21030603: Electro Samachurl
24010101: Ruin Guard
24010108: Ruin Guard
24010109: Ruin Guard
24010201: Ruin Hunter
24010301: Ruin Grader
24010303: Ruin Grader
24010401: Ruin Serpent
24020101: Ruin Cruiser
24020102: Ruin Cruiser
24020103: Ruin Cruiser
24020201: Ruin Destroyer
24020202: Ruin Destroyer
24020203: Ruin Destroyer
24020301: Ruin Defender
24020302: Ruin Defender
24020303: Ruin Defender
24020401: Ruin Scout
24020402: Ruin Scout
24020403: Ruin Scout
24021101: Perpetual Mechanical Array
24021102: Perpetual Mechanical Array
23010101: Fatui Skirmisher - Cryogunner Legionnaire
23010201: Fatui Skirmisher - Hydrogunner Legionnaire
23010301: Fatui Skirmisher - Electrohammer Vanguard
23010401: Fatui Skirmisher - Geochanter Bracer
23010501: Fatui Skirmisher - Anemoboxer Vanguard
23010601: Fatui Skirmisher - Pyroslinger Bracer
23020101: Fatui Pyro Agent
23020102: Fatui Pyro Agent
23030101: Fatui Electro Cicin Mage
23030102: Fatui Electro Cicin Mage
23040101: Fatui Cryo Cicin Mage
23040102: Fatui Cryo Cicin Mage
23050101: Mirror Maiden
25010101: Treasure Hoarders - Liuliu
25010102: Treasure Hoarders - Liuliu
25010103: Treasure Hoarders - Liuliu
25010104: Treasure Hoarders - Liuliu
25010105: Treasure Hoarders - Liuliu
25010106: Treasure Hoarders - Liuliu
25010201: Treasure Hoarders - Scout
25010203: Treasure Hoarders - Scout
25010204: Treasure Hoarders - Scout
25010205: Treasure Hoarders - Scout
25010206: Treasure Hoarders - Scout
25010207: Treasure Hoarders - Scout
25010208: Treasure Hoarders - Scout
25010301: Treasure Hoarders: Pyro Potioneer
25010302: Treasure Hoarders: Pyro Potioneer
25010401: Treasure Hoarders: Hydro Potioneer
25010501: Treasure Hoarders: Electro Potioneer
25010601: Treasure Hoarders: Cryo Potioneer
25010701: Treasure Hoarders: Handyman
25020101: Treasure Hoarders - Raptor
25020102: Treasure Hoarders - Raptor
25020201: Treasure Hoarders - Marksman
25020204: Treasure Hoarders - Marksman
25030101: Treasure Hoarders - Carmen
25030102: Treasure Hoarders - Carmen
25030103: Treasure Hoarders - Carmen
25030201: Treasure Hoarders: Gravedigger
25030301: Treasure Hoarders - Seaman
25040101: Treasure Hoarders - Boss
25040102: Treasure Hoarders - Boss
25040103: Treasure Hoarders - Boss
25050101: Millelith Soldier
25050201: Millelith Sergeant
25050301: Shogunate Infantry
25050401: Shogunate Infantry Captain
25050402: Shogunate Infantry Captain
25050501: Sangonomiya Cohort
25050502: Sangonomiya Cohort
25060101: Treasure Hoarders - Pugilist
25060102: Treasure Hoarders - Pugilist
25070101: Treasure Hoarders - Crusher
25070201: Treasure Hoarder: Wallenstein
25070202: Treasure Hoarder: Wallenstein
25080101: Nobushi: Jintouban
25080201: Nobushi: Hitsukeban
25080202: Nobushi: Hitsukeban
25080301: Nobushi: Kikouban
25080401: Yoriki Samurai
25080402: Yoriki Samurai
25090101: Maguu Kenki
25090102: Maguu Kenki
25090103: Maguu Kenki
25090104: Maguu Kenki
25090201: Maguu Kenki: Lone Gale
25090301: Maguu Kenki: Galloping Frost
25090401: Maguu Kenki: Mask of Terror
25100101: Kairagi: Dancing Thunder
25100301: Ochimusha: Ensorcelled Thunder
25100201: Kairagi: Fiery Might
25100401: Ochimusha: Cankered Flame
25100102: Kairagi: Dancing Thunder
25100302: Ochimusha: Ensorcelled Thunder
26010101: Cryo Whopperflower
26010102: Cryo Whopperflower
26010103: Cryo Whopperflower
26010104: Cryo Whopperflower
26010201: Pyro Whopperflower
26010301: Electro Whopperflower
26020101: Cryo Regisvine
26020102: Cryo Regisvine
26020201: Pyro Regisvine
26030101: Geovishap Hatchling
26040101: Geovishap
26040102: Geovishap
26040103: Geovishap
26040104: Geovishap
26050101: Primo Geovishap
26050201: Primo Geovishap
26050301: Primo Geovishap
26050401: Primo Geovishap
26050501: Primo Geovishap
26050601: Primordial Bathysmal Vishap
26050901: Primordial Bathysmal Vishap
26050701: Rimebiter Bathysmal Vishap
26051001: Rimebiter Bathysmal Vishap
26050702: Rimebiter Bathysmal Vishap
26050801: Bolteater Bathysmal Vishap
26051101: Bolteater Bathysmal Vishap
26050802: Bolteater Bathysmal Vishap
26060101: Electro Cicin
26060201: Hydro Cicin
26060301: Cryo Cicin
26080101: Beisht
26090101: Floating Hydro Fungus
20060101: Hydro Specter
20060201: Geo Specter
20060301: Anemo Specter
20060401: Cryo Specter
20060501: Electro Specter
20060601: Pyro Specter
21010102: Hilichurl
21020102: Wooden Shieldwall Mitachurl
21020203: Blazing Axe Mitachurl
21020702: Crackling Axe Mitachurl
21020302: Rock Shieldwall Mitachurl
21020402: Frostarm Lawachurl
21020502: Stonehide Lawachurl
21020802: Thunderhelm Lawachurl
21020602: Ice Shieldwall Mitachurl
20010302: Anemo Slime
20010402: Large Anemo Slime
20010502: Electro Slime
20010602: Large Electro Slime
20010703: Mutant Electro Slime
20010803: Cryo Slime
20010903: Large Cryo Slime
20011002: Hydro Slime
20011102: Large Hydro Slime
21010302: Wooden Shield Hilichurl Guard
21010702: Hilichurl Berserker
21011202: Rock Shield Hilichurl Guard
21011402: Ice Shield Hilichurl Guard
20011203: Pyro Slime
20011302: Large Pyro Slime
20011402: Geo Slime
20011503: Large Geo Slime
22010105: Pyro Abyss Mage
22010205: Cryo Abyss Mage
22010305: Hydro Abyss Mage
22010402: Electro Abyss Mage
21030102: Hydro Samachurl
21030202: Dendro Samachurl
21030302: Anemo Samachurl
21030403: Geo Samachurl
21030502: Cryo Samachurl
21030602: Electro Samachurl
24010102: Ruin Guard
24010202: Ruin Hunter
24010302: Ruin Grader
26040105: Geovishap

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,142 +1,145 @@
11101: 无锋剑
11201: 银剑
11301: 冷刃
11302: 黎明神剑
11303: 旅行剑
11304: 暗铁剑
11305: 吃虎鱼刀
11306: 飞天御剑
11401: 西风剑
11402: 笛剑
11403: 祭礼剑
11404: 宗室长剑
11405: 匣里龙吟
11406: 试作斩岩
11407: 铁蜂刺
11408: 黑岩长剑
11409: 黑剑
11410: 暗巷闪光
11412: 降临之剑
11413: 腐殖之剑
11414: 天目影打刀
11415: 辰砂之纺锤
11501: 风鹰剑
11502: 天空之刃
11503: 苍古自由之誓
11504: 斫峰之刃
11505: 磐岩结绿
11509: 雾切之回光
11510: 波乱月白经津
12101: 训练大剑
12201: 佣兵重剑
12301: 铁影阔剑
12302: 沐浴龙血的剑
12303: 白铁大剑
12304: 石英大剑
12305: 以理服人
12306: 飞天大御剑
12401: 西风大剑
12402: 钟剑
12403: 祭礼大剑
12404: 宗室大剑
12405: 雨裁
12406: 试作古华
12407: 白影剑
12408: 黑岩斩刀
12409: 螭骨剑
12410: 千岩古剑
12411: 雪葬的星银
12412: 衔珠海皇
12414: 桂木斩长正
12416: 恶王丸
12501: 天空之傲
12502: 狼的末路
12503: 松籁响起之时
12504: 无工之剑
12510: 赤角石溃杵
13101: 新手长枪
13201: 铁尖枪
13301: 白缨枪
13302: 钺矛
13303: 黑缨枪
13304: 「旗杆」
13401: 匣里灭辰
13402: 试作星镰
13403: 流月针
13404: 黑岩刺枪
13405: 决斗之枪
13406: 千岩长枪
13407: 西风长枪
13408: 宗室猎枪
13409: 龙脊长枪
13414: 喜多院十文字
13415: 「渔获」
13416: 断浪长鳍
13501: 护摩之杖
13502: 天空之脊
13504: 贯虹之槊
13505: 和璞鸢
13507: 息灾
13509: 薙草之稻光
14101: 学徒笔记
14201: 口袋魔导书
14301: 魔导绪论
14302: 讨龙英杰谭
14303: 异世界行记
14304: 翡玉法球
14305: 甲级宝珏
14306: 琥珀玥
14401: 西风秘典
14402: 流浪乐章
14403: 祭礼残章
14404: 宗室秘法录
14405: 匣里日月
14406: 试作金珀
14407: 万国诸海图谱
14408: 黑岩绯玉
14409: 昭心
14410: 暗巷的酒与诗
14412: 忍冬之果
14413: 嘟嘟可故事集
14414: 白辰之环
14415: 证誓之明瞳
14501: 天空之卷
14502: 四风原典
14504: 尘世之锁
14506: 不灭月华
14509: 神乐之真意
15101: 猎弓
15201: 历练的猎弓
15301: 鸦羽弓
15302: 神射手之誓
15303: 反曲弓
15304: 弹弓
15305: 信使
15306: 黑檀弓
15401: 西风猎弓
15402: 绝弦
15403: 祭礼弓
15404: 宗室长弓
15405: 弓藏
15406: 试作澹月
15407: 钢轮弓
15408: 黑岩战弓
15409: 苍翠猎弓
15410: 暗巷猎手
15412: 幽夜华尔兹
15413: 风花之颂
15414: 破魔之弓
15415: 掠食者
15416: 曚云之月
15501: 天空之翼
15502: 阿莫斯之弓
15503: 终末嗟叹之诗
15507: 冬极白星
15509: 飞雷之弦振
20001: (test)竿测试
10002: (test)穿模测试
10003: (test)穿模测试
10004: (test)穿模测试
10005: (test)穿模测试
10006: (test)穿模测试
10008: (test)穿模测试
11101: Dull Blade
11201: Silver Sword
11301: Cool Steel
11302: Harbinger of Dawn
11303: Traveler's Handy Sword
11304: Dark Iron Sword
11305: Fillet Blade
11306: Skyrider Sword
11401: Favonius Sword
11402: The Flute
11403: Sacrificial Sword
11404: Royal Longsword
11405: Lion's Roar
11406: Prototype Rancour
11407: Iron Sting
11408: Blackcliff Longsword
11409: The Black Sword
11410: The Alley Flash
11412: Sword of Descension
11413: Festering Desire
11414: Amenoma Kageuchi
11415: Cinnabar Spindle
11501: Aquila Favonia
11502: Skyward Blade
11503: Freedom-Sworn
11504: Summit Shaper
11505: Primordial Jade Cutter
11506: Primordial Jade Cutter
11507: One Side
11509: Mistsplitter Reforged
11510: Haran Geppaku Futsu
12101: Waster Greatsword
12201: Old Merc's Pal
12301: Ferrous Shadow
12302: Bloodtainted Greatsword
12303: White Iron Greatsword
12304: Quartz
12305: Debate Club
12306: Skyrider Greatsword
12401: Favonius Greatsword
12402: The Bell
12403: Sacrificial Greatsword
12404: Royal Greatsword
12405: Rainslasher
12406: Prototype Archaic
12407: Whiteblind
12408: Blackcliff Slasher
12409: Serpent Spine
12410: Lithic Blade
12411: Snow-Tombed Starsilver
12412: Luxurious Sea-Lord
12414: Katsuragikiri Nagamasa
12416: Akuoumaru
12501: Skyward Pride
12502: Wolf's Gravestone
12503: Song of Broken Pines
12504: The Unforged
12505: Primordial Jade Greatsword
12506: The Other Side
12510: Redhorn Stonethresher
13101: Beginner's Protector
13201: Iron Point
13301: White Tassel
13302: Halberd
13303: Black Tassel
13304: The Flagstaff
13401: Dragon's Bane
13402: Prototype Starglitter
13403: Crescent Pike
13404: Blackcliff Pole
13405: Deathmatch
13406: Lithic Spear
13407: Favonius Lance
13408: Royal Spear
13409: Dragonspine Spear
13414: Kitain Cross Spear
13415: "The Catch"
13416: Wavebreaker's Fin
13501: Staff of Homa
13502: Skyward Spine
13504: Vortex Vanquisher
13505: Primordial Jade Winged-Spear
13506: Deicide
13507: Calamity Queller
13509: Engulfing Lightning
14101: Apprentice's Notes
14201: Pocket Grimoire
14301: Magic Guide
14302: Thrilling Tales of Dragon Slayers
14303: Otherworldly Story
14304: Emerald Orb
14305: Twin Nephrite
14306: Amber Bead
14401: Favonius Codex
14402: The Widsith
14403: Sacrificial Fragments
14404: Royal Grimoire
14405: Solar Pearl
14406: Prototype Amber
14407: Mappa Mare
14408: Blackcliff Agate
14409: Eye of Perception
14410: Wine and Song
14412: Frostbearer
14413: Dodoco Tales
14414: Hakushin Ring
14415: Oathsworn Eye
14501: Skyward Atlas
14502: Lost Prayer to the Sacred Winds
14503: Lost Ballade
14504: Memory of Dust
14505: Primordial Jade Regalia
14506: Everlasting Moonglow
14509: Kagura's Verity
15101: Hunter's Bow
15201: Seasoned Hunter's Bow
15301: Raven Bow
15302: Sharpshooter's Oath
15303: Recurve Bow
15304: Slingshot
15305: Messenger
15306: Ebony Bow
15401: Favonius Warbow
15402: The Stringless
15403: Sacrificial Bow
15404: Royal Bow
15405: Rust
15406: Prototype Crescent
15407: Compound Bow
15408: Blackcliff Warbow
15409: The Viridescent Hunt
15410: Alley Hunter
15412: Mitternachts Waltz
15413: Windblume Ode
15414: Hamayumi
15415: Predator
15416: Mouun's Moon
15501: Skyward Harp
15502: Amos' Bow
15503: Elegy for the End
15504: Kunwu's Wyrmbane
15505: Primordial Jade Vista
15506: Mirror Breaker
15507: Polar Star
15509: Thundering Pulse

View File

@@ -0,0 +1,194 @@
[
{
"Name": "最大生命值",
"ArgName": "maxhp",
"Percent": false,
"Tip": ""
},
{
"Name": "当前生命值",
"ArgName": "hp",
"Percent": false,
"Tip": ""
},
{
"Name": "当前攻击力",
"ArgName": "atk",
"Percent": false,
"Tip": ""
},
{
"Name": "基础攻击力",
"ArgName": "atkb",
"Percent": false,
"Tip": "这似乎不会重新计算攻击力可能只对buff类有效。"
},
{
"Name": "防御力",
"ArgName": "def",
"Percent": false,
"Tip": ""
},
{
"Name": "元素精通",
"ArgName": "em",
"Percent": false,
"Tip": ""
},
{
"Name": "元素充能效率",
"ArgName": "er",
"Percent": true,
"Tip": ""
},
{
"Name": "暴击率",
"ArgName": "crate",
"Percent": true,
"Tip": ""
},
{
"Name": "暴击伤害",
"ArgName": "cdmg",
"Percent": true,
"Tip": ""
},
{
"Name": "伤害加成",
"ArgName": "dmg",
"Percent": true,
"Tip": "这似乎在攻击后被重置"
},
{
"Name": "风元素伤害加成",
"ArgName": "eanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "冰元素伤害加成",
"ArgName": "ecryo",
"Percent": true,
"Tip": ""
},
{
"Name": "草元素伤害加成",
"ArgName": "edendro",
"Percent": true,
"Tip": ""
},
{
"Name": "雷元素伤害加成",
"ArgName": "eelectro",
"Percent": true,
"Tip": ""
},
{
"Name": "土元素伤害加成",
"ArgName": "egeo",
"Percent": true,
"Tip": ""
},
{
"Name": "水元素伤害加成",
"ArgName": "ehydro",
"Percent": true,
"Tip": ""
},
{
"Name": "火元素伤害加成",
"ArgName": "epyro",
"Percent": true,
"Tip": ""
},
{
"Name": "物理伤害加成",
"ArgName": "ephys",
"Percent": true,
"Tip": ""
},
{
"Name": "伤害减免",
"ArgName": "resall",
"Percent": true,
"Tip": "这似乎在攻击后被重置"
},
{
"Name": "风元素伤害减免",
"ArgName": "resanemo",
"Percent": true,
"Tip": ""
},
{
"Name": "冰元素伤害减免",
"ArgName": "rescryo",
"Percent": true,
"Tip": ""
},
{
"Name": "草元素伤害减免",
"ArgName": "resdendro",
"Percent": true,
"Tip": ""
},
{
"Name": "雷元素伤害减免",
"ArgName": "reselectro",
"Percent": true,
"Tip": ""
},
{
"Name": "土元素伤害减免",
"ArgName": "resgeo",
"Percent": true,
"Tip": ""
},
{
"Name": "水元素伤害减免",
"ArgName": "reshydro",
"Percent": true,
"Tip": ""
},
{
"Name": "火元素伤害减免",
"ArgName": "respyro",
"Percent": true,
"Tip": ""
},
{
"Name": "物理伤害减免",
"ArgName": "resphys",
"Percent": true,
"Tip": ""
},
{
"Name": "冷却缩减",
"ArgName": "cdr",
"Percent": true,
"Tip": ""
},
{
"Name": "治疗加成",
"ArgName": "heal",
"Percent": true,
"Tip": ""
},
{
"Name": "受治疗加成",
"ArgName": "heali",
"Percent": true,
"Tip": ""
},
{
"Name": "护盾强效",
"ArgName": "shield",
"Percent": true,
"Tip": ""
},
{
"Name": "忽略防御",
"ArgName": "defi",
"Percent": true,
"Tip": ""
}
]

View File

@@ -1,5 +1,7 @@
无敌
/godmode
无限耐力
/nostamina
升到60级
/give 102 1880200
@@ -41,7 +43,7 @@
私信
/say <player> <message>
进来吧你
/coop <playerId> <target playerId>
/coop @targetId
自杀
/killcharacter
暗杀
@@ -49,4 +51,6 @@
都有谁在?
/list uid
重载服务配置
/reload
/reload
清场
/killall

View File

@@ -0,0 +1,35 @@
007: 初行者推荐祈愿
008: 奔行世间
009: 杯装之诗
010: 黎明巡礼
011: 南风之眷
012: 靖妖傩舞
013: 神铸赋形
015: 闪焰的驻足
016: 初行者推荐祈愿
017: 奔行世间
018: 闪焰的驻足
019: 杯装之诗
020: 神铸赋形
021: 神铸赋形
022: 奔行世间
023: 暂别冬都
024: 陵薮市朝
027: 深秘之息
028: 浮生孰来
031: 烟火之邀
032: 鱼龙灯昼
033: 赤团开时
036: 杯装之诗
037: 暂别冬都
040: 陵薮市朝
041: 浪涌之瞬
045: 叶落风随
048: 白鹭之庭
049: 焰色天河
052: 影寂天下人
053: 浮岳虹珠
061: 鬼门斗宴
065: 出尘入世
071: 华紫樱绯
076: 苍流踏花

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,88 @@
/**
* Grasscutter Tools
* Copyright (C) 2022 jie65535
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
**/
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace GrasscutterTools.Utils
{
public static class HttpHelper
{
public static readonly HttpClient HttpClient = new HttpClient
{
Timeout = TimeSpan.FromSeconds(10),
};
static HttpHelper()
{
ServicePointManager.ServerCertificateValidationCallback = (_, _1, _2, _3) => true;
}
public static async Task<T> GetAsync<T>(string url)
{
try
{
var responseMessage = await HttpClient.GetAsync(url);
if (responseMessage.IsSuccessStatusCode)
{
var responseString = await responseMessage.Content.ReadAsStringAsync();
return JsonConvert.DeserializeObject<T>(responseString);
}
else
{
throw new HttpRequestException(responseMessage.ReasonPhrase);
}
}
catch (Exception ex)
{
if (ex.InnerException != null)
throw ex.InnerException;
throw;
}
}
public static async Task<T> PostAsync<T>(string url, object obj)
{
try
{
var content = new StringContent(JsonConvert.SerializeObject(obj), Encoding.UTF8, "application/json");
var responseMessage = await HttpClient.PostAsync(url, content);
if (responseMessage.IsSuccessStatusCode)
{
var responseString = await responseMessage.Content.ReadAsStringAsync();
return JsonConvert.DeserializeObject<T>(responseString);
}
else
{
throw new HttpRequestException(responseMessage.ReasonPhrase);
}
}
catch (Exception ex)
{
if (ex.InnerException != null)
throw ex.InnerException;
throw;
}
}
}
}

View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="5.7.0" targetFramework="net48" developmentDependency="true" />
<package id="Fody" version="6.5.5" targetFramework="net48" developmentDependency="true" />
<package id="Fody" version="6.6.1" targetFramework="net48" developmentDependency="true" />
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net48" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="net48" />
<package id="NETStandard.Library" version="1.6.1" targetFramework="net48" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
<package id="Resource.Embedder" version="2.2.0" targetFramework="net48" />
<package id="System.AppContext" version="4.3.0" targetFramework="net48" />
<package id="System.Collections" version="4.3.0" targetFramework="net48" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net48" />