Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to trigger custom animation for Eco Pet. #383

Open
ThirdTecPatron opened this issue Dec 2, 2024 · 0 comments
Open

Error while trying to trigger custom animation for Eco Pet. #383

ThirdTecPatron opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ThirdTecPatron
Copy link

Describe the bug
Effect "play_animation" doesn't work for eco pets with custom modelengine model. The model itself loads correctly, but I can't play custom animations using play_animation effect with triggers like jump, move etc. Console says that libreforge could not pass event.

To Reproduce

  1. In your pet.yml file, under effects section, add play_animation effect.
    For example:
effects:
  - id: play_animation
    args:
      animation: attack
    triggers:
      - jump
  1. On server, activate your pet
  2. Trigger effect with your action (as jumping with the example above)
  3. See the error in console.

Expected behavior
Selected pet plays specified animation with specified triggers

Server Information (please complete the following information):

  • Server Version: 1.21.1
  • Version of eco: v2.71.2
  • Version of ModelEngine (premium): 4.0.8

Additional context
Bug persists with ModelEngine 4.0.7. Unofficial addon "MythicLibreForge" does not solve the problem. Server version 1.21.3 doesn't solve the problem either.
The error:
[23:20:39] [Server thread/ERROR]: Could not pass event PlayerJumpEvent to libreforge v4.72.2
java.lang.ExceptionInInitializerError: null
The server logs link: https://paste.dedimc.io/balapotoqo.yaml

@ThirdTecPatron ThirdTecPatron added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant