GithubHelp home page GithubHelp logo

gw2toolbelt / gw2ml Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 1.51 MB

A Java library for accessing the data provided by a Guild Wars 2 game client via the MumbleLink mechanism.

Home Page: https://gw2toolbelt.github.io/GW2ML/

License: MIT License

Java 100.00%
gw2 guildwars2 mumble-link guild-wars-2

gw2ml's People

Contributors

dependabot[bot] avatar themrmilchmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gw2ml's Issues

Document the "uiTick" field

The uiTick field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Document "instance" context field

The instance field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

UIState bit 4 is wrongly labeled

 Bit 1 = IsMapOpen,
 Bit 2 = IsCompassTopRight,
 Bit 3 = DoesCompassHaveRotationEnabled
 Bit 4 = Game has focus
 Bit 5 = Is in Competitive game mode

According to a dev on the community dev discord those are the bits currently in the game.

`MumbleLink#clear` crashes the JVM

In 3.0.0, the permissions used to open a view were reduced which caused one particular issue that was not caught during testing: The permissions used when creating a file mapping are incorrectly configured, which prevents writing.

When calling clear(), an attempt is made to write to a section of memory without the required permissions, and an EXCEPTION_ACCESS_VIOLATION is raised (and crashes the JVM).

The last pc belongs to native method entry point (kind = native) (printed below).
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  jdk.internal.misc.Unsafe.setMemory0(Ljava/lang/Object;JJB)V+0 java.base@22
j  jdk.internal.misc.Unsafe.setMemory(Ljava/lang/Object;JJB)V+25 java.base@22
j  jdk.internal.misc.ScopedMemoryAccess.setMemoryInternal(Ljdk/internal/foreign/MemorySessionImpl;Ljava/lang/Object;JJB)V+17 java.base@22
j  jdk.internal.misc.ScopedMemoryAccess.setMemory(Ljdk/internal/foreign/MemorySessionImpl;Ljava/lang/Object;JJB)V+8 java.base@22
j  jdk.internal.foreign.AbstractMemorySegmentImpl.fill(B)Ljava/lang/foreign/MemorySegment;+30 java.base@22
j  com.gw2tb.gw2ml.MumbleLink.clear()V+9 com.gw2tb.gw2ml

Document "shardID" context field

The shardID field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Document the "uiVersion" field

The uiVersion field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Document "mapType" context field

The mapType field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Document "description" field

The description field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Document avatar and camera coordinates

All fields related to avatar and camera position are currently undocumented. The documentation of those fields should contain information about how Mumble uses those and how those may be used in the context of the game (e.g. how to map them to GW2 coordinate systems).

[README] State of this library

While this library is still in experimental phase, its API is fairly stable and unlikely to change. Though, due to the lack of detailed documentation, a "stable release" (1.0.0) will not be published for now.

Some sections of the library are still undocumented due to my lack of knowledge (and/or experience) in how to interpret the data exposed by the game (e.g. coordinate transforms). Until I find some time to experiment with those or until information is contributed, they will remain undocumented.

Alongside this issue, the issue tracker contains multiple issues to keep track of which sections of the documentation require what changes. (See the 1.0.0 milestone.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.