cloning 2009Scape Server Code as a baseline
This commit is contained in:
commit
03157d3736
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Starting out with the openjdk-11-slim image
|
||||||
|
FROM maven:3-openjdk-11-slim
|
||||||
|
|
||||||
|
# Set working directory to /app
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Update apt; install git and git-lfs
|
||||||
|
RUN apt-get update && apt-get -qq -y install git git-lfs
|
||||||
|
|
||||||
|
# Clone the 2009scape repository
|
||||||
|
RUN git clone --depth=1 https://gitlab.com/2009scape/2009scape.git
|
||||||
|
|
||||||
|
# Fake it til you make it - let's go home
|
||||||
|
WORKDIR /app/2009scape
|
||||||
|
|
||||||
|
# Make sure ./run has permissions
|
||||||
|
RUN chmod +x run
|
||||||
|
|
||||||
|
# Run it
|
||||||
|
CMD ["./run"]
|
661
LICENSE
Normal file
661
LICENSE
Normal file
@ -0,0 +1,661 @@
|
|||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
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/>.
|
110
Proto/Management.proto
Normal file
110
Proto/Management.proto
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
syntax = "proto2";
|
||||||
|
|
||||||
|
package management;
|
||||||
|
|
||||||
|
option java_multiple_files = true;
|
||||||
|
option java_package = "proto.management";
|
||||||
|
option java_outer_classname = "ManagementProtos";
|
||||||
|
|
||||||
|
message PlayerStatusUpdate {
|
||||||
|
required string username = 1;
|
||||||
|
required int32 world = 2;
|
||||||
|
required bool notifyFriendsOnly = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ClanMessage {
|
||||||
|
required string sender = 1;
|
||||||
|
required string clanName = 2;
|
||||||
|
required string message = 3;
|
||||||
|
required int32 rank = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrivateMessage {
|
||||||
|
required string sender = 1;
|
||||||
|
required string receiver = 2;
|
||||||
|
required string message = 3;
|
||||||
|
required int32 rank = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RequestContactInfo {
|
||||||
|
required string username = 1;
|
||||||
|
required int32 world = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SendContactInfo {
|
||||||
|
message Contact {
|
||||||
|
required string username = 1;
|
||||||
|
optional int32 world = 2;
|
||||||
|
optional int32 rank = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
required string username = 1;
|
||||||
|
repeated Contact contacts = 2;
|
||||||
|
repeated string blocked = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FriendUpdate {
|
||||||
|
enum Type {
|
||||||
|
ADD = 0;
|
||||||
|
REMOVE = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
required Type type = 1;
|
||||||
|
required string username = 2;
|
||||||
|
required string friend = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BlockedUpdate {
|
||||||
|
enum Type {
|
||||||
|
ADD = 0;
|
||||||
|
REMOVE = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
required Type type = 1;
|
||||||
|
required string username = 2;
|
||||||
|
required string friend = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RequestClanInfo {
|
||||||
|
required int32 world = 1;
|
||||||
|
required string clanOwner = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SendClanInfo {
|
||||||
|
message ClanMember {
|
||||||
|
required string username = 1;
|
||||||
|
required int32 world = 2;
|
||||||
|
required int32 rank = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
required string clanOwner = 1;
|
||||||
|
required bool hasInfo = 2;
|
||||||
|
optional string clanName = 3;
|
||||||
|
optional int32 joinRequirement = 4;
|
||||||
|
optional int32 kickRequirement = 5;
|
||||||
|
optional int32 messageRequirement = 6;
|
||||||
|
optional int32 lootRequirement = 7;
|
||||||
|
repeated ClanMember members = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message JoinClanRequest {
|
||||||
|
required string username = 1;
|
||||||
|
required string clanName = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LeaveClanRequest {
|
||||||
|
required string username = 1;
|
||||||
|
required string clanName = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ClanJoinNotification {
|
||||||
|
required string username = 1;
|
||||||
|
required string clanName = 2;
|
||||||
|
required int32 world = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ClanLeaveNotification {
|
||||||
|
required string username = 1;
|
||||||
|
required string clanName = 2;
|
||||||
|
required int32 world = 3;
|
||||||
|
}
|
152
README.md
Normal file
152
README.md
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
[![AGPL-3.0 License][license-shield]][license-url]
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://gitlab.com/2009scape/2009scape">
|
||||||
|
<img src="https://i.imgur.com/RsfVfkB.png" alt="Logo" width="300" height="67">
|
||||||
|
</a>
|
||||||
|
<h3 align="center">An open source MMORPG emulation server</h3>
|
||||||
|
|
||||||
|
<h1 align="center"><a href="https://2009scape.org/"><strong>Play the live server »</strong></a></h1>
|
||||||
|
<p align="center">
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<a href="https://2009scape.org/">Community Hosted Server</a>
|
||||||
|
·
|
||||||
|
<a href="https://discord.gg/43YPGND">Discord Invite</a>
|
||||||
|
· <a href="https://gitlab.com/2009scape/2009scape/-/issues">Report Bug</a>
|
||||||
|
</p>
|
||||||
|
<h3>NOTE: Bug reports and support are only accepted by/offered to players of our live hosted server. We will not provide support to those running their own copies.</h3>
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
* [Live Server Information](#live-server-information)
|
||||||
|
* [History of this Codebase](#history-of-this-codebase)
|
||||||
|
* [Our Core Values](#our-core-values)
|
||||||
|
* [Contributing](#contributing)
|
||||||
|
* [Setup for Content Developers](#content-developers-setting-up-the-project)
|
||||||
|
* [GitLab Setup](#gitlab-setup)
|
||||||
|
* [Prerequisites](#prerequisites)
|
||||||
|
* [Project Setup](#project-setup)
|
||||||
|
* [Running the project](#running-the-project)
|
||||||
|
* [License](#license)
|
||||||
|
* [Contact](#contact)
|
||||||
|
|
||||||
|
|
||||||
|
## Live Server Information
|
||||||
|
|
||||||
|
Did you know that the 2009Scape Development Team hosts the main branch of this repo that you can connect to and play? Come join a growing community of people that love to grind out skills, quest, and hangout together. A download link for the launcher can be found [here](https://2009scape.org). Connecting to the live server is also one of the easiest ways to identify bugs/typos/missing features. Identifying these issues help developers, whether already on the project, or are even brand new to the project, fix bugs and issues in an expedited rate.
|
||||||
|
|
||||||
|
## History of this Codebase
|
||||||
|
|
||||||
|
The 2009Scape you see today has gone through a magnitude of changes. Originally starting its life as Arios498, this server saw a lot of people playing it daily, unfortunately, it was for profit and closed source. It was later upgraded to Arios530, targeting the build 530 of runescape with content in and around January 1st, 2009. Development came to a halt when a developer of the closed source project released the source code. The original developers of this server went on to create Kratos 530 back in 2015.
|
||||||
|
|
||||||
|
This project was started out of love for the 530 revision. A small group of developers spent thousands of hours improving on the existing source that was left to the curb. Over the past year, this project has seen many developers coming and going, fixing bugs that they find either through their own server, or bugs that they find in the live game that is currently hosted. We do not accept donations of any kind. The smiles and wonderful compliments are more than enough to keep us going! Content and bugfixes are always number one on our list, and we try our best to answer any questions that you may have, provided you have read through this readme and frequently asked questions on the discord.
|
||||||
|
|
||||||
|
## Our Core Values
|
||||||
|
|
||||||
|
In the current climate of RuneScape Private Servers in general, we believe it's important to wear our core values on our sleeves and defend them with everything we have! Below are what we hold as our core, most important values:
|
||||||
|
|
||||||
|
* **We do NOT believe in profiting off an RSPS.** To many of us here at the 2009Scape team, what we care about most is preserving the wonderful work of the Gower brothers in the most true-to-spirit manner possible. We do NOT do this to make a profit, and in fact **we outright refuse donations.** This is a labor of love and passion for everyone involved, a love for real RS2! This is perhaps the single most central value we have. If you want to "donate" to us, do so with your time and your dedication. That is what we desire most.
|
||||||
|
|
||||||
|
|
||||||
|
* **Authenticity is central to the work**. As a remake, one of the most important things to us is being true to the Gower spirit. What the Gowers brought to us in our childhood is what we are driven to preserve for the remainder of the world.
|
||||||
|
|
||||||
|
|
||||||
|
* **Open Source is crucial to the project**. We believe open source remakes to be crucial to preserving what we loved in our childhood, and we believe for-profit and/or closed-source servers are destined to flounder out and fail.
|
||||||
|
|
||||||
|
|
||||||
|
* **Be welcoming**. One of our most important goals is to provide a community of friendly and caring people that get along and love to enjoy the game with eachother. For this reason, we do tend to be very strict when it comes to toxicity. We care about quality a whole lot more than quantity!
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
**Note: All merge requests MUST be made using the defaut MR template. Merge requests that do not use this template will not be accepted.**
|
||||||
|
|
||||||
|
**Note: All new contributions MUST be made in Kotlin unless you are updating or fixing a bug in legacy code. More information on Kotlin can be found [here](https://kotlinlang.org/).**
|
||||||
|
|
||||||
|
There are many ways everyone can contribute! From the most seasoned programmers to those who do not have the most remote clue how code works! Below are some things that can always use some love from the community.
|
||||||
|
|
||||||
|
* **Content Testers**: I'm putting this one up top because of its importance. We, the contributors and developers, aren't perfect. Sometimes, we make mistakes. This is where you come in - If you want a sneak peek at upcoming content, have a knack for breaking things, or just want to contribute to the project without making code changes, you can become a tester! If you are interested in becoming a tester, reach out in the testing channel of the discord. [Why become a tester?](#why-become-a-tester)
|
||||||
|
|
||||||
|
|
||||||
|
* **Wiki Editors**: Did you know we have a wiki? Well it's always in need of people to fill it out and stay on top of it. Editing the wiki is one of the easiest ways you can contribute to 2009Scape! If you're an active player and have the will, there's so much you could be helping out with over at the wiki. [Click here to go to the wiki](https://cdn.2009scape.org/wiki/doku.php?id=start).
|
||||||
|
|
||||||
|
|
||||||
|
* **JSON editors**: We could always use more JSON editors! Please note that JSON editing **must** be done using the [Thanos Tool](https://gitlab.com/2009scape/tools/rs09-thanos-tool/-/jobs/5153567519/artifacts/file/build/libs/zaros.jar). **This does not run on modern Java** and requires **Java 11** to run (using the usual 'java -jar zaros.jar').
|
||||||
|
|
||||||
|
|
||||||
|
* **Authenticity Auditors**: As a remake, authenticity is central to our core values! We could always use someone to go through the game and create large lists of simple tasks that can be done to bring us closer to the authentic 2009 game! The preferred way to do this is one-area-at-a-time. If you want to see an example of some audits we've done in the past, take a look [here](https://gitlab.com/2009scape/2009scape/-/issues/46).
|
||||||
|
|
||||||
|
|
||||||
|
* **Code Contributors**: As a remake, we have massive amounts of content that need to be implemented or corrected. If you know how to program or are willing to learn, this is where you could be extremely helpful! We need everything from quests, to dialogue, to mini-games, to skills that still need to be corrected or implemented. This is perhaps one of the most valuable ways someone could help out the project! If you are interested in developing content, reach out in the development channel of the Discord.
|
||||||
|
|
||||||
|
## Content Developers: Setting Up the Project.
|
||||||
|
### GitLab Setup
|
||||||
|
**Note: This allows you to commit changes to the main repo (with approval)! Also, always stay up to date with the most recent updates by pulling into your copy when 2009Scape updates!**
|
||||||
|
|
||||||
|
1. Create a GitLab account if you haven't done so already.
|
||||||
|
|
||||||
|
2. Follow our Git Basics guide [over on the wiki.](https://gitlab.com/2009scape/2009scape/-/wikis/git-basics)
|
||||||
|
|
||||||
|
**If at anytime you have an issue with GitLab please refer to the [GitLab help center](https://gitlab.com/help).**
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
These are mandatory. If you don't install **all** of these programs **in order** prior to
|
||||||
|
the project's setup, things won't work. At all.
|
||||||
|
|
||||||
|
*For Windows users* - Turn developer mode on first in Windows developer settings.
|
||||||
|
|
||||||
|
* [JDK 11](https://adoptium.net) or the Java SE Development Kit Version 11
|
||||||
|
* [IntelliJ IDEA Community](https://www.jetbrains.com/idea/download/)
|
||||||
|
|
||||||
|
### SSH setup
|
||||||
|
|
||||||
|
1. [Set up a key if you don't have one (ed25519)](https://docs.gitlab.com/ee/user/ssh.html#generate-an-ssh-key-pair)
|
||||||
|
2. [Add your public key to your gitlab account](https://docs.gitlab.com/ee/user/ssh.html#add-an-ssh-key-to-your-gitlab-account)
|
||||||
|
3. [Verify you can connect to git@gitlab.com](https://docs.gitlab.com/ee/user/ssh.html#verify-that-you-can-connect)
|
||||||
|
|
||||||
|
### Project Setup
|
||||||
|
|
||||||
|
1. If you haven't already, make sure to follow our [Git Basics](https://gitlab.com/2009scape/2009scape/-/wikis/git-basics) guide.
|
||||||
|
2. Run `git lfs pull` in the 2009scape folder you cloned as part of that guide. This only has to be done once, ever.
|
||||||
|
3. Follow our [IntelliJ IDEA Setup Guide](https://gitlab.com/2009scape/2009scape/-/wikis/Setup-for-IntelliJ-IDEA-IDE)
|
||||||
|
|
||||||
|
### Running the project
|
||||||
|
|
||||||
|
1. If you followed the IntelliJ setup guide, which you probably should have, just use the provided run configuration.
|
||||||
|
***Note: If you choose not to use the provided run scripts or IntelliJ, you *must* run `mvn clean` before it will build correctly.***
|
||||||
|
|
||||||
|
#### Linux / OSX
|
||||||
|
|
||||||
|
Start the game server with the included run script. Use `./run -h` for more info.
|
||||||
|
|
||||||
|
#### Windows
|
||||||
|
|
||||||
|
Start the game server with `run-server.bat`
|
||||||
|
|
||||||
|
### License
|
||||||
|
|
||||||
|
We use the AGPL 3.0 license, which can be found [here](https://www.gnu.org/licenses/agpl-3.0.en.html). Please be sure to read and understand the license. Failure to follow the guidelines outlined in the license will result in legal action. If you know or hear of anyone breaking this license, please send a report, with proof, to Red Bracket#8151, ceikry#2724, or woahscam#8535 on discord or email woahscam@hotmail.com. **We WILL NOT change the license to fit your needs.**
|
||||||
|
|
||||||
|
### Contact
|
||||||
|
|
||||||
|
**Reminder: There is no official support for setting up your own server. Do not ping/dm developers, or ask in support channels about setting up your server. Support for the live server and 2009Scape single-player is available on the [2009Scape forums](https://forum.2009scape.org/).**
|
||||||
|
|
||||||
|
|
||||||
|
[license-shield]: https://img.shields.io/badge/license-AGPL--3.0-informational
|
||||||
|
[license-url]: https://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
|
|
||||||
|
### Why become a tester?
|
||||||
|
|
||||||
|
Before content hits Live, it has to be tested. We can, but do not want to do this alone, and would love the help! But don't worry, there is something in it for you. Credits! Keep in mind that credits will only be awarded to people who thoroughly test the content and provide detailed reports on them. Like votes or HoF you must claim them in the #claim-to-fame channel on discord or matrix.
|
||||||
|
|
||||||
|
* If you test smaller things like bug fixes there is a 2 credit reward.
|
||||||
|
* If you test full quests or minigames you will be rewarded 5 credits.
|
||||||
|
* If you find a bug in the content you are testing that hasn't already been found you will earn an extra credit.
|
||||||
|
|
||||||
|
These credits can be spent in the 2009Scape Reward Shop. It's important to be clear that credits are gained by contributions to the project. We cannot and will not accept donations (of any kind), especially not in exchange for in-game credits or perks.
|
||||||
|
|
||||||
|
Testers are not the only people who can gain credits - other ways of earning credits can be found on [the 2009Scape website](https://2009scape.org/site/game_guide/credits.html).
|
||||||
|
|
||||||
|
Please be patient! The Credit system is not fully complete yet, so it will take a long time for credits to be awarded.
|
24
Server/.gitignore
vendored
Normal file
24
Server/.gitignore
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
bin/**
|
||||||
|
out/**
|
||||||
|
data/logs/**
|
||||||
|
data/profile/**
|
||||||
|
data/playerstats/**
|
||||||
|
.idea/**
|
||||||
|
/bin
|
||||||
|
.DS_Store**
|
||||||
|
.project**
|
||||||
|
.classpath**
|
||||||
|
/bin/
|
||||||
|
/out/
|
||||||
|
*.iml
|
||||||
|
*.eml
|
||||||
|
*.userlibraries
|
||||||
|
data/players/**
|
||||||
|
data/eco/offer_dispatch_db.emp
|
||||||
|
/build/
|
||||||
|
/build/kotlin/
|
||||||
|
/build/kotlin/sessions/
|
||||||
|
/build/classes/
|
||||||
|
/build/generated/
|
||||||
|
/build/tmp/
|
||||||
|
/build/libs/
|
BIN
Server/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
BIN
Server/.mvn/wrapper/maven-wrapper.jar
vendored
Normal file
Binary file not shown.
18
Server/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
18
Server/.mvn/wrapper/maven-wrapper.properties
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you 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
|
||||||
|
#
|
||||||
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
|
||||||
|
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
|
17
Server/.run/Run Server.run.xml
Normal file
17
Server/.run/Run Server.run.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="[Linux] Run Server" type="ShConfigurationType">
|
||||||
|
<option name="SCRIPT_TEXT" value="" />
|
||||||
|
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
|
||||||
|
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/run" />
|
||||||
|
<option name="SCRIPT_OPTIONS" value="g" />
|
||||||
|
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
|
||||||
|
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
|
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
|
||||||
|
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
||||||
|
<option name="INTERPRETER_OPTIONS" value="" />
|
||||||
|
<option name="EXECUTE_IN_TERMINAL" value="false" />
|
||||||
|
<option name="EXECUTE_SCRIPT_FILE" value="true" />
|
||||||
|
<envs />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
661
Server/License
Normal file
661
Server/License
Normal file
@ -0,0 +1,661 @@
|
|||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
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/>.
|
28
Server/data/ObjectParser.xml
Normal file
28
Server/data/ObjectParser.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<parsing>
|
||||||
|
<ObjectAction mode="add" id="1814" x="3090" y="3475" z="0" type="4" direction="nw"/>
|
||||||
|
<ObjectAction mode="add" id="2646" x="2445" y="3413" z="0" direction="nw"/>
|
||||||
|
<ObjectAction mode="add" id="2646" x="2447" y="3414" z="0" direction="e"/>
|
||||||
|
<ObjectAction mode="add" id="2646" x="2447" y="3421" z="0" direction="nw"/>
|
||||||
|
|
||||||
|
<ObjectAction mode="remove" id="37670" x="3292" y="3299" z="0"/>
|
||||||
|
<ObjectAction mode="add" id="37304" x="3292" y="3299" z="0"/>
|
||||||
|
|
||||||
|
<ObjectAction mode="add" id="20987" x="3821" y="2996" z="0"/>
|
||||||
|
|
||||||
|
<ObjectAction mode="remove" id="356" x="2804" y="3428" z="0"/>
|
||||||
|
<ObjectAction mode="add" id="356" x="2804" y="3428" z="0"/>
|
||||||
|
<ObjectAction mode="add" id="2783" x="3229" y="3254" z="0"/>
|
||||||
|
|
||||||
|
<ObjectAction mode="remove" id="20228" x="2537" y="3573" z="0"/>
|
||||||
|
<ObjectAction mode="add" id="27663" x="2537" y="3573" z="0" direction="w"/>
|
||||||
|
|
||||||
|
|
||||||
|
<ObjectAction mode="add" id="39237" x="2957" y="3266" z="0" direction="n"/>
|
||||||
|
<ObjectAction mode="add" id="39245" x="2956" y="3270" z="0" direction="se"/>
|
||||||
|
<ObjectAction mode="add" id="39242" x="2955" y="3273" z="0" direction="w"/>
|
||||||
|
<ObjectAction mode="add" id="39241" x="2955" y="3274" z="0" />
|
||||||
|
<ObjectAction mode="add" id="20987" x="2821" y="2996" z="0" direction="s"/>
|
||||||
|
<ObjectAction mode="add" id="21301" x="2662" y="3162" z="0" direction="e"/>
|
||||||
|
<ObjectAction mode="add" id="4176" x="2629" y="3661" z="2" type="4" direction="e"/>
|
||||||
|
|
||||||
|
</parsing>
|
1242
Server/data/botdata/bot_dialogue.json
Normal file
1242
Server/data/botdata/bot_dialogue.json
Normal file
File diff suppressed because it is too large
Load Diff
64160
Server/data/botdata/botnames.txt
Normal file
64160
Server/data/botdata/botnames.txt
Normal file
File diff suppressed because it is too large
Load Diff
68
Server/data/botdata/ge_bot_appearances_and_equipment.json
Normal file
68
Server/data/botdata/ge_bot_appearances_and_equipment.json
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"noob": [
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"3","id":"1265"},{"amount":"1","charge":"1000","slot":"5","id":"1171"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"0"},{"color":"0","look":"11"},{"color":"16","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"34"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1169"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"9183"},{"amount":"1","charge":"1000","slot":"4","id":"1131"},{"amount":"1","charge":"1000","slot":"7","id":"2495"},{"amount":"1","charge":"1000","slot":"9","id":"2491"},{"amount":"1","charge":"1000","slot":"10","id":"88"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"106"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1163"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"5698"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"3105"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"9","look":"266"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"3","id":"1333"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"11019"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"2"},{"color":"0","look":"13"},{"color":"1","look":"18"},{"color":"0","look":"28"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"2910"},{"amount":"1","charge":"1000","slot":"1","id":"10499"},{"amount":"1","charge":"1000","slot":"2","id":"552"},{"amount":"1","charge":"1000","slot":"3","id":"861"},{"amount":"1","charge":"1000","slot":"4","id":"544"},{"amount":"1","charge":"1000","slot":"7","id":"2497"},{"amount":"1","charge":"1000","slot":"9","id":"7458"},{"amount":"1","charge":"1000","slot":"10","id":"2904"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"1007"},{"amount":"1","charge":"1000","slot":"3","id":"1381"},{"amount":"1","charge":"1000","slot":"4","id":"426"},{"amount":"1","charge":"1000","slot":"7","id":"428"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"267"},{"color":"0","look":"12"},{"color":"0","look":"18"},{"color":"0","look":"31"},{"color":"4","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"3","id":"6908"},{"amount":"1","charge":"1000","slot":"4","id":"1135"},{"amount":"1","charge":"1000","slot":"7","id":"428"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"6","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1161"},{"amount":"1","charge":"1000","slot":"3","id":"1287"},{"amount":"1","charge":"1000","slot":"4","id":"1123"},{"amount":"1","charge":"1000","slot":"5","id":"1199"},{"amount":"1","charge":"1000","slot":"7","id":"1073"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"16"},{"color":"6","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"84"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1153"},{"amount":"1","charge":"1000","slot":"3","id":"1363"},{"amount":"1","charge":"1000","slot":"4","id":"6184"},{"amount":"1","charge":"1000","slot":"5","id":"1540"},{"amount":"1","charge":"1000","slot":"7","id":"6185"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"16"},{"color":"6","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"84"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11021"},{"amount":"1","charge":"1000","slot":"1","id":"4411"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"1333"},{"amount":"1","charge":"1000","slot":"4","id":"11020"},{"amount":"1","charge":"1000","slot":"5","id":"1185"},{"amount":"1","charge":"1000","slot":"7","id":"11022"},{"amount":"1","charge":"1000","slot":"10","id":"11019"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"16"},{"color":"6","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"84"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1949"},{"amount":"1","charge":"1000","slot":"1","id":"1007"},{"amount":"1","charge":"1000","slot":"3","id":"1381"},{"amount":"1","charge":"1000","slot":"4","id":"426"},{"amount":"1","charge":"1000","slot":"5","id":"1540"},{"amount":"1","charge":"1000","slot":"7","id":"428"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"16"},{"color":"6","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"84"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10774"},{"amount":"1","charge":"1000","slot":"1","id":"10069"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"1333"},{"amount":"1","charge":"1000","slot":"4","id":"1125"},{"amount":"1","charge":"1000","slot":"7","id":"1077"},{"amount":"1","charge":"1000","slot":"9","id":"2997"},{"amount":"1","charge":"1000","slot":"10","id":"7114"}]}
|
||||||
|
|
||||||
|
],
|
||||||
|
"intermediate": [
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"3","id":"1265"},{"amount":"1","charge":"1000","slot":"5","id":"1171"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"1"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"2637"},{"amount":"1","charge":"1000","slot":"1","id":"6568"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1305"},{"amount":"1","charge":"1000","slot":"4","id":"3140"},{"amount":"1","charge":"1000","slot":"5","id":"6524"},{"amount":"1","charge":"1000","slot":"7","id":"4087"},{"amount":"1","charge":"1000","slot":"9","id":"3060"},{"amount":"1","charge":"1000","slot":"10","id":"11732"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"1"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11674"},{"amount":"1","charge":"1000","slot":"1","id":"10720"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"1387"},{"amount":"1","charge":"1000","slot":"4","id":"8839"},{"amount":"1","charge":"1000","slot":"7","id":"8840"},{"amount":"1","charge":"1000","slot":"9","id":"8842"},{"amount":"1","charge":"1000","slot":"10","id":"11732"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"261"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"16","look":"38"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"9805"},{"amount":"1","charge":"1000","slot":"4","id":"10348"},{"amount":"1","charge":"1000","slot":"10","id":"1837"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"261"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"16","look":"38"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10392"},{"amount":"1","charge":"1000","slot":"1","id":"1007"},{"amount":"1","charge":"1000","slot":"2","id":"11113"},{"amount":"1","charge":"1000","slot":"3","id":"1387"},{"amount":"1","charge":"1000","slot":"4","id":"1117"},{"amount":"1","charge":"1000","slot":"5","id":"1173"},{"amount":"1","charge":"1000","slot":"7","id":"1075"},{"amount":"1","charge":"1000","slot":"10","id":"4129"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"3755"},{"amount":"1","charge":"1000","slot":"1","id":"2412"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1383"},{"amount":"1","charge":"1000","slot":"4","id":"4091"},{"amount":"1","charge":"1000","slot":"7","id":"4093"},{"amount":"1","charge":"1000","slot":"9","id":"7462"},{"amount":"1","charge":"1000","slot":"10","id":"10696"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9755"},{"amount":"1","charge":"1000","slot":"1","id":"9754"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1275"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"88"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"106"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11665"},{"amount":"1","charge":"1000","slot":"1","id":"9807"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"13290"},{"amount":"1","charge":"1000","slot":"4","id":"8839"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"8840"},{"amount":"1","charge":"1000","slot":"9","id":"8842"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"106"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9672"},{"amount":"1","charge":"1000","slot":"1","id":"9783"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"9674"},{"amount":"1","charge":"1000","slot":"7","id":"2497"},{"amount":"1","charge":"1000","slot":"9","id":"7458"},{"amount":"1","charge":"1000","slot":"10","id":"3105"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"106"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10828"},{"amount":"1","charge":"1000","slot":"1","id":"9763"},{"amount":"1","charge":"1000","slot":"2","id":"1725"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"8850"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"3105"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"9","look":"266"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10828"},{"amount":"1","charge":"1000","slot":"1","id":"2414"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"4087"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"2"},{"color":"0","look":"13"},{"color":"1","look":"18"},{"color":"0","look":"28"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"9802"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"2"},{"color":"0","look":"13"},{"color":"1","look":"18"},{"color":"0","look":"28"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"6182"},{"amount":"1","charge":"1000","slot":"1","id":"4355"},{"amount":"1","charge":"1000","slot":"2","id":"1478"},{"amount":"1","charge":"1000","slot":"3","id":"9185"},{"amount":"1","charge":"1000","slot":"4","id":"544"},{"amount":"1","charge":"1000","slot":"7","id":"2497"}]} ,
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"1"},{"color":"0","look":"10"},{"color":"14","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"20","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"10071"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"8872"},{"amount":"1","charge":"1000","slot":"9","id":"1059"},{"amount":"1","charge":"1000","slot":"10","id":"88"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"278"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"0","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1149"},{"amount":"1","charge":"1000","slot":"1","id":"6568"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1305"},{"amount":"1","charge":"1000","slot":"4","id":"2623"},{"amount":"1","charge":"1000","slot":"5","id":"6524"},{"amount":"1","charge":"1000","slot":"7","id":"4087"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"1"},{"color":"0","look":"14"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"4413"},{"amount":"1","charge":"1000","slot":"3","id":"1271"},{"amount":"1","charge":"1000","slot":"4","id":"1123"},{"amount":"1","charge":"1000","slot":"7","id":"1073"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"1"},{"color":"0","look":"14"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"3751"},{"amount":"1","charge":"1000","slot":"1","id":"10499"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"546"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"548"},{"amount":"1","charge":"1000","slot":"10","id":"3105"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"14120"},{"amount":"1","charge":"1000","slot":"2","id":"9470"},{"amount":"1","charge":"1000","slot":"3","id":"1305"},{"amount":"1","charge":"1000","slot":"4","id":"10822"},{"amount":"1","charge":"1000","slot":"5","id":"1540"},{"amount":"1","charge":"1000","slot":"7","id":"10824"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"5","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1153"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"4153"},{"amount":"1","charge":"1000","slot":"4","id":"1115"},{"amount":"1","charge":"1000","slot":"7","id":"1067"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"5","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"3751"},{"amount":"1","charge":"1000","slot":"1","id":"6568"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"5698"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"8847"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"4131"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"5","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1163"},{"amount":"1","charge":"1000","slot":"2","id":"3853"},{"amount":"1","charge":"1000","slot":"3","id":"1373"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"1079"}]} ,
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"5","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11021"},{"amount":"1","charge":"1000","slot":"2","id":"3853"},{"amount":"1","charge":"1000","slot":"3","id":"1373"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"5","id":"1201"},{"amount":"1","charge":"1000","slot":"7","id":"1079"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"5","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11021"},{"amount":"1","charge":"1000","slot":"1","id":"14081"},{"amount":"1","charge":"1000","slot":"2","id":"3853"},{"amount":"1","charge":"1000","slot":"3","id":"1373"},{"amount":"1","charge":"1000","slot":"4","id":"6184"},{"amount":"1","charge":"1000","slot":"7","id":"6185"},{"amount":"1","charge":"1000","slot":"10","id":"3107"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"6","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"6182"},{"amount":"1","charge":"1000","slot":"1","id":"10636"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1371"},{"amount":"1","charge":"1000","slot":"4","id":"10633"},{"amount":"1","charge":"1000","slot":"5","id":"3122"},{"amount":"1","charge":"1000","slot":"7","id":"6181"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"16"},{"color":"6","look":"18"},{"color":"0","look":"27"},{"color":"0","look":"84"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"10071"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1381"},{"amount":"1","charge":"1000","slot":"10","id":"88"}]}
|
||||||
|
|
||||||
|
],
|
||||||
|
"veteran": [
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1038"},{"amount":"1","charge":"1000","slot":"1","id":"6570"},{"amount":"1","charge":"1000","slot":"2","id":"10360"},{"amount":"1","charge":"1000","slot":"3","id":"3053"},{"amount":"1","charge":"1000","slot":"4","id":"3140"},{"amount":"1","charge":"1000","slot":"5","id":"1171"},{"amount":"1","charge":"1000","slot":"7","id":"10394"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"4","look":"48"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"0","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1038"},{"amount":"1","charge":"1000","slot":"1","id":"6570"},{"amount":"1","charge":"1000","slot":"2","id":"10360"},{"amount":"1","charge":"1000","slot":"3","id":"3053"},{"amount":"1","charge":"1000","slot":"4","id":"3140"},{"amount":"1","charge":"1000","slot":"5","id":"1171"},{"amount":"1","charge":"1000","slot":"7","id":"10394"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"4","look":"48"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"0","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9950"},{"amount":"1","charge":"1000","slot":"1","id":"6570"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"7668"},{"amount":"1","charge":"1000","slot":"4","id":"2503"},{"amount":"1","charge":"1000","slot":"7","id":"2497"},{"amount":"1","charge":"1000","slot":"9","id":"5556"},{"amount":"1","charge":"1000","slot":"10","id":"11732"},{"amount":"293","charge":"1000","slot":"13","id":"877"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"261"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"16","look":"38"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"9805"},{"amount":"1","charge":"1000","slot":"4","id":"10348"},{"amount":"1","charge":"1000","slot":"10","id":"1837"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"9807"},{"amount":"1","charge":"1000","slot":"2","id":"1656"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"9","id":"7462"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9758"},{"amount":"1","charge":"1000","slot":"1","id":"9757"},{"amount":"1","charge":"1000","slot":"2","id":"1656"},{"amount":"1","charge":"1000","slot":"3","id":"1387"},{"amount":"1","charge":"1000","slot":"4","id":"10378"},{"amount":"1","charge":"1000","slot":"5","id":"1183"},{"amount":"1","charge":"1000","slot":"7","id":"10380"},{"amount":"1","charge":"1000","slot":"9","id":"7462"},{"amount":"1","charge":"1000","slot":"10","id":"10696"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10828"},{"amount":"1","charge":"1000","slot":"1","id":"10635"},{"amount":"1","charge":"1000","slot":"2","id":"9470"},{"amount":"1","charge":"1000","slot":"3","id":"9185"},{"amount":"1","charge":"1000","slot":"4","id":"10386"},{"amount":"1","charge":"1000","slot":"5","id":"3842"},{"amount":"1","charge":"1000","slot":"7","id":"10388"},{"amount":"1","charge":"1000","slot":"10","id":"1837"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"3"},{"color":"0","look":"16"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9755"},{"amount":"1","charge":"1000","slot":"1","id":"9754"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"1275"},{"amount":"1","charge":"1000","slot":"4","id":"1127"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"10","id":"88"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9764"},{"amount":"1","charge":"1000","slot":"1","id":"9763"},{"amount":"1","charge":"1000","slot":"2","id":"1704"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"108"},{"color":"3","look":"34"},{"color":"16","look":"38"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9814"},{"amount":"1","charge":"1000","slot":"1","id":"10662"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"16","look":"18"},{"color":"0","look":"108"},{"color":"3","look":"34"},{"color":"16","look":"38"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"9749"},{"amount":"1","charge":"1000","slot":"1","id":"10662"},{"amount":"1","charge":"1000","slot":"2","id":"6585"},{"amount":"1","charge":"1000","slot":"3","id":"5016"},{"amount":"1","charge":"1000","slot":"4","id":"13858"},{"amount":"1","charge":"1000","slot":"5","id":"7053"},{"amount":"1","charge":"1000","slot":"7","id":"13861"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"2"},{"color":"0","look":"13"},{"color":"1","look":"18"},{"color":"0","look":"28"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"11718"},{"amount":"1","charge":"1000","slot":"1","id":"10499"},{"amount":"1","charge":"1000","slot":"2","id":"87"},{"amount":"1","charge":"1000","slot":"3","id":"9185"},{"amount":"1","charge":"1000","slot":"4","id":"11720"},{"amount":"1","charge":"1000","slot":"5","id":"11283"},{"amount":"1","charge":"1000","slot":"7","id":"11722"},{"amount":"1","charge":"1000","slot":"9","id":"7458"},{"amount":"1","charge":"1000","slot":"10","id":"6920"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"1","look":"2"},{"color":"0","look":"13"},{"color":"1","look":"18"},{"color":"0","look":"28"},{"color":"0","look":"33"},{"color":"16","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"6918"},{"amount":"1","charge":"1000","slot":"1","id":"9771"},{"amount":"1","charge":"1000","slot":"2","id":"87"},{"amount":"1","charge":"1000","slot":"3","id":"1387"},{"amount":"1","charge":"1000","slot":"4","id":"6916"},{"amount":"1","charge":"1000","slot":"5","id":"11283"},{"amount":"1","charge":"1000","slot":"7","id":"6924"},{"amount":"1","charge":"1000","slot":"9","id":"6922"},{"amount":"1","charge":"1000","slot":"10","id":"6920"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"45"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"6","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"2637"},{"amount":"1","charge":"1000","slot":"1","id":"9769"},{"amount":"1","charge":"1000","slot":"2","id":"1478"},{"amount":"1","charge":"1000","slot":"3","id":"4151"},{"amount":"1","charge":"1000","slot":"4","id":"10460"},{"amount":"1","charge":"1000","slot":"5","id":"3842"},{"amount":"1","charge":"1000","slot":"7","id":"10394"},{"amount":"1","charge":"1000","slot":"9","id":"2912"},{"amount":"1","charge":"1000","slot":"10","id":"2904"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"45"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"6","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"8903"},{"amount":"1","charge":"1000","slot":"1","id":"9807"},{"amount":"1","charge":"1000","slot":"2","id":"6585"},{"amount":"1","charge":"1000","slot":"3","id":"4151"},{"amount":"1","charge":"1000","slot":"4","id":"14479"},{"amount":"1","charge":"1000","slot":"5","id":"1187"},{"amount":"1","charge":"1000","slot":"7","id":"4087"},{"amount":"1","charge":"1000","slot":"9","id":"2912"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"278"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"0","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"1","id":"10635"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"4151"},{"amount":"1","charge":"1000","slot":"4","id":"4757"},{"amount":"1","charge":"1000","slot":"5","id":"7053"},{"amount":"1","charge":"1000","slot":"7","id":"4759"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"20","look":"278"},{"color":"0","look":"1000"},{"color":"0","look":"56"},{"color":"0","look":"61"},{"color":"0","look":"68"},{"color":"0","look":"70"},{"color":"0","look":"79"}],"gender":"1"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"1163"},{"amount":"1","charge":"1000","slot":"1","id":"9766"},{"amount":"1","charge":"1000","slot":"2","id":"1704"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"10551"},{"amount":"1","charge":"1000","slot":"5","id":"8850"},{"amount":"1","charge":"1000","slot":"7","id":"1079"},{"amount":"1","charge":"1000","slot":"9","id":"7455"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"12","look":"2"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"0","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"2643"},{"amount":"1","charge":"1000","slot":"1","id":"10446"},{"amount":"1","charge":"1000","slot":"2","id":"6585"},{"amount":"1","charge":"1000","slot":"3","id":"4151"},{"amount":"1","charge":"1000","slot":"4","id":"4712"},{"amount":"1","charge":"1000","slot":"5","id":"8850"},{"amount":"1","charge":"1000","slot":"7","id":"4714"},{"amount":"1","charge":"1000","slot":"9","id":"7461"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]},
|
||||||
|
{"appearance":{"appearance_cache":[{"color":"0","look":"0"},{"color":"0","look":"10"},{"color":"0","look":"18"},{"color":"0","look":"26"},{"color":"6","look":"33"},{"color":"0","look":"36"},{"color":"0","look":"42"}],"gender":"0"},"equipment":[{"amount":"1","charge":"1000","slot":"0","id":"10828"},{"amount":"1","charge":"1000","slot":"1","id":"2414"},{"amount":"1","charge":"1000","slot":"2","id":"6585"},{"amount":"1","charge":"1000","slot":"3","id":"4587"},{"amount":"1","charge":"1000","slot":"4","id":"10551"},{"amount":"1","charge":"1000","slot":"5","id":"1187"},{"amount":"1","charge":"1000","slot":"7","id":"4087"},{"amount":"1","charge":"1000","slot":"9","id":"7462"},{"amount":"1","charge":"1000","slot":"10","id":"11732"}]}
|
||||||
|
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
4
Server/data/botdata/getnames.sh
Executable file
4
Server/data/botdata/getnames.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
for i in {6000..6500}
|
||||||
|
do
|
||||||
|
wget -O- "https://secure.runescape.com/m=hiscore_oldschool/overall.ws?table=0&page=$i" | grep user1= | sed 's/^.*user1=//'| sed 's/".*$//' | grep -v "Binary" >> botnames.txt
|
||||||
|
done
|
335
Server/data/botdata/namesandarmor.txt
Normal file
335
Server/data/botdata/namesandarmor.txt
Normal file
@ -0,0 +1,335 @@
|
|||||||
|
XMR BTC ETH:7:0:0:0:841:0:0:0:0:0:0:1061:0:
|
||||||
|
SpinnerYOU:8:0:0:0:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
im-rahha:58:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
newvicn:20:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
KnocktdafOut:101:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Powndrake196:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
muppemxx:3:1038:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
GGraft:32:1949:4335:1725:1329:546:20166:0:548:0:2922:1061:0:
|
||||||
|
OdymX:3:0:0:0:1293:1101:1175:0:1067:0:1063:0:0:
|
||||||
|
jesusj17:48:0:4391:0:843:0:0:0:0:0:2932:1061:0:
|
||||||
|
Raningblast3:3:0:0:0:1351:0:0:0:0:0:0:0:0:
|
||||||
|
65fatknife:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
NeobilkDark:23:0:0:0:1203:0:1173:0:0:0:0:0:0:
|
||||||
|
TROXZ144POXZ:56:1161:0:1009:1301:1123:1197:0:1073:0:0:0:0:
|
||||||
|
xXMakiaXx:80:0:0:0:1381:0:0:0:1033:0:0:0:0:
|
||||||
|
Molebats1209:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
64 Wise 1978:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Clue Mimic:3:0:3781:0:0:0:0:0:0:0:2922:2914:0:
|
||||||
|
claymus14:30:1157:0:0:1329:1115:1193:0:1069:0:0:0:0:
|
||||||
|
xAlexGGotYaX:10:1949:0:0:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
Morerule1367:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
77shiny1198:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
YaelColins:40:0:0:552:9703:0:9704:0:0:0:0:0:0:
|
||||||
|
casacoima10:12:0:0:0:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
MenMaster:20:0:0:0:1205:0:0:0:0:0:0:0:0:
|
||||||
|
M0L1NTR0N3:44:1949:0:1725:1357:1005:9704:0:1095:0:0:1061:0:
|
||||||
|
fdsfwrfW2E:40:0:0:0:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
Lewt Bags:58:1155:4351:21149:1387:1117:1189:0:1075:0:1065:4119:0:
|
||||||
|
bierfietsss:72:1163:1019:1731:1333:1127:1201:0:1079:0:1059:9005:0:
|
||||||
|
TaDeDeBeShPa:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Soonride2043:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
KolSinRa6944:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
BoCaRefVaCyI:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Gerloc55:43:0:0:0:1387:0:13660:0:0:0:0:9006:0:
|
||||||
|
ChMaIvCrJanL:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Happier Dog:44:7136:20214:10366:1387:1844:0:0:1845:0:11858:1846:0:
|
||||||
|
emachorrr:3:0:0:0:1277:0:0:0:0:0:0:0:0:
|
||||||
|
MIDNIGHTHOUR:63:1042:0:1710:10156:6322:4156:0:1099:0:11120:0:0:
|
||||||
|
LilOmni:6:0:0:0:0:0:0:0:0:0:0:1061:0:
|
||||||
|
wef6qwe4r561:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Sister 13:3:12600:9793:0:20590:6186:24325:0:13288:0:0:23285:0:
|
||||||
|
IsidraJr:58:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
BeDeMaSa0891:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
JustSkillezZ:50:1017:0:0:1387:426:0:0:428:0:0:0:0:
|
||||||
|
Elcangri11:39:1017:1007:1727:1381:1035:1199:0:1033:0:1059:1061:0:
|
||||||
|
haroldas 99r:13:1017:1019:1731:843:0:0:0:1015:0:1059:1061:0:
|
||||||
|
Day Dreamer2:47:1145:0:1727:1355:1123:7352:0:1091:0:0:0:0:
|
||||||
|
venepower:67:1017:0:1731:1381:577:0:0:1033:0:1059:0:0:
|
||||||
|
GOOL19207:59:1163:0:0:1333:1123:1201:0:1079:0:0:0:0:
|
||||||
|
T A L 3 N T:67:10452:12197:6585:11785:544:12610:0:2497:0:11133:12598:0:
|
||||||
|
xz Team:30:579:4371:0:1387:577:0:0:1033:0:21816:626:0:
|
||||||
|
lWontEverDie:96:0:0:0:853:7370:0:0:1099:0:0:0:0:
|
||||||
|
WooJ:122:2986:9808:1704:3053:13106:0:0:0:0:11140:13131:0:
|
||||||
|
Zaliukas19:7:1153:1031:1478:1323:1115:1175:0:1067:0:0:0:0:
|
||||||
|
Marian Nasir:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
laitukas29:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
AFRODITA-23:38:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Monrojas:50:0:1029:1725:1381:0:0:0:1099:0:1065:1061:0:
|
||||||
|
stejler:114:21266:6570:19553:4151:21301:12954:0:21304:0:7462:11840:0:
|
||||||
|
Loamjytuner:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
u smoke mid:92:12293:10499:10364:1387:1121:1197:0:1071:0:1065:11840:0:
|
||||||
|
MIMIYEEET:64:0:10499:0:861:0:0:0:0:0:0:0:0:
|
||||||
|
hamnndoza:3:1153:0:0:11709:1115:1191:0:1067:0:1063:1061:0:
|
||||||
|
4virgin:112:0:0:0:1275:0:0:0:0:0:0:0:0:
|
||||||
|
LSASORI-666:60:579:0:1731:1387:577:0:0:1011:0:0:1061:0:
|
||||||
|
12evil2175:4:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Rushkaril208:71:1153:0:1478:1331:1119:1191:0:1067:0:7595:0:0:
|
||||||
|
sneksk13:49:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
M i m e s:53:0:0:0:1387:3058:0:0:3059:0:0:3061:0:
|
||||||
|
llego crispy:54:9925:0:22692:853:1123:0:0:1073:0:9922:24313:0:
|
||||||
|
dami420:71:3486:20214:1731:12389:3481:3488:0:3483:0:23261:1061:0:
|
||||||
|
Vjx:59:12455:1019:10366:1387:12451:13660:0:12447:0:2912:1061:0:
|
||||||
|
jonko_08:39:1161:0:1731:1387:1123:1197:0:1073:0:1063:1061:0:
|
||||||
|
Oliverg1995:36:6188:4351:0:837:6654:0:0:0:0:2922:0:0:
|
||||||
|
TErko SKs:20:1017:0:0:1383:0:1173:0:0:0:0:0:0:
|
||||||
|
e t h x n:67:0:0:0:1387:6654:0:0:6181:0:7595:9005:0:
|
||||||
|
Beretsand522:85:5554:0:1710:21646:5553:0:0:5555:0:5556:5557:0:
|
||||||
|
ApS Squirrel:55:1163:4325:1731:1333:1113:1201:0:1079:0:2942:1061:0:
|
||||||
|
Acazandra:60:579:4407:1727:1387:577:0:0:1011:0:24311:1061:0:
|
||||||
|
BybisTasei:112:1169:1027:1731:1387:1135:24325:0:1099:0:1065:1061:0:
|
||||||
|
WelshPro2:47:1053:0:1725:1333:544:0:0:542:0:0:1061:0:
|
||||||
|
ElwinLeong:46:1044:0:1654:851:7364:0:0:1099:0:1065:7596:0:
|
||||||
|
Squaawk:99:0:6568:0:0:0:0:0:0:0:11126:0:0:
|
||||||
|
Bread1991:4:1155:0:0:1293:1117:1171:0:1075:0:0:0:0:
|
||||||
|
Tzaska:112:1949:9781:0:6562:11854:22322:0:11856:0:11858:11860:0:
|
||||||
|
honkah0nka:120:0:0:0:1359:0:0:0:0:0:0:0:0:
|
||||||
|
VitsEco:64:7394:23300:1731:1387:7390:13660:0:7378:0:1065:23291:0:
|
||||||
|
Emer Jhon 19:62:0:0:0:1381:1035:0:0:1033:0:0:0:0:
|
||||||
|
Roberthx:55:1163:0:1725:1333:1113:1201:0:1079:0:0:0:0:
|
||||||
|
Nikitakitz:33:12283:4371:1478:1285:12277:12281:0:12285:0:11079:3061:0:
|
||||||
|
DNoancy76:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
black chinin:34:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
NO0MEERCYY:106:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Kekava:89:11862:1019:7803:1327:1125:1195:0:1077:0:0:3061:0:
|
||||||
|
Finis34:76:24305:23410:10364:1387:24307:24325:0:24309:0:24311:24313:0:
|
||||||
|
SSSniperWolf:53:23101:23099:0:11709:23369:2589:0:23095:0:23091:23093:0:
|
||||||
|
HazeyJ:49:0:0:21314:11707:0:0:0:0:0:0:4121:0:
|
||||||
|
dontbrkrules:45:0:0:0:1387:0:0:0:0:0:0:0:0:
|
||||||
|
s46gs4g6s5dg:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
PuRe_ReVs97:39:1169:0:1704:8880:1129:0:0:1099:0:2487:0:0:
|
||||||
|
DrakenHamer:108:0:0:0:1381:1035:0:0:1033:0:0:0:0:
|
||||||
|
VoHoTi816863:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
H 2 P:63:1053:13679:21314:1387:22695:24325:0:13288:0:0:13286:0:
|
||||||
|
Leviathan Sr:3:0:1007:0:13328:6654:0:0:6655:0:0:0:0:
|
||||||
|
Chuka Ryori:102:0:0:0:1387:0:0:0:0:0:0:0:0:
|
||||||
|
5g4sg4sg4sg:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Elroyfct19:8:1949:0:0:0:0:1173:0:0:0:0:0:0:
|
||||||
|
PureEffectQ:37:1161:1019:1725:1331:1123:1540:0:1073:0:1059:1061:0:
|
||||||
|
rowcharger2:58:2613:0:0:1387:2607:2611:0:3475:0:1065:0:0:
|
||||||
|
Redrani1:33:1038:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
ottn ook eem:76:12639:9757:0:4934:13104:0:0:6185:0:0:6666:0:
|
||||||
|
UzairScape:52:0:0:0:1387:0:0:0:0:0:0:0:0:
|
||||||
|
Ultiwarriors:65:1169:4379:1731:853:1135:0:0:1099:0:1065:9006:0:
|
||||||
|
kilaSTR:21:579:4345:1725:1329:577:0:0:1081:0:0:1061:0:
|
||||||
|
homeboijones:22:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Jcc1992:9:1157:0:0:1353:1119:1193:0:1069:0:2922:0:0:
|
||||||
|
Rsk venom:69:24288:0:12002:12000:24291:6889:0:24294:0:6922:6920:0:
|
||||||
|
Paptor986:68:1949:1027:1731:1333:1113:0:0:1079:0:2902:1061:0:
|
||||||
|
BigDuncan69:42:1161:1031:1478:1333:1123:1199:0:1073:0:2922:9006:0:
|
||||||
|
Gril:34:579:0:1727:1381:581:0:0:542:0:0:0:0:
|
||||||
|
54 27:69:1163:4351:1725:1385:1113:1201:0:1079:0:1065:1061:0:
|
||||||
|
treghar:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
TreeWise Ben:59:1017:0:1727:1387:546:0:0:548:0:0:0:0:
|
||||||
|
ladiabla6666:59:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Joekeltje05:42:1055:4399:1727:1381:1035:0:0:1033:0:0:1061:0:
|
||||||
|
Cykelpump94:68:0:0:0:1381:1035:0:0:1033:0:0:0:0:
|
||||||
|
ToP WinG:61:0:0:11113:9185:0:0:0:0:0:0:0:0:
|
||||||
|
Smigol89:75:12504:10499:1704:9185:2503:1540:0:2497:0:2491:6328:0:
|
||||||
|
6d54fd4d5:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
JaDeLashKriT:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Devskii:64:1169:9783:1731:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
AliArcher22:107:1163:4371:1725:1333:1127:1201:0:1079:0:1065:1061:0:
|
||||||
|
Y0URN0TREADY:21:11847:0:10364:667:23097:13660:0:9923:0:23091:9921:0:
|
||||||
|
Kepler16b:15:1153:0:552:1267:1115:1191:0:6181:0:1059:0:0:
|
||||||
|
JamitusDeath:63:1163:1019:0:1333:1127:1201:0:1079:0:2902:1061:0:
|
||||||
|
blib vbob:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
FighterMan3D:3:0:0:0:1265:0:1173:0:0:0:0:0:0:
|
||||||
|
dustyturnip:54:1163:0:1478:1333:2599:1201:0:1079:0:0:9006:0:
|
||||||
|
Cucilo:63:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
BrrrrCold:53:2657:1007:1731:1333:2653:2659:0:3478:0:2912:9006:0:
|
||||||
|
Nv-BlackMind:88:24315:24207:0:1271:24317:0:0:24319:0:24321:24323:0:
|
||||||
|
kjuse:71:1038:0:1731:0:9924:0:0:9923:0:9922:1837:0:
|
||||||
|
Archie b:73:12453:6568:10364:1381:7390:2621:0:7386:0:2912:11840:0:
|
||||||
|
lamarcelazaz:112:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Soni Evil:3:0:0:0:1351:0:0:0:0:0:0:0:0:
|
||||||
|
Ubertas:91:0:4323:1727:1387:0:0:0:0:0:0:3061:0:
|
||||||
|
bholehairz:24:579:4365:1727:1381:577:0:0:1011:0:2932:1061:0:
|
||||||
|
I P0p ZanZ:41:579:0:1727:1387:0:0:0:0:0:0:0:0:
|
||||||
|
mr 7ranks:94:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
weedmam44:89:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Bort Goth:54:1042:4387:1478:23330:23215:7348:0:2617:0:1059:9005:0:
|
||||||
|
godkin94:43:12231:4407:1662:1387:12225:12233:0:12227:0:2922:1061:0:
|
||||||
|
zznjujkuiy:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Snakenaldo:30:1155:0:1731:1359:1117:1173:0:1075:0:1059:1061:0:
|
||||||
|
Osmar-Rvn:75:12455:23297:10364:1387:12451:24325:0:12447:0:0:9921:0:
|
||||||
|
J U Q:3:11850:11852:1708:10010:11854:0:0:11856:0:10075:11860:0:
|
||||||
|
batrinhos:45:6182:4349:1478:1387:6654:0:0:7380:0:1065:9005:0:
|
||||||
|
d5fd45fdfd43:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
mhxomklo:64:12013:0:0:1275:12014:0:0:12015:0:21345:12016:0:
|
||||||
|
Jaxaloth:42:1153:0:10364:1331:1115:1191:0:1081:0:0:0:0:
|
||||||
|
DuctileMarro:5:0:0:552:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
FirmGrandma:124:22326:6570:19553:22978:22327:22322:0:22328:0:22981:7159:0:
|
||||||
|
Andr3ws:51:0:0:0:0:0:0:0:0:0:2902:7596:0:
|
||||||
|
Motel IlIIlI:54:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Its yeboii:98:12434:19697:19720:1387:19958:3842:0:19964:0:4105:23285:0:
|
||||||
|
TheOverdraft:118:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
jbl092191:85:2665:4357:0:0:2661:2667:0:2663:0:6720:6328:0:
|
||||||
|
NewSummerVI:79:12600:23300:10366:23279:20199:13660:0:2593:0:23091:12891:0:
|
||||||
|
hambargaman:80:1040:0:0:1387:9924:0:0:9923:0:0:9921:0:
|
||||||
|
Ivyone42:35:0:13679:0:0:0:13660:0:0:0:0:0:0:
|
||||||
|
grumpy troll:116:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
xRektify:93:0:0:11107:6739:0:0:0:0:0:0:0:0:
|
||||||
|
bramboom:5:0:4407:0:1351:0:0:0:0:0:0:0:0:
|
||||||
|
wrap a joint:94:2627:9795:1725:1333:1113:0:0:1079:0:2491:11840:0:
|
||||||
|
leegon1:85:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
koekeroekoe1:94:21298:6568:11128:0:21301:12954:0:21304:0:11122:11840:0:
|
||||||
|
maryamgee123:10:1153:1019:0:1381:0:1191:0:0:0:0:0:0:
|
||||||
|
zazuke2019:53:22689:13679:22692:853:22695:0:0:1099:0:0:22701:0:
|
||||||
|
Mrmeanbow:97:1163:23297:1725:1333:1127:1201:0:1079:0:0:0:0:
|
||||||
|
MagicBunny01:47:1949:0:0:0:1757:0:0:0:0:0:0:0:
|
||||||
|
el frinchy:49:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Ninja1901:50:6188:13679:0:1387:0:0:0:0:0:0:0:0:
|
||||||
|
Dilk Mud:81:12241:6570:1725:1333:12235:1191:0:1067:0:0:0:0:
|
||||||
|
zELGLw:5:0:0:0:1277:0:1171:0:0:0:0:0:0:
|
||||||
|
DeMeLo139067:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Sun Rocks:49:2613:0:0:1381:1035:1201:0:1033:0:0:0:0:
|
||||||
|
Black Arkan:42:2605:0:0:1331:2599:2603:0:12279:0:1063:1061:0:
|
||||||
|
xxrreexxrex:3:0:4365:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Kingdavid370:16:0:0:0:1349:0:0:0:0:0:0:0:0:
|
||||||
|
OTEguQ:5:0:0:0:1205:0:1171:0:0:0:0:1061:0:
|
||||||
|
OnlYMrSmItH:3:12845:0:22692:1419:6184:0:0:6185:0:13287:13286:0:
|
||||||
|
DinkelBrot:14:1048:13679:0:0:20184:13660:0:20187:0:3060:1837:0:
|
||||||
|
Voidsux:98:0:0:0:1359:544:0:0:542:0:0:0:0:
|
||||||
|
worchafts:3:0:0:1654:0:0:0:0:0:0:0:0:0:
|
||||||
|
1k sand crab:79:1038:23297:0:10010:1035:12335:0:1033:0:0:11840:0:
|
||||||
|
Gopherslane:101:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Firehit2:28:1165:1019:0:1329:1125:1195:0:0:0:0:1061:0:
|
||||||
|
BeanSw3de:71:2595:4335:0:1387:2591:2597:0:2593:0:24311:3061:0:
|
||||||
|
rarebreed28:42:579:0:0:1387:577:0:0:1033:0:0:0:0:
|
||||||
|
Mullac255:50:0:1019:1731:1381:6184:1540:0:6185:0:1059:1061:0:
|
||||||
|
680m:110:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Niffou:7:1153:0:0:1323:1115:1191:0:1067:0:0:0:0:
|
||||||
|
AlessandlawD:4:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
chandelaaaa:52:0:0:0:1275:0:0:0:0:0:1580:0:0:
|
||||||
|
kevkeassel:8:1153:1007:1478:1323:1115:1191:0:1067:0:1059:1061:0:
|
||||||
|
RockMauler:57:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Apothus14:43:0:0:0:1387:0:0:0:0:0:0:0:0:
|
||||||
|
lilibthx3:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Choc Luvr:48:1949:0:0:1333:0:0:0:13288:0:1059:1061:0:
|
||||||
|
ALXNDR B:60:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
crisalida1:29:0:0:0:1351:0:0:0:0:0:0:0:0:
|
||||||
|
doynana:25:1157:0:1718:2402:1129:1177:0:1095:0:1063:1061:0:
|
||||||
|
homer_1993:64:1163:4365:1731:853:1113:0:0:1099:0:1065:1061:0:
|
||||||
|
Kos Emak lol:80:1163:4367:1725:853:1135:0:0:1079:0:1065:24313:0:
|
||||||
|
chinowaggon:42:1153:0:1725:853:1101:0:0:1099:0:1065:0:0:
|
||||||
|
Raised Wood:40:1159:0:0:1333:1121:1197:0:1071:0:0:0:0:
|
||||||
|
PalavaMaa:3:21859:13679:22692:22684:0:13660:0:0:0:13287:13286:0:
|
||||||
|
adroit4559:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
SensaiKush:85:10828:6568:6585:0:0:0:0:0:0:0:11840:0:
|
||||||
|
Neba Brat:70:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Zartharias:55:1165:0:0:1333:1125:1195:0:1077:0:0:0:0:
|
||||||
|
lioooooooooo:38:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Julle2900:54:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
ItsSpectrum:92:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Pinkjoe_369:68:6182:0:0:1275:6180:0:0:6181:0:0:0:0:
|
||||||
|
iD3CAP1TATE:86:1050:0:1731:0:0:0:0:0:0:1065:23285:0:
|
||||||
|
0wnbyme0:80:2665:4355:0:1387:2661:2667:0:2663:0:1065:9005:0:
|
||||||
|
whodis1:11:1153:4351:1725:1325:1115:1191:0:1067:0:0:1061:0:
|
||||||
|
V-Caracas:75:0:0:0:1211:0:0:0:0:0:0:0:0:
|
||||||
|
Jackawoo:24:1153:1019:1009:1323:1101:1191:0:1081:0:1059:0:0:
|
||||||
|
yorwys:76:0:0:0:1357:0:0:0:2617:0:0:0:0:
|
||||||
|
ashwoog:8:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Belly111:57:1169:0:1725:1373:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
rolexeshh:54:0:0:0:1381:0:0:0:0:0:0:0:0:
|
||||||
|
Flamingasz:39:1040:23297:1660:1273:0:0:0:0:0:0:0:0:
|
||||||
|
TooFreeBoy:38:1159:0:1725:1329:1121:1197:0:1071:0:7595:1061:0:
|
||||||
|
el capibara:64:0:1019:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
maName1999:43:1169:0:1725:853:1115:0:0:1099:0:1065:0:0:
|
||||||
|
noobmager69:13:579:4397:1727:1381:577:0:0:1011:0:1063:1061:0:
|
||||||
|
Greg lad:53:1153:4315:1725:1373:1115:1191:0:1081:0:0:1061:0:
|
||||||
|
420 McWaffle:42:1169:4339:0:853:1129:0:0:1099:0:1065:0:0:
|
||||||
|
SwappingSpit:56:1053:4351:1725:853:1101:0:0:1099:0:1065:1061:0:
|
||||||
|
og Swervinn:74:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
yurmari:41:0:0:0:1351:0:13660:0:0:0:0:0:0:
|
||||||
|
mrintensely8:120:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
65s4gs6g:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Yippi kaye:32:5533:0:0:0:0:13660:0:0:0:0:0:0:
|
||||||
|
E D U A R DO:58:5533:0:552:1381:23404:0:0:1099:0:0:0:0:
|
||||||
|
RichBichLily:57:0:0:1710:20590:0:0:0:0:0:0:0:0:
|
||||||
|
ee PILLERI:94:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
el tor001:84:0:0:1712:1381:0:0:0:0:0:0:0:0:
|
||||||
|
Ill have tht:49:6188:4325:1725:20155:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
Li-Fan Wei:61:2665:1023:1731:853:2661:0:0:3479:0:1065:0:0:
|
||||||
|
CrsipDaddy69:62:1163:0:1731:1333:1127:1201:0:1079:0:1065:0:0:
|
||||||
|
50 Crow 2195:4:0:0:0:1351:0:0:0:0:0:0:0:0:
|
||||||
|
Nonce No:42:24315:13679:1725:853:24317:0:0:1099:0:1065:24323:0:
|
||||||
|
c6z0urhtkxou:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
capulina 12:71:0:0:0:1359:0:0:0:0:0:0:0:0:
|
||||||
|
atti zuen:27:579:1019:1727:1387:577:0:0:0:0:0:0:0:
|
||||||
|
Wildmake:25:1153:1019:1725:1331:1101:1191:0:1067:0:0:1061:0:
|
||||||
|
iGod Butcher:69:2627:1027:1731:1333:1127:2629:0:2625:0:0:22701:0:
|
||||||
|
imma warlock:25:1153:0:0:1381:1115:1191:0:1067:0:1063:1061:0:
|
||||||
|
Kingviking11:50:1169:1021:1725:853:1115:0:0:1099:0:1065:1061:0:
|
||||||
|
Hookhda1995:51:1153:4365:1725:1333:1115:0:0:1067:0:0:1061:0:
|
||||||
|
OptusWIFI:27:0:4409:1727:1381:1035:0:0:1033:0:0:1061:0:
|
||||||
|
No Chance G:58:0:0:1725:853:1101:0:0:1099:0:1065:1061:0:
|
||||||
|
19F10V7XUA3L:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Karamjanda23:50:1169:4393:1731:853:1109:0:0:1099:0:1065:1061:0:
|
||||||
|
Duskthrow39:34:1017:4405:1478:853:1035:0:0:1099:0:0:1061:0:
|
||||||
|
skitzatics:36:0:0:1725:1331:0:0:0:1099:0:1065:0:0:
|
||||||
|
Vi Vinner:59:1153:1027:1725:853:1115:0:0:1099:0:1065:1061:0:
|
||||||
|
666 sauce:56:0:3789:10364:1333:0:0:0:0:0:1065:6666:0:
|
||||||
|
Purple Sclm:54:1169:24207:1725:853:1101:0:0:1099:0:1065:1061:0:
|
||||||
|
69leo:55:1163:1027:1478:1303:23392:1201:0:1079:0:0:0:0:
|
||||||
|
125i:77:1163:4345:1725:1333:1127:1201:0:1079:0:1065:1061:0:
|
||||||
|
Shady_4720:29:1017:4345:1727:1381:544:0:0:542:0:0:1061:0:
|
||||||
|
gotitondeck:30:1169:1019:1725:853:1129:0:0:1097:0:2912:1061:0:
|
||||||
|
Crispy chips:78:1163:1027:1731:853:1113:0:0:1099:0:1065:24313:0:
|
||||||
|
PlzRisk More:45:12518:4389:1725:853:1101:0:0:7378:0:1065:1837:0:
|
||||||
|
P K Bash Man:56:1169:0:1725:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
Kieran2809:18:0:0:0:1355:0:0:0:0:0:0:1061:0:
|
||||||
|
Yes I m New:79:2665:1019:1731:1333:2661:2667:0:2663:0:1065:9006:0:
|
||||||
|
HMAY4QQ37YGB:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Soul Dig 934:50:1153:0:0:1323:1115:1191:0:1067:0:1059:1061:0:
|
||||||
|
Mr Medicated:63:1157:1027:1725:853:1119:0:0:1099:0:1065:1061:0:
|
||||||
|
Troll2k:4:1153:0:0:1277:1129:1171:0:0:0:0:1061:0:
|
||||||
|
Protect Hope:62:2665:1027:10364:853:2669:0:0:2655:0:2489:11840:0:
|
||||||
|
ITS ME KDP:14:0:0:1731:0:0:0:0:0:0:1063:1061:0:
|
||||||
|
anastasiaemp:28:1153:0:0:1277:1103:1173:0:1087:0:0:0:0:
|
||||||
|
Aka Flying:45:5527:4367:1725:853:0:0:0:0:0:1065:6666:0:
|
||||||
|
llSlayerlI:47:1169:4385:1725:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
jO9hurley:61:1163:1021:1725:1333:1113:1201:0:1079:0:2912:1061:0:
|
||||||
|
lilaf:43:1169:0:1725:1319:1129:0:0:1099:0:1065:0:0:
|
||||||
|
Logamconner:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
dunnbros1:64:1169:4383:1725:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
345458472110:101:1169:4407:1725:853:1133:0:0:1099:0:1065:1061:0:
|
||||||
|
Blonkalex23:61:1163:0:1725:1333:1127:1201:0:1079:0:0:1061:0:
|
||||||
|
0hide0cry:67:0:0:1731:853:1129:0:0:1097:0:1063:0:0:
|
||||||
|
Magemac99:27:579:4365:0:1387:577:1177:0:1011:0:0:0:0:
|
||||||
|
Alcap0ny:54:1153:0:0:0:1105:0:0:1067:0:2932:1061:0:
|
||||||
|
WISDJGJJ5CK4:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
Confiteor:81:0:0:0:853:0:0:0:0:0:0:0:0:
|
||||||
|
x Obey the:68:579:0:1727:1333:577:0:0:542:0:0:0:0:
|
||||||
|
sicriona:103:1163:1023:1725:1333:1127:1201:0:1079:0:2922:1061:0:
|
||||||
|
Deleo Hostem:74:2619:9753:1731:23334:2661:2659:0:2663:0:1065:2914:0:
|
||||||
|
K E N N O:89:10294:0:1731:1333:7372:0:0:1093:0:1065:1061:0:
|
||||||
|
T3CHe:47:579:0:1731:1333:577:0:0:1099:0:1063:0:0:
|
||||||
|
Kaiju_X:72:1169:0:1731:853:544:0:0:1099:0:1065:0:0:
|
||||||
|
Junior_steez:68:0:0:1725:1333:544:0:0:542:0:2912:1061:0:
|
||||||
|
BllI1C:52:1169:0:1725:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
Husky Fellow:53:6335:20217:1725:853:1129:0:0:7380:0:1065:23288:0:
|
||||||
|
w33d pk u:73:1169:4373:1725:853:1135:0:0:1099:0:1065:1061:0:
|
||||||
|
Gl Im Ninat:55:1169:4333:1725:853:0:0:0:1099:0:1065:1061:0:
|
||||||
|
12iownu:56:579:0:1725:1333:577:0:0:1099:0:1065:0:0:
|
||||||
|
TernoWildust:87:0:0:1731:1381:577:0:0:542:0:1065:0:0:
|
||||||
|
xongbax:57:1169:4347:1725:853:1129:0:0:1099:0:1065:1061:0:
|
||||||
|
G0DS Of Edge:76:2673:1027:1731:1333:2669:2675:0:2671:0:1065:1061:0:
|
||||||
|
Slashz:46:1169:4351:0:853:1129:0:0:1099:0:1065:0:0:
|
||||||
|
MicKy242:66:579:1021:0:1333:1121:1197:0:1085:0:1059:1061:0:
|
||||||
|
God trust:70:0:0:1725:1333:544:0:0:1099:0:1065:0:0:
|
||||||
|
Nodak Josh:69:12283:13679:1731:853:7362:0:0:7378:0:1065:1061:0:
|
||||||
|
ryuga attak:66:1163:0:1725:1333:1113:1201:0:1079:0:0:1061:0:
|
||||||
|
OldeEnglish:74:1163:0:1731:1333:1127:0:0:1079:0:0:0:0:
|
||||||
|
Vettige Sam:28:6656:0:1654:0:6654:0:0:6655:0:2902:0:0:
|
||||||
|
sitdown:61:1169:0:1704:868:1129:0:0:2497:0:2491:1837:0:
|
||||||
|
Zamppaliin:57:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
kuchar23:94:1163:1019:1725:853:1135:0:0:1079:0:1065:1061:0:
|
||||||
|
Tyuio594:69:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
oZeZo:90:0:0:0:1359:0:0:0:0:0:0:0:0:
|
||||||
|
Mrmagicmatt:50:1153:4377:1725:1333:1115:0:0:1067:0:1059:1061:0:
|
||||||
|
iism0ke:51:1169:4325:1725:853:1129:0:0:1099:0:1065:626:0:
|
||||||
|
Dzestiz:3:5533:0:21314:20779:0:24325:0:3059:0:3060:3061:0:
|
||||||
|
Justiniksass:3:0:0:0:0:0:0:0:0:0:0:0:0:
|
||||||
|
rag 1:66:2619:23410:1731:853:2661:0:0:2663:0:1065:23285:0:
|
||||||
|
|
78
Server/data/botdata/namesandarmorscript
Normal file
78
Server/data/botdata/namesandarmorscript
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
This script is run with OSBot. Created by Red Bracket.
|
||||||
|
|
||||||
|
namesandarmor.txt has the following format:
|
||||||
|
name:cblevel:helmet:cape:neck:weapon:chest:shield:unknown:legs:unknown:gloves:boots:
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
import org.osbot.rs07.api.def.ItemDefinition;
|
||||||
|
import org.osbot.rs07.api.model.Player;
|
||||||
|
import org.osbot.rs07.script.Script;
|
||||||
|
import org.osbot.rs07.script.ScriptManifest;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ScriptManifest(name = "Fetch data10", author = "b4", version = 2, logo = "", info = "info")
|
||||||
|
public class Reader extends Script {
|
||||||
|
|
||||||
|
private ArrayList<String> names = new ArrayList<>(20);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int onLoop() {
|
||||||
|
Player p = getPlayers().closest(o -> !names.contains(o.getName()));
|
||||||
|
if (p != null)
|
||||||
|
{
|
||||||
|
names.add(p.getName());
|
||||||
|
String equipment = getOthersEquipment(p);
|
||||||
|
//Format:
|
||||||
|
//name:cblevel:helmet:cape:neck:weapon:chest:shield:unknown:legs:unknown:gloves:boots:
|
||||||
|
log2(p.getName()
|
||||||
|
+ ":" + p.getCombatLevel()
|
||||||
|
+ ":" + equipment);
|
||||||
|
}
|
||||||
|
return 50;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void log2(String msg)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
log(msg);
|
||||||
|
FileReader fr = new FileReader(getDirectoryData() + "Data.txt");
|
||||||
|
BufferedReader br = new BufferedReader(fr);
|
||||||
|
for (String line; (line = br.readLine()) != null; ) {
|
||||||
|
if (line.split(":")[0].equals(msg.split(":")[0]))
|
||||||
|
{
|
||||||
|
log("Not adding that one, since we already have it");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
FileWriter fw = new FileWriter(getDirectoryData() + "Data.txt", true);
|
||||||
|
BufferedWriter bw = new BufferedWriter(fw);
|
||||||
|
PrintWriter out = new PrintWriter(bw);
|
||||||
|
out.println(msg);
|
||||||
|
out.close();
|
||||||
|
} catch (Exception e) {
|
||||||
|
log(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getOthersEquipment(Player p) {
|
||||||
|
String equipmentList = "";
|
||||||
|
if(p != null) {
|
||||||
|
int[] equipment = p.getDefinition().getAppearance();
|
||||||
|
for (int value : equipment) {
|
||||||
|
if (value - 512 > 0)
|
||||||
|
equipmentList += ItemDefinition.forId(value - 512).getId() + ":";
|
||||||
|
else
|
||||||
|
equipmentList += 0 + ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return equipmentList;
|
||||||
|
}
|
||||||
|
}
|
38
Server/data/botdata/pestcontrolcopies.txt
Normal file
38
Server/data/botdata/pestcontrolcopies.txt
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#Format:
|
||||||
|
#name:cblevel:helmet:cape:neck:weapon:chest:shield:unknown:legs:unknown:gloves:boots:
|
||||||
|
SirKermit:138:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
ceikry:110:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
loving puppy:95:11665:6568:6585:4587:8839:14767:0:8840:0:8842:1061:
|
||||||
|
rattle63:83:14096:10499:6585:4151:14094:14767:0:14095:0:8842:1061:
|
||||||
|
baluga:110:10828:6568:6585:4151:3140:6524:0:4087:0:8842:11732:
|
||||||
|
crabcake:115:10828:10446:6585:4151:10564:6524:0:4087:0:8842:11732:
|
||||||
|
Red:94:121:6568:10354:6585:10564:0:0:4087:0:1059:11732:
|
||||||
|
puglet:120:10828:6568:6585:11696:4757:0:0:8840:0:1059:3105:
|
||||||
|
linux:101:10828:10069:6585:4151:3140:14767:0:4087:0:1059:3105:
|
||||||
|
sicriona:103:1163:1023:6585:1333:1127:1201:0:1079:0:2922:1061:0:
|
||||||
|
czar:110:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
Alex:95:11665:6568:6585:4587:8839:14767:0:8840:0:8842:1061:
|
||||||
|
RedSparr0w:83:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
Summer:110:10828:6568:6585:4151:3140:6524:0:4087:0:8842:11732:
|
||||||
|
RedBracket:115:10828:10446:6585:13477:10564:6524:0:4087:0:8842:11732:
|
||||||
|
Woah:94:1163:6568:6585:13477:10564:0:0:4087:0:1059:11732:
|
||||||
|
SirKermit:130:10828:6568:6585:13477:4757:0:0:8840:0:1059:3105:
|
||||||
|
ceikry:95:10828:10069:6585:4151:3140:14767:0:4087:0:1059:3105:
|
||||||
|
SirKermit:138:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
ceikry:110:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
loving puppy:95:11665:6568:6585:4587:8839:14767:0:8840:0:8842:1061:
|
||||||
|
rattle63:83:14096:10499:6585:4151:14094:14767:0:14095:0:8842:1061:
|
||||||
|
baluga:110:10828:6568:6585:4151:3140:6524:0:4087:0:8842:11732:
|
||||||
|
crabcake:115:10828:10446:6585:4151:10564:6524:0:4087:0:8842:11732:
|
||||||
|
Red:94:121:6568:10354:6585:10564:0:0:4087:0:1059:11732:
|
||||||
|
puglet:120:10828:6568:6585:11696:4757:0:0:8840:0:1059:3105:
|
||||||
|
linux:101:10828:10069:6585:4151:3140:14767:0:4087:0:1059:3105:
|
||||||
|
sicriona:103:1163:1023:6585:1333:1127:1201:0:1079:0:2922:1061:0:
|
||||||
|
czar:110:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
Alex:95:11665:6568:6585:4587:8839:14767:0:8840:0:8842:1061:
|
||||||
|
RedSparr0w:83:1149:6568:6585:4587:10564:6524:0:4585:0:1059:1061:
|
||||||
|
Summer:110:10828:6568:6585:4151:3140:6524:0:4087:0:8842:11732:
|
||||||
|
RedBracket:115:10828:10446:6585:13477:10564:6524:0:4087:0:8842:11732:
|
||||||
|
Woah:94:1163:6568:6585:13477:10564:0:0:4087:0:1059:11732:
|
||||||
|
SirKermit:130:10828:6568:6585:13477:4757:0:0:8840:0:1059:3105:
|
||||||
|
ceikry:95:10828:10069:6585:4151:3140:14767:0:4087:0:1059:3105:
|
BIN
Server/data/cache/main_file_cache.dat2
vendored
Normal file
BIN
Server/data/cache/main_file_cache.dat2
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx0
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx0
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx1
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx1
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx10
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx10
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx11
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx11
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx12
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx12
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx13
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx13
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx14
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx14
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx15
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx15
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx16
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx16
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx17
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx17
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx18
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx18
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx19
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx19
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx2
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx2
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx20
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx20
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx21
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx21
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx22
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx22
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx23
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx23
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx24
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx24
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx25
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx25
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx255
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx255
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx26
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx26
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx27
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx27
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx28
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx28
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx3
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx3
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx4
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx4
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx5
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx5
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx6
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx6
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx7
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx7
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx8
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx8
vendored
Normal file
Binary file not shown.
BIN
Server/data/cache/main_file_cache.idx9
vendored
Normal file
BIN
Server/data/cache/main_file_cache.idx9
vendored
Normal file
Binary file not shown.
2
Server/data/configs/account_limit_exceptions.conf
Normal file
2
Server/data/configs/account_limit_exceptions.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[exceptions]
|
||||||
|
"127.0.0.1" = 5
|
1770
Server/data/configs/ammo_configs.json
Normal file
1770
Server/data/configs/ammo_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
2182
Server/data/configs/clue_rewards.json
Normal file
2182
Server/data/configs/clue_rewards.json
Normal file
File diff suppressed because it is too large
Load Diff
3090
Server/data/configs/door_configs.json
Normal file
3090
Server/data/configs/door_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
58803
Server/data/configs/drop_tables.json
Normal file
58803
Server/data/configs/drop_tables.json
Normal file
File diff suppressed because it is too large
Load Diff
670
Server/data/configs/ground_spawns.json
Normal file
670
Server/data/configs/ground_spawns.json
Normal file
@ -0,0 +1,670 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"item_id": "20",
|
||||||
|
"loc_data": "{1,2577,9655,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "21",
|
||||||
|
"loc_data": "{1,2613,9639,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "22",
|
||||||
|
"loc_data": "{1,2574,9633,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "23",
|
||||||
|
"loc_data": "{1,2583,9613,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "24",
|
||||||
|
"loc_data": "{1,2564,9662,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "28",
|
||||||
|
"loc_data": "{1,2807,3450,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "33",
|
||||||
|
"loc_data": "{1,2547,3114,0,10}-{1,3208,3395,1,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "39",
|
||||||
|
"loc_data": "{1,2672,3433,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "41",
|
||||||
|
"loc_data": "{1,3125,9997,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "53",
|
||||||
|
"loc_data": "{3,3240,3940,0,44}-{2,3237,3948,0,44}-{3,3235,3949,0,44}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "83",
|
||||||
|
"loc_data": "{1,2637,9819,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "84",
|
||||||
|
"loc_data": "{1,2638,9906,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "85",
|
||||||
|
"loc_data": "{1,2628,9859,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "88",
|
||||||
|
"loc_data": "{1,2654,9767,0,63}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "90",
|
||||||
|
"loc_data": "{1,2570,9604,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "185",
|
||||||
|
"loc_data": "{1,2467,3176,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "223",
|
||||||
|
"loc_data": "{1,3179,9881,0,90}-{1,3177,9880,0,90}-{1,3128,9956,0,90}-{1,3129,9954,0,90}-{1,3126,9958,0,90}-{1,3117,9951,0,90}-{1,3118,9948,0,90}-{1,3119,9949,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "229",
|
||||||
|
"loc_data": "{1,2588,3090,2,90}-{1,2587,3090,2,90}-{1,2809,3342,0,100}-{1,2808,3343,0,100}-{1,3186,3836,0,60}-{1,3195,3849,0,60}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "231",
|
||||||
|
"loc_data": "{1,2905,3297,0,10}-{1,2907,3295,0,10}-{1,2553,3751,0,90}-{1,2553,3754,0,90}-{1,2552,3757,0,90}-{1,2546,3763,0,90}-{1,2542,3765,0,90}-{1,2540,3765,0,90}-{1,2528,3716,0,90}-{1,2501,3727,0,90}-{1,2502,3726,0,90}-{1,2501,3729,0,90}-{1,2500,3730,0,90}-{1,2500,3731,0,90}-{1,2501,3732,0,90}-{1,2503,3733,0,90}-{1,2504,3732,0,90}-{1,2506,3731,0,90}-{1,2529,3735,0,90}-{1,2531,3736,0,90}-{1,2527,3746,0,90}-{1,2525,3751,0,90}-{1,2532,3762,0,90}-{1,2503,3757,0,30}-{1,2502,3756,0,30}-{1,2502,3754,0,30}-{1,2502,3752,0,30}-{1,2503,3751,0,30}-{1,2505,3753,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "239",
|
||||||
|
"loc_data": "{1,3217,3812,0,2}-{1,3210,3808,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "243",
|
||||||
|
"loc_data": "{1,2910,9809,0,30}-{1,2908,9805,0,30}-{1,2902,9806,0,30}-{1,2906,9796,0,30}-{1,2905,9801,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "245",
|
||||||
|
"loc_data": "{1,2931,3515,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "247",
|
||||||
|
"loc_data": "{1,2512,3080,0,30}-{1,2517,3082,0,30}-{1,2509,3088,0,30}-{1,2508,3084,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "272",
|
||||||
|
"loc_data": "{1,3108,3356,1,140}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "273",
|
||||||
|
"loc_data": "{1,3097,3366,0,140}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "276",
|
||||||
|
"loc_data": "{1,3111,3367,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "277",
|
||||||
|
"loc_data": "{1,3092,9755,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "278",
|
||||||
|
"loc_data": "{1,2604,3358,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "301",
|
||||||
|
"loc_data": "{1,2608,3397,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "303",
|
||||||
|
"loc_data": "{1,3245,3155,0,140}-{1,3244,3159,0,140}-{1,3429,4784,0,75}-{1,3432,4783,0,75}-{1,3414,4768,0,75}-{1,3429,4769,0,75}-{1,3431,4772,0,75}-{1,3415,4786,0,75}-{1,3412,4784,0,75}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "305",
|
||||||
|
"loc_data": "{1,2605,3395,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "307",
|
||||||
|
"loc_data": "{1,2860,3335,0,190}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "311",
|
||||||
|
"loc_data": "{1,2605,3396,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "347",
|
||||||
|
"loc_data": "{1,2563,9511,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "357",
|
||||||
|
"loc_data": "{1,2820,3453,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "401",
|
||||||
|
"loc_data": "{1,2959,2959,0,160}-{1,2943,2950,0,160}-{1,2866,2976,0,160}-{1,2854,2977,0,160}-{1,2839,2975,0,160}-{1,2757,2947,0,160}-{1,2755,2952,0,160}-{1,2786,2960,0,160}-{1,2782,2987,0,160}-{1,2771,2995,0,160}-{1,2761,3000,0,160}-{1,3829,3053,0,160}-{1,3813,3066,0,160}-{1,3814,3064,0,160}-{1,3808,3060,0,160}-{1,2945,3068,0,160}-{1,2975,3013,0,160}-{1,2955,3010,0,160}-{1,2755,3008,0,160}-{1,2754,3017,0,160}-{1,2756,3060,0,160}-{1,2755,3070,0,160}-{1,2896,3119,0,160}-{1,2914,3111,0,160}-{1,2926,3110,0,160}-{1,2939,3102,0,160}-{1,2938,3073,0,160}-{1,2756,3074,0,160}-{1,2806,3128,0,160}-{1,2764,3131,0,160}-{1,2753,3125,0,160}-{1,2757,3109,0,160}-{1,2864,3195,0,160}-{1,2810,3387,0,160}-{1,2809,3388,0,160}-{1,2809,3385,0,160}-{1,2807,3386,0,160}-{1,2804,3385,0,160}-{1,2807,3384,0,160}-{1,2805,3384,0,160}-{1,2802,3382,0,160}-{1,2805,3381,0,160}-{1,2804,3380,0,160}-{1,2693,3727,0,160}-{1,2698,3729,0,160}-{1,2700,3731,0,160}-{1,2708,3728,0,160}-{1,2725,3731,0,160}-{1,2721,3730,0,160}-{1,2719,3733,0,160}-{1,2714,3733,0,160}-{1,2712,3732,0,160}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "444",
|
||||||
|
"loc_data": "{1,3231,3739,0,250}-{1,3236,3741,0,250}-{1,3195,9821,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "480",
|
||||||
|
"loc_data": "{1,3298,3313,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "526",
|
||||||
|
"loc_data": "{1,2510,3080,0,30}-{1,2516,3084,0,30}-{1,2509,3090,0,30}-{1,2512,3084,0,30}-{1,2510,3084,0,30}-{1,2505,3114,0,30}-{1,2507,3116,0,30}-{1,2503,3118,0,30}-{1,2510,3114,0,30}-{1,3238,3606,0,100}-{1,3236,3605,0,100}-{1,3238,3603,0,100}-{1,3240,3603,0,100}-{1,3242,3604,0,100}-{1,3244,3611,0,100}-{1,3247,3614,0,100}-{1,3238,3610,0,100}-{1,3238,3608,0,100}-{1,3232,3948,0,100}-{1,3237,3938,0,100}-{1,3250,3952,0,100}-{1,2966,9772,0,90}-{1,2968,9771,0,90}-{1,2831,9766,0,90}-{1,2829,9764,0,90}-{1,2917,9796,0,90}-{1,2914,9796,0,90}-{1,2910,9797,0,90}-{1,2908,9794,0,90}-{1,2926,9801,0,90}-{1,2924,9801,0,90}-{1,2924,9804,0,90}-{1,2927,9805,0,90}-{1,2929,9807,0,90}-{1,2938,9792,0,90}-{1,2938,9796,0,90}-{1,2935,9799,0,90}-{1,2930,9794,0,90}-{1,2932,9792,0,90}-{1,2903,9826,0,90}-{1,2906,9823,0,90}-{1,2906,9825,0,90}-{1,2907,9824,0,90}-{1,2910,9825,0,90}-{1,3101,9825,0,90}-{1,3107,9823,0,90}-{1,3109,9823,0,90}-{1,3110,9825,0,90}-{1,3138,9880,0,90}-{1,3141,9879,0,90}-{1,3142,9880,0,90}-{1,3143,9878,0,90}-{1,3097,9902,0,90}-{1,3094,9907,0,90}-{1,3093,9884,0,90}-{1,3098,9886,0,90}-{1,3093,9879,0,90}-{1,3122,9891,0,90}-{1,3116,9891,0,90}-{1,3119,9894,0,90}-{1,3120,9894,0,90}-{1,3103,9953,0,90}-{1,3104,9950,0,90}-{1,3110,9952,0,90}-{1,3111,9956,0,90}-{1,3110,9958,0,90}-{1,3111,9959,0,90}-{1,3116,9950,0,90}-{1,3127,9957,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "528",
|
||||||
|
"loc_data": "{1,3211,3822,0,60}-{1,3212,3819,0,60}-{1,3217,3816,0,60}-{1,3218,3813,0,60}-{1,3182,3848,0,50}-{1,3178,3851,0,60}-{1,3179,3853,0,60}-{1,3185,3857,0,60}-{1,3187,3853,0,60}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "542",
|
||||||
|
"loc_data": "{1,3059,3488,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "544",
|
||||||
|
"loc_data": "{1,3059,3487,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "554",
|
||||||
|
"loc_data": "{1,3303,3311,0,30}-{1,3026,3636,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "555",
|
||||||
|
"loc_data": "{1,3297,3316,0,30}-{1,3028,3636,0,200}-{3,2960,3899,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "556",
|
||||||
|
"loc_data": "{1,2938,3158,0,110}-{1,3030,3636,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "557",
|
||||||
|
"loc_data": "{1,3032,3636,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "558",
|
||||||
|
"loc_data": "{1,3206,3208,0,40}-{1,3023,3640,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "559",
|
||||||
|
"loc_data": "{1,3233,3573,0,200}-{1,3234,3578,0,200}-{1,3230,3582,0,200}-{1,3021,3637,0,200}-{1,3089,3866,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "561",
|
||||||
|
"loc_data": "{1,2671,3737,0,200}-{1,2672,3738,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "562",
|
||||||
|
"loc_data": "{1,3021,3640,0,200}-{1,3137,3833,0,200}-{1,3139,3814,0,200}-{1,3145,3814,0,200}-{1,3144,3826,0,200}-{1,3149,3823,0,200}-{1,3151,3831,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "564",
|
||||||
|
"loc_data": "{3,2947,3898,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "590",
|
||||||
|
"loc_data": "{1,2368,3135,0,140}-{1,2431,3072,0,140}-{1,3112,3369,2,140}-{1,3209,3734,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "677",
|
||||||
|
"loc_data": "{1,3369,3378,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "687",
|
||||||
|
"loc_data": "{1,2655,3424,0,80}-{1,2665,3424,0,80}-{1,2669,3423,0,80}-{1,2668,3419,0,80}-{1,2671,3420,0,80}-{1,2677,3423,0,80}-{1,2676,3425,0,80}-{1,2676,3422,0,80}-{1,2679,3424,0,80}-{1,2678,3426,0,80}-{1,2679,3423,0,80}-{1,2680,3424,0,80}-{1,2672,3427,0,80}-{1,2676,3430,0,80}-{1,2673,3428,0,80}-{1,2670,3437,0,80}-{1,2649,9854,0,80}-{1,2643,9853,0,80}-{1,2644,9851,0,80}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "708",
|
||||||
|
"loc_data": "{1,3368,9770,0,30}-{1,3364,9764,0,30}-{1,3363,9831,0,30}-{1,3370,9826,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "712",
|
||||||
|
"loc_data": "{1,2887,3412,0,30}-{1,2903,3441,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "767",
|
||||||
|
"loc_data": "{1,3245,3385,1,50}-{1,3243,3383,1,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "882",
|
||||||
|
"loc_data": "{1,3205,3227,0,140}-{1,2957,3205,0,30}-{1,2944,3332,0,30}-{1,3104,3599,0,100}-{1,3103,3596,0,100}-{1,3100,3593,0,100}-{1,3096,3595,0,100}-{1,3094,3598,0,100}-{1,3100,3609,0,100}-{1,3104,3610,0,100}-{1,3107,3611,0,100}-{1,3108,3603,0,100}-{1,3135,9916,0,140}-{3,3130,9903,0,140}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "946",
|
||||||
|
"loc_data": "{1,2903,3148,0,80}-{1,3205,3212,0,80}-{1,3224,3202,0,80}-{1,3218,3416,1,90}-{1,2820,3450,0,90}-{1,3106,3956,0,60}-{1,2566,9526,0,30}-{1,3215,9625,0,80}-{1,3218,9887,0,33}-{1,2700,3407,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "952",
|
||||||
|
"loc_data": "{1,3572,3312,0,30}-{1,3571,3310,0,30}-{1,3120,3359,0,110}-{1,2566,3330,0,100}-{1,2981,3370,0,90}-{1,3218,3412,1,30}-{1,1951,4964,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "954",
|
||||||
|
"loc_data": "{1,2094,3152,0,150}-{1,2785,3279,0,150}-{1,2786,3287,0,150}-{1,2786,3286,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "960",
|
||||||
|
"loc_data": "{1,2851,3239,0,160}-{1,2847,3238,0,160}-{1,2845,3232,0,160}-{1,2856,3231,0,160}-{1,2857,3236,0,160}-{1,2846,3384,0,160}-{1,2848,3383,0,160}-{1,2550,3575,0,200}-{1,2553,3576,0,200}-{1,2554,3575,0,200}-{1,2556,3573,0,200}-{1,3216,3665,0,200}-{1,3224,3668,0,200}-{1,3245,3678,0,200}-{1,3230,3686,0,200}-{1,3216,3677,0,200}-{1,3219,3680,0,200}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "966",
|
||||||
|
"loc_data": "{1,3237,3696,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "970",
|
||||||
|
"loc_data": "{1,3290,3033,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "983",
|
||||||
|
"loc_data": "{1,3131,9862,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "995",
|
||||||
|
"loc_data": "{2,3234,3560,0,100}-{2,3106,3547,0,100}-{1,3104,3558,0,100}-{1,3106,3534,0,100}-{2,3101,3564,0,100}-{4,3103,3579,0,100}-{384,3224,3830,0,50}-{384,3220,3824,0,50}-{1,2909,9800,0,150}-{4,2912,9801,0,150}-{8,2910,9803,0,150}-{5,2907,9807,0,150}-{6,2913,9806,0,150}-{1,2922,9820,0,150}-{1,2934,9834,0,150}-{1,2917,9850,0,150}-{1,2914,9849,0,150}-{3,3195,9834,0,150}-{4,3195,9820,0,150}-{66,3191,9821,0,150}-{56,3190,9819,0,150}-{26,3188,9819,0,150}-{26,3188,9820,0,150}-{35,3189,9819,0,150}-{4,3088,9898,0,150}-{1,3088,9899,0,150}-{1,3091,9899,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1005",
|
||||||
|
"loc_data": "{1,3014,3227,0,30}-{1,3009,3204,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1009",
|
||||||
|
"loc_data": "{1,3122,9881,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1059",
|
||||||
|
"loc_data": "{1,3148,3177,0,30}-{1,3242,3385,1,90}-{1,3097,3486,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1061",
|
||||||
|
"loc_data": "{1,3111,3159,0,190}-{1,3112,3155,0,100}-{1,3302,3190,0,30}-{1,3244,3386,1,190}-{1,3208,9620,0,190}-{1,3210,9615,0,190}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1069",
|
||||||
|
"loc_data": "{1,3249,3740,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1119",
|
||||||
|
"loc_data": "{1,3084,3859,0,60}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1137",
|
||||||
|
"loc_data": "{1,3242,3688,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1139",
|
||||||
|
"loc_data": "{1,3122,3360,0,190}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1171",
|
||||||
|
"loc_data": "{1,3217,3514,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1191",
|
||||||
|
"loc_data": "{1,3250,3797,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1203",
|
||||||
|
"loc_data": "{1,3248,3245,0,180}-{1,3242,3383,1,240}-{1,3216,3695,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1205",
|
||||||
|
"loc_data": "{1,3213,3216,1,190}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1207",
|
||||||
|
"loc_data": "{1,3213,3682,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1217",
|
||||||
|
"loc_data": "{1,3180,3821,0,60}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1265",
|
||||||
|
"loc_data": "{1,3229,3218,2,100}-{1,2963,3216,0,30}-{1,3081,3429,0,50}-{1,3288,9442,0,90}-{1,3288,9431,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1321",
|
||||||
|
"loc_data": "{1,2965,3211,1,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1351",
|
||||||
|
"loc_data": "{1,2795,3161,0,240}-{1,2970,3376,1,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1385",
|
||||||
|
"loc_data": "{1,3099,3862,0,131}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1422",
|
||||||
|
"loc_data": "{1,3320,3137,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1467",
|
||||||
|
"loc_data": "{1,2784,3289,0,0}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1469",
|
||||||
|
"loc_data": "{1,2766,3277,0,100}-{1,2766,3289,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1510",
|
||||||
|
"loc_data": "{1,2576,3334,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1511",
|
||||||
|
"loc_data": "{1,3106,3160,0,160}-{1,3106,3159,0,160}-{1,3105,3159,0,160}-{1,3205,3226,2,160}-{1,3205,3224,2,160}-{1,3208,3225,2,160}-{1,3209,3224,2,160}-{1,2958,3205,0,30}-{1,2959,3205,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1523",
|
||||||
|
"loc_data": "{1,2614,9570,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1550",
|
||||||
|
"loc_data": "{1,2714,3478,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1573",
|
||||||
|
"loc_data": "{1,2559,2975,0,10}-{1,2560,2974,0,10}-{1,2561,2973,0,10}-{1,2561,2976,0,10}-{1,2740,3637,0,30}-{1,2736,3638,0,30}-{1,2735,3636,0,30}-{1,2743,3636,0,30}-{1,2739,3634,0,30}-{1,2743,3640,0,30}-{1,2741,3639,0,30}-{1,2736,3641,0,30}-{1,2738,3641,0,30}-{1,2734,3640,0,30}-{1,2738,3636,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1590",
|
||||||
|
"loc_data": "{1,2900,9766,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1592",
|
||||||
|
"loc_data": "{1,2935,3283,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1595",
|
||||||
|
"loc_data": "{1,2928,3290,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1597",
|
||||||
|
"loc_data": "{1,2932,3287,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1599",
|
||||||
|
"loc_data": "{1,2931,3287,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1607",
|
||||||
|
"loc_data": "{1,2679,3740,0,144}-{1,3169,3887,0,144}-{1,3169,3887,0,144}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1641",
|
||||||
|
"loc_data": "{1,3196,9822,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1654",
|
||||||
|
"loc_data": "{1,3192,9821,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1734",
|
||||||
|
"loc_data": "{1,3286,3491,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1735",
|
||||||
|
"loc_data": "{1,2930,3285,1,90}-{1,3192,3272,0,140}-{1,3152,3306,0,30}-{1,3126,3356,0,140}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1755",
|
||||||
|
"loc_data": "{1,2935,3286,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1785",
|
||||||
|
"loc_data": "{1,2822,3355,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1856",
|
||||||
|
"loc_data": "{1,2638,3292,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1887",
|
||||||
|
"loc_data": "{1,3141,3452,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1913",
|
||||||
|
"loc_data": "{1,2863,9875,0,44}-{1,2861,9878,0,44}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1917",
|
||||||
|
"loc_data": "{1,3286,3033,1,90}-{1,2799,3156,0,150}-{1,2796,3165,0,150}-{1,3049,3257,0,150}-{1,3080,3438,0,45}-{1,3077,3439,0,30}-{1,3077,3443,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1919",
|
||||||
|
"loc_data": "{1,2798,3156,0,150}-{1,2799,3155,0,150}-{1,2795,3160,0,150}-{1,2798,3160,0,150}-{1,2798,3161,0,150}-{1,2795,3165,0,150}-{1,2794,3165,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1921",
|
||||||
|
"loc_data": "{1,3291,3034,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1923",
|
||||||
|
"loc_data": "{1,3208,3214,0,80}-{1,3140,3452,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1925",
|
||||||
|
"loc_data": "{1,2428,3079,0,80}-{1,2428,3080,0,80}-{1,2371,3128,0,80}-{1,2371,3127,0,80}-{1,3307,3195,0,30}-{1,3225,3294,0,80}-{1,3026,3289,0,80}-{1,3121,3359,0,60}-{1,2564,3332,0,100}-{1,3221,3497,1,80}-{1,3222,3491,1,80}-{1,2958,3510,0,80}-{1,2958,3510,0,80}-{1,1941,4956,0,30}-{1,3216,9625,0,80}-{1,2633,9908,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1927",
|
||||||
|
"loc_data": "{1,2685,3683,0,174}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1929",
|
||||||
|
"loc_data": "{1,2820,3452,0,90}-{1,2823,3449,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1931",
|
||||||
|
"loc_data": "{1,3209,3214,0,80}-{1,3166,3310,0,90}-{1,3144,3449,2,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1935",
|
||||||
|
"loc_data": "{1,2905,3146,0,80}-{1,3211,3212,0,80}-{1,2936,3292,0,90}-{1,3142,3447,2,90}-{1,3211,9625,0,80}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1939",
|
||||||
|
"loc_data": "{1,3193,3181,0,150}-{1,3194,3168,0,150}-{1,3191,3162,0,150}-{1,3189,3163,0,150}-{1,3185,3161,0,150}-{1,3182,3165,0,150}-{1,3172,3166,0,150}-{1,3170,3167,0,150}-{1,3164,3169,0,150}-{1,3171,3177,0,150}-{1,3173,3178,0,150}-{1,3164,3180,0,150}-{1,3165,3187,0,150}-{1,3171,3191,0,150}-{1,3178,3190,0,150}-{1,3181,3193,0,150}-{1,3182,3181,0,150}-{1,3493,3408,0,30}-{1,3494,3402,0,30}-{1,3494,3396,0,30}-{1,3499,3401,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1944",
|
||||||
|
"loc_data": "{1,3191,3276,0,35}-{1,3229,3299,0,35}-{1,3226,3301,0,35}-{1,3015,3295,0,30}-{1,3016,3295,0,30}-{1,2853,3370,0,35}-{1,2852,3369,0,35}-{1,2851,3372,0,35}-{1,2453,4476,0,1}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1955",
|
||||||
|
"loc_data": "{1,3141,3447,1,90}-{1,3140,3447,1,90}-{1,3141,3447,2,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1963",
|
||||||
|
"loc_data": "{1,2907,3146,0,150}-{1,3009,3207,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1965",
|
||||||
|
"loc_data": "{1,3217,9622,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1971",
|
||||||
|
"loc_data": "{1,2843,3369,0,160}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1973",
|
||||||
|
"loc_data": "{1,3143,3453,0,40}-{1,2384,4440,0,40}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1982",
|
||||||
|
"loc_data": "{1,2584,2966,0,10}-{1,3085,3261,0,150}-{1,3039,3706,0,15}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1985",
|
||||||
|
"loc_data": "{1,3083,3260,0,150}-{1,3039,3707,0,15}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1987",
|
||||||
|
"loc_data": "{1,3144,3450,2,90}-{1,3237,9761,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "1993",
|
||||||
|
"loc_data": "{1,3291,3033,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2025",
|
||||||
|
"loc_data": "{1,2449,3510,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2026",
|
||||||
|
"loc_data": "{1,2483,3482,1,90}-{1,2489,3489,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2126",
|
||||||
|
"loc_data": "{1,2661,3478,0,100}-{1,2638,3480,0,100}-{1,2632,3492,0,100}-{1,2648,3498,0,100}-{1,2669,3497,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2128",
|
||||||
|
"loc_data": "{1,2648,2963,0,10}-{1,2647,2956,0,10}-{1,2638,2949,0,10}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2140",
|
||||||
|
"loc_data": "{1,2971,3382,1,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2142",
|
||||||
|
"loc_data": "{1,3080,3443,0,30}-{1,3077,3441,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2150",
|
||||||
|
"loc_data": "{1,2907,3393,0,30}-{1,2903,3400,0,30}-{1,2908,3410,0,30}-{1,2418,3511,0,30}-{1,2417,3512,0,30}-{1,2416,3512,0,30}-{1,2412,3511,0,30}-{1,2411,3519,0,30}-{1,2415,3518,0,30}-{1,2417,3516,0,30}-{1,2417,3515,0,30}-{1,2421,3519,0,30}-{1,2424,3517,0,30}-{1,2424,3514,0,30}-{1,2428,3510,0,30}-{1,2407,3516,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2162",
|
||||||
|
"loc_data": "{1,2896,3414,0,30}-{1,2425,3515,0,30}-{1,2415,3517,0,30}-{1,2414,3518,0,30}-{1,2419,3511,0,30}-{1,2415,3511,0,30}-{1,2414,3510,0,30}-{1,2427,3508,0,30}-{1,2426,3507,0,30}-{1,2408,3518,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2313",
|
||||||
|
"loc_data": "{1,2820,3455,0,90}-{1,3142,3447,1,90}-{1,3222,3494,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2333",
|
||||||
|
"loc_data": "{1,3042,3952,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2347",
|
||||||
|
"loc_data": "{1,2934,3286,0,90}-{1,2975,3368,1,30}-{1,2579,3463,0,40}-{1,1953,4974,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2357",
|
||||||
|
"loc_data": "{1,3192,9822,0,150}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2398",
|
||||||
|
"loc_data": "{1,2517,3049,0,50}-{1,2511,3045,0,50}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2407",
|
||||||
|
"loc_data": "{1,2935,3460,0,5}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2408",
|
||||||
|
"loc_data": "{1,2903,3471,0,5}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2957",
|
||||||
|
"loc_data": "{1,3443,9742,0,100}-{1,3443,9742,1,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "2964",
|
||||||
|
"loc_data": "{1,3437,3337,0,100}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3109",
|
||||||
|
"loc_data": "{1,2893,3565,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3110",
|
||||||
|
"loc_data": "{1,2893,3564,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3111",
|
||||||
|
"loc_data": "{1,2893,3561,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3112",
|
||||||
|
"loc_data": "{1,2893,3563,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3113",
|
||||||
|
"loc_data": "{1,2893,3562,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3138",
|
||||||
|
"loc_data": "{1,3463,9478,2,45}-{1,3461,9480,2,45}-{1,3461,9482,2,45}-{1,3461,9484,2,45}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3711",
|
||||||
|
"loc_data": "{1,2660,3676,0,196}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3803",
|
||||||
|
"loc_data": "{1,2658,3676,0,174}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "3805",
|
||||||
|
"loc_data": "{1,2659,3676,0,196}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "4199",
|
||||||
|
"loc_data": "{1,3492,3474,0,0}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "4615",
|
||||||
|
"loc_data": "{1,3479,3092,0,0}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "4619",
|
||||||
|
"loc_data": "{1,2713,4913,0,2}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "4707",
|
||||||
|
"loc_data": "{1,3571,3312,0,40}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "4838",
|
||||||
|
"loc_data": "{1,2593,3103,1,40}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "5008",
|
||||||
|
"loc_data": "{1,3230,9609,0,44}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "5523",
|
||||||
|
"loc_data": "{1,2935,3282,1,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "5586",
|
||||||
|
"loc_data": "{1,2473,4941,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "6291",
|
||||||
|
"loc_data": "{1,2681,3111,0,30}-{1,2673,3112,0,30}-{1,2674,3094,0,30}-{1,2671,3089,0,30}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "6662",
|
||||||
|
"loc_data": "{1,2984,3112,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "6663",
|
||||||
|
"loc_data": "{1,2984,3114,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "7510",
|
||||||
|
"loc_data": "{1,2867,9875,0,44}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "11065",
|
||||||
|
"loc_data": "{1,2928,3289,0,90}-"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item_id": "12494",
|
||||||
|
"loc_data": "{1,2762,2973,0,60}-"
|
||||||
|
}
|
||||||
|
]
|
920
Server/data/configs/interface_configs.json
Normal file
920
Server/data/configs/interface_configs.json
Normal file
@ -0,0 +1,920 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "5",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "12",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "13",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "15",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "24",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "34",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "38",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "42",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "46",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "57",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "58",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "59",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "64",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "65",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "66",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "67",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "68",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "69",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "70",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "71",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "74",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "92",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "94",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "96",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "98",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "102",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "107",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "115",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "118",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "126",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "131",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "137",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "139",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "140",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "149",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "169",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "172",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "173",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "174",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "175",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "176",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "177",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "182",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "14"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "187",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "13"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "192",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "193",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "194",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "195",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "196",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "198",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "209",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "210",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "211",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "212",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "213",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "228",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "230",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "232",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "234",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "236",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "240",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "241",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "242",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "243",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "244",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "245",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "246",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "247",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "248",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "256",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "259",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "261",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "11"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "271",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "5"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "274",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "303",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "304",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "305",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "306",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "307",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "309",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "311",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "312",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "319",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "320",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "324",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "328",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "336",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "371",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "372",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "373",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "377",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "380",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "381",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "387",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "389",
|
||||||
|
"interfaceType": "6",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "395",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "398",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "407",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "408",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "411",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "418",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "421",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "428",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "430",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "6"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "464",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "482",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "485",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "486",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "487",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "488",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "498",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "516",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "519",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "532",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "541",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "548",
|
||||||
|
"interfaceType": "5",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "549",
|
||||||
|
"interfaceType": "5",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "550",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "551",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "553",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "582",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "589",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "597",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "598",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "599",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "601",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "620",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "621",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "630",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "638",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "644",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "648",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "653",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "656",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "660",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "662",
|
||||||
|
"interfaceType": "2",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "665",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "667",
|
||||||
|
"interfaceType": "0",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "668",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "670",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "695",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "698",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "701",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "703",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "706",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "711",
|
||||||
|
"interfaceType": "7",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "735",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "740",
|
||||||
|
"interfaceType": "4",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "746",
|
||||||
|
"interfaceType": "5",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "755",
|
||||||
|
"interfaceType": "5",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "763",
|
||||||
|
"interfaceType": "3",
|
||||||
|
"walkable": "false",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "804",
|
||||||
|
"interfaceType": "1",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "809",
|
||||||
|
"interfaceType": "8",
|
||||||
|
"walkable": "true",
|
||||||
|
"tabIndex": "-1"
|
||||||
|
}
|
||||||
|
]
|
132116
Server/data/configs/item_configs.json
Normal file
132116
Server/data/configs/item_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
2566
Server/data/configs/music_regions.json
Normal file
2566
Server/data/configs/music_regions.json
Normal file
File diff suppressed because it is too large
Load Diff
62
Server/data/configs/music_tiles.json
Normal file
62
Server/data/configs/music_tiles.json
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "98",
|
||||||
|
"borders": "{3072,3456,3135,3519,[3076,3456,3085,3458]~,[3082,3459,3085,3460]}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "141",
|
||||||
|
"borders": "{3072,3392,3135,3455,[3076,3452,3085,3455]}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "228",
|
||||||
|
"borders": "{2896,5446,2919,5462}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "229",
|
||||||
|
"borders": "{2921,5456,2937,5479}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "230",
|
||||||
|
"borders": "{2904,5481,2927,5497}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "231",
|
||||||
|
"borders": "{2886,5464,2902,5487}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "386",
|
||||||
|
"borders": "{2820,5312,2849,5369}-{2849,5349,2880,5374}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "391",
|
||||||
|
"borders": "{2879,5340,2944,5366}-{2909,5316,2944,5340}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "399",
|
||||||
|
"borders": "{2816,5248,2943,5375,[2823,5250,2844,5310]~,[2844,5250,2878,5280]~,[2879,5340,2944,5366]~,[2909,5316,2944,5340]~,[2820,5312,2849,5369]~,[2849,5349,2880,5374]~,[2885,5253,2934,5278]~,[2913,5278,2937,5306]}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "404",
|
||||||
|
"borders": "{2823,5250,2844,5310}-{2844,5250,2878,5276}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "408",
|
||||||
|
"borders": "{2885,5253,2934,5278}-{2913,5278,2937,5306}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "459",
|
||||||
|
"borders": "{3137,5442,3192,5564}-{3193,5442,3198,5472}-{3193,5507,3198,5564}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "467",
|
||||||
|
"borders": "{3199,5441,3262,5564}-{3193,5482,3198,5497}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "488",
|
||||||
|
"borders": "{3263,5441,3327,5566}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "492",
|
||||||
|
"borders": "{3076,3452,3085,3460,[3076,3459,3081,3460]}"
|
||||||
|
}
|
||||||
|
]
|
87896
Server/data/configs/npc_configs.json
Normal file
87896
Server/data/configs/npc_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
12306
Server/data/configs/npc_spawns.json
Normal file
12306
Server/data/configs/npc_spawns.json
Normal file
File diff suppressed because one or more lines are too long
20718
Server/data/configs/object_configs.json
Normal file
20718
Server/data/configs/object_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
1550
Server/data/configs/ranged_weapon_configs.json
Normal file
1550
Server/data/configs/ranged_weapon_configs.json
Normal file
File diff suppressed because it is too large
Load Diff
9
Server/data/configs/shared_tables/ASDT.xml
Normal file
9
Server/data/configs/shared_tables/ASDT.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<ASDT>
|
||||||
|
<item id="5318" minAmt="1" maxAmt="4" weight="64"/>
|
||||||
|
<item id="5319" minAmt="1" maxAmt="3" weight="32"/>
|
||||||
|
<item id="5324" minAmt="1" maxAmt="3" weight="16"/>
|
||||||
|
<item id="5322" minAmt="1" maxAmt="2" weight="8"/>
|
||||||
|
<item id="5320" minAmt="1" maxAmt="2" weight="4"/>
|
||||||
|
<item id="5323" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
<item id="5321" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
</ASDT>
|
12
Server/data/configs/shared_tables/CELEDT.xml
Normal file
12
Server/data/configs/shared_tables/CELEDT.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<CELEDT>
|
||||||
|
<item id="2289" minAmt="3" maxAmt="3" weight="10"/>
|
||||||
|
<item id="534" minAmt="2" maxAmt="2" weight="10"/>
|
||||||
|
<item id="530" minAmt="5" maxAmt="5" weight="10"/>
|
||||||
|
<item id="532" minAmt="3" maxAmt="3" weight="10"/>
|
||||||
|
<item id="526" minAmt="4" maxAmt="4" weight="10"/>
|
||||||
|
<item id="536" minAmt="1" maxAmt="1" weight="10"/>
|
||||||
|
<item id="125" minAmt="1" maxAmt="1" weight="10"/>
|
||||||
|
<item id="119" minAmt="1" maxAmt="1" weight="10"/>
|
||||||
|
<item id="137" minAmt="1" maxAmt="1" weight="10"/>
|
||||||
|
<item id="361" minAmt="5" maxAmt="5" weight="10"/>
|
||||||
|
</CELEDT>
|
12
Server/data/configs/shared_tables/GDT.xml
Normal file
12
Server/data/configs/shared_tables/GDT.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<GDT>
|
||||||
|
<item id="0" minAmt="1" maxAmt="1" weight="128"/>
|
||||||
|
<item id="1623" minAmt="1" maxAmt="1" weight="64"/>
|
||||||
|
<item id="1621" minAmt="1" maxAmt="1" weight="32"/>
|
||||||
|
<item id="1619" minAmt="1" maxAmt="1" weight="16"/>
|
||||||
|
<item id="1617" minAmt="1" maxAmt="1" weight="4"/>
|
||||||
|
<item id="1452" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="1462" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="830" minAmt="5" maxAmt="5" weight="2"/>
|
||||||
|
<item id="985" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
<item id="987" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
</GDT>
|
13
Server/data/configs/shared_tables/HDT.xml
Normal file
13
Server/data/configs/shared_tables/HDT.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<HDT>
|
||||||
|
<item id="199" minAmt="1" maxAmt="1" weight="32"/>
|
||||||
|
<item id="201" minAmt="1" maxAmt="1" weight="24"/>
|
||||||
|
<item id="203" minAmt="1" maxAmt="1" weight="18"/>
|
||||||
|
<item id="205" minAmt="1" maxAmt="1" weight="14"/>
|
||||||
|
<item id="207" minAmt="1" maxAmt="1" weight="11"/>
|
||||||
|
<item id="209" minAmt="1" maxAmt="1" weight="8"/>
|
||||||
|
<item id="211" minAmt="1" maxAmt="1" weight="6"/>
|
||||||
|
<item id="213" minAmt="1" maxAmt="1" weight="5"/>
|
||||||
|
<item id="215" minAmt="1" maxAmt="1" weight="4"/>
|
||||||
|
<item id="2485" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="217" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
</HDT>
|
30
Server/data/configs/shared_tables/RDT.xml
Normal file
30
Server/data/configs/shared_tables/RDT.xml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<RDT>
|
||||||
|
<item id="995" minAmt="3000" maxAmt="3000" weight="12"/>
|
||||||
|
<item id="1452" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1462" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="886" minAmt="150" maxAmt="150" weight="10"/>
|
||||||
|
<item id="443" minAmt="100" maxAmt="100" weight="7"/>
|
||||||
|
<item id="2363" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1623" minAmt="1" maxAmt="1" weight="12"/>
|
||||||
|
<item id="1621" minAmt="1" maxAmt="1" weight="10"/>
|
||||||
|
<item id="1619" minAmt="1" maxAmt="1" weight="8"/>
|
||||||
|
<item id="1617" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1615" minAmt="1" maxAmt="1" weight="5"/>
|
||||||
|
<item id="560" minAmt="45" maxAmt="45" weight="6"/>
|
||||||
|
<item id="563" minAmt="45" maxAmt="45" weight="6"/>
|
||||||
|
<item id="561" minAmt="67" maxAmt="67" weight="6"/>
|
||||||
|
<item id="892" minAmt="42" maxAmt="42" weight="6"/>
|
||||||
|
<item id="1319" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1373" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1185" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="829" minAmt="20" maxAmt="20" weight="6"/>
|
||||||
|
<item id="830" minAmt="5" maxAmt="5" weight="4"/>
|
||||||
|
<item id="987" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="985" minAmt="1" maxAmt="1" weight="7"/>
|
||||||
|
<item id="1149" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="1201" minAmt="1" maxAmt="1" weight="4"/>
|
||||||
|
<item id="1247" minAmt="1" maxAmt="1" weight="1"/>
|
||||||
|
<item id="2366" minAmt="1" maxAmt="1" weight="1"/>
|
||||||
|
<item id="1249" minAmt="1" maxAmt="1" weight="1"/>
|
||||||
|
<item id="0" minAmt="1" maxAmt="1" weight="171"/>
|
||||||
|
</RDT>
|
15
Server/data/configs/shared_tables/RSDT.xml
Normal file
15
Server/data/configs/shared_tables/RSDT.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<RSDT>
|
||||||
|
<item id="5282" minAmt="1" maxAmt="1" weight="28"/>
|
||||||
|
<item id="5296" minAmt="1" maxAmt="1" weight="26"/>
|
||||||
|
<item id="5281" minAmt="1" maxAmt="1" weight="18"/>
|
||||||
|
<item id="5297" minAmt="1" maxAmt="1" weight="18"/>
|
||||||
|
<item id="5106" minAmt="1" maxAmt="1" weight="13"/>
|
||||||
|
<item id="5298" minAmt="1" maxAmt="1" weight="12"/>
|
||||||
|
<item id="5280" minAmt="1" maxAmt="1" weight="11"/>
|
||||||
|
<item id="5299" minAmt="1" maxAmt="1" weight="9"/>
|
||||||
|
<item id="5300" minAmt="1" maxAmt="1" weight="5"/>
|
||||||
|
<item id="5301" minAmt="1" maxAmt="1" weight="4"/>
|
||||||
|
<item id="5302" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="5303" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
<item id="5304" minAmt="1" maxAmt="1" weight="1"/>
|
||||||
|
</RSDT>
|
26
Server/data/configs/shared_tables/USDT.xml
Normal file
26
Server/data/configs/shared_tables/USDT.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<USDT>
|
||||||
|
<item id="5100" minAmt="1" maxAmt="1" weight="136"/>
|
||||||
|
<item id="5323" minAmt="1" maxAmt="1" weight="130"/>
|
||||||
|
<item id="5292" minAmt="1" maxAmt="1" weight="122"/>
|
||||||
|
<item id="5104" minAmt="1" maxAmt="1" weight="91"/>
|
||||||
|
<item id="5293" minAmt="1" maxAmt="1" weight="83"/>
|
||||||
|
<item id="5311" minAmt="1" maxAmt="1" weight="82"/>
|
||||||
|
<item id="5321" minAmt="1" maxAmt="1" weight="62"/>
|
||||||
|
<item id="5294" minAmt="1" maxAmt="1" weight="57"/>
|
||||||
|
<item id="5295" minAmt="1" maxAmt="1" weight="39"/>
|
||||||
|
<item id="12176" minAmt="1" maxAmt="1" weight="38"/>
|
||||||
|
<item id="5105" minAmt="1" maxAmt="1" weight="33"/>
|
||||||
|
<item id="5282" minAmt="1" maxAmt="1" weight="28"/>
|
||||||
|
<item id="5296" minAmt="1" maxAmt="1" weight="26"/>
|
||||||
|
<item id="5281" minAmt="1" maxAmt="1" weight="18"/>
|
||||||
|
<item id="5297" minAmt="1" maxAmt="1" weight="18"/>
|
||||||
|
<item id="5106" minAmt="1" maxAmt="1" weight="13"/>
|
||||||
|
<item id="5298" minAmt="1" maxAmt="1" weight="12"/>
|
||||||
|
<item id="5280" minAmt="1" maxAmt="1" weight="11"/>
|
||||||
|
<item id="5299" minAmt="1" maxAmt="1" weight="9"/>
|
||||||
|
<item id="5300" minAmt="1" maxAmt="1" weight="5"/>
|
||||||
|
<item id="5301" minAmt="1" maxAmt="1" weight="4"/>
|
||||||
|
<item id="5302" minAmt="1" maxAmt="1" weight="3"/>
|
||||||
|
<item id="5303" minAmt="1" maxAmt="1" weight="2"/>
|
||||||
|
<item id="5304" minAmt="1" maxAmt="1" weight="1"/>
|
||||||
|
</USDT>
|
2199
Server/data/configs/shops.json
Normal file
2199
Server/data/configs/shops.json
Normal file
File diff suppressed because it is too large
Load Diff
19
Server/data/configs/varbit_definitions.json
Normal file
19
Server/data/configs/varbit_definitions.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"description": "Bank insert mode",
|
||||||
|
|
||||||
|
"varpId": "304",
|
||||||
|
"varbitId": "7000",
|
||||||
|
"startBit": "0",
|
||||||
|
"endBit": "0"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"description": "Bank note mode",
|
||||||
|
|
||||||
|
"varpId": "115",
|
||||||
|
"varbitId": "7001",
|
||||||
|
"startBit": "0",
|
||||||
|
"endBit": "0"
|
||||||
|
}
|
||||||
|
]
|
4492
Server/data/configs/xteas.json
Normal file
4492
Server/data/configs/xteas.json
Normal file
File diff suppressed because it is too large
Load Diff
4
Server/data/eco/.gitignore
vendored
Normal file
4
Server/data/eco/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Ignore everything in this directory
|
||||||
|
*
|
||||||
|
# Except this file
|
||||||
|
!.gitignore
|
127
Server/db_exports/global.sql
Normal file
127
Server/db_exports/global.sql
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
CREATE DATABASE global;
|
||||||
|
|
||||||
|
USE global;
|
||||||
|
|
||||||
|
-- phpMyAdmin SQL Dump
|
||||||
|
-- version 5.0.2
|
||||||
|
-- https://www.phpmyadmin.net/
|
||||||
|
--
|
||||||
|
-- Host: 127.0.0.1
|
||||||
|
-- Generation Time: Sep 23, 2020 at 08:45 PM
|
||||||
|
-- Server version: 10.4.14-MariaDB
|
||||||
|
-- PHP Version: 7.4.9
|
||||||
|
|
||||||
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
START TRANSACTION;
|
||||||
|
SET time_zone = "+00:00";
|
||||||
|
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!40101 SET NAMES utf8mb4 */;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `members`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `members` (
|
||||||
|
`UID` int(11) UNSIGNED NOT NULL,
|
||||||
|
`email` varchar(50) NOT NULL DEFAULT '',
|
||||||
|
`username` varchar(15) DEFAULT NULL,
|
||||||
|
`password` varchar(100) DEFAULT NULL,
|
||||||
|
`salt` varchar(35) DEFAULT NULL,
|
||||||
|
`rights` int(1) NOT NULL DEFAULT 0,
|
||||||
|
`email_activated` int(1) NOT NULL DEFAULT 0,
|
||||||
|
`lastActive` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
|
`donatorType` int(2) NOT NULL DEFAULT -1,
|
||||||
|
`donationTotal` double(10,2) NOT NULL DEFAULT 0.00,
|
||||||
|
`credits` int(5) NOT NULL DEFAULT 0,
|
||||||
|
`icon` int(2) NOT NULL DEFAULT 0,
|
||||||
|
`perks` varchar(500) NOT NULL DEFAULT '',
|
||||||
|
`ip` longtext DEFAULT NULL,
|
||||||
|
`mac` longtext DEFAULT NULL,
|
||||||
|
`serial` longtext DEFAULT NULL,
|
||||||
|
`computerName` varchar(2000) NOT NULL DEFAULT '',
|
||||||
|
`monthlyVotes` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`netWorth` bigint(200) NOT NULL DEFAULT 0,
|
||||||
|
`forumUID` int(11) NOT NULL DEFAULT -1,
|
||||||
|
`ironManMode` varchar(15) NOT NULL DEFAULT 'NONE',
|
||||||
|
`bank` longtext DEFAULT NULL,
|
||||||
|
`inventory` longtext DEFAULT NULL,
|
||||||
|
`equipment` longtext DEFAULT NULL,
|
||||||
|
`ge` longtext DEFAULT NULL,
|
||||||
|
`muteTime` bigint(20) NOT NULL DEFAULT -1,
|
||||||
|
`banTime` bigint(20) NOT NULL DEFAULT -1,
|
||||||
|
`profileImage` varchar(300) DEFAULT NULL,
|
||||||
|
`contacts` longtext DEFAULT NULL,
|
||||||
|
`blocked` longtext DEFAULT NULL,
|
||||||
|
`clanName` varchar(15) NOT NULL DEFAULT '',
|
||||||
|
`currentClan` varchar(15) DEFAULT NULL,
|
||||||
|
`clanReqs` varchar(10) NOT NULL DEFAULT '1,0,8,9',
|
||||||
|
`disconnectTime` bigint(20) NOT NULL DEFAULT 0,
|
||||||
|
`lastWorld` int(3) NOT NULL DEFAULT -1,
|
||||||
|
`chatSettings` varchar(10) NOT NULL DEFAULT '0,0,0',
|
||||||
|
`timePlayed` bigint(20) DEFAULT 0,
|
||||||
|
`lastLogin` bigint(20) NOT NULL DEFAULT 0,
|
||||||
|
`lastGameIp` varchar(15) DEFAULT '',
|
||||||
|
`countryCode` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`birthday` date DEFAULT NULL,
|
||||||
|
`online` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
`signature` longtext DEFAULT NULL,
|
||||||
|
`joined_date` timestamp NULL DEFAULT NULL,
|
||||||
|
`posts` int(11) NOT NULL DEFAULT 0
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `worlds`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `worlds` (
|
||||||
|
`world` int(2) UNSIGNED NOT NULL,
|
||||||
|
`ip` varchar(20) NOT NULL DEFAULT '127.0.0.1',
|
||||||
|
`players` int(5) NOT NULL DEFAULT 0,
|
||||||
|
`country` int(1) NOT NULL DEFAULT 0,
|
||||||
|
`member` int(11) NOT NULL,
|
||||||
|
`revision` int(3) NOT NULL DEFAULT 530,
|
||||||
|
`lastResponse` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `worlds`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `worlds` (`world`, `ip`, `players`, `country`, `member`, `revision`, `lastResponse`) VALUES
|
||||||
|
(1, '127.0.0.1', 0, 22, 1, 530, '2020-09-23 18:27:05');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `members`
|
||||||
|
--
|
||||||
|
ALTER TABLE `members`
|
||||||
|
ADD PRIMARY KEY (`UID`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `worlds`
|
||||||
|
--
|
||||||
|
ALTER TABLE `worlds`
|
||||||
|
ADD PRIMARY KEY (`world`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `members`
|
||||||
|
--
|
||||||
|
ALTER TABLE `members`
|
||||||
|
MODIFY `UID` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
|
||||||
|
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
539
Server/db_exports/grafana-dashboard.json
Normal file
539
Server/db_exports/grafana-dashboard.json
Normal file
@ -0,0 +1,539 @@
|
|||||||
|
{
|
||||||
|
"__inputs": [
|
||||||
|
{
|
||||||
|
"name": "DS_SQLITE",
|
||||||
|
"label": "SQLite",
|
||||||
|
"description": "",
|
||||||
|
"type": "datasource",
|
||||||
|
"pluginId": "frser-sqlite-datasource",
|
||||||
|
"pluginName": "SQLite"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"__elements": {},
|
||||||
|
"__requires": [
|
||||||
|
{
|
||||||
|
"type": "datasource",
|
||||||
|
"id": "frser-sqlite-datasource",
|
||||||
|
"name": "SQLite",
|
||||||
|
"version": "3.3.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "grafana",
|
||||||
|
"id": "grafana",
|
||||||
|
"name": "Grafana",
|
||||||
|
"version": "10.0.1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "panel",
|
||||||
|
"id": "timeseries",
|
||||||
|
"name": "Time series",
|
||||||
|
"version": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"annotations": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana",
|
||||||
|
"uid": "-- Grafana --"
|
||||||
|
},
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"description": "",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "auto",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byName",
|
||||||
|
"options": "misc_pulses"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "color",
|
||||||
|
"value": {
|
||||||
|
"fixedColor": "purple",
|
||||||
|
"mode": "fixed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byName",
|
||||||
|
"options": "other"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "color",
|
||||||
|
"value": {
|
||||||
|
"fixedColor": "dark-red",
|
||||||
|
"mode": "fixed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byName",
|
||||||
|
"options": "packet_incoming"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "color",
|
||||||
|
"value": {
|
||||||
|
"fixedColor": "super-light-red",
|
||||||
|
"mode": "fixed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 9,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.1",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"queryText": "SELECT * FROM tick_lengths",
|
||||||
|
"queryType": "table",
|
||||||
|
"rawQueryText": "SELECT * FROM tick_lengths",
|
||||||
|
"refId": "A",
|
||||||
|
"timeColumns": [
|
||||||
|
"ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Tick Time",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "auto",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 13,
|
||||||
|
"w": 13,
|
||||||
|
"x": 0,
|
||||||
|
"y": 9
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.1",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"queryText": "select * from top_pulses;",
|
||||||
|
"queryType": "table",
|
||||||
|
"rawQueryText": "select * from top_pulses;",
|
||||||
|
"refId": "A",
|
||||||
|
"timeColumns": [
|
||||||
|
"time",
|
||||||
|
"ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Tick Time By Pulse (Total)",
|
||||||
|
"transformations": [
|
||||||
|
{
|
||||||
|
"id": "extractFields",
|
||||||
|
"options": {
|
||||||
|
"format": "json",
|
||||||
|
"jsonPaths": [
|
||||||
|
{
|
||||||
|
"path": "pulses"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"keepTime": false,
|
||||||
|
"replace": false,
|
||||||
|
"source": "pulse_info"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "extractFields",
|
||||||
|
"options": {
|
||||||
|
"source": "pulses"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "auto",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 9,
|
||||||
|
"w": 11,
|
||||||
|
"x": 13,
|
||||||
|
"y": 9
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"queryText": "SELECT * FROM high_volume_pulses;",
|
||||||
|
"queryType": "table",
|
||||||
|
"rawQueryText": "SELECT * FROM high_volume_pulses;",
|
||||||
|
"refId": "A",
|
||||||
|
"timeColumns": [
|
||||||
|
"time",
|
||||||
|
"ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "High Volume Pulses",
|
||||||
|
"transformations": [
|
||||||
|
{
|
||||||
|
"id": "extractFields",
|
||||||
|
"options": {
|
||||||
|
"format": "json",
|
||||||
|
"source": "pulse_info"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "extractFields",
|
||||||
|
"options": {
|
||||||
|
"source": "pulses"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "stepBefore",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "auto",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 11,
|
||||||
|
"x": 13,
|
||||||
|
"y": 18
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "frser-sqlite-datasource",
|
||||||
|
"uid": "${DS_SQLITE}"
|
||||||
|
},
|
||||||
|
"queryText": "SELECT * FROM bot_counts;",
|
||||||
|
"queryType": "table",
|
||||||
|
"rawQueryText": "SELECT * FROM bot_counts;",
|
||||||
|
"refId": "A",
|
||||||
|
"timeColumns": [
|
||||||
|
"time",
|
||||||
|
"ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Bot Population",
|
||||||
|
"type": "timeseries"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "1h",
|
||||||
|
"schemaVersion": 38,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-5m",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "Main",
|
||||||
|
"uid": "ffccf845-00a2-46f2-b0c0-a8b88032c701",
|
||||||
|
"version": 10,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
2
Server/db_exports/testuser.sql
Normal file
2
Server/db_exports/testuser.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
CREATE USER IF NOT EXISTS 2009scapetest@localhost IDENTIFIED BY '2009scapetest';
|
||||||
|
GRANT ALL PRIVILEGES ON global.* TO 2009scapetest@localhost;
|
713
Server/detekt.yml
Normal file
713
Server/detekt.yml
Normal file
@ -0,0 +1,713 @@
|
|||||||
|
build:
|
||||||
|
maxIssues: 0
|
||||||
|
excludeCorrectable: false
|
||||||
|
weights:
|
||||||
|
# complexity: 2
|
||||||
|
# LongParameterList: 1
|
||||||
|
# style: 1
|
||||||
|
# comments: 1
|
||||||
|
|
||||||
|
config:
|
||||||
|
validation: true
|
||||||
|
warningsAsErrors: false
|
||||||
|
# when writing own rules with new properties, exclude the property path e.g.: 'my_rule_set,.*>.*>[my_property]'
|
||||||
|
excludes: ''
|
||||||
|
|
||||||
|
processors:
|
||||||
|
active: true
|
||||||
|
exclude:
|
||||||
|
- 'DetektProgressListener'
|
||||||
|
# - 'KtFileCountProcessor'
|
||||||
|
# - 'PackageCountProcessor'
|
||||||
|
# - 'ClassCountProcessor'
|
||||||
|
# - 'FunctionCountProcessor'
|
||||||
|
# - 'PropertyCountProcessor'
|
||||||
|
# - 'ProjectComplexityProcessor'
|
||||||
|
# - 'ProjectCognitiveComplexityProcessor'
|
||||||
|
# - 'ProjectLLOCProcessor'
|
||||||
|
# - 'ProjectCLOCProcessor'
|
||||||
|
# - 'ProjectLOCProcessor'
|
||||||
|
# - 'ProjectSLOCProcessor'
|
||||||
|
# - 'LicenseHeaderLoaderExtension'
|
||||||
|
|
||||||
|
console-reports:
|
||||||
|
active: true
|
||||||
|
exclude:
|
||||||
|
- 'ProjectStatisticsReport'
|
||||||
|
- 'ComplexityReport'
|
||||||
|
- 'NotificationReport'
|
||||||
|
- 'FindingsReport'
|
||||||
|
- 'FileBasedFindingsReport'
|
||||||
|
# - 'LiteFindingsReport'
|
||||||
|
|
||||||
|
output-reports:
|
||||||
|
active: true
|
||||||
|
exclude:
|
||||||
|
# - 'TxtOutputReport'
|
||||||
|
# - 'XmlOutputReport'
|
||||||
|
# - 'HtmlOutputReport'
|
||||||
|
# - 'MdOutputReport'
|
||||||
|
|
||||||
|
comments:
|
||||||
|
active: true
|
||||||
|
AbsentOrWrongFileLicense:
|
||||||
|
active: false
|
||||||
|
licenseTemplateFile: 'license.template'
|
||||||
|
licenseTemplateIsRegex: false
|
||||||
|
CommentOverPrivateFunction:
|
||||||
|
active: false
|
||||||
|
CommentOverPrivateProperty:
|
||||||
|
active: false
|
||||||
|
DeprecatedBlockTag:
|
||||||
|
active: false
|
||||||
|
EndOfSentenceFormat:
|
||||||
|
active: false
|
||||||
|
endOfSentenceFormat: '([.?!][ \t\n\r\f<])|([.?!:]$)'
|
||||||
|
KDocReferencesNonPublicProperty:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
OutdatedDocumentation:
|
||||||
|
active: false
|
||||||
|
matchTypeParameters: true
|
||||||
|
matchDeclarationsOrder: true
|
||||||
|
allowParamOnConstructorProperties: false
|
||||||
|
UndocumentedPublicClass:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
searchInNestedClass: true
|
||||||
|
searchInInnerClass: true
|
||||||
|
searchInInnerObject: true
|
||||||
|
searchInInnerInterface: true
|
||||||
|
UndocumentedPublicFunction:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
UndocumentedPublicProperty:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
|
||||||
|
complexity:
|
||||||
|
active: true
|
||||||
|
ComplexCondition:
|
||||||
|
active: false
|
||||||
|
threshold: 4
|
||||||
|
ComplexInterface:
|
||||||
|
active: false
|
||||||
|
threshold: 10
|
||||||
|
includeStaticDeclarations: false
|
||||||
|
includePrivateDeclarations: false
|
||||||
|
ComplexMethod:
|
||||||
|
active: false
|
||||||
|
threshold: 15
|
||||||
|
ignoreSingleWhenExpression: false
|
||||||
|
ignoreSimpleWhenEntries: false
|
||||||
|
ignoreNestingFunctions: false
|
||||||
|
nestingFunctions:
|
||||||
|
- 'also'
|
||||||
|
- 'apply'
|
||||||
|
- 'forEach'
|
||||||
|
- 'isNotNull'
|
||||||
|
- 'ifNull'
|
||||||
|
- 'let'
|
||||||
|
- 'run'
|
||||||
|
- 'use'
|
||||||
|
- 'with'
|
||||||
|
LabeledExpression:
|
||||||
|
active: false
|
||||||
|
ignoredLabels: []
|
||||||
|
LargeClass:
|
||||||
|
active: false
|
||||||
|
threshold: 600
|
||||||
|
LongMethod:
|
||||||
|
active: false
|
||||||
|
threshold: 60
|
||||||
|
LongParameterList:
|
||||||
|
active: false
|
||||||
|
functionThreshold: 6
|
||||||
|
constructorThreshold: 7
|
||||||
|
ignoreDefaultParameters: false
|
||||||
|
ignoreDataClasses: true
|
||||||
|
ignoreAnnotatedParameter: []
|
||||||
|
MethodOverloading:
|
||||||
|
active: false
|
||||||
|
threshold: 6
|
||||||
|
NamedArguments:
|
||||||
|
active: false
|
||||||
|
threshold: 3
|
||||||
|
ignoreArgumentsMatchingNames: false
|
||||||
|
NestedBlockDepth:
|
||||||
|
active: false
|
||||||
|
threshold: 4
|
||||||
|
NestedScopeFunctions:
|
||||||
|
active: false
|
||||||
|
threshold: 1
|
||||||
|
functions:
|
||||||
|
- 'kotlin.apply'
|
||||||
|
- 'kotlin.run'
|
||||||
|
- 'kotlin.with'
|
||||||
|
- 'kotlin.let'
|
||||||
|
- 'kotlin.also'
|
||||||
|
ReplaceSafeCallChainWithRun:
|
||||||
|
active: false
|
||||||
|
StringLiteralDuplication:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
threshold: 3
|
||||||
|
ignoreAnnotation: true
|
||||||
|
excludeStringsWithLessThan5Characters: true
|
||||||
|
ignoreStringsRegex: '$^'
|
||||||
|
TooManyFunctions:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
thresholdInFiles: 11
|
||||||
|
thresholdInClasses: 11
|
||||||
|
thresholdInInterfaces: 11
|
||||||
|
thresholdInObjects: 11
|
||||||
|
thresholdInEnums: 11
|
||||||
|
ignoreDeprecated: false
|
||||||
|
ignorePrivate: false
|
||||||
|
ignoreOverridden: false
|
||||||
|
|
||||||
|
coroutines:
|
||||||
|
active: true
|
||||||
|
GlobalCoroutineUsage:
|
||||||
|
active: false
|
||||||
|
InjectDispatcher:
|
||||||
|
active: true
|
||||||
|
dispatcherNames:
|
||||||
|
- 'IO'
|
||||||
|
- 'Default'
|
||||||
|
- 'Unconfined'
|
||||||
|
RedundantSuspendModifier:
|
||||||
|
active: true
|
||||||
|
SleepInsteadOfDelay:
|
||||||
|
active: true
|
||||||
|
SuspendFunWithCoroutineScopeReceiver:
|
||||||
|
active: false
|
||||||
|
SuspendFunWithFlowReturnType:
|
||||||
|
active: true
|
||||||
|
|
||||||
|
empty-blocks:
|
||||||
|
active: false
|
||||||
|
EmptyCatchBlock:
|
||||||
|
active: true
|
||||||
|
allowedExceptionNameRegex: '_|(ignore|expected).*'
|
||||||
|
EmptyClassBlock:
|
||||||
|
active: true
|
||||||
|
EmptyDefaultConstructor:
|
||||||
|
active: true
|
||||||
|
EmptyDoWhileBlock:
|
||||||
|
active: true
|
||||||
|
EmptyElseBlock:
|
||||||
|
active: true
|
||||||
|
EmptyFinallyBlock:
|
||||||
|
active: true
|
||||||
|
EmptyForBlock:
|
||||||
|
active: true
|
||||||
|
EmptyFunctionBlock:
|
||||||
|
active: true
|
||||||
|
ignoreOverridden: false
|
||||||
|
EmptyIfBlock:
|
||||||
|
active: true
|
||||||
|
EmptyInitBlock:
|
||||||
|
active: true
|
||||||
|
EmptyKtFile:
|
||||||
|
active: true
|
||||||
|
EmptySecondaryConstructor:
|
||||||
|
active: true
|
||||||
|
EmptyTryBlock:
|
||||||
|
active: true
|
||||||
|
EmptyWhenBlock:
|
||||||
|
active: true
|
||||||
|
EmptyWhileBlock:
|
||||||
|
active: true
|
||||||
|
|
||||||
|
exceptions:
|
||||||
|
active: true
|
||||||
|
ExceptionRaisedInUnexpectedLocation:
|
||||||
|
active: true
|
||||||
|
methodNames:
|
||||||
|
- 'equals'
|
||||||
|
- 'finalize'
|
||||||
|
- 'hashCode'
|
||||||
|
- 'toString'
|
||||||
|
InstanceOfCheckForException:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
NotImplementedDeclaration:
|
||||||
|
active: false
|
||||||
|
ObjectExtendsThrowable:
|
||||||
|
active: false
|
||||||
|
PrintStackTrace:
|
||||||
|
active: false
|
||||||
|
RethrowCaughtException:
|
||||||
|
active: true
|
||||||
|
ReturnFromFinally:
|
||||||
|
active: true
|
||||||
|
ignoreLabeled: false
|
||||||
|
SwallowedException:
|
||||||
|
active: false
|
||||||
|
ignoredExceptionTypes:
|
||||||
|
- 'InterruptedException'
|
||||||
|
- 'MalformedURLException'
|
||||||
|
- 'NumberFormatException'
|
||||||
|
- 'ParseException'
|
||||||
|
allowedExceptionNameRegex: '_|(ignore|expected).*'
|
||||||
|
ThrowingExceptionFromFinally:
|
||||||
|
active: true
|
||||||
|
ThrowingExceptionInMain:
|
||||||
|
active: false
|
||||||
|
ThrowingExceptionsWithoutMessageOrCause:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
exceptions:
|
||||||
|
- 'ArrayIndexOutOfBoundsException'
|
||||||
|
- 'Exception'
|
||||||
|
- 'IllegalArgumentException'
|
||||||
|
- 'IllegalMonitorStateException'
|
||||||
|
- 'IllegalStateException'
|
||||||
|
- 'IndexOutOfBoundsException'
|
||||||
|
- 'NullPointerException'
|
||||||
|
- 'RuntimeException'
|
||||||
|
- 'Throwable'
|
||||||
|
ThrowingNewInstanceOfSameException:
|
||||||
|
active: true
|
||||||
|
TooGenericExceptionCaught:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
exceptionNames:
|
||||||
|
- 'ArrayIndexOutOfBoundsException'
|
||||||
|
- 'Error'
|
||||||
|
- 'Exception'
|
||||||
|
- 'IllegalMonitorStateException'
|
||||||
|
- 'IndexOutOfBoundsException'
|
||||||
|
- 'NullPointerException'
|
||||||
|
- 'RuntimeException'
|
||||||
|
- 'Throwable'
|
||||||
|
allowedExceptionNameRegex: '_|(ignore|expected).*'
|
||||||
|
TooGenericExceptionThrown:
|
||||||
|
active: false
|
||||||
|
exceptionNames:
|
||||||
|
- 'Error'
|
||||||
|
- 'Exception'
|
||||||
|
- 'RuntimeException'
|
||||||
|
- 'Throwable'
|
||||||
|
|
||||||
|
naming:
|
||||||
|
active: true
|
||||||
|
BooleanPropertyNaming:
|
||||||
|
active: false
|
||||||
|
allowedPattern: '^(is|has|are)'
|
||||||
|
ignoreOverridden: true
|
||||||
|
ClassNaming:
|
||||||
|
active: false
|
||||||
|
classPattern: '[A-Z][a-zA-Z0-9]*'
|
||||||
|
ConstructorParameterNaming:
|
||||||
|
active: false
|
||||||
|
parameterPattern: '[a-z][A-Za-z0-9]*'
|
||||||
|
privateParameterPattern: '[a-z][A-Za-z0-9]*'
|
||||||
|
excludeClassPattern: '$^'
|
||||||
|
ignoreOverridden: true
|
||||||
|
EnumNaming:
|
||||||
|
active: true
|
||||||
|
enumEntryPattern: '[A-Z][_a-zA-Z0-9]*'
|
||||||
|
ForbiddenClassName:
|
||||||
|
active: false
|
||||||
|
forbiddenName: []
|
||||||
|
FunctionMaxLength:
|
||||||
|
active: false
|
||||||
|
maximumFunctionNameLength: 30
|
||||||
|
FunctionMinLength:
|
||||||
|
active: false
|
||||||
|
minimumFunctionNameLength: 3
|
||||||
|
FunctionNaming:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
functionPattern: '[a-z][a-zA-Z0-9]*'
|
||||||
|
excludeClassPattern: '$^'
|
||||||
|
ignoreOverridden: true
|
||||||
|
FunctionParameterNaming:
|
||||||
|
active: false
|
||||||
|
parameterPattern: '[a-z][A-Za-z0-9]*'
|
||||||
|
excludeClassPattern: '$^'
|
||||||
|
ignoreOverridden: true
|
||||||
|
InvalidPackageDeclaration:
|
||||||
|
active: false
|
||||||
|
rootPackage: ''
|
||||||
|
requireRootInDeclaration: false
|
||||||
|
LambdaParameterNaming:
|
||||||
|
active: false
|
||||||
|
parameterPattern: '[a-z][A-Za-z0-9]*|_'
|
||||||
|
MatchingDeclarationName:
|
||||||
|
active: false
|
||||||
|
mustBeFirst: true
|
||||||
|
MemberNameEqualsClassName:
|
||||||
|
active: false
|
||||||
|
ignoreOverridden: true
|
||||||
|
NoNameShadowing:
|
||||||
|
active: true
|
||||||
|
NonBooleanPropertyPrefixedWithIs:
|
||||||
|
active: false
|
||||||
|
ObjectPropertyNaming:
|
||||||
|
active: true
|
||||||
|
constantPattern: '[A-Za-z][_A-Za-z0-9]*'
|
||||||
|
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
|
||||||
|
privatePropertyPattern: '(_)?[A-Za-z][_A-Za-z0-9]*'
|
||||||
|
PackageNaming:
|
||||||
|
active: false
|
||||||
|
packagePattern: '[a-z]+(\.[a-z][A-Za-z0-9]*)*'
|
||||||
|
TopLevelPropertyNaming:
|
||||||
|
active: false
|
||||||
|
constantPattern: '[A-Z][_A-Z0-9]*'
|
||||||
|
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
|
||||||
|
privatePropertyPattern: '_?[A-Za-z][_A-Za-z0-9]*'
|
||||||
|
VariableMaxLength:
|
||||||
|
active: false
|
||||||
|
maximumVariableNameLength: 64
|
||||||
|
VariableMinLength:
|
||||||
|
active: false
|
||||||
|
minimumVariableNameLength: 1
|
||||||
|
VariableNaming:
|
||||||
|
active: false
|
||||||
|
variablePattern: '[a-z][A-Za-z0-9]*'
|
||||||
|
privateVariablePattern: '(_)?[a-z][A-Za-z0-9]*'
|
||||||
|
excludeClassPattern: '$^'
|
||||||
|
ignoreOverridden: true
|
||||||
|
|
||||||
|
performance:
|
||||||
|
active: true
|
||||||
|
ArrayPrimitive:
|
||||||
|
active: false
|
||||||
|
CouldBeSequence:
|
||||||
|
active: false
|
||||||
|
threshold: 3
|
||||||
|
ForEachOnRange:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
SpreadOperator:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
UnnecessaryTemporaryInstantiation:
|
||||||
|
active: true
|
||||||
|
|
||||||
|
potential-bugs:
|
||||||
|
active: true
|
||||||
|
AvoidReferentialEquality:
|
||||||
|
active: true
|
||||||
|
forbiddenTypePatterns:
|
||||||
|
- 'kotlin.String'
|
||||||
|
CastToNullableType:
|
||||||
|
active: false
|
||||||
|
Deprecation:
|
||||||
|
active: false
|
||||||
|
DontDowncastCollectionTypes:
|
||||||
|
active: false
|
||||||
|
DoubleMutabilityForCollection:
|
||||||
|
active: true
|
||||||
|
mutableTypes:
|
||||||
|
- 'kotlin.collections.MutableList'
|
||||||
|
- 'kotlin.collections.MutableMap'
|
||||||
|
- 'kotlin.collections.MutableSet'
|
||||||
|
- 'java.util.ArrayList'
|
||||||
|
- 'java.util.LinkedHashSet'
|
||||||
|
- 'java.util.HashSet'
|
||||||
|
- 'java.util.LinkedHashMap'
|
||||||
|
- 'java.util.HashMap'
|
||||||
|
DuplicateCaseInWhenExpression:
|
||||||
|
active: true
|
||||||
|
ElseCaseInsteadOfExhaustiveWhen:
|
||||||
|
active: false
|
||||||
|
EqualsAlwaysReturnsTrueOrFalse:
|
||||||
|
active: true
|
||||||
|
EqualsWithHashCodeExist:
|
||||||
|
active: true
|
||||||
|
ExitOutsideMain:
|
||||||
|
active: false
|
||||||
|
ExplicitGarbageCollectionCall:
|
||||||
|
active: false
|
||||||
|
HasPlatformType:
|
||||||
|
active: true
|
||||||
|
IgnoredReturnValue:
|
||||||
|
active: true
|
||||||
|
restrictToAnnotatedMethods: true
|
||||||
|
returnValueAnnotations:
|
||||||
|
- '*.CheckResult'
|
||||||
|
- '*.CheckReturnValue'
|
||||||
|
- 'com.google.errorprone.annotations.CheckReturnValue'
|
||||||
|
ignoreReturnValueAnnotations:
|
||||||
|
- '*.CanIgnoreReturnValue'
|
||||||
|
ignoreFunctionCall: []
|
||||||
|
ImplicitDefaultLocale:
|
||||||
|
active: false
|
||||||
|
ImplicitUnitReturnType:
|
||||||
|
active: false
|
||||||
|
allowExplicitReturnType: true
|
||||||
|
InvalidRange:
|
||||||
|
active: true
|
||||||
|
IteratorHasNextCallsNextMethod:
|
||||||
|
active: true
|
||||||
|
IteratorNotThrowingNoSuchElementException:
|
||||||
|
active: true
|
||||||
|
LateinitUsage:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
ignoreOnClassesPattern: ''
|
||||||
|
MapGetWithNotNullAssertionOperator:
|
||||||
|
active: true
|
||||||
|
MissingPackageDeclaration:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/*.kts']
|
||||||
|
MissingWhenCase:
|
||||||
|
active: true
|
||||||
|
allowElseExpression: true
|
||||||
|
NullCheckOnMutableProperty:
|
||||||
|
active: false
|
||||||
|
NullableToStringCall:
|
||||||
|
active: false
|
||||||
|
RedundantElseInWhen:
|
||||||
|
active: true
|
||||||
|
UnconditionalJumpStatementInLoop:
|
||||||
|
active: false
|
||||||
|
UnnecessaryNotNullOperator:
|
||||||
|
active: true
|
||||||
|
UnnecessarySafeCall:
|
||||||
|
active: true
|
||||||
|
UnreachableCatchBlock:
|
||||||
|
active: true
|
||||||
|
UnreachableCode:
|
||||||
|
active: true
|
||||||
|
UnsafeCallOnNullableType:
|
||||||
|
active: true
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
UnsafeCast:
|
||||||
|
active: true
|
||||||
|
UnusedUnaryOperator:
|
||||||
|
active: true
|
||||||
|
UselessPostfixExpression:
|
||||||
|
active: false
|
||||||
|
WrongEqualsTypeParameter:
|
||||||
|
active: true
|
||||||
|
|
||||||
|
style:
|
||||||
|
active: true
|
||||||
|
CanBeNonNullable:
|
||||||
|
active: false
|
||||||
|
CascadingCallWrapping:
|
||||||
|
active: false
|
||||||
|
includeElvis: true
|
||||||
|
ClassOrdering:
|
||||||
|
active: false
|
||||||
|
CollapsibleIfStatements:
|
||||||
|
active: false
|
||||||
|
DataClassContainsFunctions:
|
||||||
|
active: false
|
||||||
|
conversionFunctionPrefix: 'to'
|
||||||
|
DataClassShouldBeImmutable:
|
||||||
|
active: false
|
||||||
|
DestructuringDeclarationWithTooManyEntries:
|
||||||
|
active: true
|
||||||
|
maxDestructuringEntries: 3
|
||||||
|
EqualsNullCall:
|
||||||
|
active: true
|
||||||
|
EqualsOnSignatureLine:
|
||||||
|
active: false
|
||||||
|
ExplicitCollectionElementAccessMethod:
|
||||||
|
active: false
|
||||||
|
ExplicitItLambdaParameter:
|
||||||
|
active: false
|
||||||
|
ExpressionBodySyntax:
|
||||||
|
active: false
|
||||||
|
includeLineWrapping: false
|
||||||
|
ForbiddenComment:
|
||||||
|
active: false
|
||||||
|
values:
|
||||||
|
- 'FIXME:'
|
||||||
|
- 'STOPSHIP:'
|
||||||
|
- 'TODO:'
|
||||||
|
allowedPatterns: ''
|
||||||
|
customMessage: ''
|
||||||
|
ForbiddenImport:
|
||||||
|
active: false
|
||||||
|
imports: []
|
||||||
|
forbiddenPatterns: ''
|
||||||
|
ForbiddenMethodCall:
|
||||||
|
active: false
|
||||||
|
methods:
|
||||||
|
- 'kotlin.io.print'
|
||||||
|
- 'kotlin.io.println'
|
||||||
|
ForbiddenPublicDataClass:
|
||||||
|
active: true
|
||||||
|
excludes: ['**']
|
||||||
|
ignorePackages:
|
||||||
|
- '*.internal'
|
||||||
|
- '*.internal.*'
|
||||||
|
ForbiddenSuppress:
|
||||||
|
active: false
|
||||||
|
rules: []
|
||||||
|
ForbiddenVoid:
|
||||||
|
active: true
|
||||||
|
ignoreOverridden: false
|
||||||
|
ignoreUsageInGenerics: false
|
||||||
|
FunctionOnlyReturningConstant:
|
||||||
|
active: false
|
||||||
|
ignoreOverridableFunction: true
|
||||||
|
ignoreActualFunction: true
|
||||||
|
excludedFunctions: ''
|
||||||
|
LibraryCodeMustSpecifyReturnType:
|
||||||
|
active: true
|
||||||
|
excludes: ['**']
|
||||||
|
LibraryEntitiesShouldNotBePublic:
|
||||||
|
active: true
|
||||||
|
excludes: ['**']
|
||||||
|
LoopWithTooManyJumpStatements:
|
||||||
|
active: false
|
||||||
|
maxJumpCount: 1
|
||||||
|
MagicNumber:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**', '**/*.kts']
|
||||||
|
ignoreNumbers:
|
||||||
|
- '-1'
|
||||||
|
- '0'
|
||||||
|
- '1'
|
||||||
|
- '2'
|
||||||
|
ignoreHashCodeFunction: true
|
||||||
|
ignorePropertyDeclaration: false
|
||||||
|
ignoreLocalVariableDeclaration: false
|
||||||
|
ignoreConstantDeclaration: true
|
||||||
|
ignoreCompanionObjectPropertyDeclaration: true
|
||||||
|
ignoreAnnotation: false
|
||||||
|
ignoreNamedArgument: true
|
||||||
|
ignoreEnums: false
|
||||||
|
ignoreRanges: false
|
||||||
|
ignoreExtensionFunctions: true
|
||||||
|
MandatoryBracesIfStatements:
|
||||||
|
active: false
|
||||||
|
MandatoryBracesLoops:
|
||||||
|
active: false
|
||||||
|
MaxChainedCallsOnSameLine:
|
||||||
|
active: false
|
||||||
|
maxChainedCalls: 5
|
||||||
|
MaxLineLength:
|
||||||
|
active: false
|
||||||
|
maxLineLength: 120
|
||||||
|
excludePackageStatements: true
|
||||||
|
excludeImportStatements: true
|
||||||
|
excludeCommentStatements: false
|
||||||
|
MayBeConst:
|
||||||
|
active: false
|
||||||
|
ModifierOrder:
|
||||||
|
active: false
|
||||||
|
MultilineLambdaItParameter:
|
||||||
|
active: false
|
||||||
|
NestedClassesVisibility:
|
||||||
|
active: true
|
||||||
|
NewLineAtEndOfFile:
|
||||||
|
active: false
|
||||||
|
NoTabs:
|
||||||
|
active: false
|
||||||
|
NullableBooleanCheck:
|
||||||
|
active: false
|
||||||
|
ObjectLiteralToLambda:
|
||||||
|
active: true
|
||||||
|
OptionalAbstractKeyword:
|
||||||
|
active: false
|
||||||
|
OptionalUnit:
|
||||||
|
active: false
|
||||||
|
OptionalWhenBraces:
|
||||||
|
active: false
|
||||||
|
PreferToOverPairSyntax:
|
||||||
|
active: false
|
||||||
|
ProtectedMemberInFinalClass:
|
||||||
|
active: true
|
||||||
|
RedundantExplicitType:
|
||||||
|
active: false
|
||||||
|
RedundantHigherOrderMapUsage:
|
||||||
|
active: true
|
||||||
|
RedundantVisibilityModifierRule:
|
||||||
|
active: false
|
||||||
|
ReturnCount:
|
||||||
|
active: false
|
||||||
|
max: 2
|
||||||
|
excludedFunctions: 'equals'
|
||||||
|
excludeLabeled: false
|
||||||
|
excludeReturnFromLambda: true
|
||||||
|
excludeGuardClauses: false
|
||||||
|
SafeCast:
|
||||||
|
active: true
|
||||||
|
SerialVersionUIDInSerializableClass:
|
||||||
|
active: true
|
||||||
|
SpacingBetweenPackageAndImports:
|
||||||
|
active: false
|
||||||
|
ThrowsCount:
|
||||||
|
active: false
|
||||||
|
max: 2
|
||||||
|
excludeGuardClauses: false
|
||||||
|
TrailingWhitespace:
|
||||||
|
active: false
|
||||||
|
UnderscoresInNumericLiterals:
|
||||||
|
active: false
|
||||||
|
acceptableLength: 4
|
||||||
|
allowNonStandardGrouping: false
|
||||||
|
UnnecessaryAbstractClass:
|
||||||
|
active: true
|
||||||
|
UnnecessaryAnnotationUseSiteTarget:
|
||||||
|
active: false
|
||||||
|
UnnecessaryApply:
|
||||||
|
active: true
|
||||||
|
UnnecessaryBackticks:
|
||||||
|
active: false
|
||||||
|
UnnecessaryFilter:
|
||||||
|
active: true
|
||||||
|
UnnecessaryInheritance:
|
||||||
|
active: true
|
||||||
|
UnnecessaryInnerClass:
|
||||||
|
active: false
|
||||||
|
UnnecessaryLet:
|
||||||
|
active: false
|
||||||
|
UnnecessaryParentheses:
|
||||||
|
active: false
|
||||||
|
UntilInsteadOfRangeTo:
|
||||||
|
active: false
|
||||||
|
UnusedImports:
|
||||||
|
active: false
|
||||||
|
UnusedPrivateClass:
|
||||||
|
active: false
|
||||||
|
UnusedPrivateMember:
|
||||||
|
active: false
|
||||||
|
allowedNames: '(_|ignored|expected|serialVersionUID)'
|
||||||
|
UseAnyOrNoneInsteadOfFind:
|
||||||
|
active: true
|
||||||
|
UseArrayLiteralsInAnnotations:
|
||||||
|
active: true
|
||||||
|
UseCheckNotNull:
|
||||||
|
active: true
|
||||||
|
UseCheckOrError:
|
||||||
|
active: false
|
||||||
|
UseDataClass:
|
||||||
|
active: false
|
||||||
|
allowVars: false
|
||||||
|
UseEmptyCounterpart:
|
||||||
|
active: false
|
||||||
|
UseIfEmptyOrIfBlank:
|
||||||
|
active: false
|
||||||
|
UseIfInsteadOfWhen:
|
||||||
|
active: false
|
||||||
|
UseIsNullOrEmpty:
|
||||||
|
active: true
|
||||||
|
UseOrEmpty:
|
||||||
|
active: true
|
||||||
|
UseRequire:
|
||||||
|
active: false
|
||||||
|
UseRequireNotNull:
|
||||||
|
active: false
|
||||||
|
UselessCallOnNotNull:
|
||||||
|
active: true
|
||||||
|
UtilityClassWithPublicConstructor:
|
||||||
|
active: false
|
||||||
|
VarCouldBeVal:
|
||||||
|
active: true
|
||||||
|
ignoreLateinitVar: false
|
||||||
|
WildcardImport:
|
||||||
|
active: false
|
||||||
|
excludes: ['**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**']
|
||||||
|
excludeImports:
|
||||||
|
- 'java.util.*'
|
BIN
Server/libs/ConstLib-1.4.jar
Normal file
BIN
Server/libs/ConstLib-1.4.jar
Normal file
Binary file not shown.
BIN
Server/libs/PrimitiveExtensions-1.0.jar
Normal file
BIN
Server/libs/PrimitiveExtensions-1.0.jar
Normal file
Binary file not shown.
287
Server/mvnw
vendored
Executable file
287
Server/mvnw
vendored
Executable file
@ -0,0 +1,287 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you 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
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# Apache Maven Wrapper startup batch script, version 3.1.1
|
||||||
|
#
|
||||||
|
# Required ENV vars:
|
||||||
|
# ------------------
|
||||||
|
# JAVA_HOME - location of a JDK home dir
|
||||||
|
#
|
||||||
|
# Optional ENV vars
|
||||||
|
# -----------------
|
||||||
|
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||||
|
# e.g. to debug Maven itself, use
|
||||||
|
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||||
|
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if [ -z "$MAVEN_SKIP_RC" ] ; then
|
||||||
|
|
||||||
|
if [ -f /usr/local/etc/mavenrc ] ; then
|
||||||
|
. /usr/local/etc/mavenrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /etc/mavenrc ] ; then
|
||||||
|
. /etc/mavenrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$HOME/.mavenrc" ] ; then
|
||||||
|
. "$HOME/.mavenrc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# OS specific support. $var _must_ be set to either true or false.
|
||||||
|
cygwin=false;
|
||||||
|
darwin=false;
|
||||||
|
mingw=false
|
||||||
|
case "`uname`" in
|
||||||
|
CYGWIN*) cygwin=true ;;
|
||||||
|
MINGW*) mingw=true;;
|
||||||
|
Darwin*) darwin=true
|
||||||
|
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
|
||||||
|
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
|
||||||
|
if [ -z "$JAVA_HOME" ]; then
|
||||||
|
if [ -x "/usr/libexec/java_home" ]; then
|
||||||
|
JAVA_HOME="`/usr/libexec/java_home`"; export JAVA_HOME
|
||||||
|
else
|
||||||
|
JAVA_HOME="/Library/Java/Home"; export JAVA_HOME
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ] ; then
|
||||||
|
if [ -r /etc/gentoo-release ] ; then
|
||||||
|
JAVA_HOME=`java-config --jre-home`
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
||||||
|
if $cygwin ; then
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||||
|
[ -n "$CLASSPATH" ] &&
|
||||||
|
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For Mingw, ensure paths are in UNIX format before anything is touched
|
||||||
|
if $mingw ; then
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ]; then
|
||||||
|
javaExecutable="`which javac`"
|
||||||
|
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
|
||||||
|
# readlink(1) is not available as standard on Solaris 10.
|
||||||
|
readLink=`which readlink`
|
||||||
|
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
|
||||||
|
if $darwin ; then
|
||||||
|
javaHome="`dirname \"$javaExecutable\"`"
|
||||||
|
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
|
||||||
|
else
|
||||||
|
javaExecutable="`readlink -f \"$javaExecutable\"`"
|
||||||
|
fi
|
||||||
|
javaHome="`dirname \"$javaExecutable\"`"
|
||||||
|
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
|
||||||
|
JAVA_HOME="$javaHome"
|
||||||
|
export JAVA_HOME
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVACMD" ] ; then
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||||
|
else
|
||||||
|
JAVACMD="$JAVA_HOME/bin/java"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD="`\\unset -f command; \\command -v java`"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
echo "Error: JAVA_HOME is not defined correctly." >&2
|
||||||
|
echo " We cannot execute $JAVACMD" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$JAVA_HOME" ] ; then
|
||||||
|
echo "Warning: JAVA_HOME environment variable is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# traverses directory structure from process work directory to filesystem root
|
||||||
|
# first directory with .mvn subdirectory is considered project base directory
|
||||||
|
find_maven_basedir() {
|
||||||
|
if [ -z "$1" ]
|
||||||
|
then
|
||||||
|
echo "Path not specified to find_maven_basedir"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
basedir="$1"
|
||||||
|
wdir="$1"
|
||||||
|
while [ "$wdir" != '/' ] ; do
|
||||||
|
if [ -d "$wdir"/.mvn ] ; then
|
||||||
|
basedir=$wdir
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
|
||||||
|
if [ -d "${wdir}" ]; then
|
||||||
|
wdir=`cd "$wdir/.."; pwd`
|
||||||
|
fi
|
||||||
|
# end of workaround
|
||||||
|
done
|
||||||
|
printf '%s' "$(cd "$basedir"; pwd)"
|
||||||
|
}
|
||||||
|
|
||||||
|
# concatenates all lines of a file
|
||||||
|
concat_lines() {
|
||||||
|
if [ -f "$1" ]; then
|
||||||
|
echo "$(tr -s '\n' ' ' < "$1")"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
BASE_DIR=$(find_maven_basedir "$(dirname $0)")
|
||||||
|
if [ -z "$BASE_DIR" ]; then
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}; export MAVEN_PROJECTBASEDIR
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo $MAVEN_PROJECTBASEDIR
|
||||||
|
fi
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
|
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||||
|
# This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||||
|
##########################################################################################
|
||||||
|
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found .mvn/wrapper/maven-wrapper.jar"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
|
||||||
|
fi
|
||||||
|
if [ -n "$MVNW_REPOURL" ]; then
|
||||||
|
wrapperUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar"
|
||||||
|
else
|
||||||
|
wrapperUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar"
|
||||||
|
fi
|
||||||
|
while IFS="=" read key value; do
|
||||||
|
case "$key" in (wrapperUrl) wrapperUrl="$value"; break ;;
|
||||||
|
esac
|
||||||
|
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Downloading from: $wrapperUrl"
|
||||||
|
fi
|
||||||
|
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
|
||||||
|
if $cygwin; then
|
||||||
|
wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
if command -v wget > /dev/null; then
|
||||||
|
QUIET="--quiet"
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found wget ... using wget"
|
||||||
|
QUIET=""
|
||||||
|
fi
|
||||||
|
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||||
|
wget $QUIET "$wrapperUrl" -O "$wrapperJarPath"
|
||||||
|
else
|
||||||
|
wget $QUIET --http-user="$MVNW_USERNAME" --http-password="$MVNW_PASSWORD" "$wrapperUrl" -O "$wrapperJarPath"
|
||||||
|
fi
|
||||||
|
[ $? -eq 0 ] || rm -f "$wrapperJarPath"
|
||||||
|
elif command -v curl > /dev/null; then
|
||||||
|
QUIET="--silent"
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Found curl ... using curl"
|
||||||
|
QUIET=""
|
||||||
|
fi
|
||||||
|
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||||
|
curl $QUIET -o "$wrapperJarPath" "$wrapperUrl" -f -L
|
||||||
|
else
|
||||||
|
curl $QUIET --user "$MVNW_USERNAME:$MVNW_PASSWORD" -o "$wrapperJarPath" "$wrapperUrl" -f -L
|
||||||
|
fi
|
||||||
|
[ $? -eq 0 ] || rm -f "$wrapperJarPath"
|
||||||
|
else
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo "Falling back to using Java to download"
|
||||||
|
fi
|
||||||
|
javaSource="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
|
||||||
|
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class"
|
||||||
|
# For Cygwin, switch paths to Windows format before running javac
|
||||||
|
if $cygwin; then
|
||||||
|
javaSource=`cygpath --path --windows "$javaSource"`
|
||||||
|
javaClass=`cygpath --path --windows "$javaClass"`
|
||||||
|
fi
|
||||||
|
if [ -e "$javaSource" ]; then
|
||||||
|
if [ ! -e "$javaClass" ]; then
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo " - Compiling MavenWrapperDownloader.java ..."
|
||||||
|
fi
|
||||||
|
# Compiling the Java class
|
||||||
|
("$JAVA_HOME/bin/javac" "$javaSource")
|
||||||
|
fi
|
||||||
|
if [ -e "$javaClass" ]; then
|
||||||
|
# Running the downloader
|
||||||
|
if [ "$MVNW_VERBOSE" = true ]; then
|
||||||
|
echo " - Running MavenWrapperDownloader.java ..."
|
||||||
|
fi
|
||||||
|
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
##########################################################################################
|
||||||
|
# End of extension
|
||||||
|
##########################################################################################
|
||||||
|
|
||||||
|
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
|
||||||
|
|
||||||
|
# For Cygwin, switch paths to Windows format before running java
|
||||||
|
if $cygwin; then
|
||||||
|
[ -n "$JAVA_HOME" ] &&
|
||||||
|
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
|
||||||
|
[ -n "$CLASSPATH" ] &&
|
||||||
|
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
|
||||||
|
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
|
||||||
|
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Provide a "standardized" way to retrieve the CLI args that will
|
||||||
|
# work with both Windows and non-Windows executions.
|
||||||
|
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
|
||||||
|
export MAVEN_CMD_LINE_ARGS
|
||||||
|
|
||||||
|
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||||
|
|
||||||
|
exec "$JAVACMD" \
|
||||||
|
$MAVEN_OPTS \
|
||||||
|
$MAVEN_DEBUG_OPTS \
|
||||||
|
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
|
||||||
|
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
|
||||||
|
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
|
187
Server/mvnw.cmd
vendored
Normal file
187
Server/mvnw.cmd
vendored
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
@REM Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
@REM or more contributor license agreements. See the NOTICE file
|
||||||
|
@REM distributed with this work for additional information
|
||||||
|
@REM regarding copyright ownership. The ASF licenses this file
|
||||||
|
@REM to you under the Apache License, Version 2.0 (the
|
||||||
|
@REM "License"); you may not use this file except in compliance
|
||||||
|
@REM with the License. You may obtain a copy of the License at
|
||||||
|
@REM
|
||||||
|
@REM http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
@REM
|
||||||
|
@REM Unless required by applicable law or agreed to in writing,
|
||||||
|
@REM software distributed under the License is distributed on an
|
||||||
|
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
@REM KIND, either express or implied. See the License for the
|
||||||
|
@REM specific language governing permissions and limitations
|
||||||
|
@REM under the License.
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
@REM Apache Maven Wrapper startup batch script, version 3.1.1
|
||||||
|
@REM
|
||||||
|
@REM Required ENV vars:
|
||||||
|
@REM JAVA_HOME - location of a JDK home dir
|
||||||
|
@REM
|
||||||
|
@REM Optional ENV vars
|
||||||
|
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
||||||
|
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
|
||||||
|
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||||
|
@REM e.g. to debug Maven itself, use
|
||||||
|
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||||
|
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||||
|
@REM ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
||||||
|
@echo off
|
||||||
|
@REM set title of command window
|
||||||
|
title %0
|
||||||
|
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
||||||
|
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
||||||
|
|
||||||
|
@REM set %HOME% to equivalent of $HOME
|
||||||
|
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
||||||
|
|
||||||
|
@REM Execute a user defined script before this one
|
||||||
|
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
|
||||||
|
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
||||||
|
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
|
||||||
|
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
|
||||||
|
:skipRcPre
|
||||||
|
|
||||||
|
@setlocal
|
||||||
|
|
||||||
|
set ERROR_CODE=0
|
||||||
|
|
||||||
|
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
||||||
|
@setlocal
|
||||||
|
|
||||||
|
@REM ==== START VALIDATION ====
|
||||||
|
if not "%JAVA_HOME%" == "" goto OkJHome
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo Error: JAVA_HOME not found in your environment. >&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||||
|
echo location of your Java installation. >&2
|
||||||
|
echo.
|
||||||
|
goto error
|
||||||
|
|
||||||
|
:OkJHome
|
||||||
|
if exist "%JAVA_HOME%\bin\java.exe" goto init
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
||||||
|
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
||||||
|
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||||
|
echo location of your Java installation. >&2
|
||||||
|
echo.
|
||||||
|
goto error
|
||||||
|
|
||||||
|
@REM ==== END VALIDATION ====
|
||||||
|
|
||||||
|
:init
|
||||||
|
|
||||||
|
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
||||||
|
@REM Fallback to current working directory if not found.
|
||||||
|
|
||||||
|
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
||||||
|
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
||||||
|
|
||||||
|
set EXEC_DIR=%CD%
|
||||||
|
set WDIR=%EXEC_DIR%
|
||||||
|
:findBaseDir
|
||||||
|
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
||||||
|
cd ..
|
||||||
|
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
||||||
|
set WDIR=%CD%
|
||||||
|
goto findBaseDir
|
||||||
|
|
||||||
|
:baseDirFound
|
||||||
|
set MAVEN_PROJECTBASEDIR=%WDIR%
|
||||||
|
cd "%EXEC_DIR%"
|
||||||
|
goto endDetectBaseDir
|
||||||
|
|
||||||
|
:baseDirNotFound
|
||||||
|
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
||||||
|
cd "%EXEC_DIR%"
|
||||||
|
|
||||||
|
:endDetectBaseDir
|
||||||
|
|
||||||
|
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
||||||
|
|
||||||
|
@setlocal EnableExtensions EnableDelayedExpansion
|
||||||
|
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
||||||
|
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
||||||
|
|
||||||
|
:endReadAdditionalConfig
|
||||||
|
|
||||||
|
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||||
|
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||||
|
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||||
|
|
||||||
|
set WRAPPER_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar"
|
||||||
|
|
||||||
|
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||||
|
IF "%%A"=="wrapperUrl" SET WRAPPER_URL=%%B
|
||||||
|
)
|
||||||
|
|
||||||
|
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||||
|
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||||
|
if exist %WRAPPER_JAR% (
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Found %WRAPPER_JAR%
|
||||||
|
)
|
||||||
|
) else (
|
||||||
|
if not "%MVNW_REPOURL%" == "" (
|
||||||
|
SET WRAPPER_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar"
|
||||||
|
)
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||||
|
echo Downloading from: %WRAPPER_URL%
|
||||||
|
)
|
||||||
|
|
||||||
|
powershell -Command "&{"^
|
||||||
|
"$webclient = new-object System.Net.WebClient;"^
|
||||||
|
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
|
||||||
|
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
|
||||||
|
"}"^
|
||||||
|
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%WRAPPER_URL%', '%WRAPPER_JAR%')"^
|
||||||
|
"}"
|
||||||
|
if "%MVNW_VERBOSE%" == "true" (
|
||||||
|
echo Finished downloading %WRAPPER_JAR%
|
||||||
|
)
|
||||||
|
)
|
||||||
|
@REM End of extension
|
||||||
|
|
||||||
|
@REM Provide a "standardized" way to retrieve the CLI args that will
|
||||||
|
@REM work with both Windows and non-Windows executions.
|
||||||
|
set MAVEN_CMD_LINE_ARGS=%*
|
||||||
|
|
||||||
|
%MAVEN_JAVA_EXE% ^
|
||||||
|
%JVM_CONFIG_MAVEN_PROPS% ^
|
||||||
|
%MAVEN_OPTS% ^
|
||||||
|
%MAVEN_DEBUG_OPTS% ^
|
||||||
|
-classpath %WRAPPER_JAR% ^
|
||||||
|
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
|
||||||
|
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
|
||||||
|
if ERRORLEVEL 1 goto error
|
||||||
|
goto end
|
||||||
|
|
||||||
|
:error
|
||||||
|
set ERROR_CODE=1
|
||||||
|
|
||||||
|
:end
|
||||||
|
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
||||||
|
|
||||||
|
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
|
||||||
|
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
||||||
|
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
|
||||||
|
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
|
||||||
|
:skipRcPost
|
||||||
|
|
||||||
|
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
||||||
|
if "%MAVEN_BATCH_PAUSE%"=="on" pause
|
||||||
|
|
||||||
|
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
|
||||||
|
|
||||||
|
cmd /C exit /B %ERROR_CODE%
|
331
Server/pom.xml
Normal file
331
Server/pom.xml
Normal file
@ -0,0 +1,331 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>org.rs09</groupId>
|
||||||
|
<artifactId>server</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<properties>
|
||||||
|
<project.mainClassName>core.Server</project.mainClassName>
|
||||||
|
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
|
||||||
|
<kotlin.version>1.8.20</kotlin.version>
|
||||||
|
<kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget>
|
||||||
|
<junit.version>5.7.0</junit.version>
|
||||||
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||||||
|
<artifactId>kotlin-stdlib</artifactId>
|
||||||
|
<version>${kotlin.version}</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.googlecode.json-simple</groupId>
|
||||||
|
<artifactId>json-simple</artifactId>
|
||||||
|
<version>1.1.1</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||||||
|
<artifactId>kotlin-reflect</artifactId>
|
||||||
|
<version>1.5.20</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jetbrains.kotlinx</groupId>
|
||||||
|
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
|
||||||
|
<version>1.4.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.moandjiezana.toml</groupId>
|
||||||
|
<artifactId>toml4j</artifactId>
|
||||||
|
<version>0.7.2</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter-engine</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.rs09.consts</groupId>
|
||||||
|
<artifactId>ConstLib</artifactId>
|
||||||
|
<version>[1.4.0,)</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>8.0.29</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.github.classgraph</groupId>
|
||||||
|
<artifactId>classgraph</artifactId>
|
||||||
|
<version>4.8.146</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.xerial</groupId>
|
||||||
|
<artifactId>sqlite-jdbc</artifactId>
|
||||||
|
<version>3.36.0.3</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.ajalt.mordant</groupId>
|
||||||
|
<artifactId>mordant-jvm</artifactId>
|
||||||
|
<version>2.0.0-beta6</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.google.errorprone</groupId>
|
||||||
|
<artifactId>error_prone_annotations</artifactId>
|
||||||
|
<version>2.9.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<sourceDirectory>src/main</sourceDirectory>
|
||||||
|
<testSourceDirectory>src/test</testSourceDirectory>
|
||||||
|
<plugins>
|
||||||
|
|
||||||
|
<!-- Installs our local dependencies (const/extension libraries) to a local maven repo) -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>install-consts</id>
|
||||||
|
<phase>clean</phase>
|
||||||
|
<configuration>
|
||||||
|
<file>${project.basedir}/libs/ConstLib-1.4.jar</file>
|
||||||
|
<repositoryLayout>default</repositoryLayout>
|
||||||
|
<groupId>org.rs09</groupId>
|
||||||
|
<artifactId>consts</artifactId>
|
||||||
|
<version>1.4</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<generatePom>true</generatePom>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>install-file</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>install-extends</id>
|
||||||
|
<phase>clean</phase>
|
||||||
|
<configuration>
|
||||||
|
<file>${project.basedir}/libs/PrimitiveExtensions-1.0.jar</file>
|
||||||
|
<repositoryLayout>default</repositoryLayout>
|
||||||
|
<groupId>org.rs09</groupId>
|
||||||
|
<artifactId>primextends</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<generatePom>true</generatePom>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>install-file</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>3.4.2</version>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<descriptorRefs>
|
||||||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
|
</descriptorRefs>
|
||||||
|
<archive>
|
||||||
|
<manifest><mainClass>${project.mainClassName}</mainClass></manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||||||
|
<artifactId>kotlin-maven-plugin</artifactId>
|
||||||
|
<version>${kotlin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>compile</id>
|
||||||
|
<goals>
|
||||||
|
<goal>compile</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sourceDirs>
|
||||||
|
<sourceDir>${project.basedir}/src/main</sourceDir>
|
||||||
|
</sourceDirs>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>test-compile</id>
|
||||||
|
<goals> <goal>test-compile</goal> </goals>
|
||||||
|
<configuration>
|
||||||
|
<sourceDirs>
|
||||||
|
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
|
||||||
|
</sourceDirs>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>3.10.1</version>
|
||||||
|
<configuration>
|
||||||
|
<maxmem>2048m</maxmem>
|
||||||
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||||
|
<compilerArgs>
|
||||||
|
<arg>-XDcompilePolicy=simple</arg>
|
||||||
|
<!-- <arg>-Xplugin:ErrorProne</arg> uncomment when fixing java static analysis errors !-->
|
||||||
|
</compilerArgs>
|
||||||
|
<annotationProcessorPaths>
|
||||||
|
<path>
|
||||||
|
<groupId>com.google.errorprone</groupId>
|
||||||
|
<artifactId>error_prone_core</artifactId>
|
||||||
|
<version>2.9.0</version>
|
||||||
|
</path>
|
||||||
|
<!-- Other annotation processors go here.
|
||||||
|
|
||||||
|
If 'annotationProcessorPaths' is set, processors will no longer be
|
||||||
|
discovered on the regular -classpath; see also 'Using Error Prone
|
||||||
|
together with other annotation processors' below. -->
|
||||||
|
</annotationProcessorPaths>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<!-- Replacing default-compile as it is treated specially by maven -->
|
||||||
|
<execution>
|
||||||
|
<id>default-compile</id>
|
||||||
|
<phase>none</phase>
|
||||||
|
</execution>
|
||||||
|
<!-- Replacing default-testCompile as it is treated specially by maven -->
|
||||||
|
<execution>
|
||||||
|
<id>default-testCompile</id>
|
||||||
|
<phase>none</phase>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>java-compile</id>
|
||||||
|
<phase>compile</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>compile</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>java-test-compile</id>
|
||||||
|
<phase>test-compile</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>testCompile</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<useFile>false</useFile>
|
||||||
|
<trimStackTrace>false</trimStackTrace>
|
||||||
|
</configuration>
|
||||||
|
<version>2.22.0</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<version>2.22.0</version>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>1.2.1</version>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>core.Server</mainClass>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.8</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<!-- This can be run separately with mvn antrun:run@detekt -->
|
||||||
|
<id>detekt</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<configuration>
|
||||||
|
<target name="detekt">
|
||||||
|
<java taskname="detekt" dir="${basedir}"
|
||||||
|
fork="true"
|
||||||
|
failonerror="true"
|
||||||
|
classname="io.gitlab.arturbosch.detekt.cli.Main"
|
||||||
|
classpathref="maven.plugin.classpath">
|
||||||
|
<arg value="--input"/>
|
||||||
|
<arg value="${basedir}/src/main"/>
|
||||||
|
<arg value="--excludes"/>
|
||||||
|
<arg value="**/special/package/internal/**"/>
|
||||||
|
<arg value="--report"/>
|
||||||
|
<arg value="xml:${basedir}/reports/detekt.xml"/>
|
||||||
|
<arg value="--config"/>
|
||||||
|
<arg value="${basedir}/detekt.yml"/>
|
||||||
|
<!--
|
||||||
|
<arg value="-b" />
|
||||||
|
<arg value="${basedir}/reports/baseline.xml"/>
|
||||||
|
-->
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals><goal>run</goal></goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.gitlab.arturbosch.detekt</groupId>
|
||||||
|
<artifactId>detekt-cli</artifactId>
|
||||||
|
<version>1.21.0</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>maven_central</id>
|
||||||
|
<name>Maven Central</name>
|
||||||
|
<url>https://repo.maven.apache.org/maven2/</url>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gitlab-maven</id>
|
||||||
|
<url>https://gitlab.com/api/v4/projects/32237206/packages/maven</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>gitlab-maven</id>
|
||||||
|
<url>https://gitlab.com/api/v4/projects/32237206/packages/maven</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>gitlab-maven</id>
|
||||||
|
<url>https://gitlab.com/api/v4/projects/32237206/packages/maven</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
</project>
|
172
Server/src/main/content/data/BossKillCounter.java
Normal file
172
Server/src/main/content/data/BossKillCounter.java
Normal file
@ -0,0 +1,172 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The BossKillcounter keeps track of the amount of bosses the player has slain.
|
||||||
|
* addtoKillcount(player, npcId) should be added in the finalizeDeath() method of the combat handler for the boss.
|
||||||
|
* @author Splinter
|
||||||
|
*/
|
||||||
|
public enum BossKillCounter {
|
||||||
|
|
||||||
|
|
||||||
|
/* ORDINAL BOUND */
|
||||||
|
KING_BLACK_DRAGON(new int[] { 50 }, "King Black Dragon", 14649),
|
||||||
|
BORK(new int[] { 7133, 7134 }, "Bork", -1),
|
||||||
|
DAGANNOTH_SUPREME(new int[] { 2881 }, "Dagannoth Supreme", 14639),
|
||||||
|
DAGANNOTH_PRIME(new int[] { 2882 }, "Dagannoth Prime", 14640),
|
||||||
|
DAGANNOTH_REX(new int[] { 2883 }, "Dagannoth Rex", 14641),
|
||||||
|
CHAOS_ELEMENTAL(new int[] { 3200 }, "Chaos Elemental", 14638),
|
||||||
|
GIANT_MOLE(new int[] { 3340 }, "Giant Mole", 14642),
|
||||||
|
SARADOMIN(new int[] { 6247 }, "Commander Zilyana", 14647),
|
||||||
|
ZAMORAK(new int[] { 6203 }, "K'ril Tsutsaroth", 14648),
|
||||||
|
BANDOS(new int[] { 6260 }, "General Graardor", 14646),
|
||||||
|
ARMADYL(new int[] { 6222 }, "Kree'arra", 14645),
|
||||||
|
JAD(new int[] { 2745 }, "Tz-Tok Jad", 14828),
|
||||||
|
KALPHITE_QUEEN(new int[] { 1160 }, "Kalphite Queen", 14650),
|
||||||
|
CORPOREAL_BEAST(new int[] { 8133 }, "Corporeal Beast", 14653),
|
||||||
|
TORMENTED_DEMONS(new int[] {
|
||||||
|
8349, 8350, 8351, 8352, 8353, 8354,
|
||||||
|
8355, 8356, 8357, 8358, 8359, 8360,
|
||||||
|
8361, 8362, 8363, 8364, 8365, 8366,
|
||||||
|
}, "Tormented demon", -1),
|
||||||
|
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The npcs that can increase the killcounter
|
||||||
|
*/
|
||||||
|
private final int[] npc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the NPC, to be displayed as a sendMessage
|
||||||
|
*/
|
||||||
|
private final String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The item ID of the pet relating to the boss.
|
||||||
|
*/
|
||||||
|
private final int petId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code BossKillCounter} {@code Object}.
|
||||||
|
* @param npc the npc.
|
||||||
|
* @param name the npc's string name
|
||||||
|
*/
|
||||||
|
BossKillCounter(final int[] npc, final String name, final int petId) {
|
||||||
|
this.npc = npc;
|
||||||
|
this.name = name;
|
||||||
|
this.petId = petId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the npc.
|
||||||
|
* @return The npc.
|
||||||
|
*/
|
||||||
|
public int[] getNpc() {
|
||||||
|
return npc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the NPC's name
|
||||||
|
* @return their name
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the petId
|
||||||
|
* @return The petId
|
||||||
|
*/
|
||||||
|
public int getPetId() {
|
||||||
|
return petId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the type for the npc.
|
||||||
|
* @param npc the npc.
|
||||||
|
* @return the BossKillcounter
|
||||||
|
*/
|
||||||
|
public static BossKillCounter forNPC(final int npc) {
|
||||||
|
for (BossKillCounter kc : BossKillCounter.values()) {
|
||||||
|
for (int i : kc.getNpc()) {
|
||||||
|
if (npc == i) {
|
||||||
|
return kc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds to the player's killcount for that particular boss.
|
||||||
|
* @param killer The player who killed the npc
|
||||||
|
* @param npcid the ID of the npc that just died
|
||||||
|
*/
|
||||||
|
public static void addtoKillcount(Player killer, int npcid) {
|
||||||
|
if (killer == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
BossKillCounter boss = BossKillCounter.forNPC(npcid);
|
||||||
|
if (boss == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
killer.getSavedData().getGlobalData().getBossCounters()[boss.ordinal()]++;
|
||||||
|
killer.getPacketDispatch().sendMessage("Your " + boss.getName() + " killcount is now: <col=ff0000>" + killer.getSavedData().getGlobalData().getBossCounters()[boss.ordinal()] + "</col>.");
|
||||||
|
// addBossPet(killer, npcid, boss);
|
||||||
|
}
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * Gives the player the pet if they killed a certain boss.
|
||||||
|
// * The chance by default is 1/5000. This rate lowers to 1/2200 if the <GlobalEvents> for Boss Pets is active.
|
||||||
|
// * Note: Not all bosses have pet versions of themselves.
|
||||||
|
// */
|
||||||
|
// private static void addBossPet(Player killer, int npcid, BossKillCounter boss){
|
||||||
|
// if(boss.getPetId() == -1){ //The boss does not have a pet version.
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
// int number = 5000;
|
||||||
|
// if (npcid == 2745) {
|
||||||
|
// number = 200;
|
||||||
|
// if (killer.getSlayer().getTask() == Tasks.JAD) {
|
||||||
|
// number = 100;
|
||||||
|
// }
|
||||||
|
// } else if (npcid == 3200) {
|
||||||
|
// number = 300;
|
||||||
|
// }
|
||||||
|
// int rand = number;
|
||||||
|
// if(rand == 10){
|
||||||
|
// for (int i = 0; i < killer.getFamiliarManager().getInsuredPets().size(); i++) {
|
||||||
|
// if (killer.getFamiliarManager().getInsuredPets().get(i).getBabyItemId() == boss.getPetId()) {
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// if(killer.getFamiliarManager().hasFamiliar() && killer.getInventory().freeSlots() < 1){
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
// if(!killer.getFamiliarManager().hasFamiliar()){
|
||||||
|
// killer.getFamiliarManager().summon(new Item(boss.getPetId()), true);
|
||||||
|
// killer.sendNotificationMessage("You have a funny feeling like you're being followed.");
|
||||||
|
// } else if (killer.getInventory().freeSlots() > 0){
|
||||||
|
// killer.getInventory().add(new Item(boss.getPetId(), 1));
|
||||||
|
// killer.sendNotificationMessage("You feel something weird sneaking into your backpack.");
|
||||||
|
// }
|
||||||
|
// Repository.sendNews(killer.getUsername()+" now commands a miniature "+(boss.equals(CORPOREAL_BEAST) ? "Dark core" : boss.getName())+"!");
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Increments the player's Barrows chest counter.
|
||||||
|
* @param player the player
|
||||||
|
*/
|
||||||
|
public static void addtoBarrowsCount(Player player) {
|
||||||
|
if (player == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
player.getSavedData().getGlobalData().setBarrowsLoots(player.getSavedData().getGlobalData().getBarrowsLoots() + 1);
|
||||||
|
player.getPacketDispatch().sendMessage("Your Barrows chest count is: <col=ff0000>" + player.getSavedData().getGlobalData().getBarrowsLoots() + "</col>.");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
80
Server/src/main/content/data/ChargedItem.kt
Normal file
80
Server/src/main/content/data/ChargedItem.kt
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
package content.data
|
||||||
|
|
||||||
|
import core.api.toIntArray
|
||||||
|
import core.cache.def.impl.ItemDefinition
|
||||||
|
import org.rs09.consts.Items
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a distinct charged item, i.e. items with (#).
|
||||||
|
* Not to be confused with items with internal charge, like degradation.
|
||||||
|
* @author RiL
|
||||||
|
*/
|
||||||
|
enum class ChargedItem(val ids: IntArray) {
|
||||||
|
AMULET_OF_GLORY((Items.AMULET_OF_GLORY4_1712 downTo Items.AMULET_OF_GLORY_1704 step 2).toIntArray()),
|
||||||
|
RING_OF_DUELLING((Items.RING_OF_DUELLING8_2552..Items.RING_OF_DUELLING1_2566 step 2).toIntArray()),
|
||||||
|
GAMES_NECKLACE((Items.GAMES_NECKLACE8_3853..Items.GAMES_NECKLACE1_3867 step 2).toIntArray()),
|
||||||
|
BROODOO_SHIELDA((Items.BROODOO_SHIELD_10_6215..Items.BROODOO_SHIELD_6235 step 2).toIntArray()),
|
||||||
|
BROODOO_SHIELDB((Items.BROODOO_SHIELD_10_6237..Items.BROODOO_SHIELD_6257 step 2).toIntArray()),
|
||||||
|
BROODOO_SHIELDC((Items.BROODOO_SHIELD_10_6259..Items.BROODOO_SHIELD_6279 step 2).toIntArray()),
|
||||||
|
ROD_OF_IVANDIS((Items.ROD_OF_IVANDIS10_7639..Items.ROD_OF_IVANDIS1_7648).toIntArray()),
|
||||||
|
BLACK_MASK((Items.BLACK_MASK_10_8901..Items.BLACK_MASK_8921 step 2).toIntArray()),
|
||||||
|
AMULET_OF_GLORYT((Items.AMULET_OF_GLORYT4_10354..Items.AMULET_OF_GLORYT_10362 step 2).toIntArray()),
|
||||||
|
CASTLEWAR_BRACE((Items.CASTLEWAR_BRACE3_11079..Items.CASTLEWAR_BRACE1_11083 step 2).toIntArray()),
|
||||||
|
FORINTHRY_BRACE((Items.FORINTHRY_BRACE5_11095..Items.FORINTHRY_BRACE1_11103 step 2).toIntArray()),
|
||||||
|
SKILLS_NECKLACE((Items.SKILLS_NECKLACE4_11105..Items.SKILLS_NECKLACE_11113 step 2).toIntArray()),
|
||||||
|
COMBAT_BRACELET((Items.COMBAT_BRACELET4_11118..Items.COMBAT_BRACELET_11126 step 2).toIntArray()),
|
||||||
|
DIGSITE_PENDANT((Items.DIGSITE_PENDANT_5_11194 downTo Items.DIGSITE_PENDANT_1_11190).toIntArray()),
|
||||||
|
VOID_SEAL((Items.VOID_SEAL8_11666..Items.VOID_SEAL1_11673).toIntArray()),
|
||||||
|
AMULET_OF_FARMING((Items.AMULET_OF_FARMING8_12622 downTo Items.AMULET_OF_FARMING1_12608 step 2).toIntArray()),
|
||||||
|
IVANDIS_FLAIL((Items.IVANDIS_FLAIL_30_13117..Items.IVANDIS_FLAIL_1_13146).toIntArray()),
|
||||||
|
RING_OF_SLAYING((Items.RING_OF_SLAYING8_13281..Items.RING_OF_SLAYING1_13288).toIntArray()),
|
||||||
|
RING_OF_WEALTH((Items.RING_OF_WEALTH4_14646 downTo Items.RING_OF_WEALTH_14638 step 2).toIntArray());
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the item id for a specific [charge].
|
||||||
|
* If [charge] is outside the valid range, return the item id with the closest charge.
|
||||||
|
*/
|
||||||
|
fun forCharge(charge: Int): Int {
|
||||||
|
return ids[maxCharge() - if (charge < 1) 1 + maxCharge() - ids.size else if (charge > maxCharge()) maxCharge() else charge]
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the max charge of this ChargedItem.
|
||||||
|
*/
|
||||||
|
fun maxCharge(): Int = maxCharges[ordinal]
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
private val CHARGE_REGEX = Regex("""\(\D?(\d+)\)""")
|
||||||
|
private val idMap = HashMap<Int, ChargedItem>()
|
||||||
|
private val maxCharges = IntArray(values().size)
|
||||||
|
|
||||||
|
init {
|
||||||
|
values().forEach { chargedItem ->
|
||||||
|
maxCharges[chargedItem.ordinal] = getMaxCharge(chargedItem)
|
||||||
|
chargedItem.ids.forEach { idMap[it] = chargedItem }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun getMaxCharge(chargedItem: ChargedItem): Int {
|
||||||
|
return CHARGE_REGEX.find(ItemDefinition.forId(chargedItem.ids.first()).name)!!.groups[1]!!.value.toInt()
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the item id is a charged item.
|
||||||
|
*/
|
||||||
|
fun contains(id: Int): Boolean = idMap.containsKey(id)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the ChargedItem enum for an item id, or null if it's not a charged item.
|
||||||
|
*/
|
||||||
|
fun forId(id: Int): ChargedItem? = idMap[id]
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the charge value of an item id, or null if it's not a charged item.
|
||||||
|
*/
|
||||||
|
fun getCharge(id: Int): Int? {
|
||||||
|
val chargedItem = forId(id) ?: return null
|
||||||
|
return chargedItem.maxCharge() - chargedItem.ids.indexOf(id)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
Server/src/main/content/data/Dyes.java
Normal file
54
Server/src/main/content/data/Dyes.java
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a dye.
|
||||||
|
* @author Vexia
|
||||||
|
*/
|
||||||
|
public enum Dyes {
|
||||||
|
BLACK(new Item(4622)),
|
||||||
|
RED(new Item(1763)),
|
||||||
|
YELLOW(new Item(1765)),
|
||||||
|
BLUE(new Item(1767)),
|
||||||
|
ORANGE(new Item(1769)),
|
||||||
|
GREEN(new Item(1771)),
|
||||||
|
PURPLE(new Item(1773)),
|
||||||
|
PINK(new Item(6955));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The dye item.
|
||||||
|
*/
|
||||||
|
private final Item item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code Dyes} {@code Object}.
|
||||||
|
* @param item the item.
|
||||||
|
*/
|
||||||
|
Dyes(Item item) {
|
||||||
|
this.item = item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the dye for the item.
|
||||||
|
* @param item the item.
|
||||||
|
* @return the dye.
|
||||||
|
*/
|
||||||
|
public static Dyes forItem(Item item) {
|
||||||
|
for (Dyes d : values()) {
|
||||||
|
if (d.getItem().getId() == item.getId()) {
|
||||||
|
return d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the item.
|
||||||
|
* @return The item.
|
||||||
|
*/
|
||||||
|
public Item getItem() {
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
364
Server/src/main/content/data/EnchantedJewellery.kt
Normal file
364
Server/src/main/content/data/EnchantedJewellery.kt
Normal file
@ -0,0 +1,364 @@
|
|||||||
|
package content.data
|
||||||
|
|
||||||
|
import content.global.skill.magic.TeleportMethod
|
||||||
|
import content.global.skill.slayer.SlayerManager.Companion.getInstance
|
||||||
|
import content.global.skill.slayer.SlayerUtils
|
||||||
|
import core.ServerConstants
|
||||||
|
import core.api.*
|
||||||
|
import core.game.event.TeleportEvent
|
||||||
|
import core.game.interaction.QueueStrength
|
||||||
|
import core.game.node.entity.player.Player
|
||||||
|
import core.game.node.entity.player.link.TeleportManager
|
||||||
|
import core.game.node.item.Item
|
||||||
|
import core.game.system.task.Pulse
|
||||||
|
import core.game.world.map.Location
|
||||||
|
import core.game.world.update.flag.context.Animation
|
||||||
|
import core.game.world.update.flag.context.Graphics
|
||||||
|
import org.rs09.consts.Items
|
||||||
|
import core.game.world.GameWorld.Pulser
|
||||||
|
import org.rs09.consts.Sounds
|
||||||
|
import java.util.*
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an enchanted jewellery.
|
||||||
|
* @author Vexia, downthecrop, Player Name
|
||||||
|
*/
|
||||||
|
enum class EnchantedJewellery(
|
||||||
|
|
||||||
|
val options: Array<String>,
|
||||||
|
val locations: Array<Location>, crumble: Boolean, vararg val ids: Int) {
|
||||||
|
RING_OF_SLAYING(
|
||||||
|
arrayOf(
|
||||||
|
"Sumona in Pollnivneach.",
|
||||||
|
"Morytania Slayer Tower.",
|
||||||
|
"Rellekka Slayer Caves.",
|
||||||
|
"Nowhere. Give me a slayer update."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3361, 2994, 0),
|
||||||
|
Location.create(3428, 3535, 0),
|
||||||
|
Location.create(2792, 3615, 0),
|
||||||
|
),
|
||||||
|
true,
|
||||||
|
Items.RING_OF_SLAYING8_13281,
|
||||||
|
Items.RING_OF_SLAYING7_13282,
|
||||||
|
Items.RING_OF_SLAYING6_13283,
|
||||||
|
Items.RING_OF_SLAYING5_13284,
|
||||||
|
Items.RING_OF_SLAYING4_13285,
|
||||||
|
Items.RING_OF_SLAYING3_13286,
|
||||||
|
Items.RING_OF_SLAYING2_13287,
|
||||||
|
Items.RING_OF_SLAYING1_13288
|
||||||
|
),
|
||||||
|
|
||||||
|
RING_OF_DUELING(
|
||||||
|
arrayOf(
|
||||||
|
"Al Kharid Duel Arena.",
|
||||||
|
"Castle Wars Arena.",
|
||||||
|
"Fist of Guthix", "Nowhere."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3314, 3235, 0),
|
||||||
|
Location.create(2442, 3089, 0),
|
||||||
|
Location.create(1693, 5600, 0)
|
||||||
|
),
|
||||||
|
true,
|
||||||
|
Items.RING_OF_DUELLING8_2552,
|
||||||
|
Items.RING_OF_DUELLING7_2554,
|
||||||
|
Items.RING_OF_DUELLING6_2556,
|
||||||
|
Items.RING_OF_DUELLING5_2558,
|
||||||
|
Items.RING_OF_DUELLING4_2560,
|
||||||
|
Items.RING_OF_DUELLING3_2562,
|
||||||
|
Items.RING_OF_DUELLING2_2564,
|
||||||
|
Items.RING_OF_DUELLING1_2566
|
||||||
|
),
|
||||||
|
AMULET_OF_GLORY(
|
||||||
|
arrayOf(
|
||||||
|
"Edgeville.",
|
||||||
|
"Karamja.",
|
||||||
|
"Draynor Village.",
|
||||||
|
"Al-Kharid.",
|
||||||
|
"Nowhere."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3087, 3495, 0),
|
||||||
|
Location.create(2919, 3175, 0),
|
||||||
|
Location.create(3104, 3249, 0),
|
||||||
|
Location.create(3304, 3124, 0)
|
||||||
|
),
|
||||||
|
Items.AMULET_OF_GLORY4_1712,
|
||||||
|
Items.AMULET_OF_GLORY3_1710,
|
||||||
|
Items.AMULET_OF_GLORY2_1708,
|
||||||
|
Items.AMULET_OF_GLORY1_1706,
|
||||||
|
Items.AMULET_OF_GLORY_1704
|
||||||
|
),
|
||||||
|
AMULET_OF_GLORY_T(
|
||||||
|
AMULET_OF_GLORY.options,
|
||||||
|
AMULET_OF_GLORY.locations,
|
||||||
|
Items.AMULET_OF_GLORYT4_10354,
|
||||||
|
Items.AMULET_OF_GLORYT3_10356,
|
||||||
|
Items.AMULET_OF_GLORYT2_10358,
|
||||||
|
Items.AMULET_OF_GLORYT1_10360,
|
||||||
|
Items.AMULET_OF_GLORYT_10362
|
||||||
|
),
|
||||||
|
GAMES_NECKLACE(
|
||||||
|
arrayOf(
|
||||||
|
"Burthorpe Games Room.",
|
||||||
|
"Barbarian Outpost.",
|
||||||
|
"Clan Wars.",
|
||||||
|
"Wilderness Volcano.",
|
||||||
|
"Corporeal Beast."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(2899, 3563, 0),
|
||||||
|
Location.create(2520, 3571, 0),
|
||||||
|
Location.create(3266, 3686, 0),
|
||||||
|
Location.create(3179, 3685, 0),
|
||||||
|
Location.create(2885, 4372, 2)
|
||||||
|
),
|
||||||
|
true,
|
||||||
|
Items.GAMES_NECKLACE8_3853,
|
||||||
|
Items.GAMES_NECKLACE7_3855,
|
||||||
|
Items.GAMES_NECKLACE6_3857,
|
||||||
|
Items.GAMES_NECKLACE5_3859,
|
||||||
|
Items.GAMES_NECKLACE4_3861,
|
||||||
|
Items.GAMES_NECKLACE3_3863,
|
||||||
|
Items.GAMES_NECKLACE2_3865,
|
||||||
|
Items.GAMES_NECKLACE1_3867
|
||||||
|
),
|
||||||
|
DIGSITE_PENDANT(arrayOf<String>(),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3342, 3445, 0)
|
||||||
|
),
|
||||||
|
true,
|
||||||
|
Items.DIGSITE_PENDANT_5_11194,
|
||||||
|
Items.DIGSITE_PENDANT_4_11193,
|
||||||
|
Items.DIGSITE_PENDANT_3_11192,
|
||||||
|
Items.DIGSITE_PENDANT_2_11191,
|
||||||
|
Items.DIGSITE_PENDANT_1_11190
|
||||||
|
),
|
||||||
|
COMBAT_BRACELET(
|
||||||
|
arrayOf(
|
||||||
|
"Champions' Guild.",
|
||||||
|
"Monastery.",
|
||||||
|
"Ranging Guild.",
|
||||||
|
"Warriors' Guild.",
|
||||||
|
"Nowhere."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3191, 3365, 0),
|
||||||
|
Location.create(3052, 3472, 0),
|
||||||
|
Location.create(2657, 3439, 0),
|
||||||
|
Location.create(2878, 3546, 0)
|
||||||
|
),
|
||||||
|
Items.COMBAT_BRACELET4_11118,
|
||||||
|
Items.COMBAT_BRACELET3_11120,
|
||||||
|
Items.COMBAT_BRACELET2_11122,
|
||||||
|
Items.COMBAT_BRACELET1_11124,
|
||||||
|
Items.COMBAT_BRACELET_11126
|
||||||
|
),
|
||||||
|
SKILLS_NECKLACE(
|
||||||
|
arrayOf(
|
||||||
|
"Fishing Guild.",
|
||||||
|
"Mining Guild.",
|
||||||
|
"Crafting Guild.",
|
||||||
|
"Cooking Guild.",
|
||||||
|
"Nowhere."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(2611, 3392, 0),
|
||||||
|
Location.create(3016, 3338, 0),
|
||||||
|
Location.create(2933, 3290, 0),
|
||||||
|
Location.create(3143, 3442, 0)
|
||||||
|
),
|
||||||
|
Items.SKILLS_NECKLACE4_11105,
|
||||||
|
Items.SKILLS_NECKLACE3_11107,
|
||||||
|
Items.SKILLS_NECKLACE2_11109,
|
||||||
|
Items.SKILLS_NECKLACE1_11111,
|
||||||
|
Items.SKILLS_NECKLACE_11113
|
||||||
|
),
|
||||||
|
RING_OF_WEALTH(
|
||||||
|
arrayOf(
|
||||||
|
"Grand Exchange.",
|
||||||
|
"Nowhere."
|
||||||
|
),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(3163, 3464, 0)
|
||||||
|
),
|
||||||
|
Items.RING_OF_WEALTH4_14646,
|
||||||
|
Items.RING_OF_WEALTH3_14644,
|
||||||
|
Items.RING_OF_WEALTH2_14642,
|
||||||
|
Items.RING_OF_WEALTH1_14640,
|
||||||
|
Items.RING_OF_WEALTH_14638
|
||||||
|
),
|
||||||
|
RING_OF_LIFE(arrayOf<String>(),
|
||||||
|
arrayOf(
|
||||||
|
Location.create(ServerConstants.HOME_LOCATION)
|
||||||
|
),
|
||||||
|
true,
|
||||||
|
Items.RING_OF_LIFE_2570
|
||||||
|
);
|
||||||
|
|
||||||
|
val isCrumble: Boolean = crumble
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new `EnchantedJewelleryPlugin` `Object`.
|
||||||
|
* @param options the dialogue options.
|
||||||
|
* @param locations the teleport locations.
|
||||||
|
* @param ids the ordered item ids.
|
||||||
|
*/
|
||||||
|
constructor(options: Array<String>, locations: Array<Location>, vararg ids: Int) : this(options, locations, false, *ids)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method used when the player "Use"s the jewellery piece.
|
||||||
|
* @param player the player.
|
||||||
|
* @param item the used jewellery item.
|
||||||
|
* @param buttonID the button id.
|
||||||
|
* @param isEquipped If the player is operating.
|
||||||
|
*/
|
||||||
|
fun use(player: Player, item: Item, buttonID: Int, isEquipped: Boolean) {
|
||||||
|
if (buttonID > locations.size - 1) {
|
||||||
|
if (isSlayerRing(item)) {
|
||||||
|
slayerProgressDialogue(player)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
attemptTeleport(player, item, buttonID, isEquipped)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method used to actually teleport the player to the desired location.
|
||||||
|
* @param player the player.
|
||||||
|
* @param item the used jewellery item.
|
||||||
|
* @param buttonID the button id.
|
||||||
|
* @param isEquipped If the player is operating.
|
||||||
|
*/
|
||||||
|
fun attemptTeleport(player: Player, item: Item, buttonID: Int, isEquipped: Boolean): Boolean {
|
||||||
|
val itemIndex = getItemIndex(item)
|
||||||
|
val nextJewellery = Item(getNext(itemIndex))
|
||||||
|
if (!canTeleport(player, nextJewellery)) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
Pulser.submit(object : Pulse(0) {
|
||||||
|
private var count = 0
|
||||||
|
private var location = getLocation(buttonID)
|
||||||
|
override fun pulse(): Boolean {
|
||||||
|
when (count) {
|
||||||
|
0 -> {
|
||||||
|
lock(player,4)
|
||||||
|
visualize(player, ANIMATION, GRAPHICS)
|
||||||
|
playGlobalAudio(player.location, Sounds.TELEPORT_ALL_200)
|
||||||
|
player.impactHandler.disabledTicks = 4
|
||||||
|
closeInterface(player)
|
||||||
|
}
|
||||||
|
3 -> {
|
||||||
|
teleport(player,location)
|
||||||
|
resetAnimator(player)
|
||||||
|
if (isLastItemIndex(itemIndex)) {
|
||||||
|
if (isCrumble) crumbleJewellery(player, item, isEquipped)
|
||||||
|
} else {
|
||||||
|
replaceJewellery(player, item, nextJewellery, isEquipped)
|
||||||
|
}
|
||||||
|
unlock(player)
|
||||||
|
player.dispatch(TeleportEvent(TeleportManager.TeleportType.NORMAL, TeleportMethod.JEWELRY, item, location))
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
count += 1
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun replaceJewellery(player: Player, item: Item, nextJewellery: Item, isEquipped: Boolean) {
|
||||||
|
if (isEquipped) {
|
||||||
|
replaceSlot(player, item.slot, nextJewellery, item, Container.EQUIPMENT)
|
||||||
|
} else {
|
||||||
|
replaceSlot(player, item.slot, nextJewellery)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun crumbleJewellery(player: Player, item: Item, isEquipped: Boolean) {
|
||||||
|
if (isEquipped) {
|
||||||
|
removeItem(player, item, Container.EQUIPMENT)
|
||||||
|
} else {
|
||||||
|
removeItem(player, item)
|
||||||
|
}
|
||||||
|
if (isSlayerRing(item)) {
|
||||||
|
queueScript(player, 1, QueueStrength.SOFT) {
|
||||||
|
addItemOrDrop(player, Items.ENCHANTED_GEM_4155)
|
||||||
|
sendMessage(player, "Your Ring of Slaying reverts back into a regular enchanted gem.")
|
||||||
|
return@queueScript stopExecuting(player)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun isSlayerRing(item: Item): Boolean {
|
||||||
|
return (item.id in RING_OF_SLAYING.ids)
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun slayerProgressDialogue(player: Player) {
|
||||||
|
val slayerManager = getInstance(player)
|
||||||
|
if (!slayerManager.hasTask()) {
|
||||||
|
sendNPCDialogue(player, slayerManager.master!!.npc, "You need something new to hunt. Come and " +
|
||||||
|
"see me when you can and I'll give you a new task.", core.game.dialogue.FacialExpression.HALF_GUILTY)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
sendNPCDialogue(player, slayerManager.master!!.npc, "You're currently " +
|
||||||
|
"assigned to kill ${SlayerUtils.pluralise(getSlayerTaskName(player))} " +
|
||||||
|
"only ${getSlayerTaskKillsRemaining(player)} more to go.", core.game.dialogue.FacialExpression.FRIENDLY)
|
||||||
|
// Slayer tracker UI
|
||||||
|
setVarp(player, 2502, slayerManager.flags.taskFlags shr 4)
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun canTeleport(player: Player, item: Item): Boolean {
|
||||||
|
return player.zoneMonitor.teleport(1, item)
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun getNext(index: Int): Int {
|
||||||
|
val i = index + 1
|
||||||
|
if (i > ids.size - 1) {
|
||||||
|
return ids[ids.size - 1]
|
||||||
|
}
|
||||||
|
return ids[i]
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun getLocation(index: Int): Location {
|
||||||
|
if (index > locations.size - 1) {
|
||||||
|
return locations[locations.size - 1]
|
||||||
|
}
|
||||||
|
return locations[index]
|
||||||
|
}
|
||||||
|
|
||||||
|
fun getJewelleryName(item: Item): String {
|
||||||
|
return item.name.replace(""" ?\(t?[0-9]?\)""".toRegex(), "")
|
||||||
|
}
|
||||||
|
|
||||||
|
fun getJewelleryType(item: Item): String {
|
||||||
|
return when {
|
||||||
|
this == GAMES_NECKLACE -> "games necklace"
|
||||||
|
this == DIGSITE_PENDANT -> "necklace"
|
||||||
|
this == COMBAT_BRACELET -> "bracelet"
|
||||||
|
this == SKILLS_NECKLACE -> "necklace"
|
||||||
|
else -> item.name.split(" ")[0].lowercase(Locale.getDefault())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun isLastItemIndex(index: Int): Boolean = index == ids.size - 1
|
||||||
|
|
||||||
|
fun getItemIndex(item: Item): Int {
|
||||||
|
return ids.indexOf(item.id)
|
||||||
|
}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
private val ANIMATION = Animation(714)
|
||||||
|
private val GRAPHICS = Graphics(308, 100, 50)
|
||||||
|
val idMap = HashMap<Int, EnchantedJewellery>()
|
||||||
|
|
||||||
|
init {
|
||||||
|
values().forEach { entry ->
|
||||||
|
entry.ids.forEach { idMap[it] = entry }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
247
Server/src/main/content/data/GodBook.java
Normal file
247
Server/src/main/content/data/GodBook.java
Normal file
@ -0,0 +1,247 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
|
||||||
|
import static core.api.ContentAPIKt.hasRequirement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A god book.
|
||||||
|
* @author Vexia
|
||||||
|
*/
|
||||||
|
public enum GodBook {
|
||||||
|
HOLY_BOOK("Holy Book of Saradomin", new Item(3840), new Item(3839), new Item[] { new Item(1718) }, new Item(3827), new Item(3828), new Item(3829), new Item(3830)), BOOK_OF_BALANCE("Guthix's Book of Balance", new Item(3844), new Item(3843), new Item[] { new Item(1718), new Item(1724) }, new Item(3835), new Item(3836), new Item(3837), new Item(3838)), UNHOLY_BOOK("Unholy Book of Zamorak", new Item(3842), new Item(3841), new Item[] { new Item(1724) }, new Item(3831), new Item(3832), new Item(3833), new Item(3834));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The books name.
|
||||||
|
*/
|
||||||
|
private final String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The god book.
|
||||||
|
*/
|
||||||
|
private final Item book;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The damaged book.
|
||||||
|
*/
|
||||||
|
private final Item damagedBook;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The items the book can bless.
|
||||||
|
*/
|
||||||
|
private final Item[] blessItems;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The pages of items.
|
||||||
|
*/
|
||||||
|
private final Item[] pages;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code GodBook} {@code Object}
|
||||||
|
* @param book the book.
|
||||||
|
* @param damagedBook the damged book.
|
||||||
|
* @param name the name of the book.
|
||||||
|
* @param pages the pages.
|
||||||
|
*/
|
||||||
|
private GodBook(String name, Item book, Item damagedBook, Item[] blessedItems, Item... pages) {
|
||||||
|
this.book = book;
|
||||||
|
this.damagedBook = damagedBook;
|
||||||
|
this.name = name;
|
||||||
|
this.blessItems = blessedItems;
|
||||||
|
this.pages = pages;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the god book for the item.
|
||||||
|
* @param item the item.
|
||||||
|
* @param damaged Flagged for the damaged book.
|
||||||
|
* @return {@code GodBook} the god book.
|
||||||
|
*/
|
||||||
|
public static GodBook forItem(Item item, boolean damaged) {
|
||||||
|
for (GodBook book : values()) {
|
||||||
|
if ((!damaged ? book.getBook().getId() : book.getDamagedBook().getId()) == item.getId()) {
|
||||||
|
return book;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the player has this god book.
|
||||||
|
* @param player the player.
|
||||||
|
* @param both if we are checking for the damaged/good.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean hasGodBook(Player player, boolean both) {
|
||||||
|
return player.getInventory().containsItems(both ? new Item[] { book, damagedBook } : new Item[] { book });
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a good book based on the page id.
|
||||||
|
* @param page the page.
|
||||||
|
* @return the respective god book.
|
||||||
|
*/
|
||||||
|
public static GodBook forPage(Item page) {
|
||||||
|
for (GodBook book : values()) {
|
||||||
|
for (Item i : book.getPages()) {
|
||||||
|
if (i.getId() == page.getId()) {
|
||||||
|
return book;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inserts a page into the book.
|
||||||
|
* @param player the player.
|
||||||
|
* @param book the book.
|
||||||
|
* @param page the page.
|
||||||
|
*/
|
||||||
|
public void insertPage(Player player, Item book, Item page) {
|
||||||
|
if (!hasRequirement(player, Quests.HORROR_FROM_THE_DEEP))
|
||||||
|
return;
|
||||||
|
if (hasPage(player, book, page)) {
|
||||||
|
player.sendMessage("The book already has that page.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (player.getInventory().remove(new Item(page.getId(), 1))) {
|
||||||
|
setPageHash(player, book, getPageIndex(page));
|
||||||
|
player.sendMessage("You add the page to the book...");
|
||||||
|
if (isComplete(player, book)) {
|
||||||
|
player.getSavedData().getGlobalData().setGodPages(new boolean[4]);
|
||||||
|
player.getSavedData().getGlobalData().setGodBook(-1);
|
||||||
|
player.getInventory().replace(this.book, book.getSlot());
|
||||||
|
player.getSavedData().getGlobalData().setGodBook(this);
|
||||||
|
player.sendMessage("The book is now complete!");
|
||||||
|
String message = this == UNHOLY_BOOK ? "unholy symbols" : this == HOLY_BOOK ? "holy symbols" : "unblessed holy symbols";
|
||||||
|
player.sendMessage("You can now use it to bless " + (message) + "!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if this item is a page of the book.
|
||||||
|
* @param asItem the item.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean isPage(Item asItem) {
|
||||||
|
for (Item item : pages) {
|
||||||
|
if (item.getId() == asItem.getId()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if a book is complete.
|
||||||
|
* @param book the book.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean isComplete(Player player, Item book) {
|
||||||
|
for (int i = 0; i < 4; i++) {
|
||||||
|
if (!hasPage(player, book, i + 1)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if there is a page in a book.
|
||||||
|
* @param book the book.
|
||||||
|
* @param page the page.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean hasPage(Player player, Item book, Item page) {
|
||||||
|
return hasPage(player, book, getPageIndex(page));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets a page hash.
|
||||||
|
* @param book the book.
|
||||||
|
* @param pageId the page Id.
|
||||||
|
*/
|
||||||
|
public void setPageHash(Player player, Item book, int pageId) {
|
||||||
|
// int hash = getHash(book);
|
||||||
|
// hash |= hash | (1 << pageId);
|
||||||
|
// book.setCharge(1000 + hash);
|
||||||
|
player.getSavedData().getGlobalData().getGodPages()[pageId - 1] = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the book has a page.
|
||||||
|
* @param book the book.
|
||||||
|
* @param pageId the id of the page.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean hasPage(Player player, Item book, int pageId) {
|
||||||
|
// return (getHash(book) & (1 << pageId)) != 0;
|
||||||
|
return player.getSavedData().getGlobalData().getGodPages()[pageId - 1];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the hash.
|
||||||
|
* @param book the book.
|
||||||
|
* @return the hash.
|
||||||
|
*/
|
||||||
|
public int getHash(Item book) {
|
||||||
|
return book.getCharge() - 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the page index.
|
||||||
|
* @param page the page.
|
||||||
|
* @return the index.
|
||||||
|
*/
|
||||||
|
public int getPageIndex(Item page) {
|
||||||
|
for (int i = 0; i < pages.length; i++) {
|
||||||
|
if (pages[i].getId() == page.getId()) {
|
||||||
|
return i + 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the name of the god book.
|
||||||
|
* @return the name.
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the book.
|
||||||
|
* @return the book
|
||||||
|
*/
|
||||||
|
public Item getBook() {
|
||||||
|
return book;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the damagedBook.
|
||||||
|
* @return the damagedBook
|
||||||
|
*/
|
||||||
|
public Item getDamagedBook() {
|
||||||
|
return damagedBook;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the pages.
|
||||||
|
* @return the pages
|
||||||
|
*/
|
||||||
|
public Item[] getPages() {
|
||||||
|
return pages;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the blessItem.
|
||||||
|
* @return the blessItem
|
||||||
|
*/
|
||||||
|
public Item[] getBlessItem() {
|
||||||
|
return blessItems;
|
||||||
|
}
|
||||||
|
}
|
235
Server/src/main/content/data/GodType.java
Normal file
235
Server/src/main/content/data/GodType.java
Normal file
@ -0,0 +1,235 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.dialogue.DialogueAction;
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
import core.game.node.item.GroundItem;
|
||||||
|
import core.game.node.item.GroundItemManager;
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
import core.game.node.scenery.Scenery;
|
||||||
|
import core.game.system.task.Pulse;
|
||||||
|
import core.game.world.GameWorld;
|
||||||
|
import core.game.world.map.Location;
|
||||||
|
import core.game.world.update.flag.context.Animation;
|
||||||
|
import core.tools.StringUtils;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A god type.
|
||||||
|
* @author Vexia
|
||||||
|
*/
|
||||||
|
public enum GodType {
|
||||||
|
SARADOMIN(new Item(2412), new Item(2415), 2873, 913, "The cape disappears in a flash of light as it touches the ground."), GUTHIX(new Item(2413), new Item(2416), 2875, 914, "The cape disintegrates as it touches the earth."), ZAMORAK(new Item(2414), new Item(2417), 2874, 912, "The cape ignites and burns up as it touches the ground.");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The cape.
|
||||||
|
*/
|
||||||
|
private final Item cape;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The staff.
|
||||||
|
*/
|
||||||
|
private final Item staff;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The statue id.
|
||||||
|
*/
|
||||||
|
private final int statueId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The npc id.
|
||||||
|
*/
|
||||||
|
private final int npcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The drop message.
|
||||||
|
*/
|
||||||
|
private final String dropMessage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code GodCape} {@code Object}.
|
||||||
|
* @param cape the cape.
|
||||||
|
* @param staff the staff.
|
||||||
|
* @param statueId the id.
|
||||||
|
*/
|
||||||
|
private GodType(Item cape, Item staff, int statueId, int npcId, String dropMessage) {
|
||||||
|
this.cape = cape;
|
||||||
|
this.staff = staff;
|
||||||
|
this.statueId = statueId;
|
||||||
|
this.npcId = npcId;
|
||||||
|
this.dropMessage = dropMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prays at a statue.
|
||||||
|
* @param player the player.
|
||||||
|
* @param statue the statue.
|
||||||
|
*/
|
||||||
|
public void pray(final Player player, final Scenery statue) {
|
||||||
|
if (hasAny(player)) {
|
||||||
|
player.lock(3);
|
||||||
|
player.animate(Animation.create(645));
|
||||||
|
player.sendMessages("You kneel and begin to chant to " + getName() + "...", "...but there is no response.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
player.getDialogueInterpreter().sendDialogue("You kneel and begin to chant to " + getName() + "...");
|
||||||
|
player.getDialogueInterpreter().addAction(new DialogueAction() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handle(final Player player, int buttonId) {
|
||||||
|
player.lock();
|
||||||
|
player.animate(Animation.create(645));
|
||||||
|
GameWorld.getPulser().submit(new Pulse(3, player) {
|
||||||
|
@Override
|
||||||
|
public boolean pulse() {
|
||||||
|
Location loc = statue.getLocation().transform(0, -1, 0);
|
||||||
|
GroundItem g = GroundItemManager.get(cape.getId(), loc, player);
|
||||||
|
if (g == null) {
|
||||||
|
GroundItemManager.create(cape, loc, player);
|
||||||
|
}
|
||||||
|
player.getPacketDispatch().sendPositionedGraphic(86, 0, 0, loc);
|
||||||
|
player.unlock();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the god type by the statue id.
|
||||||
|
* @param object the object.
|
||||||
|
* @return the type.
|
||||||
|
*/
|
||||||
|
public static GodType forObject(int object) {
|
||||||
|
for (GodType type : values()) {
|
||||||
|
if (type.getStatueId() == object) {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if they have a god cape & which one.
|
||||||
|
* @param player the player.
|
||||||
|
* @param invyOnly if invy check only.
|
||||||
|
* @return {@code GodCape} the cape.
|
||||||
|
*/
|
||||||
|
public static GodType getCape(Player player, boolean invyOnly) {
|
||||||
|
for (GodType cape : values()) {
|
||||||
|
if (invyOnly ? player.getInventory().containsItems(cape.getCape()) : (player.getEquipment().containsItem(cape.getCape()) || player.getInventory().containsItems(cape.getCape()))) {
|
||||||
|
return cape;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if they have a god cape.
|
||||||
|
* @param player the player.
|
||||||
|
* @return the cape.
|
||||||
|
*/
|
||||||
|
public static GodType getCape(Player player) {
|
||||||
|
return getCape(player, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a god cape type by the id.
|
||||||
|
* @param cape the cape.
|
||||||
|
* @return the cape.
|
||||||
|
*/
|
||||||
|
public static GodType forCape(final Item cape) {
|
||||||
|
for (GodType g : values()) {
|
||||||
|
if (g.getCape().getId() == cape.getId()) {
|
||||||
|
return g;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the player is friendly.
|
||||||
|
* @param player the player.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public boolean isFriendly(Player player) {
|
||||||
|
return player.getEquipment().containsItem(cape);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the mage type.
|
||||||
|
* @param id the id.
|
||||||
|
* @return te type.
|
||||||
|
*/
|
||||||
|
public static GodType forId(int id) {
|
||||||
|
for (GodType type : values()) {
|
||||||
|
if (type.getNpcId() == id) {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the player has any capes.
|
||||||
|
* @param player the player.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public static boolean hasAny(Player player) {
|
||||||
|
for (GodType t : values()) {
|
||||||
|
if (player.hasItem(t.getCape())) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the cape.
|
||||||
|
* @return The cape.
|
||||||
|
*/
|
||||||
|
public Item getCape() {
|
||||||
|
return cape;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the staff.
|
||||||
|
* @return The staff.
|
||||||
|
*/
|
||||||
|
public Item getStaff() {
|
||||||
|
return staff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the statueId.
|
||||||
|
* @return The statueId.
|
||||||
|
*/
|
||||||
|
public int getStatueId() {
|
||||||
|
return statueId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the dropMessage.
|
||||||
|
* @return The dropMessage.
|
||||||
|
*/
|
||||||
|
public String getDropMessage() {
|
||||||
|
return dropMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the npcId.
|
||||||
|
* @return The npcId.
|
||||||
|
*/
|
||||||
|
public int getNpcId() {
|
||||||
|
return npcId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the name.
|
||||||
|
* @return the name.
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return StringUtils.formatDisplayName(name().toLowerCase());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
113
Server/src/main/content/data/Lamps.java
Normal file
113
Server/src/main/content/data/Lamps.java
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an experience lamp.
|
||||||
|
* @author Vexia
|
||||||
|
*/
|
||||||
|
public enum Lamps {
|
||||||
|
GENIE_LAMP(new Item(2528), 10),
|
||||||
|
STRONGHOLD_LAMP(new Item(4447), 500),
|
||||||
|
|
||||||
|
K_ACHIEVEMENT_1(new Item(11137), 1000, 30),
|
||||||
|
K_ACHIEVEMENT_2(new Item(11139), 5000, 40),
|
||||||
|
K_ACHIEVEMENT_3(new Item(11141), 10000, 50),
|
||||||
|
|
||||||
|
V_ACHIEVEMENT_1(new Item(11753), 1000, 30),
|
||||||
|
V_ACHIEVEMENT_2(new Item(11754), 5000, 40),
|
||||||
|
V_ACHIEVEMENT_3(new Item(11755), 10000, 50),
|
||||||
|
|
||||||
|
L_ACHIEVEMENT_1(new Item(11185), 500, 1),
|
||||||
|
L_ACHIEVEMENT_2(new Item(11186), 1000, 30),
|
||||||
|
L_ACHIEVEMENT_3(new Item(11187), 1500, 35),
|
||||||
|
|
||||||
|
MYSTERIOUS_LAMP(new Item(13227), 10000, 30),
|
||||||
|
|
||||||
|
FALLY_ACHIEVEMENT_1(new Item(14580), 1000, 30),
|
||||||
|
FALLY_ACHIEVEMENT_2(new Item(14581), 5000, 40),
|
||||||
|
FALLY_ACHIEVEMENT_3(new Item(14582), 10000, 50),
|
||||||
|
|
||||||
|
FREM_ACHIEVEMENT_1(new Item(14574), 5000, 30),
|
||||||
|
FREM_ACHIEVEMENT_2(new Item(14575), 10000, 40),
|
||||||
|
FREM_ACHIEVEMENT_3(new Item(14576), 15000, 50),
|
||||||
|
|
||||||
|
SEERS_ACHIEVEMENT_1(new Item(14633), 1000, 30),
|
||||||
|
SEERS_ACHIEVEMENT_2(new Item(14634), 5000, 40),
|
||||||
|
SEERS_ACHIEVEMENT_3(new Item(14635), 10000, 50);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The item id.
|
||||||
|
*/
|
||||||
|
private final Item item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The experience gained.
|
||||||
|
*/
|
||||||
|
private final int experience;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The level requirement.
|
||||||
|
*/
|
||||||
|
private final int levelRequirement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code Lamps} {@code Object}
|
||||||
|
* @param item the item.
|
||||||
|
* @param experience the exp.
|
||||||
|
* @param levelRequirement the level requirement to meet.
|
||||||
|
*/
|
||||||
|
Lamps(Item item, int experience, int levelRequirement) {
|
||||||
|
this.item = item;
|
||||||
|
this.experience = experience;
|
||||||
|
this.levelRequirement = levelRequirement;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code Lamps} {@code Object}
|
||||||
|
* @param item the item.
|
||||||
|
* @param experience the exp.
|
||||||
|
*/
|
||||||
|
Lamps(Item item, int experience) {
|
||||||
|
this(item, experience, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the lamp by the item.
|
||||||
|
* @param item the item.
|
||||||
|
* @return the lamp.
|
||||||
|
*/
|
||||||
|
public static Lamps forItem(Item item) {
|
||||||
|
for (Lamps l : values()) {
|
||||||
|
if (l.getItem().getId() == item.getId()) {
|
||||||
|
return l;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the item.
|
||||||
|
* @return the item
|
||||||
|
*/
|
||||||
|
public Item getItem() {
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the mod.
|
||||||
|
* @return the mod
|
||||||
|
*/
|
||||||
|
public int getExp() {
|
||||||
|
return experience;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the levelRequirement.
|
||||||
|
* @return the levelRequirement
|
||||||
|
*/
|
||||||
|
public int getLevelRequirement() {
|
||||||
|
return levelRequirement;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
202
Server/src/main/content/data/LightSource.java
Normal file
202
Server/src/main/content/data/LightSource.java
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
import org.rs09.consts.Components;
|
||||||
|
|
||||||
|
import static org.rs09.consts.Items.*;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a light source.
|
||||||
|
* @author Vexia
|
||||||
|
* @author Emperor
|
||||||
|
*/
|
||||||
|
public enum LightSource {
|
||||||
|
CANDLE(1, new Item(CANDLE_36, 1), new Item(LIT_CANDLE_33, 1), true, Components.DARKNESS_MEDIUM_98),
|
||||||
|
BLACK_CANDLE(1, new Item(BLACK_CANDLE_38, 1), new Item(LIT_BLACK_CANDLE_32, 1), true, Components.DARKNESS_MEDIUM_98),
|
||||||
|
TORCH(1, new Item(UNLIT_TORCH_596, 1), new Item(LIT_TORCH_594, 1), true, Components.DARKNESS_MEDIUM_98),
|
||||||
|
CANDLE_LANTERN(4, new Item(CANDLE_LANTERN_4527, 1), new Item(CANDLE_LANTERN_4531, 1), false, Components.DARKNESS_MEDIUM_98),
|
||||||
|
OIL_LAMP(12, new Item(OIL_LAMP_4522, 1), new Item(OIL_LAMP_4524, 1), true, Components.DARKNESS_LIGHT_97),
|
||||||
|
OIL_LANTERN(26, new Item(OIL_LANTERN_4535, 1), new Item(OIL_LANTERN_4539, 1), false, Components.DARKNESS_LIGHT_97),
|
||||||
|
BULLSEYE_LANTERN(49, new Item(BULLSEYE_LANTERN_4548, 1), new Item(BULLSEYE_LANTERN_4550, 1), false, -1),
|
||||||
|
SAPPHIRE_LANTERN(49, new Item(SAPPHIRE_LANTERN_4701, 1), new Item(SAPPHIRE_LANTERN_4702, 1), false, -1),
|
||||||
|
EMERALD_LANTERN(49, new Item(EMERALD_LANTERN_9064, 1), new Item(EMERALD_LANTERN_9065, 1), false, -1),
|
||||||
|
MINING_HELMET(65, new Item(MINING_HELMET_5014, 1), new Item(MINING_HELMET_5013, 1), false, Components.DARKNESS_LIGHT_97);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the level required.
|
||||||
|
*/
|
||||||
|
private int level;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the raw item.
|
||||||
|
*/
|
||||||
|
private Item raw;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the product.
|
||||||
|
*/
|
||||||
|
private Item product;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the light source is open (eg. candles, torches, ...).
|
||||||
|
*/
|
||||||
|
private final boolean open;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The interface id.
|
||||||
|
*/
|
||||||
|
private final int interfaceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code LightSource} {@code Object}.
|
||||||
|
* @param level the level.
|
||||||
|
* @param raw the raw.
|
||||||
|
* @param product the product.
|
||||||
|
* @param open If it's an open light source.
|
||||||
|
* @param interfaceId The overlay interface id to display.
|
||||||
|
*/
|
||||||
|
LightSource(int level, Item raw, Item product, boolean open, int interfaceId) {
|
||||||
|
this.level = level;
|
||||||
|
this.raw = raw;
|
||||||
|
this.product = product;
|
||||||
|
this.open = open;
|
||||||
|
this.interfaceId = interfaceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if the player has a lit light source.
|
||||||
|
* @param player The player.
|
||||||
|
* @return {@code True} if so.
|
||||||
|
*/
|
||||||
|
public static boolean hasActiveLightSource(Player player) {
|
||||||
|
return getActiveLightSource(player) != null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the light source used by the player.
|
||||||
|
* @param player The player.
|
||||||
|
* @return The light source object, or null if the player didn't have any
|
||||||
|
* light source.
|
||||||
|
*/
|
||||||
|
public static LightSource getActiveLightSource(Player player) {
|
||||||
|
LightSource source;
|
||||||
|
for (Item item : player.getInventory().toArray()) {
|
||||||
|
if (item != null && (source = forProductId(item.getId())) != null) {
|
||||||
|
return source;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (Item item : player.getEquipment().toArray()) {
|
||||||
|
if (item != null && (source = forProductId(item.getId())) != null) {
|
||||||
|
return source;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the light source by the id.
|
||||||
|
* @param id the id.
|
||||||
|
* @return the source.
|
||||||
|
*/
|
||||||
|
public static LightSource forId(int id) {
|
||||||
|
for (LightSource light : LightSource.values()) {
|
||||||
|
if (light.raw.getId() == id) {
|
||||||
|
return light;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the light souce by the product id.
|
||||||
|
* @param id the id.
|
||||||
|
* @return the light source.
|
||||||
|
*/
|
||||||
|
public static LightSource forProductId(int id) {
|
||||||
|
for (LightSource light : LightSource.values()) {
|
||||||
|
if (light.product.getId() == id) {
|
||||||
|
return light;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the strength of the light source (1=dim, 2=medium, 3=bright).
|
||||||
|
* @return The strength.
|
||||||
|
*/
|
||||||
|
public int getStrength() {
|
||||||
|
switch (interfaceId) {
|
||||||
|
case Components.DARKNESS_LIGHT_97:
|
||||||
|
return 1;
|
||||||
|
case Components.DARKNESS_MEDIUM_98:
|
||||||
|
return 2;
|
||||||
|
case -1:
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the name of the light source.
|
||||||
|
* @return The name.
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return super.name().toLowerCase().replaceAll("_", " ");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the raw item.
|
||||||
|
* @return the raw.
|
||||||
|
*/
|
||||||
|
public Item getRaw() {
|
||||||
|
return raw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the product.
|
||||||
|
* @return the product.
|
||||||
|
*/
|
||||||
|
public Item getProduct() {
|
||||||
|
return product;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the level.
|
||||||
|
* @return the level.
|
||||||
|
*/
|
||||||
|
public int getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the open.
|
||||||
|
* @return The open.
|
||||||
|
*/
|
||||||
|
public boolean isOpen() {
|
||||||
|
return open;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the interfaceId.
|
||||||
|
* @return The interfaceId.
|
||||||
|
*/
|
||||||
|
public int getInterfaceId() {
|
||||||
|
return interfaceId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the ids of the raw items.
|
||||||
|
* @return The raw item ids.
|
||||||
|
*/
|
||||||
|
public static int[] getRawIds() {
|
||||||
|
int array[] = new int[LightSource.values().length];
|
||||||
|
for (int i = 0; i < LightSource.values().length -1; i++) {
|
||||||
|
array[i] = LightSource.values()[i].getRaw().getId();
|
||||||
|
}
|
||||||
|
return array;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
51
Server/src/main/content/data/Meat.kt
Normal file
51
Server/src/main/content/data/Meat.kt
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
package content.data
|
||||||
|
|
||||||
|
enum class MeatState {
|
||||||
|
INEDIBLE_RAW,
|
||||||
|
INEDIBLE_BURNT,
|
||||||
|
INEDIBLE_SPECIAL, // could be a quest item
|
||||||
|
EDIBLE_COOKED,
|
||||||
|
}
|
||||||
|
|
||||||
|
enum class Meat(val id: Int, val state: MeatState) {
|
||||||
|
ENCHANTED_BEEF(522, MeatState.INEDIBLE_SPECIAL),
|
||||||
|
ENCHANTED_RAT_MEAT(523, MeatState.INEDIBLE_SPECIAL),
|
||||||
|
ENCHANTED_BEAR_MEAT(524, MeatState.INEDIBLE_SPECIAL),
|
||||||
|
ENCHANTED_CHICKEN(525, MeatState.INEDIBLE_SPECIAL),
|
||||||
|
RAW_UGTHANKI_MEAT(1859, MeatState.INEDIBLE_RAW),
|
||||||
|
UGTHANKI_MEAT(1861, MeatState.EDIBLE_COOKED),
|
||||||
|
RAW_BEEF(2132, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_RAT_MEAT(2134, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_BEAR_MEAT(2136, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_CHICKEN(2138, MeatState.INEDIBLE_RAW),
|
||||||
|
COOKED_CHICKEN(2140, MeatState.EDIBLE_COOKED),
|
||||||
|
BURNT_CHICKEN(2140, MeatState.INEDIBLE_BURNT),
|
||||||
|
COOKED_MEAT(2142, MeatState.EDIBLE_COOKED),
|
||||||
|
BURNT_MEAT(2146, MeatState.INEDIBLE_BURNT),
|
||||||
|
THIN_SNAIL_MEAT(3369, MeatState.EDIBLE_COOKED),
|
||||||
|
LEAN_SNAIL_MEAT(3371, MeatState.EDIBLE_COOKED),
|
||||||
|
FAT_SNAIL_MEAT(3373, MeatState.EDIBLE_COOKED),
|
||||||
|
RAW_BEEF_UNDEAD(4287, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_CHICKEN_UNDEAD(4289, MeatState.INEDIBLE_RAW),
|
||||||
|
COOKED_CHICKEN_UNDEAD(4291, MeatState.EDIBLE_COOKED),
|
||||||
|
COOKED_MEAT_UNDEAD(4293, MeatState.EDIBLE_COOKED),
|
||||||
|
RAW_CRAB_MEAT(7518, MeatState.INEDIBLE_RAW),
|
||||||
|
BURNT_CRAB_MEAT(7520, MeatState.INEDIBLE_BURNT),
|
||||||
|
COOKED_CRAB_MEAT_5(7521, MeatState.EDIBLE_COOKED),
|
||||||
|
COOKED_CRAB_MEAT_4(7523, MeatState.EDIBLE_COOKED),
|
||||||
|
COOKED_CRAB_MEAT_3(7524, MeatState.EDIBLE_COOKED),
|
||||||
|
COOKED_CRAB_MEAT_2(7525, MeatState.EDIBLE_COOKED),
|
||||||
|
COOKED_CRAB_MEAT_1(7526, MeatState.EDIBLE_COOKED),
|
||||||
|
GROUND_CRAB_MEAT(7527, MeatState.INEDIBLE_RAW),
|
||||||
|
LOCUST_MEAT(9052, MeatState.EDIBLE_COOKED),
|
||||||
|
RAW_BIRD_MEAT(9978, MeatState.INEDIBLE_RAW),
|
||||||
|
ROAST_BIRD_MEAT(9980, MeatState.EDIBLE_COOKED),
|
||||||
|
BURNT_BIRD_MEAT(9982, MeatState.INEDIBLE_BURNT),
|
||||||
|
SKEWERED_BIRD_MEAT(9982, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_BEAST_MEAT(9986, MeatState.INEDIBLE_RAW),
|
||||||
|
ROAST_BEAST_MEAT(9988, MeatState.EDIBLE_COOKED),
|
||||||
|
BURNT_BEAST_MEAT(9990, MeatState.INEDIBLE_BURNT),
|
||||||
|
RAW_YAK_MEAT(10816, MeatState.INEDIBLE_RAW),
|
||||||
|
RAW_PAWYA_MEAT(12535, MeatState.INEDIBLE_RAW),
|
||||||
|
ENCHANTED_PAWYA_MEAT(12546, MeatState.INEDIBLE_SPECIAL);
|
||||||
|
}
|
158
Server/src/main/content/data/Quests.kt
Normal file
158
Server/src/main/content/data/Quests.kt
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
package content.data
|
||||||
|
|
||||||
|
enum class Quests(val questName: String) {
|
||||||
|
MYTHS_OF_THE_WHITE_LANDS("Myths of the White Lands"),
|
||||||
|
BLACK_KNIGHTS_FORTRESS("Black Knights' Fortress"),
|
||||||
|
COOKS_ASSISTANT("Cook's Assistant"),
|
||||||
|
DEMON_SLAYER("Demon Slayer"),
|
||||||
|
DORICS_QUEST("Doric's Quest"),
|
||||||
|
DRAGON_SLAYER("Dragon Slayer"),
|
||||||
|
ERNEST_THE_CHICKEN("Ernest the Chicken"),
|
||||||
|
GOBLIN_DIPLOMACY("Goblin Diplomacy"),
|
||||||
|
IMP_CATCHER("Imp Catcher"),
|
||||||
|
THE_KNIGHTS_SWORD("The Knight's Sword"),
|
||||||
|
PIRATES_TREASURE("Pirate's Treasure"),
|
||||||
|
PRINCE_ALI_RESCUE("Prince Ali Rescue"),
|
||||||
|
THE_RESTLESS_GHOST("The Restless Ghost"),
|
||||||
|
ROMEO_JULIET("Romeo & Juliet"),
|
||||||
|
RUNE_MYSTERIES("Rune Mysteries"),
|
||||||
|
SHEEP_SHEARER("Sheep Shearer"),
|
||||||
|
SHIELD_OF_ARRAV("Shield of Arrav"),
|
||||||
|
VAMPIRE_SLAYER("Vampire Slayer"),
|
||||||
|
WITCHS_POTION("Witch's Potion"),
|
||||||
|
ANIMAL_MAGNETISM("Animal Magnetism"),
|
||||||
|
BETWEEN_A_ROCK("Between a Rock..."),
|
||||||
|
BIG_CHOMPY_BIRD_HUNTING("Big Chompy Bird Hunting"),
|
||||||
|
BIOHAZARD("Biohazard"),
|
||||||
|
CABIN_FEVER("Cabin Fever"),
|
||||||
|
CLOCK_TOWER("Clock Tower"),
|
||||||
|
CONTACT("Contact!"),
|
||||||
|
ZOGRE_FLESH_EATERS("Zogre Flesh Eaters"),
|
||||||
|
CREATURE_OF_FENKENSTRAIN("Creature of Fenkenstrain"),
|
||||||
|
DARKNESS_OF_HALLOWVALE("Darkness of Hallowvale"),
|
||||||
|
DEATH_TO_THE_DORGESHUUN("Death to the Dorgeshuun"),
|
||||||
|
DEATH_PLATEAU("Death Plateau"),
|
||||||
|
DESERT_TREASURE("Desert Treasure"),
|
||||||
|
DEVIOUS_MINDS("Devious Minds"),
|
||||||
|
THE_DIG_SITE("The Dig Site"),
|
||||||
|
DRUIDIC_RITUAL("Druidic Ritual"),
|
||||||
|
DWARF_CANNON("Dwarf Cannon"),
|
||||||
|
EADGARS_RUSE("Eadgar's Ruse"),
|
||||||
|
EAGLES_PEAK("Eagles' Peak"),
|
||||||
|
ELEMENTAL_WORKSHOP_I("Elemental Workshop I"),
|
||||||
|
ELEMENTAL_WORKSHOP_II("Elemental Workshop II"),
|
||||||
|
ENAKHRAS_LAMENT("Enakhra's Lament"),
|
||||||
|
ENLIGHTENED_JOURNEY("Enlightened Journey"),
|
||||||
|
THE_EYES_OF_GLOUPHRIE("The Eyes of Glouphrie"),
|
||||||
|
FAIRYTALE_I_GROWING_PAINS("Fairytale I - Growing Pains"),
|
||||||
|
FAIRYTALE_II_CURE_A_QUEEN("Fairytale II - Cure a Queen"),
|
||||||
|
FAMILY_CREST("Family Crest"),
|
||||||
|
THE_FEUD("The Feud"),
|
||||||
|
FIGHT_ARENA("Fight Arena"),
|
||||||
|
FISHING_CONTEST("Fishing Contest"),
|
||||||
|
FORGETTABLE_TALE("Forgettable Tale..."),
|
||||||
|
THE_FREMENNIK_TRIALS("The Fremennik Trials"),
|
||||||
|
WATERFALL_QUEST("Waterfall Quest"),
|
||||||
|
GARDEN_OF_TRANQUILITY("Garden of Tranquility"),
|
||||||
|
GERTRUDES_CAT("Gertrude's Cat"),
|
||||||
|
GHOSTS_AHOY("Ghosts Ahoy"),
|
||||||
|
THE_GIANT_DWARF("The Giant Dwarf"),
|
||||||
|
THE_GOLEM("The Golem"),
|
||||||
|
THE_GRAND_TREE("The Grand Tree"),
|
||||||
|
THE_HAND_IN_THE_SAND("The Hand in the Sand"),
|
||||||
|
HAUNTED_MINE("Haunted Mine"),
|
||||||
|
HAZEEL_CULT("Hazeel Cult"),
|
||||||
|
HEROES_QUEST("Heroes' Quest"),
|
||||||
|
HOLY_GRAIL("Holy Grail"),
|
||||||
|
HORROR_FROM_THE_DEEP("Horror from the Deep"),
|
||||||
|
ICTHLARINS_LITTLE_HELPER("Icthlarin's Little Helper"),
|
||||||
|
IN_AID_OF_THE_MYREQUE("In Aid of the Myreque"),
|
||||||
|
IN_SEARCH_OF_THE_MYREQUE("In Search of the Myreque"),
|
||||||
|
JUNGLE_POTION("Jungle Potion"),
|
||||||
|
LEGENDS_QUEST("Legend's Quest"),
|
||||||
|
LOST_CITY("Lost City"),
|
||||||
|
THE_LOST_TRIBE("The Lost Tribe"),
|
||||||
|
LUNAR_DIPLOMACY("Lunar Diplomacy"),
|
||||||
|
MAKING_HISTORY("Making History"),
|
||||||
|
MERLINS_CRYSTAL("Merlin's Crystal"),
|
||||||
|
MONKEY_MADNESS("Monkey Madness"),
|
||||||
|
MONKS_FRIEND("Monk's Friend"),
|
||||||
|
MOUNTAIN_DAUGHTER("Mountain Daughter"),
|
||||||
|
MOURNINGS_END_PART_I("Mourning's End Part I"),
|
||||||
|
MOURNINGS_END_PART_II("Mourning's End Part II"),
|
||||||
|
MURDER_MYSTERY("Murder Mystery"),
|
||||||
|
MY_ARMS_BIG_ADVENTURE("My Arm's Big Adventure"),
|
||||||
|
NATURE_SPIRIT("Nature Spirit"),
|
||||||
|
OBSERVATORY_QUEST("Observatory Quest"),
|
||||||
|
ONE_SMALL_FAVOUR("One Small Favour"),
|
||||||
|
PLAGUE_CITY("Plague City"),
|
||||||
|
PRIEST_IN_PERIL("Priest in Peril"),
|
||||||
|
RAG_AND_BONE_MAN("Rag and Bone Man"),
|
||||||
|
RATCATCHERS("Ratcatchers"),
|
||||||
|
RECIPE_FOR_DISASTER("Recipe for Disaster"),
|
||||||
|
RECRUITMENT_DRIVE("Recruitment Drive"),
|
||||||
|
REGICIDE("Regicide"),
|
||||||
|
ROVING_ELVES("Roving Elves"),
|
||||||
|
ROYAL_TROUBLE("Royal Trouble"),
|
||||||
|
RUM_DEAL("Rum Deal"),
|
||||||
|
SCORPION_CATCHER("Scorpion Catcher"),
|
||||||
|
SEA_SLUG("Sea Slug"),
|
||||||
|
THE_SLUG_MENACE("The Slug Menace"),
|
||||||
|
SHADES_OF_MORTTON("Shades of Mort'ton"),
|
||||||
|
SHADOW_OF_THE_STORM("Shadow of the Storm"),
|
||||||
|
SHEEP_HERDER("Sheep Herder"),
|
||||||
|
SHILO_VILLAGE("Shilo Village"),
|
||||||
|
A_SOULS_BANE("A Soul's Bane"),
|
||||||
|
SPIRITS_OF_THE_ELID("Spirits of the Elid"),
|
||||||
|
SWAN_SONG("Swan Song"),
|
||||||
|
TAI_BWO_WANNAI_TRIO("Tai Bwo Wannai Trio"),
|
||||||
|
A_TAIL_OF_TWO_CATS("A Tail of Two Cats"),
|
||||||
|
TEARS_OF_GUTHIX("Tears of Guthix"),
|
||||||
|
TEMPLE_OF_IKOV("Temple of Ikov"),
|
||||||
|
THRONE_OF_MISCELLANIA("Throne of Miscellania"),
|
||||||
|
THE_TOURIST_TRAP("The Tourist Trap"),
|
||||||
|
WITCHS_HOUSE("Witch's House"),
|
||||||
|
TREE_GNOME_VILLAGE("Tree Gnome Village"),
|
||||||
|
TRIBAL_TOTEM("Tribal Totem"),
|
||||||
|
TROLL_ROMANCE("Troll Romance"),
|
||||||
|
TROLL_STRONGHOLD("Troll Stronghold"),
|
||||||
|
UNDERGROUND_PASS("Underground Pass"),
|
||||||
|
WANTED("Wanted!"),
|
||||||
|
WATCHTOWER("Watchtower"),
|
||||||
|
COLD_WAR("Cold War"),
|
||||||
|
THE_FREMENNIK_ISLES("The Fremennik Isles"),
|
||||||
|
TOWER_OF_LIFE("Tower of Life"),
|
||||||
|
THE_GREAT_BRAIN_ROBBERY("The Great Brain Robbery"),
|
||||||
|
WHAT_LIES_BELOW("What Lies Below"),
|
||||||
|
OLAFS_QUEST("Olaf's Quest"),
|
||||||
|
ANOTHER_SLICE_OF_HAM("Another Slice of H.A.M"),
|
||||||
|
DREAM_MENTOR("Dream Mentor"),
|
||||||
|
GRIM_TALES("Grim Tales"),
|
||||||
|
KINGS_RANSOM("King's Ransom"),
|
||||||
|
THE_PATH_OF_GLOUPHRIE("The Path of Glouphrie"),
|
||||||
|
BACK_TO_MY_ROOTS("Back to my Roots"),
|
||||||
|
LAND_OF_THE_GOBLINS("Land of the Goblins"),
|
||||||
|
DEALING_WITH_SCABARAS("Dealing with Scabaras"),
|
||||||
|
WOLF_WHISTLE("Wolf Whistle"),
|
||||||
|
AS_A_FIRST_RESORT("As a First Resort..."),
|
||||||
|
CATAPULT_CONSTRUCTION("Catapult Construction"),
|
||||||
|
KENNITHS_CONCERNS("Kennith's Concerns"),
|
||||||
|
LEGACY_OF_SEERGAZE("Legacy of Seergaze"),
|
||||||
|
PERILS_OF_ICE_MOUNTAIN("Perils of Ice Mountain"),
|
||||||
|
TOKTZ_KET_DILL("TokTz-Ket-Dill"),
|
||||||
|
SMOKING_KILLS("Smoking Kills"),
|
||||||
|
ROCKING_OUT("Rocking Out"),
|
||||||
|
SPIRIT_OF_SUMMER("Spirit of Summer"),
|
||||||
|
MEETING_HISTORY("Meeting History"),
|
||||||
|
ALL_FIRED_UP("All Fired Up"),
|
||||||
|
SUMMERS_END("Summer's End"),
|
||||||
|
DEFENDER_OF_VARROCK("Defender of Varrock"),
|
||||||
|
SWEPT_AWAY("Swept Away"),
|
||||||
|
WHILE_GUTHIX_SLEEPS("While Guthix Sleeps"),
|
||||||
|
IN_PYRE_NEED("In Pyre Need"),
|
||||||
|
TEST_QUEST("Test Quest");
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return questName
|
||||||
|
}
|
||||||
|
}
|
87
Server/src/main/content/data/RepairItem.java
Normal file
87
Server/src/main/content/data/RepairItem.java
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
package content.data;
|
||||||
|
|
||||||
|
import core.game.node.item.Item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents the repair item type.
|
||||||
|
* @author Vexia
|
||||||
|
*/
|
||||||
|
public enum RepairItem {
|
||||||
|
BRONZE_HATCHET(new Item(494, 1), new Item(1351, 1), 0),
|
||||||
|
BRONZE_PICKAXE(new Item(468, 1), new Item(1265, 1), 0),
|
||||||
|
IRON_HATCHET(new Item(496, 1), new Item(1349, 1), 0),
|
||||||
|
IRON_PICKAXE(new Item(470, 1), new Item(1267, 1), 0),
|
||||||
|
STEEL_HATCHET(new Item(498, 1), new Item(1353, 1), 0),
|
||||||
|
STEEL_PICKAXE(new Item(472, 1), new Item(1269, 1), 14),
|
||||||
|
BLACK_HATCHET(new Item(500, 1), new Item(1361, 1), 10),
|
||||||
|
MITHRIL_HATCHET(new Item(502, 1), new Item(1355, 1), 18),
|
||||||
|
MITHRIL_PICKAXE(new Item(474, 1), new Item(1273, 1), 43),
|
||||||
|
ADAMANT_HATCHET(new Item(504, 1), new Item(1357, 1), 43),
|
||||||
|
ADAMANT_PICKAXE(new Item(476, 1), new Item(1271, 1), 107),
|
||||||
|
RUNE_HATCHET(new Item(506, 1), new Item(1359, 1), 427),
|
||||||
|
RUNE_PICKAXE(new Item(478, 1), new Item(1275, 1), 1100),
|
||||||
|
DRAGON_HATCHET(new Item(6741, 1), new Item(6739, 1), 1800);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The item id.
|
||||||
|
*/
|
||||||
|
private final Item item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The product item.
|
||||||
|
*/
|
||||||
|
private final Item product;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The cost of the money to repair.
|
||||||
|
*/
|
||||||
|
private final int cost;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructs a new {@code BobRepairItem} {@code Object}.
|
||||||
|
* @param item the item.
|
||||||
|
* @param product the product.
|
||||||
|
* @param cost the cost.
|
||||||
|
*/
|
||||||
|
RepairItem(Item item, Item product, int cost) {
|
||||||
|
this.item = item;
|
||||||
|
this.product = product;
|
||||||
|
this.cost = cost;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the item.
|
||||||
|
* @return The item.
|
||||||
|
*/
|
||||||
|
public Item getItem() {
|
||||||
|
return item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the product.
|
||||||
|
* @return The product.
|
||||||
|
*/
|
||||||
|
public Item getProduct() {
|
||||||
|
return product;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the cost.
|
||||||
|
* @return The cost.
|
||||||
|
*/
|
||||||
|
public int getCost() {
|
||||||
|
return cost;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the reapir item by the id.
|
||||||
|
* @param id the id.
|
||||||
|
* @return the repair item.
|
||||||
|
*/
|
||||||
|
public static RepairItem forId(int id) {
|
||||||
|
for (RepairItem item : RepairItem.values())
|
||||||
|
if (item.item.getId() == id)
|
||||||
|
return item;
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
421
Server/src/main/content/data/consumables/Consumables.java
Normal file
421
Server/src/main/content/data/consumables/Consumables.java
Normal file
@ -0,0 +1,421 @@
|
|||||||
|
package content.data.consumables;
|
||||||
|
|
||||||
|
import content.data.consumables.effects.*;
|
||||||
|
import core.game.consumable.*;
|
||||||
|
import core.game.node.entity.player.link.diary.DiaryType;
|
||||||
|
import core.game.node.entity.skill.Skills;
|
||||||
|
import core.game.world.update.flag.context.Animation;
|
||||||
|
import org.rs09.consts.Items;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
|
||||||
|
import static core.tools.TickUtilsKt.minutesToTicks;
|
||||||
|
import static core.tools.TickUtilsKt.secondsToTicks;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a repository of active consumables in the framework.
|
||||||
|
*/
|
||||||
|
public enum Consumables {
|
||||||
|
|
||||||
|
/** Meats */
|
||||||
|
COOKED_MEAT(new Food(new int[] {2142}, new HealingEffect(3))),
|
||||||
|
SHRIMPS(new Food(new int[] {315}, new HealingEffect(3))),
|
||||||
|
COOKED_CHICKEN(new Food(new int[] {2140}, new HealingEffect(3))),
|
||||||
|
COOKED_RABBIT(new Food(new int[] {3228}, new HealingEffect(5))),
|
||||||
|
ANCHOVIES(new Food(new int[] {319}, new HealingEffect(1))),
|
||||||
|
SARDINE(new Food(new int[] {325}, new HealingEffect(4))),
|
||||||
|
POISON_KARAMBWAN(new Food(new int[] {3146}, new PoisonKarambwanEffect())),
|
||||||
|
UGTHANKI_MEAT(new Food(new int[] {1861}, new HealingEffect(3))),
|
||||||
|
HERRING(new Food(new int[] {347}, new HealingEffect(5))),
|
||||||
|
MACKEREL(new Food(new int[] {355}, new HealingEffect(6))),
|
||||||
|
ROAST_BIRD_MEAT(new Food(new int[] {9980}, new HealingEffect(6))),
|
||||||
|
THIN_SNAIL(new Food(new int[] {3369}, new RandomHealthEffect(5, 7))),
|
||||||
|
TROUT(new Food(new int[] {333}, new HealingEffect(7))),
|
||||||
|
SPIDER_ON_STICK(new Food(new int[] {6297, 6305}, new RandomHealthEffect(7, 11))),
|
||||||
|
SPIDER_ON_SHAFT(new Food(new int[] {6299}, new HealingEffect(7))),
|
||||||
|
ROAST_RABBIT(new Food(new int[] {7223}, new HealingEffect(7))),
|
||||||
|
LEAN_SNAIL(new Food(new int[] {3371}, new RandomHealthEffect(6, 8))),
|
||||||
|
COD(new Food(new int[] {339}, new HealingEffect(7))),
|
||||||
|
PIKE(new Food(new int[] {351}, new HealingEffect(8))),
|
||||||
|
ROAST_BEAST_MEAT(new Food(new int[] {9988}, new HealingEffect(8))),
|
||||||
|
COOKED_CRAB_MEAT(new Food(new int[] {7521, 7523, 7524, 7525, 7526}, new HealingEffect(2))),
|
||||||
|
FAT_SNAIL(new Food(new int[] {3373}, new RandomHealthEffect(7, 9))),
|
||||||
|
SALMON(new Food(new int[] {329}, new HealingEffect(9))),
|
||||||
|
SLIMY_EEL(new Food(new int[] {3381}, new RandomHealthEffect(6, 10))),
|
||||||
|
TUNA(new Food(new int[] {361}, new HealingEffect(10))),
|
||||||
|
COOKED_KARAMBWAN(new Food(new int[] {3144}, new HealingEffect(18)), true),
|
||||||
|
COOKED_CHOMPY(new Food(new int[] {2878}, new HealingEffect(10))),
|
||||||
|
RAINBOW_FISH(new Food(new int[] {10136}, new HealingEffect(11))),
|
||||||
|
CAVE_EEL(new Food(new int[] {5003}, new RandomHealthEffect(8, 12))),
|
||||||
|
LOBSTER(new Food(new int[] {379}, new HealingEffect(12))),
|
||||||
|
COOKED_JUBBLY(new Food(new int[] {7568}, new HealingEffect(15))),
|
||||||
|
BASS(new Food(new int[] {365}, new HealingEffect(13))),
|
||||||
|
SWORDFISH(new Food(new int[] {373}, new HealingEffect(14))),
|
||||||
|
LAVA_EEL(new Food(new int[] {2149}, new HealingEffect(11))),
|
||||||
|
MONKFISH(new Food(new int[] {7946}, new HealingEffect(16))),
|
||||||
|
SHARK(new Food(new int[] {385}, new HealingEffect(20))),
|
||||||
|
SEA_TURTLE(new Food(new int[] {397}, new HealingEffect(21))),
|
||||||
|
MANTA_RAY(new Food(new int[] {391}, new HealingEffect(22))),
|
||||||
|
KARAMBWANJI(new Food(new int[] {3151}, new HealingEffect(3))),
|
||||||
|
STUFFED_SNAKE(new Food(new int[] {7579}, new HealingEffect(20), "You eat the stuffed snake-it's quite a meal! It tastes like chicken.")),
|
||||||
|
CRAYFISH(new Food(new int[] {13433}, new HealingEffect(1))),
|
||||||
|
GIANT_FROG_LEGS(new Food(new int [] {4517}, new HealingEffect(6))),
|
||||||
|
|
||||||
|
/** Breads */
|
||||||
|
BREAD(new Food(new int[] {2309}, new HealingEffect(5))),
|
||||||
|
BAGUETTE(new Food(new int[] {6961}, new HealingEffect(6))),
|
||||||
|
|
||||||
|
/** Sandwiches */
|
||||||
|
TRIANGLE_SANDWICH(new Food(new int[] {6962}, new HealingEffect(6))),
|
||||||
|
SQUARE_SANDWICH(new Food(new int[] {6965}, new HealingEffect(6))),
|
||||||
|
SEAWEED_SANDWICH(new FakeConsumable(3168, new String[] {"You really, really do not want to eat that."})),
|
||||||
|
FROGBURGER(new Food(new int[] {10962}, new HealingEffect(2))),
|
||||||
|
|
||||||
|
/** Kebabs */
|
||||||
|
UGTHANKI_KEBAB(new Food(new int[] {1883}, new UgthankiKebabEffect())),
|
||||||
|
UGTHANKI_KEBAB_SMELLING(new Food(new int[] {1885}, new SmellingUgthankiKebabEffect())),
|
||||||
|
KEBAB(new Food(new int[] {1971}, new KebabEffect())),
|
||||||
|
SUPER_KEBAB(new Food(new int[] {4608}, new SuperKebabEffect())),
|
||||||
|
|
||||||
|
/** Pies */
|
||||||
|
REDBERRY_PIE(new HalfableFood(new int[] {2325, 2333, 2313}, new HealingEffect(5))),
|
||||||
|
MEAT_PIE(new HalfableFood(new int[] {2327, 2331, 2313}, new HealingEffect(6))),
|
||||||
|
APPLE_PIE(new HalfableFood(new int[] {2323, 2335, 2313}, new HealingEffect(7))),
|
||||||
|
GARDEN_PIE(new HalfableFood(new int[] {7178, 7180, 2313}, new MultiEffect(new HealingEffect(6), new SkillEffect(Skills.FARMING, 3, 0)))),
|
||||||
|
FISH_PIE(new HalfableFood(new int[] {7188, 7190, 2313}, new MultiEffect(new HealingEffect(6), new SkillEffect(Skills.FISHING, 3, 0)))),
|
||||||
|
ADMIRAL_PIE(new HalfableFood(new int[] {7198, 7200, 2313}, new MultiEffect(new HealingEffect(8), new SkillEffect(Skills.FISHING, 5, 0)))),
|
||||||
|
WILD_PIE(new HalfableFood(new int[] {7208, 7210, 2313}, new MultiEffect(new SkillEffect(Skills.SLAYER, 5, 0), new SkillEffect(Skills.RANGE, 4, 0), new HealingEffect(11)))),
|
||||||
|
SUMMER_PIE(new HalfableFood(new int[] {7218, 7220, 2313}, new MultiEffect(new HealingEffect(11), new SkillEffect(Skills.AGILITY, 5, 0), new EnergyEffect(10)))),
|
||||||
|
|
||||||
|
/** Stews */
|
||||||
|
STEW(new Food(new int[] {2003, 1923}, new HealingEffect(11))),
|
||||||
|
SPICY_STEW(new Food(new int[] {7479, 1923}, new HealingEffect(11))),
|
||||||
|
CURRY(new Food(new int[] {2011, 1923}, new HealingEffect(19))),
|
||||||
|
BANANA_STEW(new Food(new int[] {4016, 1923}, new HealingEffect(11))),
|
||||||
|
|
||||||
|
/** Pizzas */
|
||||||
|
PLAIN_PIZZA(new HalfableFood(new int[] {2289, 2291}, new HealingEffect(7))),
|
||||||
|
MEAT_PIZZA(new HalfableFood(new int[] {2293, 2295}, new HealingEffect(8))),
|
||||||
|
ANCHOVY_PIZZA(new HalfableFood(new int[] {2297, 2299}, new HealingEffect(9))),
|
||||||
|
PINEAPPLE_PIZZA(new HalfableFood(new int[] {2301, 2303}, new HealingEffect(11))),
|
||||||
|
|
||||||
|
/** Cakes */
|
||||||
|
CAKE(new Cake(new int[] {1891, 1893, 1895}, new HealingEffect(4), "You eat part of the cake.", "You eat some more cake.", "You eat the slice of cake.")),
|
||||||
|
CHOCOLATE_CAKE(new Cake(new int[] {1897, 1899, 1901}, new HealingEffect(5), "You eat part of the chocolate cake.", "You eat some more of the chocolate cake.", "You eat the slice of cake.")),
|
||||||
|
ROCK_CAKE(new Food(new int[] {2379}, new RockCakeEffect(), "The rock cake resists all attempts to eat it.")),
|
||||||
|
DWARVEN_ROCK_CAKE(new Food(new int[] {7510, 7510}, new DwarvenRockCakeEffect(), "Ow! You nearly broke a tooth!", "The rock cake resists all attempts to eat it.")),
|
||||||
|
HOT_DWARVEN_ROCK_CAKE(new Food(new int[] {7509, 7509}, new DwarvenRockCakeEffect(), "Ow! You nearly broke a tooth!", "The rock cake resists all attempts to eat it.")),
|
||||||
|
COOKED_FISHCAKE(new Food(new int[] {7530}, new HealingEffect(11))),
|
||||||
|
MINT_CAKE(new Food(new int[] {9475}, new EnergyEffect(50))),
|
||||||
|
|
||||||
|
/** Vegetables */
|
||||||
|
POTATO(new Food(new int[] {1942}, new HealingEffect(1), "You eat the potato. Yuck!")),
|
||||||
|
BAKED_POTATO(new Food(new int[] {6701}, new HealingEffect(4))),
|
||||||
|
SPICY_SAUCE(new Food(new int[] {7072, 1923}, new HealingEffect(2))),
|
||||||
|
CHILLI_CON_CARNE(new Food(new int[] {7062, 1923}, new HealingEffect(5))),
|
||||||
|
SCRAMBLED_EGG(new Food(new int[] {7078, 1923}, new HealingEffect(5))),
|
||||||
|
EGG_AND_TOMATO(new Food(new int[] {7064, 1923}, new HealingEffect(8))),
|
||||||
|
SWEET_CORN(new Food(new int[] {5988}, new MultiEffect(new HealingEffect(1), new PercentageHealthEffect(10)))),
|
||||||
|
SWEETCORN_BOWL(new Food(new int[] {7088, 1923}, new MultiEffect(new HealingEffect(1), new PercentageHealthEffect(10)))),
|
||||||
|
POTATO_WITH_BUTTER(new Food(new int[] {6703}, new HealingEffect(7))),
|
||||||
|
CHILLI_POTATO(new Food(new int[] {7054}, new HealingEffect(14))),
|
||||||
|
FRIED_ONIONS(new Food(new int[] {7084, 1923}, new HealingEffect(5))),
|
||||||
|
FRIED_MUSHROOMS(new Food(new int[] {7082, 1923}, new HealingEffect(5))),
|
||||||
|
POTATO_WITH_CHEESE(new Food(new int[] {6705}, new HealingEffect(16))),
|
||||||
|
EGG_POTATO(new Food(new int[] {7056}, new HealingEffect(11))),
|
||||||
|
MUSHROOMS_AND_ONIONS(new Food(new int[] {7066, 1923}, new HealingEffect(11))),
|
||||||
|
MUSHROOM_POTATO(new Food(new int[] {7058}, new HealingEffect(20))),
|
||||||
|
TUNA_AND_CORN(new Food(new int[] {7068, 1923}, new HealingEffect(13))),
|
||||||
|
TUNA_POTATO(new Food(new int[] {7060}, new HealingEffect(22))),
|
||||||
|
ONION(new Food(new int[] {1957}, new HealingEffect(1), "It's always sad to see a grown man/woman cry.")),
|
||||||
|
CABBAGE(new Food(new int[] {1965}, new HealingEffect(1), "You eat the cabbage. Yuck!")),
|
||||||
|
DRAYNOR_CABBAGE(new Food(new int[] {1967}, new DraynorCabbageEffect(), "You eat the cabbage.", "It seems to taste nicer than normal.")),
|
||||||
|
EVIL_TURNIP(new Food(new int[] {12134, 12136, 12138}, new HealingEffect(6))),
|
||||||
|
SPINACH_ROLL(new Food(new int[] {1969}, new HealingEffect(2))),
|
||||||
|
|
||||||
|
/** Dairies */
|
||||||
|
POT_OF_CREAM(new Food(new int[] {2130}, new HealingEffect(1))),
|
||||||
|
CHEESE(new Food(new int[] {1985}, new HealingEffect(2))),
|
||||||
|
CHOCOLATEY_MILK(new Drink(new int[] {1977, 1925}, new HealingEffect(4))),
|
||||||
|
|
||||||
|
/** Fruits */
|
||||||
|
BANANA(new Food(new int[] {1963}, new HealingEffect(2))),
|
||||||
|
SLICED_BANANA(new Food(new int[] {3162}, new HealingEffect(2))),
|
||||||
|
RED_BANANA(new Food(new int[] {7572}, new HealingEffect(5), "You eat the red banana. It's tastier than your average banana.")),
|
||||||
|
SLICED_RED_BANANA(new Food(new int[] {7574}, new HealingEffect(5), "You eat the sliced red banana. Yum.")),
|
||||||
|
ORANGE(new Food(new int[] {2108}, new HealingEffect(2))),
|
||||||
|
ORANGE_CHUNKS(new Food(new int[] {2110}, new HealingEffect(2))),
|
||||||
|
ORANGE_SLICES(new Food(new int[] {2112}, new HealingEffect(2))),
|
||||||
|
PAPAYA_FRUIT(new Food(new int[] {5972}, new MultiEffect(new EnergyEffect(5), new HealingEffect(8)))),
|
||||||
|
TENTI_PINEAPPLE(new FakeConsumable(1851, new String[] {"Try using a knife to slice it into pieces."})),
|
||||||
|
PINEAPPLE(new FakeConsumable(2114, new String[] {"Try using a knife to slice it into pieces."})),
|
||||||
|
PINEAPPLE_CHUNKS(new Food(new int[] {2116}, new HealingEffect(2))),
|
||||||
|
PINEAPPLE_RING(new Food(new int[] {2118}, new HealingEffect(2))),
|
||||||
|
DWELLBERRIES(new Food(new int[] {2126}, new HealingEffect(2))),
|
||||||
|
JANGERBERRIES(new Food(new int[] {247}, new MultiEffect(new SkillEffect(Skills.ATTACK, 2, 0), new SkillEffect(Skills.STRENGTH, 1, 0), new PrayerEffect(1, 0), new SkillEffect(Skills.DEFENCE, -1, 0)), "You eat the jangerberries.", "They taste very bitter.")),
|
||||||
|
STRAWBERRY(new Food(new int[] {5504}, new MultiEffect(new HealingEffect(1), new PercentageHealthEffect(6)))),
|
||||||
|
TOMATO(new Food(new int[] {1982}, new HealingEffect(2))),
|
||||||
|
WATERMELON(new FakeConsumable(5982, new String[] {"You can't eat it whole; maybe you should cut it up."})),
|
||||||
|
WATERMELON_SLICE(new Food(new int[] {5984}, new PercentageHealthEffect(5))),
|
||||||
|
LEMON(new Food(new int[] {2102}, new HealingEffect(2))),
|
||||||
|
LEMON_CHUNKS(new Food(new int[] {2104}, new HealingEffect(2))),
|
||||||
|
LEMON_SLICES(new Food(new int[] {2106}, new HealingEffect(2))),
|
||||||
|
LIME(new Food(new int[] {2120}, new HealingEffect(2))),
|
||||||
|
LIME_CHUNKS(new Food(new int[] {2122}, new HealingEffect(2))),
|
||||||
|
LIME_SLICES(new Food(new int[] {2124}, new HealingEffect(2))),
|
||||||
|
PEACH(new Food(new int[] {6883}, new HealingEffect(8))),
|
||||||
|
WHITE_TREE_FRUIT(new Food(new int[] {6469}, new MultiEffect(new RandomEnergyEffect(5, 10), new HealingEffect(3)))),
|
||||||
|
STRANGE_FRUIT(new Food(new int[] {464}, new MultiEffect(new RemoveTimerEffect("poison"), new EnergyEffect(30)))),
|
||||||
|
|
||||||
|
/** Gnome Cooking */
|
||||||
|
TOAD_CRUNCHIES(new Food(new int[] {2217}, new HealingEffect(8))),
|
||||||
|
PREMADE_TD_CRUNCH(new Food(new int[] {2243}, new HealingEffect(8))),
|
||||||
|
SPICY_CRUNCHIES(new Food(new int[] {2213}, new HealingEffect(7))),
|
||||||
|
PREMADE_SY_CRUNCH(new Food(new int[] {2241}, new HealingEffect(7))),
|
||||||
|
WORM_CRUNCHIES(new Food(new int[] {2205}, new HealingEffect(8))),
|
||||||
|
PREMADE_WM_CRUNC(new Food(new int[] {2237}, new HealingEffect(8))),
|
||||||
|
CHOCCHIP_CRUNCHIES(new Food(new int[] {2209}, new HealingEffect(7))),
|
||||||
|
PREMADE_CH_CRUNCH(new Food(new int[] {2239}, new HealingEffect(7))),
|
||||||
|
FRUIT_BATTA(new Food(new int[] {2277}, new HealingEffect(11))),
|
||||||
|
PREMADE_FRT_BATTA(new Food(new int[] {2225}, new HealingEffect(11))),
|
||||||
|
TOAD_BATTA(new Food(new int[] {2255}, new HealingEffect(11))),
|
||||||
|
PREMADE_TD_BATTA(new Food(new int[] {2221}, new HealingEffect(11))),
|
||||||
|
WORM_BATTA(new Food(new int[] {2253}, new HealingEffect(11))),
|
||||||
|
PREMADE_WM_BATTA(new Food(new int[] {2219}, new HealingEffect(11))),
|
||||||
|
VEGETABLE_BATTA(new Food(new int[] {2281}, new HealingEffect(11))),
|
||||||
|
PREMADE_VEG_BATTA(new Food(new int[] {2227}, new HealingEffect(11))),
|
||||||
|
CHEESE_AND_TOMATOES_BATTA(new Food(new int[] {2259}, new HealingEffect(11))),
|
||||||
|
PREMADE_CT_BATTA(new Food(new int[] {2223}, new HealingEffect(11))),
|
||||||
|
WORM_HOLE(new Food(new int[] {2191}, new HealingEffect(12))),
|
||||||
|
PREMADE_WORM_HOLE(new Food(new int[] {2233}, new HealingEffect(12))),
|
||||||
|
VEG_BALL(new Food(new int[] {2195}, new HealingEffect(12))),
|
||||||
|
PREMADE_VEG_BALL(new Food(new int[] {2235}, new HealingEffect(12))),
|
||||||
|
TANGLED_TOADS_LEGS(new Food(new int[] {2187}, new HealingEffect(15))),
|
||||||
|
PREMADE_TTL(new Food(new int[] {2231}, new HealingEffect(15))),
|
||||||
|
CHOCOLATE_BOMB(new Food(new int[] {2195}, new HealingEffect(15))),
|
||||||
|
PREMADE_CHOC_BOMB(new Food(new int[] {2229}, new HealingEffect(15))),
|
||||||
|
TOAD_LEGS(new Food(new int[] {2152}, new HealingEffect(3))),
|
||||||
|
KING_WORM(new Food(new int[] {2162}, new HealingEffect(2))),
|
||||||
|
|
||||||
|
/** Ales */
|
||||||
|
ASGOLDIAN_ALE(new FakeConsumable(7508, new String[] {"I don't think I'd like gold in beer thanks. Leave it for the dwarves."})),
|
||||||
|
ASGARNIAN_ALE(new Drink(new int[] {1905, 1919}, new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.STRENGTH, 2, 0), new SkillEffect(Skills.ATTACK, -4, 0)), "You drink the ale. You feel slightly reinvigorated...", "...and slightly dizzy too.")),
|
||||||
|
ASGARNIAN_ALE_KEG(new Drink(new int[] {5785, 5783, 5781, 5779, 5769}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 2, 0), new SkillEffect(Skills.ATTACK, -4, 0)), new Animation(2289), "You drink the ale. You feel slightly reinvigorated...", "...and slightly dizzy too.")),
|
||||||
|
ASGARNIAN_ALE_M(new Drink(new int[] {5739, 1919}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -6, 0)))),
|
||||||
|
ASGARNIAN_ALE_M_KEG(new Drink(new int[] {5865, 5863, 5861, 5859, 5769}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -6, 0)), new Animation(2289))),
|
||||||
|
AXEMANS_FOLLY(new Drink(new int[] {5751, 1919}, new MultiEffect(new SkillEffect(Skills.WOODCUTTING, 1, 0), new HealingEffect(1), new SkillEffect(Skills.STRENGTH, -3, 0), new SkillEffect(Skills.ATTACK, -3, 0)))),
|
||||||
|
AXEMANS_FOLLY_KEG(new Drink(new int[] {5825, 5823, 5821, 5819, 5769}, new MultiEffect(new SkillEffect(Skills.WOODCUTTING, 1, 0), new HealingEffect(1), new SkillEffect(Skills.STRENGTH, -3, 0), new SkillEffect(Skills.ATTACK, -3, 0)), new Animation(2289))),
|
||||||
|
AXEMANS_FOLLY_M(new Drink(new int[] {5753, 1919}, new MultiEffect(new SkillEffect(Skills.WOODCUTTING, 2, 0), new HealingEffect(2), new SkillEffect(Skills.STRENGTH, -4, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
AXEMANS_FOLLY_M_KEG(new Drink(new int[] {5905, 5903, 5901, 5899, 5769}, new MultiEffect(new SkillEffect(Skills.WOODCUTTING, 2, 0), new HealingEffect(2), new SkillEffect(Skills.STRENGTH, -4, 0), new SkillEffect(Skills.ATTACK, -4, 0)), new Animation(2289))),
|
||||||
|
BANDITS_BREW(new Drink(new int[] {4627, 1919}, new MultiEffect(new SkillEffect(Skills.THIEVING, 1, 0), new SkillEffect(Skills.ATTACK, 1, 0), new SkillEffect(Skills.STRENGTH, -1, 0), new SkillEffect(Skills.DEFENCE, -6, 0), new HealingEffect(1)), "You drink the beer. You feel slightly reinvigorated...", "...and slightly dizzy too.")),
|
||||||
|
BEER(new Drink(new int[] {1917, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.STRENGTH, 0, 0.04), new SkillEffect(Skills.ATTACK, 0, -0.07)), "You drink the beer. You feel slightly reinvigorated...", "...and slightly dizzy too.")),
|
||||||
|
BEER_TANKARD(new Drink(new int[] {3803, 3805}, new MultiEffect(new SkillEffect(Skills.ATTACK, -9, 0), new SkillEffect(Skills.STRENGTH, 4, 0)), "You quaff the beer. You feel slightly reinvigorated...", "...but very dizzy too.")),
|
||||||
|
KEG_OF_BEER(new Drink(new int[] {3801}, new KegOfBeerEffect(), new Animation(1330), "You chug the keg. You feel reinvigorated...", "...but extremely drunk too.")),
|
||||||
|
CHEFS_DELIGHT(new Drink(new int[] {5755, 1919}, new MultiEffect(new SkillEffect(Skills.COOKING, 1, 0.05), new HealingEffect(1), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)))),
|
||||||
|
CHEFS_DELIGHT_KEG(new Drink(new int[] {5833, 5831, 5829, 5827, 5769}, new MultiEffect(new SkillEffect(Skills.COOKING, 1, 0.05), new HealingEffect(1), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)), new Animation(2289))),
|
||||||
|
CHEFS_DELIGHT_M(new Drink(new int[] {5757, 1919}, new MultiEffect(new SkillEffect(Skills.COOKING, 2, 0.05), new HealingEffect(2), new SkillEffect(Skills.ATTACK, -3, 0), new SkillEffect(Skills.STRENGTH, -3, 0)))),
|
||||||
|
CHEFS_DELIGHT_M_KEG(new Drink(new int[] {5913, 5911, 5909, 5907, 5769}, new MultiEffect(new SkillEffect(Skills.COOKING, 2, 0.05), new HealingEffect(2), new SkillEffect(Skills.ATTACK, -3, 0), new SkillEffect(Skills.STRENGTH, -3, 0)), new Animation(2289))),
|
||||||
|
CIDER(new Drink(new int[] {5763, 1919}, new MultiEffect(new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.FARMING, 1, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0))))),
|
||||||
|
CIDER_KEG(new Drink(new int[] {5849, 5847, 5845, 5843, 5769}, new MultiEffect(new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.FARMING, 1, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0))), new Animation(2289))),
|
||||||
|
MATURE_CIDER(new Drink(new int[] {5765, 1919}, new MultiEffect(new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.FARMING, 2, 0), new SkillEffect(Skills.ATTACK, -5, 0), new SkillEffect(Skills.STRENGTH, -5, 0))))),
|
||||||
|
CIDER_M_KEG(new Drink(new int[] {5929, 5927, 5925, 5923, 5769}, new MultiEffect(new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.FARMING, 2, 0), new SkillEffect(Skills.ATTACK, -5, 0), new SkillEffect(Skills.STRENGTH, -5, 0))), new Animation(2289))),
|
||||||
|
DRAGON_BITTER(new Drink(new int[] {1911, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.STRENGTH, 2, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
DRAGON_BITTER_KEG(new Drink(new int[] {5809, 5807, 5805, 5803, 5769}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.STRENGTH, 2, 0), new SkillEffect(Skills.ATTACK, -4, 0)), new Animation(2289))),
|
||||||
|
DRAGON_BITTER_M(new Drink(new int[] {5745, 1919}, new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -6, 0)))),
|
||||||
|
DRAGON_BITTER_M_KEG(new Drink(new int[] {5889, 5887, 5885, 5883, 5769}, new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -6, 0)), new Animation(2289))),
|
||||||
|
DWARVEN_STOUT(new Drink(new int[] {1913, 1919}, new MultiEffect(new SkillEffect(Skills.MINING, 1, 0), new SkillEffect(Skills.SMITHING, 1 ,0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0), new SkillEffect(Skills.DEFENCE, -2, 0), new HealingEffect(1)), "You drink the Dwarven Stout. It tastes foul.", "It tastes pretty strong too.")),
|
||||||
|
DWARVEN_STOUT_KEG(new Drink(new int[] {5777, 5775, 5773, 5771, 5769}, new MultiEffect(new SkillEffect(Skills.MINING, 1, 0), new SkillEffect(Skills.SMITHING, 1 ,0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0), new SkillEffect(Skills.DEFENCE, -2, 0), new HealingEffect(1)), new Animation(2289), "You drink the Dwarven Stout. It tastes foul.", "It tastes pretty strong too.")),
|
||||||
|
DWARVEN_STOUT_M(new Drink(new int[] {5747, 1919}, new MultiEffect(new SkillEffect(Skills.MINING, 2, 0), new SkillEffect(Skills.SMITHING, 2 ,0), new SkillEffect(Skills.ATTACK, -7, 0), new SkillEffect(Skills.STRENGTH, -7, 0), new SkillEffect(Skills.DEFENCE, -7, 0), new HealingEffect(1)))),
|
||||||
|
DWARVEN_STOUT_M_KEG(new Drink(new int[] {5857, 5855, 5853, 5851, 5769}, new MultiEffect(new SkillEffect(Skills.MINING, 2, 0), new SkillEffect(Skills.SMITHING, 2 ,0), new SkillEffect(Skills.ATTACK, -7, 0), new SkillEffect(Skills.STRENGTH, -7, 0), new SkillEffect(Skills.DEFENCE, -7, 0), new HealingEffect(1)), new Animation(2289))),
|
||||||
|
GREENMANS_ALE(new Drink(new int[] {1909, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.HERBLORE, 1, 0), new SkillEffect(Skills.ATTACK, -3, 0), new SkillEffect(Skills.STRENGTH, -3, 0), new SkillEffect(Skills.DEFENCE, -3, 0)))),
|
||||||
|
GREENMANS_ALE_KEG(new Drink(new int[] {5793, 5791, 5789, 5787, 5769}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.HERBLORE, 1, 0), new SkillEffect(Skills.ATTACK, -3, 0), new SkillEffect(Skills.STRENGTH, -3, 0), new SkillEffect(Skills.DEFENCE, -3, 0)), new Animation(2289))),
|
||||||
|
GREENMANS_ALE_M(new Drink(new int[] {5743, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.HERBLORE, 2, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)))),
|
||||||
|
GREENMANS_ALE_M_KEG(new Drink(new int[] {5873, 5871, 5869, 5867, 5769}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.HERBLORE, 2, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)), new Animation(2289))),
|
||||||
|
GROG(new Drink(new int[] {1915, 1919}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -6, 0)))),
|
||||||
|
MOONLIGHT_MEAD(new Drink(new int[] {2955, 1919}, new HealingEffect(4), "It tastes like something just died in your mouth.")),
|
||||||
|
MOONLIGHT_MEAD_KEG(new Drink(new int[] {5817, 5815, 5813, 5811, 5769}, new HealingEffect(4), new Animation(2289), "It tastes like something just died in your mouth.")),
|
||||||
|
MOONLIGHT_MEAD_M(new Drink(new int[] {5749, 1919}, new HealingEffect(6))),
|
||||||
|
MOONLIGHT_MEAD_M_KEG(new Drink(new int[] {5897, 5895, 5893, 5891, 5769}, new HealingEffect(6), new Animation(2289))),
|
||||||
|
SLAYERS_RESPITE(new Drink(new int[] {5759, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.SLAYER, 2, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)))),
|
||||||
|
SLAYERS_RESPITE_KEG(new Drink(new int[] {5841, 5839, 5837, 5835, 5769}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.SLAYER, 2, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)), new Animation(2289))),
|
||||||
|
SLAYERS_RESPITE_M(new Drink(new int[] {5761, 1919}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.SLAYER, 4, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)))),
|
||||||
|
SLAYERS_RESPITE_M_KEG(new Drink(new int[] {5841, 5839, 5837, 5835, 5769}, new MultiEffect(new HealingEffect(1), new SkillEffect(Skills.SLAYER, 4, 0), new SkillEffect(Skills.ATTACK, -2, 0), new SkillEffect(Skills.STRENGTH, -2, 0)), new Animation(2289))),
|
||||||
|
WIZARDS_MIND_BOMB(new Drink(new int[] {1907, 1919}, new WizardsMindBombEffect(), "You drink the Wizard's Mind Bomb.", "You feel very strange.")),
|
||||||
|
MATURE_WMB(new Drink(new int[] {5741, 1919}, new MatureWmbEffect())),
|
||||||
|
|
||||||
|
/** Cocktails */
|
||||||
|
FRUIT_BLAST(new Drink(new int[] {2084, 2026}, new HealingEffect(9))),
|
||||||
|
PREMADE_FR_BLAST(new Drink(new int[] {2034, 2026}, new HealingEffect(9))),
|
||||||
|
CRAFTED_FR_BLAST(new Drink(new int[] {9514, 2026}, new HealingEffect(9))),
|
||||||
|
PINEAPPLE_PUNCH(new Drink(new int[] {2048, 2026}, new HealingEffect(9), "You drink the cocktail. It tastes great.")),
|
||||||
|
PREMADE_P_PUNCH(new Drink(new int[] {2036, 2026}, new HealingEffect(9), "You drink the cocktail. It tastes great.")),
|
||||||
|
CRAFTED_P_PUNCH(new Drink(new int[] {9512, 2026}, new HealingEffect(9))),
|
||||||
|
WIZARD_BLIZZARD(new Drink(new int[] {2054, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 6, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
PREMADE_WIZ_BLZD(new Drink(new int[] {2040, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 6, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
CRAFTED_WIZ_BLZD(new Drink(new int[]{9508, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 6, 0),new SkillEffect(Skills.ATTACK, -4, 0 )))),
|
||||||
|
SHORT_GREEN_GUY(new Drink(new int[] {2080, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 4, 0), new SkillEffect(Skills.ATTACK, -3, 0)))),
|
||||||
|
PREMADE_SGG(new Drink(new int[] {2038, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 4, 0), new SkillEffect(Skills.ATTACK, -3, 0)))),
|
||||||
|
CRAFTED_SGG(new Drink(new int[]{9510, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 4, 0), new SkillEffect(Skills.ATTACK, -3,0)))),
|
||||||
|
DRUNK_DRAGON(new Drink(new int[] {2092, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
PREMADE_DR_DRAGON(new Drink(new int[] {2032, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
CRAFTED_DR_DRAGON(new Drink(new int[] {9516, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7, 0), new SkillEffect(Skills.ATTACK, -4,0)))),
|
||||||
|
CHOC_SATURDAY(new Drink(new int[] {2074, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
PREMADE_CHOC_SDY(new Drink(new int[] {2030, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
CRAFTED_CHOC_SDY(new Drink(new int[] {9518, 2026}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 7,0), new SkillEffect(Skills.ATTACK, -4,0)))),
|
||||||
|
BLURBERRY_SPECIAL(new Drink(new int[] {2064, 2026}, new MultiEffect(new HealingEffect(6), new SkillEffect(Skills.STRENGTH, 6, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
PREMADE_BLURB_SP(new Drink(new int[] {2028, 2026}, new MultiEffect(new HealingEffect(6), new SkillEffect(Skills.STRENGTH, 6, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
CRAFTED_BLURB_SP(new Drink(new int[] {9520, 2026}, new MultiEffect(new HealingEffect(6), new SkillEffect(Skills.STRENGTH,6,0), new SkillEffect(Skills.ATTACK, -4,0)))),
|
||||||
|
|
||||||
|
/** Bottled Drinks */
|
||||||
|
KARAMJAN_RUM(new Drink(new int[] {431}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 5, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
BRAINDEATH_RUM(new Drink(new int[] {7157}, new MultiEffect(new SkillEffect(Skills.DEFENCE, 0, -0.1), new SkillEffect(Skills.ATTACK, 0, -0.05), new SkillEffect(Skills.PRAYER, 0, -0.05), new SkillEffect(Skills.RANGE, 0, -0.05), new SkillEffect(Skills.MAGIC, 0, -0.05), new SkillEffect(Skills.HERBLORE, 0, -0.05), new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.MINING, 1, 0)), "With a sense of impending doom you drink the 'rum'. You try very hard not to die.")),
|
||||||
|
RUM_TROUBLE_BREWING_RED(new Drink(new int[] {8940, 8940}, new TroubleBrewingRumEffect("Oh gods! It tastes like burning!"), new Animation(9605))),
|
||||||
|
RUM_TROUBLE_BREWING_BLUE(new Drink(new int[] {8941, 8941}, new TroubleBrewingRumEffect("My Liver! My Liver is melting!"), new Animation(9604))),
|
||||||
|
VODKA(new Drink(new int[] {2015}, new MultiEffect(new HealingEffect(2), new SkillEffect(Skills.ATTACK, -4, 0), new SkillEffect(Skills.STRENGTH, 4, 0)))),
|
||||||
|
GIN(new Drink(new int[] {2019}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 1, 0), new SkillEffect(Skills.ATTACK, 4, 0), new RandomHealthEffect(3, 4)))),
|
||||||
|
BRANDY(new Drink(new int[] {2021}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.ATTACK, 4, 0)))),
|
||||||
|
WHISKY(new Drink(new int[] {2017}, new MultiEffect(new HealingEffect(5), new SkillEffect(Skills.STRENGTH, 3, 0), new SkillEffect(Skills.ATTACK, -4, 0)))),
|
||||||
|
BOTTLE_OF_WINE(new Drink(new int[] {7919, 7921}, new MultiEffect(new HealingEffect(14), new SkillEffect(Skills.ATTACK, -3, 0)))),
|
||||||
|
|
||||||
|
/** Wine */
|
||||||
|
JUG_OF_WINE(new Drink(new int[] {1993, 1935}, new MultiEffect(new HealingEffect(11), new SkillEffect(Skills.ATTACK, -2, 0)))),
|
||||||
|
HALF_FULL_WINE_JUG(new Drink(new int[] {1989, 1935}, new HealingEffect(7))),
|
||||||
|
JUG_OF_BAD_WINE(new Drink(new int[] {1991,1935}, new SkillEffect(Skills.ATTACK, -3, 0))),
|
||||||
|
|
||||||
|
/** Tea */
|
||||||
|
CUP_OF_TEA(new Drink(new int[] {712, 1980}, new MultiEffect(new HealingEffect(3), new SkillEffect(Skills.ATTACK, 3, 0)), "Aaah, nothing like a nice cuppa tea!")),
|
||||||
|
CUP_OF_TEA_NETTLE(new Drink(new int[] {4242, 1980}, new EnergyEffect(10))),
|
||||||
|
CUP_OF_TEA_MILKY_NETTLE(new Drink(new int[] {4243, 1980}, new EnergyEffect(10))),
|
||||||
|
NETTLE_TEA(new Drink(new int[] {4239, 1923}, new NettleTeaEffect())),
|
||||||
|
NETTLE_TEA_MILKY(new Drink(new int[] {4240, 1980}, new NettleTeaEffect())),
|
||||||
|
CUP_OF_TEA_CLAY(new Drink(new int[] {7730, 7728}, new SkillEffect(Skills.CONSTRUCTION, 1, 0), "You feel refreshed and ready for more building.")),
|
||||||
|
CUP_OF_TEA_CLAY_MILKY(new Drink(new int[] {7731, 7728}, new SkillEffect(Skills.CONSTRUCTION, 1, 0))),
|
||||||
|
CUP_OF_TEA_WHITE(new Drink(new int[] {7733, 7732}, new SkillEffect(Skills.CONSTRUCTION, 2, 0), "You feel refreshed and ready for more building.")),
|
||||||
|
CUP_OF_TEA_WHITE_MILKY(new Drink(new int[] {7734, 7732}, new SkillEffect(Skills.CONSTRUCTION, 2, 0))),
|
||||||
|
CUP_OF_TEA_GOLD(new Drink(new int[] {7736, 7735}, new SkillEffect(Skills.CONSTRUCTION, 3, 0), "You feel refreshed and ready for more building.")),
|
||||||
|
CUP_OF_TEA_GOLD_MILKY(new Drink(new int[] {7737, 7735}, new SkillEffect(Skills.CONSTRUCTION, 3, 0))),
|
||||||
|
|
||||||
|
/** Miscellaneous */
|
||||||
|
CHOCOLATE_BAR(new Food(new int[] {1973}, new HealingEffect(3))),
|
||||||
|
PURPLE_SWEETS(new Food(new int[] {4561}, new HealingEffect(0))),
|
||||||
|
PURPLE_SWEETS_STACKABLE(new Food(new int[] {10476}, new MultiEffect(new EnergyEffect(10), new RandomHealthEffect(1, 3)), "The sugary goodness heals some energy.", "The sugary goodness is yummy.")),
|
||||||
|
FIELD_RATION(new Food(new int[] {7934}, new HealingEffect(10))),
|
||||||
|
ROLL(new Food(new int[] {6963}, new HealingEffect(6))),
|
||||||
|
TCHIKI_MONKEY_NUTS(new Food(new int[] {7573}, new HealingEffect(5), "You eat the Tchiki monkey nuts. They taste nutty.")),
|
||||||
|
TCHIKI_MONKEY_PASTE(new Food(new int[] {7575}, new HealingEffect(5), "You eat the Tchiki monkey nut paste. It sticks to the roof of your mouth.")),
|
||||||
|
OOMLIE_WRAP(new Food(new int[] {Items.COOKED_OOMLIE_WRAP_2343}, new MultiEffect(new HealingEffect(14), new AchievementEffect(DiaryType.KARAMJA, 2, 2)))),
|
||||||
|
ROE(new Food(new int[]{11324}, new HealingEffect(3))),
|
||||||
|
EQUA_LEAVES(new Food(new int[]{2128}, new HealingEffect(1))),
|
||||||
|
CHOC_ICE(new Food(new int[]{6794}, new HealingEffect(7))),
|
||||||
|
EDIBLE_SEAWEED(new Food(new int[] {403}, new HealingEffect(4))),
|
||||||
|
FROG_SPAWN(new Food(new int[] {5004}, new RandomHealthEffect(3, 7), "You eat the frogspawn. Yuck.")),
|
||||||
|
|
||||||
|
/** Special Events */
|
||||||
|
PUMPKIN(new Food(new int[] {1959}, new HealingEffect(14))),
|
||||||
|
EASTER_EGG(new Food(new int[] {1961}, new HealingEffect(14))),
|
||||||
|
|
||||||
|
/** Potions */
|
||||||
|
STRENGTH(new Potion(new int[] {113, 115, 117, 119}, new SkillEffect(Skills.STRENGTH, 3, 0.1))),
|
||||||
|
ATTACK(new Potion(new int[] {2428, 121, 123, 125}, new SkillEffect(Skills.ATTACK, 3, 0.1))),
|
||||||
|
DEFENCE(new Potion(new int[] {2432, 133, 135, 137}, new SkillEffect(Skills.DEFENCE, 3, 0.1))),
|
||||||
|
RANGING(new Potion(new int[] {2444, 169, 171, 173}, new SkillEffect(Skills.RANGE, 4, 0.1))),
|
||||||
|
MAGIC(new Potion(new int[] {3040, 3042, 3044, 3046}, new SkillEffect(Skills.MAGIC, 4, 0))),
|
||||||
|
SUPER_STRENGTH(new Potion(new int[] {2440, 157, 159, 161}, new SkillEffect(Skills.STRENGTH, 5, 0.15))),
|
||||||
|
SUPER_ATTACK(new Potion(new int[] {2436, 145, 147, 149}, new SkillEffect(Skills.ATTACK, 5, 0.15))),
|
||||||
|
SUPER_DEFENCE(new Potion(new int[] {2442, 163, 165, 167}, new SkillEffect(Skills.DEFENCE, 5, 0.15))),
|
||||||
|
ANTIPOISON(new Potion(new int[] {2446, 175, 177, 179}, new AddTimerEffect("poison:immunity", secondsToTicks(90)))),
|
||||||
|
ANTIPOISON_(new Potion(new int[] {5943, 5945, 5947, 5949}, new AddTimerEffect("poison:immunity", minutesToTicks(9)))),
|
||||||
|
ANTIPOISON__(new Potion(new int[] {5952, 5954, 5956, 5958}, new AddTimerEffect("poison:immunity", minutesToTicks(12)))),
|
||||||
|
SUPER_ANTIP(new Potion(new int[] {2448, 181, 183, 185}, new AddTimerEffect("poison:immunity", minutesToTicks(6)))),
|
||||||
|
RELICYM(new Potion(new int[] {4842, 4844, 4846, 4848}, new CureDiseaseEffect())),
|
||||||
|
AGILITY(new Potion(new int[] {3032, 3034, 3036, 3038}, new SkillEffect(Skills.AGILITY, 3, 0))),
|
||||||
|
HUNTER(new Potion(new int[] {9998, 10000, 10002, 10004}, new SkillEffect(Skills.HUNTER, 3, 0))),
|
||||||
|
RESTORE(new Potion(new int[] {2430, 127, 129, 131}, new RestoreEffect(10, 0.3))),
|
||||||
|
SARA_BREW(new Potion(new int[] {6685, 6687, 6689, 6691}, new MultiEffect(new PercentHeal(0, .15), new SkillEffect(Skills.ATTACK, 0, -0.10), new SkillEffect(Skills.STRENGTH, 0, -0.10), new SkillEffect(Skills.MAGIC, 0, -0.10), new SkillEffect(Skills.RANGE, 0, -0.10), new SkillEffect(Skills.DEFENCE, 0, 0.25)))),
|
||||||
|
SUMMONING(new Potion(new int[] {12140, 12142, 12144, 12146}, new MultiEffect(new RestoreSummoningSpecial(), new SummoningEffect(7, 0.25)))),
|
||||||
|
COMBAT(new Potion(new int[] {9739, 9741, 9743, 9745}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 3, .1), new SkillEffect(Skills.ATTACK, 3, .1)))),
|
||||||
|
ENERGY(new Potion(new int[] {3008, 3010, 3012, 3014}, new EnergyEffect(10))),
|
||||||
|
FISHING(new Potion(new int[] {2438, 151, 153, 155}, new SkillEffect(Skills.FISHING, 3, 0))),
|
||||||
|
PRAYER(new Potion(new int[] {2434, 139, 141, 143}, new PrayerEffect(7, 0.25))),
|
||||||
|
SUPER_RESTO(new Potion(new int[] {3024, 3026, 3028, 3030}, new RestoreEffect(8, 0.25, true))),
|
||||||
|
ZAMMY_BREW(new Potion(new int[] {2450, 189, 191, 193}, new MultiEffect(new DamageEffect(10, true), new SkillEffect(Skills.ATTACK, 0, 0.25), new SkillEffect(Skills.STRENGTH, 0, 0.15), new SkillEffect(Skills.DEFENCE, 0, -0.1)))),
|
||||||
|
ANTIFIRE(new Potion(new int[] {2452, 2454, 2456, 2458}, new AddTimerEffect("dragonfire:immunity", 600, true))),
|
||||||
|
GUTH_REST(new Potion(new int[] {4417, 4419, 4421, 4423}, new MultiEffect(new RemoveTimerEffect("poison"), new EnergyEffect(5), new HealingEffect(5)))),
|
||||||
|
MAGIC_ESS(new Potion(new int[] {11491, 11489}, new SkillEffect(Skills.MAGIC,3,0))),
|
||||||
|
SANFEW(new Potion(new int[] {10925, 10927, 10929, 10931}, new MultiEffect(new RestoreEffect(8,0.25, true), new AddTimerEffect("poison:immunity", secondsToTicks(90)), new RemoveTimerEffect("disease")))),
|
||||||
|
SUPER_ENERGY(new Potion(new int[] {3016, 3018, 3020, 3022}, new EnergyEffect(20))),
|
||||||
|
BLAMISH_OIL(new FakeConsumable(1582, new String[] {"You know... I'd really rather not."})),
|
||||||
|
|
||||||
|
/** Barbarian Mixes */
|
||||||
|
PRAYERMIX(new BarbarianMix(new int[] {11465, 11467}, new MultiEffect(new PrayerEffect(7, 0.25), new HealingEffect(6)))),
|
||||||
|
ZAMMY_MIX(new BarbarianMix(new int[] {11521, 11523}, new MultiEffect(new DamageEffect(10, true), new SkillEffect(Skills.ATTACK, 0, 0.15), new SkillEffect(Skills.STRENGTH, 0, 0.25), new SkillEffect(Skills.DEFENCE, 0, -0.1)))),
|
||||||
|
ATT_MIX(new BarbarianMix(new int[] {11429, 11431}, new MultiEffect(new SkillEffect(Skills.ATTACK, 3, 0.1), new HealingEffect(3)))),
|
||||||
|
ANTIP_MIX(new BarbarianMix(new int[] {11433, 11435}, new MultiEffect(new AddTimerEffect("poison:immunity", secondsToTicks(90)), new HealingEffect(3)))),
|
||||||
|
RELIC_MIX(new BarbarianMix(new int[] {11437, 11439}, new MultiEffect(new CureDiseaseEffect(), new HealingEffect(3)))),
|
||||||
|
STR_MIX(new BarbarianMix(new int[] {11443, 11441}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 3, 0.1), new HealingEffect(3)))),
|
||||||
|
RESTO_MIX(new BarbarianMix(new int[] {11449, 11451}, new MultiEffect(new RestoreEffect(10, 0.3), new HealingEffect(3)))),
|
||||||
|
SUPER_RESTO_MIX(new BarbarianMix(new int [] {11493, 11495}, new MultiEffect(new RestoreEffect(8,0.25), new PrayerEffect(8, 0.25), new SummoningEffect(8, 0.25), new HealingEffect(6)))),
|
||||||
|
ENERGY_MIX(new BarbarianMix(new int[] {11453, 11455}, new MultiEffect(new EnergyEffect(10), new HealingEffect(3)))),
|
||||||
|
DEF_MIX(new BarbarianMix(new int[] {11457, 11459}, new MultiEffect(new SkillEffect(Skills.DEFENCE, 3, 0.1), new HealingEffect(6)))),
|
||||||
|
AGIL_MIX(new BarbarianMix(new int[] {11461, 11463}, new MultiEffect(new SkillEffect(Skills.AGILITY, 3, 0), new HealingEffect(6)))),
|
||||||
|
COMBAT_MIX(new BarbarianMix(new int[] {11445, 11447}, new MultiEffect(new SkillEffect(Skills.ATTACK, 3, 0.1), new SkillEffect(Skills.STRENGTH, 3, 0.1), new HealingEffect(6)))),
|
||||||
|
SUPER_ATT_MIX(new BarbarianMix(new int[] {11469, 11471}, new MultiEffect(new SkillEffect(Skills.ATTACK, 5, 0.15), new HealingEffect(6)))),
|
||||||
|
FISH_MIX(new BarbarianMix(new int[] {11477, 11479}, new MultiEffect(new SkillEffect(Skills.FISHING, 3, 0), new HealingEffect(6)))),
|
||||||
|
SUPER_ENERGY_MIX(new BarbarianMix(new int[] {11481, 11483}, new MultiEffect(new EnergyEffect(20), new HealingEffect(6)))),
|
||||||
|
HUNTING_MIX(new BarbarianMix(new int[] {11517, 11519}, new MultiEffect(new SkillEffect(Skills.HUNTER, 3, 0), new HealingEffect(6)))),
|
||||||
|
SUPER_STR_MIX(new BarbarianMix(new int[] {11485, 11487}, new MultiEffect(new SkillEffect(Skills.STRENGTH, 5, 0.15), new HealingEffect(6)))),
|
||||||
|
ANTIDOTE_PLUS_MIX(new BarbarianMix(new int[] {11501, 11503}, new MultiEffect(new AddTimerEffect("poison:immunity", minutesToTicks(9)), new RandomHealthEffect(3, 7)))),
|
||||||
|
ANTIP_SUPERMIX(new BarbarianMix(new int[] {11473, 11475}, new MultiEffect(new AddTimerEffect("poison:immunity", minutesToTicks(6)), new RandomHealthEffect(3, 7)))),
|
||||||
|
ANTIFIRE_MIX(new BarbarianMix(new int[] {11505, 11507}, new MultiEffect(new AddTimerEffect("dragonfire:immunity", 600, true), new RandomHealthEffect(3, 7)))),
|
||||||
|
|
||||||
|
/** Stealing creation potions */
|
||||||
|
SC_PRAYER(new Potion(new int[] {14207, 14209, 14211, 14213, 14215}, new PrayerEffect(7, 0.25))),
|
||||||
|
SC_ENERGY(new Potion(new int[] {14217, 14219, 14221, 14223, 14225}, new EnergyEffect(20))),
|
||||||
|
SC_ATTACK(new Potion(new int[] {14227, 14229, 14231, 14233, 14235}, new SkillEffect(Skills.ATTACK, 3, 0.2))),
|
||||||
|
SC_STRENGTH(new Potion(new int[] {14237, 14239, 14241, 14243, 14245}, new SkillEffect(Skills.STRENGTH, 3, 0.2))),
|
||||||
|
SC_RANGE(new Potion(new int[] {14247, 14249, 14251, 14253, 14255}, new SkillEffect(Skills.RANGE, 3, 0.1))),
|
||||||
|
SC_DEFENCE(new Potion(new int[] {14257, 14259, 14261, 14263, 14265}, new SkillEffect(Skills.DEFENCE, 3, 0.1))),
|
||||||
|
SC_MAGIC(new Potion(new int[] {14267, 14269, 14271, 14273, 14275}, new SkillEffect(Skills.MAGIC, 3, 0.1))),
|
||||||
|
SC_SUMMONING(new Potion(new int[] {14277, 14279, 14281, 14283, 14285}, new SummoningEffect(7, 0.25)));
|
||||||
|
|
||||||
|
public static HashMap<Integer,Consumables> consumables = new HashMap<>();
|
||||||
|
|
||||||
|
public static ArrayList<Integer> potions = new ArrayList<>();
|
||||||
|
|
||||||
|
private final Consumable consumable;
|
||||||
|
public boolean isIgnoreMainClock = false;
|
||||||
|
|
||||||
|
Consumables(Consumable consumable) {
|
||||||
|
this.consumable = consumable;
|
||||||
|
}
|
||||||
|
Consumables(Consumable consumable, boolean isIgnoreMainClock) {this.consumable = consumable; this.isIgnoreMainClock = isIgnoreMainClock;}
|
||||||
|
|
||||||
|
public Consumable getConsumable() {
|
||||||
|
return consumable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Consumables getConsumableById(final int itemId) {
|
||||||
|
return consumables.get(itemId);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void add(final Consumables consumable) {
|
||||||
|
for (int id : consumable.consumable.getIds()) {
|
||||||
|
consumables.putIfAbsent(id, consumable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Static modifier used to populate search engine lists.
|
||||||
|
*/
|
||||||
|
static {
|
||||||
|
for (Consumables consumable : Consumables.values()) {
|
||||||
|
add(consumable);
|
||||||
|
if (consumable.consumable instanceof Potion) {
|
||||||
|
for (int pot : consumable.consumable.getIds()) {
|
||||||
|
potions.add(pot);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package content.data.consumables.effects;
|
||||||
|
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
import core.game.node.entity.player.link.diary.DiaryType;
|
||||||
|
import core.game.consumable.ConsumableEffect;
|
||||||
|
|
||||||
|
public class AchievementEffect extends ConsumableEffect {
|
||||||
|
private final DiaryType diary;
|
||||||
|
private final int level;
|
||||||
|
private final int task;
|
||||||
|
public AchievementEffect(DiaryType diary, int level, int task) {
|
||||||
|
this.diary = diary;
|
||||||
|
this.level = level;
|
||||||
|
this.task = task;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void activate(Player p) {
|
||||||
|
p.getAchievementDiaryManager().finishTask(p, diary, level, task);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package content.data.consumables.effects
|
||||||
|
|
||||||
|
import core.api.registerTimer
|
||||||
|
import core.api.removeTimer
|
||||||
|
import core.api.spawnTimer
|
||||||
|
import core.game.consumable.ConsumableEffect
|
||||||
|
import core.game.node.entity.player.Player
|
||||||
|
|
||||||
|
class AddTimerEffect (val identifier: String, vararg val args: Any) : ConsumableEffect() {
|
||||||
|
override fun activate (p: Player) {
|
||||||
|
removeTimer (p, identifier)
|
||||||
|
val timer = spawnTimer (identifier, *args) ?: return
|
||||||
|
registerTimer (p, timer)
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package content.data.consumables.effects
|
||||||
|
|
||||||
|
import core.api.*
|
||||||
|
import core.game.consumable.ConsumableEffect
|
||||||
|
import core.game.node.entity.player.Player
|
||||||
|
import core.game.system.timer.impl.Disease
|
||||||
|
|
||||||
|
class CureDiseaseEffect () : ConsumableEffect() {
|
||||||
|
override fun activate (p: Player) {
|
||||||
|
val existingTimer = getTimer<Disease>(p)
|
||||||
|
if (existingTimer != null) {
|
||||||
|
existingTimer.hitsLeft -= 9
|
||||||
|
if (existingTimer.hitsLeft <= 0) {
|
||||||
|
sendMessage(p, "The disease has been cured.")
|
||||||
|
removeTimer<Disease>(p)
|
||||||
|
}else{
|
||||||
|
sendMessage(p,"You feel slightly better.")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package content.data.consumables.effects;
|
||||||
|
|
||||||
|
import core.game.consumable.ConsumableEffect;
|
||||||
|
import core.game.node.entity.combat.ImpactHandler;
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
|
||||||
|
public class DamageEffect extends ConsumableEffect {
|
||||||
|
final double amt;
|
||||||
|
final boolean isPercent;
|
||||||
|
|
||||||
|
public DamageEffect(double amt,boolean isPercent){
|
||||||
|
this.amt = amt;
|
||||||
|
this.isPercent = isPercent;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void activate(Player p) {
|
||||||
|
p.getImpactHandler().manualHit(p,-getHealthEffectValue(p), ImpactHandler.HitsplatType.NORMAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getHealthEffectValue(Player player) {
|
||||||
|
double amount = amt;
|
||||||
|
if (isPercent) {
|
||||||
|
amount /= 100;
|
||||||
|
return (int) -(amount * player.getSkills().getLifepoints());
|
||||||
|
}
|
||||||
|
return (int) -amt;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package content.data.consumables.effects;
|
||||||
|
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
import core.game.consumable.ConsumableEffect;
|
||||||
|
import core.game.node.entity.skill.Skills;
|
||||||
|
|
||||||
|
public class DraynorCabbageEffect extends ConsumableEffect {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void activate(Player p) {
|
||||||
|
final HealingEffect effect = new HealingEffect(getHealthEffectValue(p));
|
||||||
|
effect.activate(p);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getHealthEffectValue(Player player) {
|
||||||
|
return player.getSkills().getLevel(Skills.DEFENCE) > 50 ? 3 : 4;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package content.data.consumables.effects;
|
||||||
|
|
||||||
|
import core.game.consumable.ConsumableEffect;
|
||||||
|
import core.game.node.entity.player.Player;
|
||||||
|
|
||||||
|
public class DwarvenRockCakeEffect extends ConsumableEffect {
|
||||||
|
|
||||||
|
private static final DamageEffect effect = new DamageEffect(1, false);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void activate(Player p) {
|
||||||
|
if (p.getSkills().getLifepoints() > 2) {
|
||||||
|
effect.activate(p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getHealthEffectValue(Player player) {
|
||||||
|
return player.getSkills().getLifepoints() > 2 ? -1 : 0;
|
||||||
|
}
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user