tibia-signatures

0.0.4 • Public • Published

tibia-signatures

Repository to store signatures of the Tibia files

NPM

Supported Version

7.10, 7.30, 7.40, 7.50, 7.55, 7.60, 7.70, 7.80, 7.90, 7.92, 8.00, 8.10, 8.11, 8.20, 8.30, 8.40, 8.41, 8.42, 8.50, 8.52, 8.53, 8.54, 8.55, 8.60, 8.61, 8.62, 8.70, 8.71, 8.72, 9.00, 9.10, 9.20, 9.40, 9.44, 9.46, 9.50, 9.52, 9.53, 9.54, 9.60, 9.61, 9.63, 9.70, 9.80, 9.81, 9.82, 9.83, 9.85, 9.86, 10.10, 10.20, 10.21, 10.30, 10.31, 10.32, 10.34, 10.35, 10.36, 10.37, 10.38, 10.39, 10.40, 10.41, 10.50, 10.51, 10.52, 10.53, 10.54, 10.55

API

  • getSignatureByVersion(version)
    • version - required - Client Version without dots
    • returns Array or Object
  • getVersionBySprSignature(hexSign)
    • hexSign - required - First 4 bytes from Spr file
    • returns Integer
  • getVersionByDatSignature(hexSign)
    • hexSign - required - First 4 bytes reversed from Dat file
    • returns Integer
  • isValidSprSignature(hexSign)
    • hexSign - required - First 4 bytes from Spr file
    • return Boolean
  • isValidDatSignature(hexSign)
    • hexSign - required - First 4 bytes reversed from Dat file
    • return Boolean

References

Contributing

Please submit all issues and pull requests to the TibiaJS/tibia-signatures repository!

Support

If you have any problem or suggestion please open an issue here.

License

The MIT License (MIT)

Copyright (c) 2014 TibiaJS

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i tibia-signatures

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • gpedro